:root {
  --brand-yellow: #ffd600;
  --brand-yellow-soft: #fff4b8;
  --ink: #0a0a0a;
  --muted: #666a73;
  --line: #e4e5e8;
  --surface: #f6f7f8;
  --navy: #020722;
  --success: #168443;
  --danger: #eb2222;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: #fff;
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.menu-open,
body.announcement-open {
  overflow: hidden;
}

.grid { display: grid; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.mt-6 { margin-top: 24px; }
.font-black { font-weight: 900; }
.text-blue-600 { color: #2563eb; }
.text-emerald-600 { color: #059669; }

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #2867d8;
  outline-offset: 3px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

small {
  font-size: 15px !important;
  line-height: 1.5;
}

.site-container {
  width: min(100% - 80px, 1440px);
  margin-inline: auto;
}

.site-container.narrow {
  width: min(100% - 80px, 1180px);
}

.section-block {
  padding-block: 76px;
}

.section-block.compact {
  padding-block: 52px;
}

.section-heading {
  margin: 0;
  font-size: 38px;
  line-height: 1.2;
  font-weight: 800;
}

.section-kicker {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.eyebrow {
  color: var(--brand-yellow);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

[data-site-header] {
  position: sticky;
  z-index: 80;
  top: 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
}

.site-header {
  position: relative;
  z-index: 1;
}

.topbar {
  position: relative;
  z-index: 45;
  height: 36px;
  overflow: visible;
  color: #fff;
  background: #060606;
  font-size: 15px;
}

.topbar .site-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-group,
.nav-actions,
.inline-meta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.announcement {
  padding: 0;
  border: 0;
  color: #ff3535;
  background: transparent;
  font: inherit;
  font-weight: 700;
}

.mobile-announcement-strip {
  display: none;
}

button.announcement {
  cursor: pointer;
}

button.announcement:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

button.announcement:focus-visible {
  outline: 2px solid var(--brand-yellow);
  outline-offset: 3px;
}

.announcement-modal[hidden] {
  display: none;
}

.announcement-modal {
  position: fixed;
  z-index: 160;
  inset: 0;
  padding: 24px;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

.announcement-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.announcement-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(5, 6, 8, .68);
  cursor: default;
}

.announcement-dialog {
  position: relative;
  width: min(100%, 760px);
  max-height: min(82vh, 720px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .3);
  transform: translateY(12px);
  transition: transform .18s ease;
}

.announcement-dialog::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0 0 auto;
  height: 4px;
  background: var(--brand-yellow);
  pointer-events: none;
}

.announcement-modal.open .announcement-dialog {
  transform: translateY(0);
}

.announcement-dialog-header {
  min-height: 68px;
  padding: 14px 18px 14px 22px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}

.announcement-dialog-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #111;
  background: var(--brand-yellow);
}

.announcement-dialog-header h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.3;
}

.announcement-dialog-close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #4f545c;
  background: #f1f2f4;
  cursor: pointer;
}

.announcement-dialog-close:hover {
  color: #111;
  background: #e5e7ea;
}

.announcement-dialog-close:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.announcement-dialog-content {
  padding: 24px;
  overflow: auto;
  color: #2c3036;
  font-size: 15px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.announcement-dialog-content > :first-child {
  margin-top: 0;
}

.announcement-dialog-content > :last-child {
  margin-bottom: 0;
}

.announcement-dialog-content h2,
.announcement-dialog-content h3,
.announcement-dialog-content h4 {
  margin: 24px 0 10px;
  line-height: 1.35;
}

.announcement-dialog-content h2 { font-size: 24px; }
.announcement-dialog-content h3 { font-size: 20px; }

.announcement-dialog-content p,
.announcement-dialog-content ul,
.announcement-dialog-content ol,
.announcement-dialog-content blockquote,
.announcement-dialog-content table {
  margin: 0 0 16px;
}

.announcement-dialog-content img {
  max-width: 100%;
  height: auto;
}

.announcement-dialog-content table {
  width: 100%;
  border-collapse: collapse;
}

.announcement-dialog-content th,
.announcement-dialog-content td {
  padding: 9px 11px;
  border: 1px solid var(--line);
  text-align: left;
}

@media (max-width: 640px) {
  .announcement-modal {
    padding: 12px;
  }

  .announcement-dialog {
    max-height: calc(100dvh - 24px);
  }

  .announcement-dialog-header {
    min-height: 62px;
    padding: 10px 12px 10px 16px;
    grid-template-columns: 34px minmax(0, 1fr) 40px;
    gap: 8px;
  }

  .announcement-dialog-header h2 {
    font-size: 19px;
  }

  .announcement-dialog-content {
    padding: 18px;
  }
}

.header-picker {
  position: relative;
  height: 36px;
  display: flex;
  align-items: center;
}

.header-picker-trigger {
  min-height: 32px;
  padding: 5px 7px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  border-radius: 3px;
  color: #fff;
  background: transparent;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s ease;
}

.header-picker-trigger:hover,
.header-picker.open .header-picker-trigger {
  background: #272727;
}

.picker-chevron {
  transition: transform .18s ease;
}

.header-picker.open .picker-chevron {
  transform: rotate(180deg);
}

.header-picker-menu {
  position: absolute;
  z-index: 70;
  top: calc(100% + 7px);
  right: 0;
  min-width: 220px;
  padding: 7px;
  display: none;
  border: 1px solid #d9dade;
  border-radius: 4px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .18);
}

.header-picker.open .header-picker-menu {
  display: grid;
  animation: header-pop .18s ease-out both;
}

.header-picker-option {
  width: 100%;
  min-height: 52px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 0;
  border-radius: 3px;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.header-picker-option:hover,
.header-picker-option:focus-visible,
.header-picker-option[aria-checked="true"] {
  background: #fff4b8;
}

.header-picker-option span {
  display: grid;
  gap: 1px;
}

.header-picker-option small {
  color: #676b73;
  font-weight: 400;
}

.picker-check {
  opacity: 0;
}

.header-picker-option[aria-checked="true"] .picker-check {
  opacity: 1;
}

@keyframes header-pop {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.main-nav {
  position: relative;
  z-index: 30;
  height: 76px;
  background: var(--brand-yellow);
}

.main-nav .site-container {
  height: 100%;
  display: grid;
  grid-template-columns: 190px 1fr 190px;
  align-items: center;
  gap: 24px;
}

.brand-logo {
  width: 142px;
  height: 48px;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 2.8vw, 46px);
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

.nav-links a {
  position: relative;
  padding-block: 27px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 19px;
  left: 0;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-actions {
  justify-content: flex-end;
  gap: 14px;
}

.icon-button {
  position: relative;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  aspect-ratio: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.icon-button:hover {
  background: rgba(255, 255, 255, .45);
  transform: translateY(-1px);
}

.icon-button.active {
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
}

.header-search-panel[hidden] {
  display: none;
}

.header-search-panel {
  position: relative;
  z-index: 35;
  border-bottom: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .1);
  animation: header-pop .2s ease-out both;
}

.header-search-panel .site-container {
  min-height: 84px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
}

.header-search-form {
  width: min(100%, 920px);
  margin-inline: auto;
  min-height: 50px;
  padding-left: 17px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid #bfc1c6;
  border-radius: 4px;
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.header-search-form:focus-within {
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(255, 214, 0, .45);
}

.header-search-form input {
  min-width: 0;
  height: 48px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 16px;
}

.header-search-form input::placeholder {
  color: #6a6d73;
}

.header-search-submit {
  min-height: 48px;
  border-radius: 0 3px 3px 0;
}

.cart-count {
  position: absolute;
  top: 0;
  right: -2px;
  min-width: 17px;
  height: 17px;
  padding-inline: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: #111;
  font-size: 15px;
  font-weight: 800;
}

.cart-count[hidden] {
  display: none;
}

.mobile-menu-button {
  display: none;
}

.mobile-menu {
  display: none;
}

.mobile-preferences {
  padding-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mobile-preference {
  display: grid;
  gap: 7px;
  color: #5e626a;
  font-weight: 700;
}

.mobile-preference select {
  width: 100%;
  min-height: 46px;
  padding: 8px 34px 8px 10px;
  border: 1px solid #bfc1c6;
  border-radius: 3px;
  color: var(--ink);
  background: #fff;
}

.promise-strip {
  height: 56px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.promise-grid {
  height: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.promise-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-right: 1px solid var(--line);
  font-weight: 600;
}

.promise-mobile {
  display: none;
}

.promise-item:last-child {
  border-right: 0;
}

.checkout-nav .site-container {
  grid-template-columns: 1fr auto;
}

.checkout-nav .secure-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.result-nav-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.breadcrumb {
  padding-block: 26px 18px;
  color: #696d75;
  font-size: 15px;
}

.breadcrumb a:hover {
  color: #000;
}

.hero-carousel,
.hero-slides {
  position: relative;
  min-height: 680px;
}

.hero-carousel {
  overflow: hidden;
  background: #080909;
  isolation: isolate;
}

.hero-stage {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  color: #fff;
  background: #080909 var(--hero-image) center / cover no-repeat;
  isolation: isolate;
}

.hero-slide {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.015);
  transition: opacity .6s cubic-bezier(.22, 1, .36, 1),
    transform 1s cubic-bezier(.22, 1, .36, 1),
    visibility 0s linear .6s;
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
  transition-delay: 0s;
}

.hero-stage::before,
.hero-stage::after {
  display: none;
}

.hero-stage .site-container {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(380px, .85fr) minmax(500px, 1.15fr);
  align-items: center;
  gap: 60px;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 590px;
}

.hero-title {
  margin: 18px 0 20px;
  font-size: 66px;
  line-height: 1.08;
  font-weight: 900;
}

.hero-copy {
  max-width: 480px;
  color: #e4e4e4;
  font-size: 17px;
  line-height: 1.8;
}

.hero-carousel-controls {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

.hero-control-button,
.hero-dot {
  pointer-events: auto;
  cursor: pointer;
}

.hero-control-button {
  width: 42px;
  height: 42px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 3px;
  color: #fff;
  background: rgba(5, 5, 5, .76);
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.hero-control-button:hover {
  border-color: var(--brand-yellow);
  color: #050505;
  background: var(--brand-yellow);
}

.hero-control-button svg {
  width: 20px;
  height: 20px;
}

.hero-pagination {
  min-height: 42px;
  padding-inline: 6px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-dot {
  width: 44px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, .5);
  transform: scaleX(.55);
  transform-origin: left center;
  transition: transform .25s ease, background .25s ease;
}

.hero-dot:hover {
  background: #fff;
}

.hero-dot.is-active {
  transform: scaleX(1);
  background: var(--brand-yellow);
}

.hero-products {
  position: relative;
  align-self: stretch;
  min-height: 530px;
}

.hero-products img {
  position: absolute;
  bottom: 0;
  width: 40%;
  height: 86%;
  object-fit: cover;
  object-position: center;
  border-radius: 4px 4px 0 0;
  box-shadow: 0 20px 70px rgba(0, 0, 0, .55);
}

.hero-products img:nth-child(1) {
  left: 0;
  z-index: 2;
  height: 72%;
}

.hero-products img:nth-child(2) {
  left: 29%;
  z-index: 3;
}

.hero-products img:nth-child(3) {
  right: 0;
  z-index: 2;
  height: 76%;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  min-height: 46px;
  padding: 11px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .12);
}

.btn-yellow {
  color: #080808;
  background: var(--brand-yellow);
}

.btn-black {
  color: #fff;
  background: #090909;
}

.btn-outline {
  color: #0a0a0a;
  border-color: #0a0a0a;
  background: #fff;
}

.btn-outline-light {
  color: #fff;
  border-color: rgba(255, 255, 255, .7);
  background: transparent;
}

.btn-full {
  width: 100%;
}

.category-band {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.category-link {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-right: 1px solid var(--line);
}

.category-link:last-child {
  border-right: 0;
}

.category-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #111;
  border-radius: 50%;
}

.section-title-row {
  margin-bottom: 30px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.home-product-heading {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid transparent;
  font-weight: 700;
}

.text-link:hover {
  border-color: currentColor;
}

.plain-text-button {
  min-height: 44px;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  color: inherit;
  background: transparent;
  font-weight: 400;
  cursor: pointer;
  appearance: none;
}

.plain-text-button:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 22px;
}

.product-grid.three-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  position: relative;
  min-width: 0;
  border: 1px solid #dedfe2;
  border-radius: 3px;
  overflow: hidden;
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, .09);
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 1.18 / 1;
  overflow: hidden;
  background: #f1f2f3;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.035);
}

.product-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 3px 8px;
  color: #fff;
  background: #ec1d24;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.3;
}

.product-badge.new {
  background: #18a13b;
}

.wish-button {
  position: absolute;
  z-index: 2;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .86);
  cursor: pointer;
}

.wish-button.active {
  color: #e6202a;
}

.product-info {
  min-height: 210px;
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.product-category {
  margin-bottom: 4px;
  color: #74777e;
  font-size: 15px;
}

.product-name {
  min-height: 47px;
  margin: 0 0 10px;
  display: -webkit-box;
  overflow: hidden;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.price-current {
  font-size: 17px;
  font-weight: 500;
}

.price-old {
  margin-left: 7px;
  color: #85878d;
  font-size: 15px;
  text-decoration: line-through;
}

.swatches {
  display: flex;
  gap: 5px;
}

.swatch {
  width: 10px;
  height: 10px;
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: 50%;
}

.product-cart-button {
  width: 100%;
  min-height: 40px;
  margin-top: 14px;
  padding: 9px 12px;
  font-size: 15px;
  font-weight: 400;
}

.product-cart-button.added,
.buy-buttons .added {
  border-color: #168443;
  color: #fff;
  background: #168443;
}

.campaign-band {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  background: var(--brand-yellow);
}

.campaign-band .site-container {
  position: relative;
  z-index: 2;
  min-height: 260px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.campaign-title {
  margin: 0 0 12px;
  font-size: 52px;
  line-height: 1.1;
  font-weight: 900;
}

.campaign-copy {
  padding-block: 28px;
}

.campaign-copy p {
  max-width: 560px;
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.75;
}

.discount-kicker {
  margin-bottom: 12px;
  padding: 5px 9px;
  display: inline-block;
  border-radius: 2px;
  color: #fff;
  background: #111;
  font-size: 15px;
  font-weight: 900;
}

.campaign-visual {
  height: 260px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 12px;
}

.campaign-visual img {
  width: 220px;
  height: 230px;
  object-fit: cover;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
}

.campaign-visual .campaign-strip-art {
  width: min(92%, 820px);
  height: 246px;
  object-fit: contain;
  object-position: right bottom;
  clip-path: none;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.service-item {
  min-height: 120px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-right: 1px solid var(--line);
}

.service-item:last-child {
  border-right: 0;
}

.service-item svg {
  flex: 0 0 auto;
}

.newsletter {
  background: var(--brand-yellow);
}

.newsletter .site-container {
  min-height: 112px;
  display: grid;
  grid-template-columns: 1fr minmax(420px, .8fr);
  align-items: center;
  gap: 40px;
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.field {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid #cfd1d5;
  border-radius: 3px;
  color: #111;
  background: #fff;
  outline: none;
  transition: border .2s ease, box-shadow .2s ease;
}

.field:focus {
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(255, 214, 0, .28);
}

textarea.field {
  min-height: 100px;
  resize: vertical;
}

.field-label {
  margin-bottom: 7px;
  display: block;
  font-weight: 700;
}

.required {
  color: #e11;
}

.site-footer {
  color: #fff;
  background: var(--navy);
}

.footer-main {
  padding-block: 58px 38px;
  display: grid;
  grid-template-columns: minmax(260px, 1.6fr) repeat(auto-fit, minmax(150px, 1fr));
  gap: 45px;
}

.auth-footer-main {
  grid-template-columns: minmax(260px, 1.6fr) repeat(auto-fit, minmax(150px, 1fr));
}

.footer-logo {
  width: 142px;
  height: 48px;
  filter: brightness(0) invert(1);
  object-fit: contain;
  object-position: left center;
}

.footer-copy {
  margin-top: 18px;
  color: #c8cbda;
  font-size: 15px;
  line-height: 1.75;
}

.footer-heading {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 800;
}

.footer-links {
  display: grid;
  gap: 8px;
  color: #c8cbda;
  font-size: 15px;
}

.footer-links a:hover {
  color: var(--brand-yellow);
}

.footer-social-band {
  border-block: 1px solid rgba(0, 0, 0, .12);
  color: #080808;
  background: #ffeb00;
}

.footer-social-layout {
  padding-block: 44px 48px;
  display: grid;
  grid-template-columns: minmax(190px, .45fr) minmax(0, 1.55fr);
  align-items: center;
  gap: 56px;
}

.footer-social-kicker {
  font-size: 15px;
  font-weight: 900;
}

.footer-social-intro h2 {
  margin: 7px 0 9px;
  font-size: 36px;
  line-height: 1.1;
  font-weight: 900;
}

.footer-social-intro p {
  max-width: 260px;
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 700;
}

.footer-social-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 28px;
}

.footer-social-item {
  min-width: 0;
  text-align: center;
}

.footer-social-visual {
  height: 230px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.footer-social-visual img {
  width: auto;
  max-width: 100%;
  max-height: 230px;
  box-shadow: 0 14px 24px rgba(0, 0, 0, .28);
}

.footer-social-item strong {
  margin-top: 13px;
  display: block;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
}

.age-badge {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  aspect-ratio: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-weight: 900;
}

.footer-bottom {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  color: #aeb2c5;
  font-size: 15px;
}

.toolbar {
  min-height: 66px;
  padding-block: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.toolbar > strong {
  flex: 0 0 auto;
  white-space: nowrap;
}

.toolbar-spacer {
  flex: 1;
}

.product-filters {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-control,
.catalog-sort {
  min-width: 126px;
  display: flex;
  align-items: center;
  border: 1px solid #d7d8dc;
  border-radius: 3px;
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.filter-control:focus-within,
.catalog-sort:focus-within {
  border-color: #111;
  box-shadow: 0 0 0 2px rgba(255, 214, 0, .45);
}

.filter-control > span,
.catalog-sort > span {
  padding-inline-start: 10px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.filter-control .select-plain,
.catalog-sort .select-plain {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding-inline: 7px 28px;
  border: 0;
  outline: 0;
  background-color: transparent;
  cursor: pointer;
}

.catalog-sort {
  min-width: 178px;
}

.filter-reset {
  min-height: 42px;
  padding: 8px 4px;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: #444;
  background: transparent;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.filter-reset:hover {
  color: #000;
}

.select-plain {
  min-height: 40px;
  padding: 8px 34px 8px 12px;
  border: 1px solid #d7d8dc;
  border-radius: 3px;
  background: #fff;
}

  .pagination {
    margin-top: 34px;
    display: flex;
    align-items: center;
    gap: 9px;
  }

.page-button {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d7d8dc;
  border-radius: 3px;
  background: #fff;
  cursor: pointer;
}

.page-button.active {
  color: #fff;
  border-color: #111;
  background: #111;
}

.page-button:disabled {
  color: #a0a2a8;
  background: #f4f5f6;
  cursor: not-allowed;
}

.catalog-empty {
  grid-column: 1 / -1;
  min-height: 300px;
  padding: 52px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  border-block: 1px solid var(--line);
  text-align: center;
}

.catalog-empty-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #111;
  background: var(--brand-yellow);
}

.catalog-empty strong {
  font-size: 20px;
}

.catalog-empty p {
  margin: 0 0 8px;
  color: var(--muted);
}

.page-size-control {
  white-space: nowrap;
}

.support-bar {
  min-height: 78px;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #f3f4f5;
}

.detail-buy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: start;
}

.detail-buy-grid > .gallery-layout {
  position: sticky;
  top: var(--detail-sticky-top, 188px);
}

.gallery-layout {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
}

.gallery-thumbs {
  display: grid;
  align-content: start;
  gap: 12px;
}

.gallery-thumb {
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  border: 1px solid #dedfe2;
  border-radius: 3px;
  background: #f4f4f4;
  cursor: pointer;
}

.gallery-thumb.active {
  border: 2px solid #111;
}

.gallery-thumb img,
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-main {
  aspect-ratio: 1.14 / 1;
  overflow: hidden;
  border-radius: 3px;
  background: #f2f2f2;
}

.gallery-empty {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #858b94;
}

.detail-title {
  margin: 6px 0 8px;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 600;
}

.detail-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: #555;
  font-size: 15px;
}

.detail-price-row {
  margin-top: 20px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.detail-price {
  font-size: 34px;
  font-weight: 600;
}

.stock {
  color: var(--success);
  font-weight: 800;
}

.option-group {
  margin-top: 22px;
}

.option-label {
  margin-bottom: 9px;
  display: block;
  font-weight: 800;
}

.detail-sale-tag {
  padding: 4px 7px;
  color: #fff;
  background: #e11b22;
  font-size: 15px;
  font-weight: 800;
}

.detail-description {
  max-width: 62ch;
  margin: 12px 0 0;
  color: #5f636b;
  font-size: 15px;
  line-height: 1.7;
}

.detail-color-options,
.detail-variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-color-choice {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #bfc1c5;
  border-radius: 50%;
  background: var(--detail-swatch, #fff);
  cursor: pointer;
}

.detail-color-choice.active {
  border-color: #111;
  outline: 2px solid #111;
  outline-offset: 2px;
}

.detail-variant-choice {
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid #d0d2d6;
  border-radius: 3px;
  background: #fff;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}

.detail-variant-choice.active {
  border: 2px solid #111;
}

.quantity-stepper {
  display: inline-grid;
  grid-template-columns: 40px 48px 40px;
  height: 42px;
  border: 1px solid #d2d3d7;
  border-radius: 3px;
  overflow: hidden;
}

.quantity-stepper button,
.quantity-stepper input {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-right: 1px solid #d2d3d7;
  text-align: center;
  background: #fff;
}

.quantity-stepper button {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.quantity-stepper button svg {
  display: block;
}

.quantity-stepper button:last-child {
  border-right: 0;
}

.quantity-stepper button:disabled {
  color: #a4a6ab;
  background: #f2f2f2;
  cursor: not-allowed;
}

.buy-buttons {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr 50px;
  gap: 12px;
}

.detail-wish-button {
  position: static;
  width: 50px;
  height: 48px;
  border: 1px solid #cfd1d5;
  border-radius: 3px;
  background: #fff;
}

.detail-trust {
  margin-top: 18px;
  padding-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  border-top: 1px solid var(--line);
}

.detail-trust > div {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.detail-trust svg {
  flex: 0 0 auto;
}

.detail-trust span {
  min-width: 0;
}

.detail-trust strong,
.detail-trust small {
  display: block;
}

.detail-trust strong {
  margin-bottom: 3px;
  font-size: 15px;
  white-space: nowrap;
}

.detail-trust small {
  color: #686b72;
  font-size: 15px;
  line-height: 1.45;
}

.detail-tabs-section {
  border-top: 1px solid var(--line);
}

.tabs {
  min-height: 62px;
  display: flex;
  align-items: end;
  gap: 42px;
  border-bottom: 1px solid var(--line);
}

.tab-button {
  position: relative;
  padding: 19px 0 15px;
  border: 0;
  color: #666;
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.tab-button.active {
  color: #111;
}

.tab-button.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--brand-yellow);
}

.tab-button:focus-visible,
.faq-question:focus-visible {
  outline: 2px solid #111;
  outline-offset: 3px;
}

.detail-tab-panel {
  padding-top: 32px;
}

.detail-tab-panel[hidden] {
  display: none;
}

.detail-image-stack {
  width: min(100%, 1300px);
  margin-inline: auto;
}

.detail-image-stack img {
  width: 100%;
  height: auto;
  display: block;
}

.product-rich-content {
  width: min(100%, 1100px);
  margin-inline: auto;
  color: #2c3036;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.product-rich-content > :first-child {
  margin-top: 0;
}

.product-rich-content > :last-child {
  margin-bottom: 0;
}

.product-rich-content h2,
.product-rich-content h3,
.product-rich-content h4 {
  margin: 30px 0 12px;
  line-height: 1.3;
}

.product-rich-content h2 {
  font-size: 28px;
}

.product-rich-content h3 {
  font-size: 23px;
}

.product-rich-content p,
.product-rich-content ul,
.product-rich-content ol,
.product-rich-content blockquote,
.product-rich-content table {
  margin: 0 0 18px;
}

.product-rich-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-inline: auto;
}

.product-rich-content table {
  width: 100%;
  border-collapse: collapse;
}

.product-rich-content th,
.product-rich-content td {
  padding: 12px 14px;
  border: 1px solid #dedfe2;
  text-align: left;
  vertical-align: top;
}

.detail-panel-empty {
  padding: 44px 20px;
  color: #69717c;
  text-align: center;
  background: #f7f8f9;
}

.detail-spec-wrap,
.detail-qa-list {
  width: min(100%, 900px);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  padding: 12px 14px;
  border: 1px solid #dedfe2;
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 34%;
  color: #666;
  background: #f7f7f7;
  font-weight: 700;
}

.detail-qa-toggle {
  flex: 0 0 auto;
  transition: transform .2s ease;
}

.detail-qa-list .faq-item.open .detail-qa-toggle {
  transform: rotate(45deg);
}

.detail-qa-list .faq-answer p {
  max-width: 72ch;
}

.campaign-hero {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  color: #fff;
  background: #080808 var(--campaign-hero-image) center / cover no-repeat;
}

.campaign-hero::after {
  display: none;
}

.campaign-hero .site-container {
  position: relative;
  z-index: 2;
  min-height: 420px;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
  gap: 50px;
}

.campaign-products {
  position: relative;
  z-index: 2;
  height: 420px;
}

.campaign-products img {
  position: absolute;
  bottom: 0;
  width: 32%;
  height: 78%;
  object-fit: cover;
  border-radius: 3px 3px 0 0;
}

.campaign-products img:nth-child(1) { left: 2%; }
.campaign-products img:nth-child(2) { left: 31%; height: 92%; }
.campaign-products img:nth-child(3) { right: 5%; height: 74%; }

.campaign-off {
  position: absolute;
  z-index: 4;
  top: 46px;
  right: -10px;
  color: #050505;
  font-size: 78px;
  line-height: .85;
  font-weight: 950;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.step-item {
  position: relative;
  min-height: 130px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.step-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  width: 24px;
  border-top: 1px dashed #aaa;
}

.step-number {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #111;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 900;
}

.rule-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
}

.rule-item {
  padding: 24px;
  display: flex;
  gap: 13px;
  border-right: 1px solid var(--line);
}

.rule-item:last-child {
  border-right: 0;
}

.faq-list {
  border-top: 1px solid #bbb;
}

.faq-item {
  border-bottom: 1px solid #d8d9dc;
}

.faq-question {
  width: 100%;
  min-height: 58px;
  padding: 15px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: #fff;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  color: #5f636b;
  transition: grid-template-rows .25s ease, visibility 0s linear .25s;
}

.faq-answer > * {
  min-height: 0;
  overflow: hidden;
}

.faq-answer p {
  margin: 0;
  padding: 0 4px;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
  visibility: visible;
  transition-delay: 0s;
}

.faq-item.open .faq-answer p {
  padding-bottom: 20px;
}

.free-shipping {
  min-height: 60px;
  padding: 15px 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  background: #fff0a3;
  border: 1px solid #f0d23d;
  border-radius: 5px;
}

.progress-track {
  height: 8px;
  overflow: hidden;
  border-radius: 99px;
  background: #fff;
}

.progress-fill {
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: var(--brand-yellow);
}

.checkout-layout,
.payment-layout,
.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(340px, .8fr);
  gap: 34px;
  align-items: start;
}

.cart-main-section {
  padding-top: 10px;
  padding-bottom: 36px;
}

.cart-page-title {
  margin-bottom: 26px;
  font-size: 42px;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .36fr);
  gap: 24px;
  align-items: start;
}

.cart-list-column {
  min-width: 0;
}

.cart-list-column .free-shipping {
  margin-bottom: 12px;
}

.cart-table {
  border: 1px solid #dedfe2;
}

.cart-head,
.cart-row {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 68px 130px 96px;
  align-items: center;
  gap: 14px;
}

.cart-head {
  min-height: 50px;
  padding: 10px 16px;
  background: #f7f7f7;
  font-weight: 800;
}

.cart-row {
  min-height: 132px;
  padding: 14px 16px;
  border-top: 1px solid #dedfe2;
}

.cart-product {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.cart-product img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  background: #f2f2f2;
}

.cart-product-details {
  min-width: 0;
}

.cart-product-details > strong a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.45;
}

.cart-product-meta {
  margin-block: 6px;
  display: grid;
  font-size: 15px;
  line-height: 1.45;
}

.cart-unit-price,
.cart-total-value > strong {
  white-space: nowrap;
  font-weight: 500;
}

.cart-row-label {
  display: none;
}

.cart-row .quantity-stepper {
  width: 130px;
  min-width: 130px;
  justify-self: center;
}

.cart-row-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cart-row-actions {
  display: grid;
  gap: 4px;
}

.cart-row-actions .icon-button,
.cart-row-actions .wish-button {
  position: static;
  width: 30px;
  height: 30px;
  border-radius: 3px;
  background: transparent;
}

.cart-row-actions .icon-button:hover,
.cart-row-actions .wish-button:hover {
  background: #ececef;
}

.cart-table-actions {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
}

.cart-empty {
  min-height: 210px;
  padding: 36px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  border-top: 1px solid #dedfe2;
}

.cart-empty-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-yellow);
}

.cart-empty strong {
  font-size: 19px;
}

.cart-empty p {
  margin: 5px 0 0;
  color: #64666c;
}

.summary-panel {
  padding: 28px;
  border: 1px solid #dcdde0;
  border-radius: 5px;
  background: #f5f5f5;
}

.summary-title {
  margin: 0 0 20px;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 900;
}

.summary-line {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.shipping-summary-note {
  color: var(--success);
  font-size: 15px;
}

.summary-total {
  margin-top: 14px;
  padding-top: 18px;
  border-top: 1px solid #d5d6d9;
  font-size: 24px;
  font-weight: 950;
}

.btn.is-disabled {
  color: #777a80;
  background: #d9dade;
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
}

.cart-toast {
  position: fixed;
  z-index: 120;
  right: 24px;
  bottom: 24px;
  max-width: min(420px, calc(100vw - 48px));
  min-height: 58px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  border: 1px solid #d9dade;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .16);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.cart-toast.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cart-toast-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #168443;
}

.cart-toast a {
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-drawer[hidden] {
  display: none;
}

.cart-drawer {
  position: fixed;
  z-index: 140;
  inset: 0;
  pointer-events: none;
}

body.cart-drawer-open {
  overflow: hidden;
}

.cart-drawer-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(0, 0, 0, .3);
  opacity: 0;
  cursor: pointer;
  transition: opacity .22s ease;
}

.cart-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(500px, 100%);
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: #faf8f4;
  box-shadow: -16px 0 42px rgba(0, 0, 0, .16);
  outline: 0;
  transform: translateX(100%);
  transition: transform .22s ease;
}

.cart-drawer.open {
  pointer-events: auto;
}

.cart-drawer.open .cart-drawer-backdrop {
  opacity: 1;
}

.cart-drawer.open .cart-drawer-panel {
  transform: translateX(0);
}

.cart-drawer-header {
  min-height: 66px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #e2dfd9;
  background: #fff;
}

.cart-drawer-header h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 600;
}

.cart-drawer-close {
  width: 34px;
  height: 34px;
  border-radius: 3px;
  background: transparent;
}

.cart-drawer-close:hover {
  background: #f0efec;
}

.cart-drawer-scroll {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
}

.cart-drawer-shipping {
  min-height: 46px;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #e8e5df;
  color: #303238;
  font-size: 14px;
  line-height: 1.4;
}

.cart-drawer-shipping-icon {
  display: inline-flex;
  flex: 0 0 auto;
}

.cart-drawer-items {
  padding-inline: 16px;
}

.cart-drawer-item {
  min-width: 0;
  padding: 16px 0;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  border-bottom: 1px solid #e8e5df;
}

.cart-drawer-item-image {
  width: 72px;
  height: 72px;
  display: block;
  background: #f1f0ed;
}

.cart-drawer-item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-drawer-item-content {
  min-width: 0;
}

.cart-drawer-item-title {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.cart-drawer-item-meta {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: #666a73;
  font-size: 13px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-drawer-item-price {
  display: block;
  margin-top: 5px;
  font-size: 15px;
  font-weight: 500;
}

.cart-drawer-item-footer {
  margin-top: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cart-drawer-quantity {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #666a73;
  font-size: 13px;
}

.cart-drawer-quantity input {
  width: 38px;
  height: 26px;
  padding: 2px 5px;
  border: 1px solid #e0ded9;
  border-radius: 3px;
  color: var(--ink);
  background: #fff;
  text-align: center;
}

.cart-drawer-item-actions {
  display: flex;
  align-items: center;
  gap: 2px;
}

.cart-drawer-item-actions .icon-button {
  width: 30px;
  height: 30px;
  border-radius: 3px;
  background: transparent;
}

.cart-drawer-item-actions .icon-button:hover {
  background: #eceae6;
}

.cart-drawer-empty,
.cart-drawer-loading {
  min-height: 220px;
  padding: 34px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 9px;
  color: #666a73;
  text-align: center;
}

.cart-drawer-empty > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--brand-yellow);
}

.cart-drawer-empty strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
}

.cart-drawer-summary {
  margin: 0 16px;
  padding-block: 14px 8px;
  border-bottom: 1px solid #dcd9d3;
}

.cart-drawer-line,
.cart-drawer-total {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
}

.cart-drawer-line strong,
.cart-drawer-total strong {
  font-weight: 500;
}

.cart-drawer-total {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid #dcd9d3;
  font-size: 16px;
}

.cart-drawer-actions {
  padding: 14px 16px 18px;
  display: grid;
  gap: 8px;
  background: #fff;
  box-shadow: 0 -8px 20px rgba(0, 0, 0, .06);
}

.cart-drawer-actions .btn {
  width: 100%;
  min-height: 42px;
  font-size: 15px;
  font-weight: 400;
}

.cart-drawer-actions .cart-drawer-edit {
  color: var(--ink);
  background: #fff;
}

.cart-payment-note {
  margin: 14px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

.mini-trust {
  margin: 20px -28px -28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #d5d6d9;
}

.mini-trust > div {
  min-width: 0;
  padding: 16px 6px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 7px;
  border-right: 1px solid #d5d6d9;
  font-size: 14px;
  line-height: 1.35;
  text-align: center;
}

.mini-trust > div:last-child {
  border-right: 0;
}

.mini-trust svg {
  width: 22px;
  height: 22px;
}

.cart-recommendation-section {
  padding-block: 52px;
  background: #f7f7f7;
}

.cart-recommendations .product-image-wrap {
  aspect-ratio: 2.05 / 1;
}

.cart-recommendations .product-info {
  min-height: 96px;
  padding: 11px 12px 12px;
}

.cart-recommendations .product-category,
.cart-recommendations .product-cart-button {
  display: none;
}

.cart-recommendations .product-name {
  margin-bottom: 8px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 15px;
  line-height: 1.4;
}

.cart-recommendations .product-bottom {
  margin-top: auto;
}

.cart-recommendations .product-badge {
  top: 8px;
  left: 8px;
  font-size: 14px;
}

.checkout-steps {
  min-height: 96px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.checkout-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkout-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 21px;
  right: 18px;
  left: 190px;
  border-top: 1px solid #bbb;
}

.step-dot {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d0d2d6;
  border-radius: 50%;
  color: #858891;
  background: #f2f3f4;
  font-size: 17px;
  font-weight: 900;
}

.checkout-step.done .step-dot {
  color: #fff;
  border-color: #111;
  background: #111;
}

.checkout-step.current .step-dot {
  color: #111;
  border-color: var(--brand-yellow);
  background: var(--brand-yellow);
}

.form-section {
  margin-bottom: 18px;
  padding: 24px;
  border: 1px solid #dedfe2;
  border-radius: 5px;
}

.form-section-title {
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 900;
}

.checkout-saved-addresses {
  margin: -2px 0 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid #e2e3e6;
}

.checkout-address-heading {
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.checkout-address-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.checkout-address-option {
  min-width: 0;
  padding: 14px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  border: 1px solid #d8d9dd;
  border-radius: 5px;
  cursor: pointer;
}

.checkout-address-option:has(input:checked) {
  border-color: #111;
  box-shadow: inset 0 0 0 1px #111;
  background: #fffdf3;
}

.checkout-address-option input {
  margin-top: 3px;
}

.checkout-address-option > span {
  min-width: 0;
  display: grid;
  gap: 3px;
  color: #5f636b;
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.checkout-address-name {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #111;
}

.checkout-address-name .status-pill {
  font-size: 11px;
}

.checkout-address-manual {
  align-items: center;
}

.form-number {
  font-size: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px 14px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.radio-option {
  min-height: 56px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #d2d3d6;
  border-radius: 4px;
  cursor: pointer;
}

.radio-option:has(input:checked) {
  border-color: #111;
  box-shadow: inset 0 0 0 1px #111;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.checkout-submit-status {
  min-height: 24px;
  margin: 4px 0 12px;
  color: #5f636b;
  font-size: 15px;
  line-height: 1.5;
}

.checkout-submit-status:empty {
  min-height: 0;
  margin: 0;
}

.checkout-submit-status.is-error {
  color: #b42318;
}

.checkout-submit-status.is-success,
.is-copied {
  color: #168443;
}

.checkout-empty-summary {
  padding: 18px;
  display: grid;
  gap: 8px;
  border: 1px dashed #c9cbd0;
  text-align: center;
}

.order-load-error {
  margin-top: 24px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid #f0b8b3;
  border-radius: 5px;
  color: #8f1f17;
  background: #fff3f2;
}

.order-load-error span {
  flex: 1;
}

.checkout-summary-products {
  display: grid;
  gap: 14px;
}

.summary-product {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 14px;
}

.summary-product img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border: 1px solid #ddd;
}

.sticky-summary {
  position: sticky;
  top: 18px;
}

.status-banner {
  min-height: 112px;
  padding: 22px 28px;
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: 24px;
  border: 1px solid #efd36d;
  border-radius: 5px;
  background: #fff9df;
}

.status-icon {
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand-yellow);
}

.status-divider {
  width: 1px;
  height: 62px;
  background: #e2cd72;
}

.payment-layout {
  grid-template-columns: minmax(420px, .9fr) minmax(560px, 1.1fr);
  gap: 32px;
  align-items: stretch;
}

.payment-panel {
  padding: 28px;
  border: 1px solid #dedfe2;
  border-radius: 5px;
}

body[data-page="payment"] .payment-panel {
  height: 100%;
}

.payment-method-panel {
  display: flex;
  flex-direction: column;
}

.payment-tabs {
  display: grid;
  grid-template-columns: repeat(var(--payment-method-count, 3), minmax(0, 1fr));
  gap: 10px;
}

.payment-tab {
  min-height: 48px;
  border: 1px solid #d1d2d5;
  border-radius: 4px;
  background: #fff;
  font-weight: 700;
  cursor: pointer;
}

.payment-tab.active {
  border-color: var(--brand-yellow);
  box-shadow: inset 0 0 0 1px var(--brand-yellow);
}

body[data-page="payment"] .payment-tabs .payment-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

body[data-page="payment"] .payment-tabs .payment-tab[hidden] {
  display: none;
}

.payment-mark {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: #111;
  font-size: 15px;
  font-weight: 900;
}

.payment-mark-usdt {
  background: #168443;
}

.demo-qr {
  position: relative;
  width: min(72%, 280px);
  aspect-ratio: 1;
  margin: 24px auto 16px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 8px solid #fff;
  box-shadow: 0 0 0 1px #d8d9dc;
  background: #fff;
}

.payment-qr-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.demo-qr.is-empty,
.demo-qr.is-address {
  flex-direction: column;
  gap: 10px;
  color: #666;
  background: #f6f7f8;
  text-align: center;
}

.demo-qr.is-address strong {
  max-width: 100%;
  color: #16181b;
  font-size: 15px;
  font-weight: 600;
  overflow-wrap: anywhere;
  user-select: all;
}

.content-page-main {
  min-height: 50vh;
  padding: 54px 0 84px;
  background: #f6f7f8;
}

.content-page-layout {
  width: min(100% - 32px, 980px);
}

.content-page-header {
  padding-bottom: 24px;
  border-bottom: 1px solid #dfe1e4;
}

.content-page-header h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: 0;
}

.content-page-body {
  padding-top: 30px;
  color: #30343a;
  font-size: 16px;
  line-height: 1.8;
}

.content-page-body > :first-child {
  margin-top: 0;
}

.content-page-body img {
  max-width: 100%;
  height: auto;
}

.content-page-body table {
  width: 100%;
  border-collapse: collapse;
}

.content-page-body th,
.content-page-body td {
  padding: 10px 12px;
  border: 1px solid #dfe1e4;
  text-align: left;
}

.payment-amount-block {
  text-align: center;
}

.payment-amount-block > strong {
  display: block;
  margin-top: 2px;
  font-size: 25px;
}

.payment-countdown {
  margin: 14px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-align: center;
}

.payment-countdown strong {
  color: #d92d20;
}

.payment-countdown.is-expired {
  color: #b42318;
}

.payment-order-summary {
  padding-block: 22px;
}

.payment-order-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(190px, 1fr) minmax(150px, .78fr) minmax(190px, .85fr);
}

.payment-order-grid > * {
  min-width: 0;
  padding-inline: 22px;
}

.payment-order-grid > :first-child {
  padding-left: 0;
}

.payment-order-grid > :last-child {
  padding-right: 0;
}

.payment-order-grid > * + * {
  border-left: 1px solid #e3e4e7;
}

.payment-order-summary .checkout-summary-products {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.payment-order-summary .summary-product {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.payment-order-summary .summary-product img {
  width: 72px;
  height: 72px;
}

.payment-order-summary .summary-product > div {
  min-width: 0;
}

.payment-order-summary .summary-product > div > strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 15px;
  line-height: 1.35;
}

.payment-order-summary .summary-product .section-kicker {
  margin-top: 3px;
  font-size: 15px !important;
  line-height: 1.35;
}

.payment-order-summary .summary-product > strong {
  display: none;
}

.payment-flow-section {
  padding-block: 20px;
}

.payment-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}

.payment-flow-step {
  min-width: 0;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.payment-flow-step .step-number {
  border: 0;
  background: var(--brand-yellow);
}

.payment-flow-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dedfe2;
  border-radius: 5px;
  background: #fff;
}

.payment-flow-icon svg {
  width: 25px;
  height: 25px;
}

.payment-flow-arrow {
  width: 28px;
  height: 28px;
  color: #9a9ca2;
}

.upload-zone {
  min-height: 120px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px dashed #aeb1b7;
  border-radius: 4px;
  text-align: center;
  cursor: pointer;
}

.upload-zone [data-upload-label] {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.timeline {
  margin-block: 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.timeline-step {
  position: relative;
  text-align: center;
}

.timeline-step::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 20px;
  right: 50%;
  left: -50%;
  border-top: 3px solid #d7d8dc;
}

.timeline-step:first-child::before {
  display: none;
}

.timeline-step.done::before,
.timeline-step.current::before {
  border-color: #111;
}

.timeline-dot {
  width: 42px;
  height: 42px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #777;
  background: #e3e4e6;
  font-weight: 900;
}

.timeline-step.done .timeline-dot {
  color: #fff;
  background: #111;
}

.timeline-step.current .timeline-dot {
  color: #111;
  background: var(--brand-yellow);
}

.result-page-section {
  padding-block: 48px 0;
}

.result-status {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.result-status > .status-icon {
  width: 84px;
  height: 84px;
  flex: 0 0 auto;
}

.result-status .section-heading {
  font-size: 36px;
}

.result-status-copy {
  margin: 5px 0 10px;
  font-size: 16px;
}

.result-order-meta {
  margin: 0;
}

.result-order-meta .icon-button {
  margin-left: 8px;
}

.result-timeline {
  margin-block: 26px 30px;
}

.result-timeline .timeline-step:last-child::before {
  border-top-style: dashed;
}

.order-layout {
  grid-template-columns: 1.15fr .85fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.order-layout > div {
  padding: 30px;
}

.order-layout > div + div {
  border-left: 1px solid var(--line);
}

.order-row {
  min-height: 86px;
  display: grid;
  grid-template-columns: 72px 1fr 90px 60px 90px;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line);
}

.order-row img {
  width: 64px;
  height: 64px;
  object-fit: cover;
}

.order-table-head {
  min-height: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px 60px 90px;
  align-items: center;
  gap: 14px;
  color: #666a72;
  font-size: 15px;
  font-weight: 700;
}

.result-order-total {
  width: min(100%, 330px);
  margin: 18px 0 0 auto;
}

.result-info-list {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px 18px;
}

.result-info-list dt,
.result-info-list dd {
  margin: 0;
}

.result-payment-heading {
  margin-top: 28px;
}

.result-pending {
  color: #b86200;
}

.result-pending.result-success {
  color: #168443;
}

.result-pending.result-error {
  color: #b42318;
}

.result-actions {
  margin-top: 24px;
}

.result-actions .btn {
  min-width: 180px;
}

.result-support-link {
  margin-left: auto;
}

.result-notice {
  min-height: 58px;
  margin-top: 18px;
  padding: 12px 20px;
  background: #fff8d8;
}

.result-next-section {
  padding-block: 34px 40px;
}

.result-next-section .section-heading {
  margin-bottom: 24px;
  font-size: 27px;
}

.result-next-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.result-next-step {
  min-width: 0;
  padding-inline: 32px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}

.result-next-step:first-child {
  padding-left: 0;
}

.result-next-step:last-child {
  padding-right: 0;
}

.result-next-step + .result-next-step {
  border-left: 1px solid var(--line);
}

.result-next-step .status-icon {
  width: 56px;
  height: 56px;
}

.result-next-step strong {
  font-size: 18px;
}

.result-next-step p {
  margin: 5px 0 0;
}

.auth-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: clamp(620px, 52vw, 760px);
}

.auth-visual {
  position: relative;
  min-height: inherit;
  overflow: hidden;
  color: #fff;
  background: #070707 url("/uploads/banners/hero-carousel-01-ai.webp") 100% 34% / auto 60% no-repeat;
}

.auth-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(3, 3, 3, .96) 100%);
}

.auth-products {
  position: absolute;
  z-index: 2;
  inset: 60px 0 120px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
}

.auth-products img {
  width: 29%;
  height: 80%;
  object-fit: cover;
  box-shadow: 0 15px 50px rgba(0,0,0,.55);
}

.auth-products img:nth-child(2) {
  height: 92%;
}

.auth-caption {
  position: absolute;
  z-index: 3;
  right: clamp(32px, 6vw, 120px);
  bottom: clamp(38px, 4vw, 76px);
  left: clamp(32px, 6vw, 120px);
}

.auth-caption h2 {
  margin: 0 0 6px;
  font-size: clamp(30px, 2.3vw, 42px);
  line-height: 1.2;
  font-weight: 900;
}

.auth-caption p {
  margin: 0 0 22px;
  font-size: 16px;
}

.auth-age {
  display: flex;
  align-items: center;
  gap: 16px;
}

.auth-age .age-badge {
  border-color: var(--brand-yellow);
}

.auth-form-wrap {
  padding: clamp(48px, 5vw, 72px) clamp(72px, 8vw, 156px) 32px;
  display: flex;
  align-items: flex-start;
}

.auth-form {
  width: 100%;
  max-width: 620px;
  margin-inline: auto;
}

.auth-title {
  margin: 0 0 8px;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 900;
}

.auth-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.form-stack {
  margin-top: 24px;
  display: grid;
  gap: 10px;
}

.auth-login-methods {
  min-height: 44px;
  padding: 4px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f3f4f5;
}

.auth-login-methods button {
  min-width: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #555a62;
  font: inherit;
  font-size: 15px;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.auth-login-methods button:hover {
  color: var(--ink);
}

.auth-login-methods button.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
}

.auth-login-methods button:focus-visible {
  outline: 2px solid var(--brand-yellow);
  outline-offset: 1px;
}

[data-login-panel][hidden] {
  display: none;
}

.auth-form .field {
  min-height: 44px;
  padding-block: 9px;
}

.auth-remember-row {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.auth-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.auth-checkbox input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--brand-yellow);
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  color: #3f4248;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: #d5d6d9;
}

.google-mark {
  font-size: 21px;
  line-height: 1;
}

.auth-register-prompt {
  margin: 0;
  text-align: center;
}

.auth-register-prompt .text-link {
  border-color: var(--brand-yellow);
}

.auth-benefits {
  margin-top: 20px;
  padding-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.auth-benefit {
  min-width: 0;
  min-height: 66px;
  padding-inline: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 9px;
  text-align: center;
}

.auth-benefit + .auth-benefit {
  border-left: 1px solid var(--line);
}

.auth-benefit strong {
  font-size: 15px;
  line-height: 1.45;
}

@media (min-width: 901px) {
  body:is([data-page="login"], [data-page="register"]) .site-container {
    width: min(100% - 144px, 1440px);
  }

  body[data-page="register"] .site-container {
    width: min(100% - 120px, 1440px);
  }

  body:is([data-page="login"], [data-page="register"]) .topbar {
    height: 28px;
    font-size: 15px;
  }

  body:is([data-page="login"], [data-page="register"]) .header-picker {
    height: 28px;
  }

  body:is([data-page="login"], [data-page="register"]) .main-nav {
    height: 58px;
  }

  body:is([data-page="login"], [data-page="register"]) .main-nav .site-container {
    grid-template-columns: 160px 1fr 160px;
  }

  body:is([data-page="login"], [data-page="register"]) .brand-logo {
    width: 116px;
    height: 40px;
  }

  body:is([data-page="login"], [data-page="register"]) .nav-links a {
    padding-block: 18px;
  }

  body:is([data-page="login"], [data-page="register"]) .nav-links a::after {
    bottom: 11px;
  }

  body:is([data-page="login"], [data-page="register"]) .icon-button {
    width: 34px;
    height: 34px;
  }

  body[data-page="login"] .promise-strip {
    height: 47px;
  }

  body[data-page="register"] .promise-strip {
    height: 39px;
  }

  body:is([data-page="login"], [data-page="register"]) .auth-footer-main {
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 30px;
  }

}

.register-section {
  padding-block: 18px 20px;
}

.register-shell {
  width: min(100% - 80px, 1440px);
  min-height: clamp(760px, 50vw, 820px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 30px;
}

.register-form {
  min-width: 0;
  padding-block: 12px;
}

@media (min-width: 901px) {
  .register-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.register-form .auth-title {
  font-size: 32px;
}

.register-fields {
  margin-top: 22px;
  gap: 10px 12px;
}

.register-fields .field {
  min-height: 40px;
  padding: 8px 12px;
}

.register-fields .field-label {
  margin-bottom: 5px;
  font-size: 15px;
}

.phone-field-group {
  display: grid;
  grid-template-columns: 134px minmax(0, 1fr);
  gap: 10px;
}

.phone-field-group select {
  cursor: pointer;
}

.password-strength {
  margin-top: 14px;
}

.password-strength-label {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 15px;
}

.password-strength-track {
  width: 170px;
  margin-top: 7px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.password-strength-track span {
  height: 7px;
  border-radius: 4px;
  background: #d9dade;
}

.password-strength[data-score="1"] .password-strength-track span:nth-child(1),
.password-strength[data-score="2"] .password-strength-track span:nth-child(-n+2),
.password-strength[data-score="3"] .password-strength-track span {
  background: #2f8a56;
}

.password-rules span {
  opacity: .55;
}

.password-rules span.is-met {
  opacity: 1;
}

.password-rules {
  margin-top: 11px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  color: #328a58;
  font-size: 15px;
}

.password-rules span {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.password-rules svg {
  flex: 0 0 auto;
}

.register-consents {
  margin-top: 22px;
  display: grid;
  gap: 10px;
  font-size: 15px;
}

.register-consents label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.register-consents input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  flex: 0 0 auto;
  accent-color: #111;
}

.policy-link {
  margin-inline: 2px;
  color: #195bce;
  text-decoration: underline;
}

.register-submit {
  margin-top: 24px;
}

.register-login-prompt {
  margin: 12px 0 0;
  text-align: center;
}

.register-login-prompt .text-link {
  color: #195bce;
}

.register-benefit-panel {
  position: relative;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  border-radius: 4px;
  color: #fff;
  background-color: #070707;
  background-image: linear-gradient(90deg, #070707 0%, rgba(7, 7, 7, .98) 47%, rgba(7, 7, 7, .58) 72%, transparent 100%), url("/uploads/banners/hero-carousel-01-ai.webp");
  background-position: center, 88% 96%;
  background-size: 100% 100%, auto 58%;
  background-repeat: no-repeat;
}

.register-benefit-content {
  position: relative;
  z-index: 2;
  padding: 42px 30px 190px;
}

.register-benefit-content h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 900;
}

.register-benefit-rule {
  width: 38px;
  height: 3px;
  margin-top: 14px;
  display: block;
  background: var(--brand-yellow);
}

.register-benefit-list {
  margin-top: 30px;
  display: grid;
  gap: 24px;
}

.register-benefit-item {
  max-width: 270px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.register-benefit-item > svg {
  color: var(--brand-yellow);
}

.register-benefit-item strong,
.register-benefit-item span {
  display: block;
}

.register-benefit-item strong {
  font-size: 16px;
  line-height: 1.35;
}

.register-benefit-item span {
  margin-top: 2px;
  color: #aeb2b8;
  font-size: 15px;
  line-height: 1.5;
}

.register-compliance {
  position: absolute;
  z-index: 3;
  right: 28px;
  bottom: 22px;
  left: 30px;
}

.register-age {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--brand-yellow);
}

.register-age .age-badge {
  width: 54px;
  height: 54px;
  border-width: 3px;
}

.register-age strong {
  font-size: 25px;
  font-style: italic;
}

.register-compliance p {
  margin: 14px 0 0;
  font-weight: 700;
}

.register-compliance small {
  color: #aeb2b8;
  font-weight: 400;
}

.password-wrap {
  position: relative;
}

.password-wrap .field {
  padding-right: 48px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  transform: translateY(-50%);
  cursor: pointer;
}

.benefit-panel {
  position: relative;
  min-height: 660px;
  padding: 52px;
  overflow: hidden;
  color: #fff;
  background: #070707;
}

.benefit-panel::after {
  content: "";
  position: absolute;
  top: -10%;
  right: -60px;
  width: 180px;
  height: 130%;
  background: var(--brand-yellow);
  transform: rotate(15deg);
}

.benefit-list {
  position: relative;
  z-index: 2;
  margin-top: 42px;
  display: grid;
  gap: 28px;
}

.benefit-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
}

.account-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.account-content {
  min-width: 0;
}

.account-tab-panel,
.account-tab-panel > * {
  min-width: 0;
  max-width: 100%;
}

.account-page-section {
  padding-top: 8px;
}

.account-page-title {
  font-size: 34px;
}

.account-page-subtitle {
  margin: 5px 0 0;
}

.account-sidebar {
  border: 1px solid #dedfe2;
}

.account-user {
  padding: 30px 20px;
  text-align: center;
}

.avatar {
  width: 68px;
  height: 68px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand-yellow);
  font-size: 28px;
  font-weight: 900;
}

.account-nav {
  display: grid;
}

.account-nav :is(a, button) {
  width: 100%;
  min-height: 50px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

body[data-page="account"] :is(.product-badge, .product-category) {
  font-size: 14px;
}

body[data-page="account"] .account-nav :is(a, button),
body[data-page="account"] .account-table .status-pill {
  font-size: 15px;
}

.account-nav :is(a, button).active {
  background: var(--brand-yellow);
  font-weight: 800;
}

.account-nav :is(a, button):focus-visible {
  outline: 3px solid #111;
  outline-offset: -3px;
}

.account-nav .account-logout {
  margin-top: 15px;
  border-top: 1px solid #dedfe2;
}

.account-tab-panel {
  display: grid;
  gap: 28px;
}

.account-tab-panel[hidden] {
  display: none;
}

.account-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #dedfe2;
}

.account-stat {
  min-height: 102px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-right: 1px solid #dedfe2;
}

.account-stat:last-child {
  border-right: 0;
}

.account-stat strong {
  display: block;
  font-size: 24px;
  line-height: 1;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid #dedfe2;
}

.account-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.account-table th,
.account-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #dedfe2;
  text-align: left;
}

.account-table th {
  background: #f6f7f8;
}

.account-section-heading {
  margin-bottom: 12px;
}

.account-section-heading h2,
.account-panel-heading h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
}

.account-section-heading button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.status-pill {
  padding: 5px 10px;
  display: inline-flex;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 800;
}

.status-pill.pending { color: #9b6900; background: #fff0ad; }
.status-pill.processing { color: #1457aa; background: #e3efff; }
.status-pill.shipped { color: #18723a; background: #e4f5e8; }

.info-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.info-panel {
  min-height: 190px;
  padding: 24px;
  border: 1px solid #dedfe2;
}

.info-panel h2 {
  margin: 0 0 14px;
  font-size: 19px;
  font-weight: 900;
}

.account-contact-row {
  align-items: flex-start;
}

.account-contact-row + .account-contact-row {
  margin-top: 12px;
}

.account-contact-row p {
  margin: 0;
}

.account-card-actions {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
}

.account-card-actions button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.account-card-actions-end {
  justify-content: flex-end;
}

.account-summary-list {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 8px 12px;
}

.account-summary-list dt,
.account-summary-list dd {
  margin: 0;
}

.account-panel-heading {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #dedfe2;
}

.account-management-panel,
.account-form-panel {
  padding: 28px;
  border: 1px solid #dedfe2;
}

.account-management-panel {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.account-management-panel h3 {
  margin: 16px 0 4px;
  font-size: 20px;
}

.account-management-panel p {
  margin: 6px 0 0;
}

.account-management-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.account-form-panel {
  max-width: 900px;
}

.account-form-actions {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.account-list-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) minmax(190px, .8fr) auto;
  align-items: end;
  gap: 14px;
}

.account-list-toolbar label {
  min-width: 0;
}

.account-search-field {
  position: relative;
  display: block;
}

.account-search-field > svg {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 14px;
  color: #666a72;
  transform: translateY(-50%);
  pointer-events: none;
}

.account-search-field .field {
  padding-left: 44px;
}

.account-filter-reset {
  min-height: 48px;
}

.account-list-footer {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.account-pagination {
  display: flex;
  align-items: center;
  gap: 6px;
}

.account-pagination button {
  width: 40px;
  height: 40px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d4d5d8;
  border-radius: 4px;
  background: #fff;
  font-weight: 800;
  cursor: pointer;
}

.account-pagination button.active {
  border-color: var(--brand-yellow);
  background: var(--brand-yellow);
}

.account-pagination button:disabled {
  color: #a5a8ae;
  background: #f2f3f4;
  cursor: not-allowed;
}

.account-list-empty {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #dedfe2;
  color: #555a63;
  text-align: center;
}

.account-list-empty[hidden] {
  display: none;
}

.account-list-empty button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.account-form-success {
  min-height: 46px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #b9dfc6;
  color: #176b36;
  background: #edf8f0;
  font-weight: 700;
}

.account-form-success[hidden],
.account-address-form[hidden] {
  display: none;
}

.account-address-form {
  max-width: none;
}

.account-default-check {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.account-default-check input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #111;
}

@media (max-width: 1180px) {
  .site-container,
  .site-container.narrow {
    width: min(100% - 48px, 1440px);
  }

  .main-nav .site-container {
    grid-template-columns: 165px 1fr 165px;
  }

  .nav-links {
    gap: 20px;
    font-size: 15px;
  }

  .hero-stage .site-container {
    grid-template-columns: .9fr 1.1fr;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body[data-page="cart"] .cart-recommendations {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .detail-buy-grid {
    gap: 32px;
  }

  .footer-main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}

@media (max-width: 1020px) {
  .detail-buy-grid {
    grid-template-columns: 1fr;
  }

  .detail-buy-grid .gallery-layout {
    width: min(100%, 760px);
    margin-inline: auto;
    position: static;
  }
}

@media (max-width: 960px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .section-block {
    padding-block: 56px;
  }

  .topbar {
    height: 42px;
    font-size: 13px;
  }

  .topbar-group:first-child {
    display: none;
  }

  .topbar-group:last-child {
    width: 100%;
    justify-content: space-between;
    gap: 0;
  }

  .topbar .header-picker-trigger {
    min-height: 30px;
    padding-inline: 4px;
  }

  .topbar .header-picker-menu {
    width: min(220px, calc(100vw - 32px));
    min-width: 0;
    max-width: calc(100vw - 32px);
    box-sizing: border-box;
  }

  .topbar-group:last-child .header-picker:first-child .header-picker-menu {
    right: auto;
    left: 0;
  }

  .main-nav {
    height: 48px;
  }

  .main-nav .site-container {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
  }

  .checkout-nav .site-container {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    display: flex;
  }

  .icon-button {
    width: 32px;
    height: 32px;
  }

  .mobile-menu-button {
    display: inline-flex;
  }

  .checkout-nav .mobile-menu-button {
    display: none;
  }

  .brand-logo {
    width: 84px;
    height: 32px;
  }

  .mobile-menu.open {
    position: fixed;
    z-index: 70;
    inset: 90px 0 0;
    padding: 30px 24px;
    display: grid;
    align-content: start;
    gap: 0;
    background: #fff;
  }

  body.menu-open [data-site-header] {
    position: fixed;
    right: 0;
    left: 0;
  }

  .mobile-menu a,
  .mobile-announcement {
    min-height: 54px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
    font-weight: 500;
  }

  .mobile-announcement {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 0;
    border-right: 0;
    border-left: 0;
    color: #c51616;
    background: transparent;
    text-align: left;
    cursor: pointer;
  }

  .toolbar {
    flex-wrap: wrap;
  }

  .product-filters {
    order: 3;
    width: 100%;
    flex: 1 0 100%;
    flex-wrap: wrap;
  }

  .filter-control {
    flex: 1 1 150px;
  }

  .toolbar-spacer {
    display: none;
  }

  .mobile-menu a.active {
    margin-inline: -12px;
    padding-inline: 12px;
    background: #fff4b8;
  }

  .promise-strip {
    height: 58px;
    overflow: hidden;
  }

  .promise-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .promise-item {
    width: auto;
    padding-inline: 3px;
    gap: 3px;
    font-size: 11px;
    line-height: 1.15;
    text-align: center;
  }

  .promise-mobile {
    display: inline;
  }

  .promise-desktop {
    display: none;
  }

  .mobile-announcement-strip {
    height: 42px;
    display: block;
    border-bottom: 1px solid var(--line);
    background: #fff;
  }

  .mobile-announcement-strip .site-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-announcement-strip .announcement {
    color: #f02020;
    font-size: 20px;
    font-weight: 500;
  }

  .hero-stage,
  .hero-stage .site-container,
  .hero-carousel,
  .hero-slides {
    min-height: 700px;
  }

  .hero-stage {
    background-position: 67% center;
  }

  .hero-stage::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    display: block;
    background: linear-gradient(180deg, rgba(8, 9, 9, .98) 0%, rgba(8, 9, 9, .88) 42%, rgba(8, 9, 9, .08) 76%);
  }

  .hero-stage .site-container {
    padding-block: 54px 80px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-carousel-controls {
    bottom: 18px;
  }

  .hero-products {
    min-height: 300px;
  }

  .hero-products img {
    height: 90%;
  }

  .category-grid,
  .service-grid,
  .steps-grid,
  .rule-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-link:nth-child(2),
  .service-item:nth-child(2),
  .rule-item:nth-child(2) {
    border-right: 0;
  }

  .category-link:nth-child(-n+2),
  .service-item:nth-child(-n+2),
  .rule-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .product-grid,
  .product-grid.three-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="cart"] .cart-recommendations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .campaign-band .site-container,
  .newsletter .site-container,
  .campaign-hero .site-container {
    grid-template-columns: 1fr;
  }

  .campaign-band .site-container {
    padding-block: 40px 0;
  }

  .newsletter .site-container {
    padding-block: 28px;
  }

  .footer-main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-social-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-social-intro {
    max-width: 520px;
  }

  .footer-social-grid {
    gap: 20px;
  }

  .detail-buy-grid,
  .cart-layout,
  .checkout-layout,
  .payment-layout,
  .order-layout {
    grid-template-columns: 1fr;
  }

  .account-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .account-sidebar {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .account-user {
    padding: 20px 16px;
  }

  .account-user .avatar {
    width: 54px;
    height: 54px;
    font-size: 22px;
  }

  .account-nav {
    min-width: 0;
    grid-template-columns: repeat(7, minmax(140px, 1fr));
    overflow-x: auto;
  }

  .account-nav .account-logout {
    margin-top: 0;
    border-top: 0;
  }

  .payment-order-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 22px;
  }

  .payment-order-grid > * {
    padding-inline: 18px;
  }

  .payment-order-grid > :nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .payment-order-grid > :nth-child(even) {
    padding-right: 0;
  }

  .payment-order-grid > :nth-child(n + 3) {
    padding-top: 22px;
    border-top: 1px solid #e3e4e7;
  }

  .detail-buy-grid .gallery-layout {
    width: min(100%, 760px);
    margin-inline: auto;
  }

  .sticky-summary {
    position: static;
  }

  .campaign-hero,
  .campaign-hero .site-container {
    min-height: 680px;
  }

  .campaign-hero {
    background-position: 68% bottom;
  }

  .campaign-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 8, 8, .98) 0%, rgba(8, 8, 8, .84) 44%, rgba(8, 8, 8, .08) 78%);
  }

  .campaign-products {
    height: 300px;
  }

  .cart-head {
    display: none;
  }

  .cart-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "product product"
      "price quantity"
      "total total";
    gap: 14px 20px;
  }

  .cart-product {
    grid-area: product;
    grid-row: auto;
  }

  .cart-unit-price {
    grid-area: price;
    justify-self: start;
  }

  .cart-unit-price,
  .cart-total-value {
    display: flex;
    align-items: baseline;
    gap: 8px;
  }

  .cart-row-label {
    display: inline;
    color: #666a73;
    font-size: 13px;
    font-weight: 400;
  }

  .cart-row .quantity-stepper {
    grid-area: quantity;
    justify-self: end;
  }

  .cart-row-total {
    grid-area: total;
    padding-top: 12px;
    border-top: 1px solid #e3e3e5;
  }

  .cart-row-actions {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .order-layout > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .auth-section {
    grid-template-columns: 1fr;
  }

  .auth-visual {
    min-height: 520px;
    background-position: 86% center;
    background-size: auto 100%;
  }

  .auth-form-wrap {
    order: -1;
    padding-block: 56px;
  }

  .register-section {
    padding-block: 38px;
  }

  .register-shell {
    width: min(100% - 64px, 720px);
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .register-benefit-panel {
    min-height: 620px;
  }
}

@media (max-width: 640px) {
  .cart-drawer-panel {
    width: 90%;
  }

  .site-container,
  .site-container.narrow {
    width: min(100% - 32px, 1440px);
  }

  .section-block {
    padding-block: 44px;
  }

  .section-heading {
    font-size: 32px;
  }

  .register-section {
    padding-block: 32px;
  }

  .register-shell {
    width: min(100% - 32px, 720px);
    gap: 26px;
  }

  .register-form .auth-title {
    font-size: 30px;
  }

  .register-fields {
    gap: 10px;
  }

  .phone-field-group {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .password-rules {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .register-benefit-panel {
    min-height: 590px;
  }

  .register-benefit-content {
    padding: 32px 24px 185px;
  }

  .register-benefit-content h2 {
    font-size: 26px;
  }

  .register-benefit-list {
    margin-top: 25px;
    gap: 19px;
  }

  .register-compliance {
    right: 22px;
    bottom: 20px;
    left: 24px;
  }

  .campaign-title,
  .campaign-hero .hero-title {
    font-size: 42px !important;
  }

  .detail-title {
    font-size: 32px;
  }

  body[data-page="detail"] .breadcrumb {
    display: none;
  }

  .brand-logo {
    width: 84px;
    height: 32px;
  }

  .header-search-panel .site-container {
    min-height: 74px;
    gap: 8px;
  }

  .header-search-form {
    min-height: 44px;
    padding-left: 12px;
    gap: 8px;
  }

  .header-search-form input {
    height: 42px;
    font-size: 15px;
  }

  .header-search-submit {
    min-height: 42px;
    padding-inline: 13px;
  }

  .nav-actions {
    gap: 2px;
  }

  .promise-item {
    padding-inline: 4px;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-stage,
  .hero-stage .site-container,
  .hero-carousel,
  .hero-slides {
    min-height: 560px;
  }

  .hero-stage .site-container {
    padding-block: 36px 60px;
  }

  .hero-copy {
    font-size: 15px;
  }

  .hero-products img {
    width: 48%;
  }

  .hero-products img:nth-child(1) { left: -8%; }
  .hero-products img:nth-child(2) { left: 26%; }
  .hero-products img:nth-child(3) { right: -10%; }

  .category-grid,
  .service-grid,
  .steps-grid,
  .rule-strip,
  .form-grid,
  .payment-options,
  .info-panels {
    grid-template-columns: 1fr;
  }

  .product-grid,
  .product-grid.three-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }

  .product-info {
    min-height: 218px;
    padding: 13px;
  }

  .product-name {
    font-size: 15px;
  }

  .product-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-stat {
    min-height: 92px;
  }

  .account-stat:nth-child(2n) {
    border-right: 0;
  }

  .category-link,
  .service-item,
  .rule-item,
  .account-stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .category-band {
    padding-block: 8px 16px;
    border-bottom: 0;
  }

  .category-band .category-grid {
    width: min(100% - 18px, 1440px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .category-band .category-link {
    min-height: 60px;
    padding-inline: 8px;
    border: 0;
    border-radius: 10px;
    color: var(--ink);
    background: var(--brand-yellow);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
    text-align: center;
    transition: background-color .18s ease, transform .18s ease;
  }

  .category-band .category-icon,
  .category-band .category-link small {
    display: none;
  }

  .category-band .category-link:hover,
  .category-band .category-link:focus-visible {
    background: #f1ca00;
  }

  .category-band .category-link:active {
    transform: translateY(1px);
  }

  .section-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-title-row.home-product-heading {
    align-items: center;
  }

  .product-image-wrap {
    aspect-ratio: 1.1 / 1;
  }

  .campaign-band .site-container {
    min-height: 470px;
  }

  .campaign-visual {
    height: 230px;
  }

  .campaign-visual img {
    width: 42%;
  }

  .campaign-visual .campaign-strip-art {
    width: min(94%, 700px);
    height: 220px;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-main > div:first-child {
    grid-column: auto;
  }

  .footer-logo {
    margin-inline: auto;
    object-position: center;
  }

  .footer-copy {
    margin-inline: auto;
  }

  .footer-links {
    justify-items: center;
  }

  .footer-social-layout {
    padding-block: 36px 40px;
    text-align: center;
  }

  .footer-social-intro,
  .footer-social-intro p {
    margin-inline: auto;
  }

  .footer-social-intro h2 {
    font-size: 30px;
  }

  .footer-social-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .footer-social-visual {
    height: 120px;
  }

  .footer-social-visual img {
    max-height: 120px;
  }

  .footer-social-item strong {
    margin-top: 8px;
    font-size: 12px;
  }

  .footer-bottom {
    padding-block: 20px;
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .toolbar {
    align-items: center;
    flex-flow: row wrap;
    gap: 10px;
  }

  .toolbar > strong {
    flex: 0 0 100%;
  }

  .product-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-control {
    min-width: 0;
  }

  .filter-control > span,
  .catalog-sort > span {
    display: none;
  }

  .filter-control .select-plain,
  .catalog-sort .select-plain {
    min-height: 44px;
    padding-inline-start: 11px;
  }

  .catalog-sort {
    min-width: 0;
    flex: 1 1 190px;
  }

  .pagination-row {
    align-items: flex-start !important;
    flex-direction: column;
  }

  .pagination {
    flex-wrap: wrap;
  }

  .gallery-layout {
    grid-template-columns: 1fr;
  }

  .gallery-thumbs {
    order: 2;
    grid-template-columns: repeat(4, 1fr);
  }

  .buy-buttons {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 50px;
  }

  .detail-trust {
    grid-template-columns: 1fr;
  }

  .tabs {
    overflow-x: auto;
    overflow-y: hidden;
    gap: 24px;
  }

  .tab-button {
    flex: 0 0 auto;
  }

  .campaign-off {
    font-size: 58px;
  }

  .free-shipping {
    grid-template-columns: 1fr;
  }

  .cart-row {
    min-height: 0;
    padding: 16px;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "product product"
      "price quantity"
      "total total";
  }

  .cart-product {
    grid-row: auto;
    grid-template-columns: 88px 1fr;
  }

  .cart-product img {
    width: 88px;
    height: 88px;
  }

  .cart-empty {
    grid-template-columns: auto 1fr;
    padding: 24px 18px;
  }

  .cart-empty .btn {
    grid-column: 1 / -1;
  }

  .cart-toast {
    right: 12px;
    bottom: 12px;
    left: 12px;
    max-width: none;
  }

  .summary-panel,
  .form-section,
  .payment-panel {
    padding: 20px;
  }

  .checkout-address-options {
    grid-template-columns: 1fr;
  }

  .checkout-address-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .mini-trust {
    margin: 20px -20px -20px;
  }

  .checkout-steps {
    width: 100%;
    min-width: 0;
    min-height: 94px;
    padding-block: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .checkout-steps-wrap {
    overflow: visible;
  }

  .checkout-step {
    min-width: 0;
    justify-content: flex-start;
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .checkout-step > div {
    min-width: 0;
  }

  .checkout-step strong {
    display: block;
    font-size: 13px;
    line-height: 1.25;
  }

  .checkout-step br,
  .checkout-step .section-kicker {
    display: none;
  }

  .checkout-step:not(:last-child)::after {
    z-index: 0;
    top: 18px;
    right: calc(-50% + 22px);
    left: calc(50% + 22px);
  }

  .step-dot {
    position: relative;
    z-index: 1;
    width: 36px;
    height: 36px;
    font-size: 14px;
    font-weight: 600;
  }

  .status-banner {
    grid-template-columns: auto 1fr;
    padding: 18px;
    gap: 16px;
  }

  .status-banner h1 {
    font-size: 22px !important;
    line-height: 1.25;
  }

  .status-banner > :nth-child(3) {
    grid-column: 1 / -1;
  }

  .status-banner > :nth-last-child(-n+2) {
    display: none;
  }

  .payment-tabs {
    gap: 6px;
  }

  body[data-page="payment"] .payment-tabs .payment-tab {
    gap: 6px;
    padding-inline: 8px;
    font-size: 15px;
  }

  .demo-qr {
    width: min(86%, 260px);
  }

  .payment-order-grid {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .payment-order-grid > *,
  .payment-order-grid > :nth-child(odd),
  .payment-order-grid > :nth-child(even) {
    padding: 18px 0;
    border-left: 0;
  }

  .payment-order-grid > :first-child {
    padding-top: 0;
  }

  .payment-order-grid > * + * {
    border-top: 1px solid #e3e4e7;
  }

  .payment-order-summary .summary-product img {
    width: 64px;
    height: 64px;
  }

  .payment-flow {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .payment-flow-arrow {
    display: none;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .result-page-section {
    padding-block: 32px 0;
  }

  .result-nav-actions {
    gap: 12px;
  }

  .result-nav-actions .secure-label:last-child {
    display: none;
  }

  .result-status {
    gap: 16px;
  }

  .result-status > .status-icon {
    width: 64px;
    height: 64px;
  }

  .result-status .section-heading {
    font-size: 29px;
  }

  .result-status-copy {
    font-size: 15px;
  }

  .result-order-meta strong,
  .result-order-meta .section-kicker {
    font-size: 15px;
  }

  .timeline-step {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    text-align: left;
  }

  .timeline-step .section-kicker {
    grid-column: 2;
  }

  .timeline-step::before {
    top: -18px;
    right: auto;
    bottom: auto;
    left: 21px;
    width: 0;
    height: 20px;
    border-top: 0;
    border-left: 3px solid #d7d8dc;
  }

  .timeline-dot {
    margin: 0;
  }

  .result-order-layout > div {
    padding: 20px 0;
  }

  .order-table-head {
    display: none;
  }

  .result-info-list {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 11px 12px;
  }

  .result-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .result-actions .btn {
    min-width: 0;
  }

  .result-support-link {
    grid-column: 1 / -1;
    margin: 6px 0 0;
  }

  .result-notice {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .result-next-section {
    padding-block: 28px 36px;
  }

  .result-next-steps {
    grid-template-columns: 1fr;
  }

  .result-next-step,
  .result-next-step:first-child,
  .result-next-step:last-child {
    padding: 18px 0;
  }

  .result-next-step + .result-next-step {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .order-row {
    grid-template-columns: 58px 1fr auto;
  }

  .order-row > :nth-child(4),
  .order-row > :nth-child(5) {
    display: none;
  }

  .auth-visual {
    min-height: 380px;
  }

  .auth-caption {
    right: 24px;
    bottom: 28px;
    left: 24px;
  }

  .auth-form-wrap {
    padding: 44px 20px;
  }

  .auth-title {
    font-size: 32px;
  }

  .auth-benefits {
    grid-template-columns: 1fr;
  }

  .auth-benefit {
    min-height: 58px;
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
  }

  .auth-benefit + .auth-benefit {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .benefit-panel {
    min-height: 600px;
    padding: 32px 24px;
  }

  .account-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .account-sidebar {
    display: block;
    overflow: hidden;
  }

  .account-user {
    display: none;
  }

  .account-nav {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
    scrollbar-width: none;
  }

  .account-nav::-webkit-scrollbar {
    display: none;
  }

  .account-nav :is(a, button) {
    width: auto;
    min-width: max-content;
    min-height: 44px;
    padding: 9px 12px;
    flex: 0 0 auto;
    gap: 8px;
    scroll-snap-align: start;
  }

  .account-nav :is(a, button) svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
  }

  .account-nav .account-logout {
    display: none;
  }

  .account-page-title {
    font-size: 28px;
  }

  .account-tab-panel {
    width: 100%;
    gap: 20px;
  }

  .account-section-heading {
    margin-bottom: 10px;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    gap: 12px;
  }

  .account-section-heading h2,
  .account-panel-heading h2 {
    font-size: 20px;
  }

  .account-stats {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-stat {
    min-width: 0;
    min-height: 84px;
    padding: 12px 14px;
    justify-content: flex-start;
    gap: 10px;
    border-right: 0;
  }

  .account-stat:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .account-stat:nth-child(n + 3) {
    border-bottom: 0;
  }

  .account-stat svg {
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
  }

  .account-stat strong {
    font-size: 22px;
  }

  .account-page-section .table-wrap {
    overflow: visible;
    border: 0;
  }

  .account-page-section .account-table,
  .account-page-section .account-table tbody {
    width: 100%;
    min-width: 0;
    display: block;
  }

  .account-page-section .account-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  .account-page-section .account-table tbody {
    display: grid;
    gap: 12px;
  }

  .account-page-section .account-table tbody tr {
    min-width: 0;
    padding: 14px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px 18px;
    border: 1px solid #dedfe2;
  }

  .account-page-section .account-table tbody tr[hidden] {
    display: none;
  }

  .account-page-section .account-table td {
    min-width: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border: 0;
    overflow-wrap: anywhere;
  }

  .account-page-section .account-table td::before {
    color: #6b6f76;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
  }

  .account-page-section .account-table td:nth-child(1) {
    grid-column: 1 / -1;
    padding-bottom: 12px;
    border-bottom: 1px solid #e4e5e8;
    font-weight: 800;
  }

  .account-page-section .account-table td:nth-child(1)::before { content: "订单号"; }
  .account-page-section .account-table td:nth-child(2)::before { content: "日期"; }
  .account-page-section .account-table td:nth-child(3)::before { content: "金额"; }
  .account-page-section .account-table td:nth-child(4)::before { content: "状态"; }
  .account-page-section .account-table td:nth-child(5)::before { content: "操作"; }

  .account-page-section .account-table td:nth-child(3),
  .account-page-section .account-table td:nth-child(5) {
    align-items: flex-end;
    text-align: right;
  }

  .account-page-section .account-table .status-pill {
    align-self: flex-start;
  }

  .account-panel-heading {
    min-height: 44px;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .account-management-panel {
    padding: 18px;
    flex-direction: column;
    gap: 20px;
  }

  .account-management-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .account-management-actions .btn {
    min-height: 44px;
    flex: 1;
  }

  .account-form-panel {
    padding: 18px;
  }

  .account-form-panel .field {
    font-size: 16px;
  }

  .account-form-actions .btn {
    width: auto;
    flex: 1;
  }

  .account-list-toolbar {
    grid-template-columns: 1fr;
  }

  .account-filter-reset {
    width: 100%;
  }

  .account-list-footer {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .account-pagination {
    width: 100%;
    justify-content: center;
  }

  .account-pagination button {
    width: 44px;
    height: 44px;
  }

  .info-panel {
    min-height: 0;
    padding: 18px;
  }

  .account-summary-list {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .account-summary-list dd,
  .account-contact-row p,
  .account-management-panel p {
    overflow-wrap: anywhere;
  }

  .account-card-actions {
    gap: 16px;
    flex-wrap: wrap;
  }

  .account-favorites-grid {
    width: 100%;
  }

  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }

  .hero-slide {
    transform: none !important;
  }
}
