:root {
  --ink: #1f2323;
  --muted: #5f6f7d;
  --line: #d9e5f2;
  --paper: #ffffff;
  --soft: #edf6ff;
  --green: #00a6a6;
  --green-dark: #122846;
  --red: #e5133a;
  --coral: #ff6b57;
  --blue: #3d55dd;
  --shadow: 0 24px 60px rgba(0, 55, 107, 0.12);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f4f9ff 0, #ffffff 380px);
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.notice {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 7px 18px;
  color: white;
  background: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1220px;
  min-height: 72px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 850;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  color: white;
  background: var(--red);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  min-height: 72px;
  align-items: center;
}

.shelf-nav-button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid rgba(229, 19, 58, 0.24);
  border-radius: 8px;
  background: #fff4f6;
  color: var(--red);
  font-size: 14px;
  font-weight: 850;
}

.login-button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(229, 19, 58, 0.24);
  border-radius: 8px;
  background: #fff4f6;
  color: var(--red);
  cursor: pointer;
  font-size: 14px;
  font-weight: 850;
}

.user-menu {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 8px 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
}

.user-menu button {
  min-height: 28px;
  padding: 0 9px;
  border: 0;
  border-radius: 7px;
  background: var(--soft);
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
}

.nav-links a.active {
  color: var(--red);
}

.nav-links a.active::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--red);
  content: "";
}

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

.search-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 12px 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.search-box input {
  width: 160px;
  border: 0;
  outline: 0;
  color: var(--ink);
}

.search-box span {
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
}

.lang-switch {
  display: inline-grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.lang-switch button {
  min-width: 50px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
}

.lang-switch button.active {
  color: white;
  background: var(--ink);
}

.cart-button,
.button,
.journey-step,
.icon-button,
.category-card,
.shelf-nav-button,
.lang-switch button {
  border: 0;
  cursor: pointer;
}

.button:disabled,
.shelf-nav-button:disabled {
  cursor: wait;
  opacity: 0.76;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-weight: 800;
}

.nav-actions .shelf-nav-button {
  border: 1px solid rgba(229, 19, 58, 0.24);
}

.cart-button #cartCount {
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  color: white;
  background: var(--red);
  font-size: 12px;
}

.cart-button #cartLabel {
  min-width: auto;
  height: auto;
  color: var(--ink);
  background: transparent;
  font-size: 14px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  gap: 34px;
  align-items: center;
  max-width: 1220px;
  min-height: 500px;
  margin: 0 auto;
  padding: 58px 24px 36px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: clamp(44px, 5.2vw, 66px);
  line-height: 1.13;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(31px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.18;
}

.hero-text,
.section-heading p,
.support-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-text {
  margin-bottom: 26px;
  color: var(--green-dark);
  font-size: 25px;
  font-weight: 900;
  line-height: 1.35;
}

.hero-feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.hero-feature-row div {
  display: grid;
  gap: 5px;
}

.feature-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 10px 22px rgba(61, 85, 221, 0.18);
}

.feature-icon img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.hero-feature-row div:nth-child(2) .feature-icon {
  background: var(--red);
}

.hero-feature-row div:nth-child(3) .feature-icon {
  background: var(--green);
}

.hero-feature-row div:nth-child(4) .feature-icon {
  background: var(--coral);
}

.hero-feature-row strong {
  font-size: 15px;
}

.hero-feature-row small {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 850;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: white;
  background: var(--red);
  box-shadow: 0 12px 28px rgba(229, 19, 58, 0.22);
}

.button.secondary {
  color: white;
  background: var(--red);
}

.button.ghost {
  border: 1px solid var(--line);
  background: white;
  color: var(--green-dark);
}

.button.full {
  width: 100%;
}

.hero-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 430px;
  overflow: hidden;
  border-radius: 18px;
  background: transparent;
}

.hero-media img {
  display: block;
  width: 62%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  filter: saturate(1.03) contrast(1.03);
}

.floating-card {
  position: absolute;
  display: grid;
  gap: 4px;
  min-width: 110px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 22px;
  background: var(--green-dark);
  color: white;
  box-shadow: 0 16px 40px rgba(0, 55, 107, 0.14);
  text-align: center;
}

.floating-card span {
  color: #eaf3ff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.floating-card strong {
  font-size: 23px;
}

.deal-card {
  top: 34px;
  right: 24px;
  animation: floatDeal 3.6s ease-in-out infinite;
}

.shipping-card {
  right: 40px;
  bottom: 48px;
  min-width: 136px;
  border-radius: 18px;
  background: var(--red);
  color: white;
  transform: rotate(-5deg);
  animation: floatShipping 4s ease-in-out 400ms infinite;
}

.shipping-card span {
  color: white;
}

@keyframes floatDeal {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes floatShipping {
  0%,
  100% {
    transform: translateY(0) rotate(-5deg);
  }

  50% {
    transform: translateY(12px) rotate(-5deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .deal-card,
  .shipping-card {
    animation: none;
  }

  .trust-strip div,
  .policy-grid article,
  .deal-zone,
  .support-section,
  .payment-panel,
  .payment-grid article,
  .category-grid article,
  .category-product,
  .category-grid img,
  .flow-card,
  .journey-safe-strip {
    transition: none;
  }
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 34px;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 35px rgba(0, 55, 107, 0.06);
}

.trust-strip div,
.policy-grid article,
.deal-zone,
.support-section,
.payment-panel,
.payment-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

@media (hover: hover) {
  .trust-strip div:hover,
  .policy-grid article:hover,
  .deal-zone:hover,
  .support-section:hover,
  .payment-panel:hover,
  .payment-grid article:hover,
  .category-grid article:hover,
  .category-product:hover,
  .flow-card:hover,
  .journey-safe-strip:hover {
    border-color: rgba(61, 85, 221, 0.24);
    box-shadow: 0 18px 38px rgba(0, 55, 107, 0.12);
    transform: translateY(-5px);
  }

  .security-panel:hover,
  .support-section:hover {
    box-shadow: 0 22px 46px rgba(18, 40, 70, 0.22);
  }
}

.trust-strip div {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 20px 18px;
  border: 0;
  border-radius: 0;
  border-right: 1px solid var(--line);
  text-align: center;
}

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

.trust-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 10px 22px rgba(61, 85, 221, 0.16);
}

.trust-icon img {
  display: block;
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.trust-strip div:nth-child(2) .trust-icon {
  background: var(--red);
}

.trust-strip div:nth-child(3) .trust-icon {
  background: var(--green);
}

.trust-strip div:nth-child(4) .trust-icon {
  background: var(--coral);
}

.trust-strip div:nth-child(5) .trust-icon {
  background: var(--green-dark);
}

.new-arrivals-band,
.category-section {
  max-width: 1120px;
  margin: 0 auto;
  padding-right: 24px;
  padding-left: 24px;
}

.new-arrivals-band {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 22px;
  align-items: center;
  margin-top: 34px;
  margin-bottom: 34px;
  padding: 26px 38px;
  border-radius: 14px;
  background: linear-gradient(135deg, #122846 0, #3d55dd 100%);
  color: white;
}

.new-arrivals-band span {
  color: #dbeaff;
  font-weight: 850;
}

.new-arrivals-band h2 {
  margin: 4px 0 0;
  color: white;
  font-size: 30px;
}

.arrival-items {
  display: flex;
  gap: 10px;
  overflow: hidden;
}

.arrival-items img {
  width: 88px;
  height: 72px;
  border-radius: 8px;
  background: white;
  object-fit: cover;
}

.category-section {
  padding-top: 8px;
  padding-bottom: 42px;
  text-align: center;
}

.category-section h2 {
  margin-bottom: 22px;
  color: var(--green-dark);
  font-size: 28px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 18px;
}

.category-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 26px rgba(0, 55, 107, 0.05);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.category-card {
  display: grid;
  width: 100%;
  min-height: 100%;
  padding: 0;
  background: transparent;
  text-align: center;
}

.category-grid article:has(.category-card.active) {
  border-color: rgba(229, 19, 58, 0.42);
  box-shadow: 0 18px 38px rgba(229, 19, 58, 0.12);
}

.category-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1.22;
  padding: 10px;
  background: #f4f9ff;
  object-fit: contain;
  transition: transform 220ms ease;
}

.category-grid article:hover img {
  transform: scale(1.04);
}

.category-grid strong {
  display: block;
  padding: 11px 8px 13px;
}

.category-products {
  margin-top: 26px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  box-shadow: 0 16px 38px rgba(0, 55, 107, 0.07);
  text-align: left;
}

.category-products-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.category-products-head h3 {
  margin: 0;
  color: var(--green-dark);
  font-size: 24px;
}

.category-products-head .eyebrow {
  display: block;
  margin-bottom: 7px;
}

#categoryProductsCount {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

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

.category-product {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
}

.category-product img {
  display: block;
  width: 100%;
  aspect-ratio: 1.45;
  padding: 12px;
  background: #f4f9ff;
  object-fit: contain;
}

.category-product-body {
  display: grid;
  gap: 8px;
  padding: 13px;
}

.category-product-body h4 {
  min-height: 40px;
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
}

.category-product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.category-product-price {
  color: var(--red);
  font-size: 18px;
  font-weight: 950;
}

.category-product-badge {
  padding: 5px 7px;
  border-radius: 999px;
  color: var(--green-dark);
  background: #eaf7f7;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.category-product-cart {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  background: var(--red);
  color: white;
  cursor: pointer;
  font-weight: 900;
}

.category-product-cart:hover {
  box-shadow: 0 12px 24px rgba(229, 19, 58, 0.18);
  transform: translateY(-1px);
}

.trust-strip span,
.policy-grid span,
.deal-zone p,
.footer span,
.payment-panel p,
.payment-grid span {
  color: var(--muted);
  line-height: 1.55;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 24px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

#deals-title,
#payments-title {
  max-width: none;
  font-size: clamp(30px, 3.4vw, 48px);
}

.payments-journey-section {
  padding-top: 42px;
}

.payments-journey-section .section-heading {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.payment-journey {
  display: grid;
  gap: 22px;
}

.journey-steps-inline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  align-items: start;
  padding: 18px 0 8px;
}

.journey-steps-inline::before {
  position: absolute;
  top: 54px;
  right: 8%;
  left: 8%;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    rgba(61, 85, 221, 0.24) 0 34px,
    transparent 34px 50px
  );
  content: "";
}

.journey-steps-inline .journey-step {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 166px;
  justify-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: center;
}

.journey-step-icon {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border-radius: 999px;
  color: var(--blue);
  background: linear-gradient(135deg, #f4f9ff, #edf6ff);
  box-shadow: inset 0 0 0 1px rgba(61, 85, 221, 0.08);
}

.journey-step-icon svg {
  width: 34px;
  height: 34px;
  stroke-width: 1.9;
}

.journey-step-number {
  display: grid;
  min-width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 999px;
  color: white;
  background: var(--red);
  font-size: 12px;
  font-weight: 950;
}

.journey-step strong {
  font-size: 16px;
  line-height: 1.2;
}

.journey-step small {
  max-width: 140px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.journey-step.active .journey-step-icon {
  color: white;
  background: var(--red);
}

.payment-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.payment-panel {
  display: grid;
  align-content: space-between;
  min-height: 300px;
  padding: 24px;
}

.security-panel {
  background: linear-gradient(135deg, #122846 0, #1f2323 100%);
  color: white;
}

.security-panel p {
  color: #dbeaff;
}

.panel-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.security-panel .panel-kicker {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.payment-panel h3 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.payment-methods span {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: 1px solid rgba(0, 55, 107, 0.1);
  border-radius: 8px;
  background: white;
  box-shadow: 0 8px 18px rgba(0, 55, 107, 0.08);
}

.payment-methods span:last-child {
  grid-column: 3 / 4;
}

.payment-methods img {
  display: block;
  width: 100%;
  max-width: 116px;
  height: 34px;
  object-fit: contain;
}

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

.payment-grid article {
  display: grid;
  gap: 8px;
  min-height: 152px;
  padding: 18px;
}

.payment-grid article,
.flow-card,
.journey-safe-strip {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 26px rgba(0, 55, 107, 0.05);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.payment-grid strong {
  font-size: 18px;
}

.section-heading.compact {
  max-width: 520px;
}

.deal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.deal-zone {
  display: grid;
  align-content: space-between;
  min-height: 248px;
  padding: 20px;
}

.zone-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 22px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--blue);
  background: var(--soft);
  font-size: 12px;
  font-weight: 900;
}

.journey-steps {
  display: grid;
  gap: 8px;
  align-content: start;
}

.flow-overview {
  margin-top: 0;
}

.flow-overview-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 34px 0 16px;
}

.flow-overview-head h3 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.flow-card {
  display: grid;
  gap: 16px;
  min-height: 256px;
  padding: 20px;
}

.flow-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.flow-number {
  color: var(--red);
  font-size: 13px;
  font-weight: 950;
}

.flow-badge {
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.flow-card h4 {
  margin: 0;
  font-size: 21px;
  line-height: 1.25;
}

.flow-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.flow-detail-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-detail-list li {
  display: grid;
  gap: 2px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.flow-detail-list strong {
  font-size: 14px;
}

.flow-detail-list span {
  color: var(--muted);
  line-height: 1.45;
}

.journey-safe-strip {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(4, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 14px;
  padding: 22px;
  background: linear-gradient(135deg, #f4f9ff, #eef7ff);
}

.safe-strip-lead {
  display: flex;
  align-items: center;
  gap: 14px;
}

.safe-strip-icon,
.safe-strip-item-icon {
  display: grid;
  place-items: center;
  color: var(--blue);
}

.safe-strip-icon {
  width: 60px;
  height: 60px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: white;
}

.safe-strip-icon svg {
  width: 34px;
  height: 34px;
}

.safe-strip-lead strong {
  display: block;
  margin-bottom: 5px;
  font-size: 18px;
}

.safe-strip-lead span {
  color: var(--muted);
  line-height: 1.45;
}

.safe-strip-item {
  display: grid;
  justify-items: center;
  gap: 7px;
  color: var(--green-dark);
  font-weight: 850;
  text-align: center;
}

.safe-strip-item-icon svg {
  width: 28px;
  height: 28px;
}

.split-section {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 34px;
  align-items: start;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.policy-grid article {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 18px;
}

.support-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 72px;
  padding: 28px;
  background: linear-gradient(135deg, #122846 0, #3d55dd 100%);
  color: white;
}

.support-section .eyebrow,
.support-copy p {
  color: #dbeaff;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 24px 42px;
  border-top: 1px solid var(--line);
}

.footer div {
  display: grid;
  gap: 5px;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-weight: 750;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 30;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(440px, 100vw);
  height: 100vh;
  background: white;
  box-shadow: -20px 0 60px rgba(0, 55, 107, 0.18);
  transform: translateX(105%);
  transition: transform 200ms ease;
}

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

.drawer-header,
.drawer-footer {
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.drawer-header h2 {
  margin: 0;
  font-size: 26px;
}

.icon-button {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
  font-weight: 900;
}

.shelf-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 35;
  display: grid;
  grid-template-rows: auto 1fr;
  width: min(1040px, calc(100vw - 32px));
  max-height: min(780px, calc(100vh - 32px));
  overflow: hidden;
  border-radius: 12px;
  background: white;
  box-shadow: 0 30px 80px rgba(0, 55, 107, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -46%) scale(0.98);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.shelf-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.auth-modal,
.orders-modal,
.addresses-modal,
.success-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 36;
  width: min(420px, calc(100vw - 32px));
  overflow: hidden;
  border-radius: 12px;
  background: white;
  box-shadow: 0 30px 80px rgba(0, 55, 107, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -46%) scale(0.98);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.auth-modal.open,
.orders-modal.open,
.addresses-modal.open,
.success-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.orders-modal {
  width: min(620px, calc(100vw - 32px));
}

.addresses-modal {
  width: min(720px, calc(100vw - 32px));
}

.success-modal {
  display: grid;
  justify-items: center;
  gap: 14px;
  width: min(420px, calc(100vw - 32px));
  padding: 30px 26px 26px;
  text-align: center;
}

.success-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #eaf7f7;
  color: var(--green);
  font-size: 32px;
  font-weight: 900;
}

.success-modal h2 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
}

.success-modal p {
  max-width: 300px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 750;
}

.success-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  padding-top: 6px;
}

.auth-modal-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.auth-modal-head h2 {
  margin: 0;
  font-size: 27px;
}

.auth-form {
  display: grid;
  gap: 14px;
  padding: 22px 24px 24px;
}

.auth-form label {
  display: grid;
  gap: 8px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 850;
}

.auth-form input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
  background: white;
  color: var(--ink);
}

.auth-form input:focus {
  border-color: rgba(229, 19, 58, 0.45);
  box-shadow: 0 0 0 3px rgba(229, 19, 58, 0.08);
}

.auth-status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.auth-status.error {
  color: var(--red);
}

.auth-status.success {
  color: var(--green);
}

.auth-switch-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.auth-switch-row button {
  border: 0;
  background: transparent;
  color: var(--red);
  cursor: pointer;
  font-weight: 900;
}

.orders-body {
  display: grid;
  gap: 12px;
  max-height: min(520px, calc(100vh - 180px));
  overflow: auto;
  padding: 20px 24px 24px;
}

.addresses-body {
  display: grid;
  gap: 14px;
  max-height: min(680px, calc(100vh - 150px));
  overflow: auto;
  padding: 18px 24px 24px;
}

.address-list {
  display: grid;
  gap: 10px;
}

.address-card {
  display: grid;
  gap: 8px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfdff;
}

.address-card.selected {
  border-color: rgba(229, 19, 58, 0.38);
  background: #fff8f9;
}

.address-select-row {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.address-select-row > span {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.address-select-row strong {
  color: var(--ink);
}

.address-select-row small,
.address-card small {
  color: var(--muted);
  font-weight: 750;
}

.address-card p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.address-default-tag {
  margin-left: auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eaf7f7;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.address-card-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.address-card-actions button {
  border: 0;
  background: transparent;
  color: var(--red);
  cursor: pointer;
  font-weight: 900;
}

.address-form {
  margin-top: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}

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

.address-default-row {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 8px !important;
}

.address-default-row input {
  width: auto;
  min-height: auto;
}

.address-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.orders-empty {
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  background: #fbfdff;
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.order-card {
  display: grid;
  gap: 10px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  box-shadow: 0 10px 24px rgba(0, 55, 107, 0.05);
}

.order-card-head,
.order-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.order-card-id {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.order-status {
  padding: 5px 8px;
  border-radius: 999px;
  color: white;
  background: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.order-status.completed,
.order-status.paid {
  background: var(--green);
}

.order-status.shipping {
  background: var(--coral);
}

.order-status.cancelled,
.order-status.refunded {
  background: var(--muted);
}

.order-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
}

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

.order-product img,
.order-product-image-empty {
  width: 86px;
  height: 86px;
  border-radius: 8px;
}

.order-product img {
  object-fit: cover;
  border: 1px solid var(--line);
  background: #f8fbff;
}

.order-product-image-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  background: #f8fbff;
  border: 1px dashed var(--line);
  font-size: 12px;
  font-weight: 850;
}

.order-product-detail {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.order-product-detail h3 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-card-foot {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.order-card-foot strong {
  color: var(--red);
  font-size: 16px;
}

.order-logistics-active {
  padding: 9px 10px;
  color: var(--ink);
  background: #fff8f9;
  border: 1px solid rgba(229, 19, 58, 0.16);
  border-radius: 8px;
}

.order-address-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  color: var(--muted);
  background: #fbfdff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 750;
}

.order-address-line strong {
  color: var(--ink);
}

.shelf-modal-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.shelf-modal-head h2 {
  margin: 0;
  font-size: 27px;
}

.shelf-generator {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 0;
  overflow: auto;
}

.shelf-form,
.shelf-preview {
  padding: 22px;
}

.shelf-form {
  display: grid;
  align-content: start;
  gap: 16px;
  border-right: 1px solid var(--line);
  background: #fbfdff;
}

.shelf-form label,
.shelf-options label {
  display: grid;
  gap: 8px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 850;
}

.shelf-form textarea,
.shelf-form input,
.shelf-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
}

.shelf-form textarea {
  resize: vertical;
  min-height: 170px;
  padding: 12px;
  line-height: 1.55;
}

.shelf-form input,
.shelf-form select {
  min-height: 42px;
  padding: 0 12px;
}

.shelf-upload input {
  padding: 9px 12px;
}

.shelf-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.shelf-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.shelf-status.error {
  color: var(--red);
}

.shelf-status.success {
  color: var(--green);
}

.shelf-status.loading::before {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 8px;
  border: 2px solid rgba(61, 85, 221, 0.18);
  border-top-color: var(--blue);
  border-radius: 999px;
  vertical-align: -2px;
  animation: shelfSpin 800ms linear infinite;
  content: "";
}

.shelf-preview {
  display: grid;
  gap: 16px;
}

.shelf-image-preview,
.shelf-result {
  display: grid;
  min-height: 220px;
  place-items: center;
  overflow: hidden;
  border: 1px dashed var(--line);
  border-radius: 10px;
  background: #f4f9ff;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.shelf-image-preview img,
.shelf-result img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: contain;
}

.shelf-copy-output {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}

.shelf-copy-output h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.shelf-copy-output p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.shelf-result a {
  display: block;
  width: 100%;
}

.shelf-loading {
  display: grid;
  width: 100%;
  min-height: 260px;
  place-items: center;
  padding: 22px;
}

.shelf-loading-panel {
  display: grid;
  justify-items: center;
  gap: 14px;
  color: var(--green-dark);
}

.shelf-spinner {
  width: 52px;
  height: 52px;
  border: 5px solid rgba(61, 85, 221, 0.14);
  border-top-color: var(--red);
  border-radius: 999px;
  animation: shelfSpin 900ms linear infinite;
}

.shelf-loading-panel strong {
  font-size: 16px;
}

.shelf-loading-panel span {
  color: var(--muted);
  font-size: 13px;
}

.shelf-loading-bars {
  display: grid;
  width: min(320px, 100%);
  gap: 8px;
  margin-top: 8px;
}

.shelf-loading-bars i {
  display: block;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e6eef8;
}

.shelf-loading-bars i::after {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(61, 85, 221, 0), rgba(61, 85, 221, 0.5), rgba(61, 85, 221, 0));
  animation: shelfShimmer 1.1s ease-in-out infinite;
  content: "";
}

.shelf-loading-bars i:nth-child(2) {
  width: 78%;
}

.shelf-loading-bars i:nth-child(3) {
  width: 58%;
}

.shelf-button-spinner {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 8px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-top-color: white;
  border-radius: 999px;
  vertical-align: -2px;
  animation: shelfSpin 800ms linear infinite;
}

@keyframes shelfSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes shelfShimmer {
  0% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(260%);
  }
}

.cart-body {
  overflow: auto;
  padding: 20px;
}

.empty-cart {
  display: grid;
  align-content: center;
  min-height: 260px;
  text-align: center;
}

.cart-item {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 14px;
  align-items: center;
}

.cart-item img {
  width: 82px;
  height: 82px;
  border-radius: 8px;
  object-fit: cover;
}

.cart-item h3 {
  margin-bottom: 5px;
  font-size: 17px;
}

.cart-checkout {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.checkout-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.total-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: rgba(31, 35, 35, 0.38);
}

@media (max-width: 920px) {
  .notice {
    justify-content: flex-start;
    overflow: auto;
    white-space: nowrap;
  }

  .nav-links {
    display: none;
  }

  .search-box {
    display: none;
  }

  .shelf-generator {
    grid-template-columns: 1fr;
  }

  .shelf-form {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero,
  .split-section,
  .support-section,
  .payment-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  .hero-feature-row,
  .new-arrivals-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .new-arrivals-band {
    align-items: start;
  }

  .arrival-items {
    grid-column: 1 / -1;
    order: 3;
  }

  .hero-media {
    min-height: 380px;
  }

  .hero-media img {
    max-height: 310px;
  }

  .trust-strip,
  .deal-grid,
  .policy-grid,
  .flow-grid,
  .journey-steps-inline,
  .payment-methods,
  .payment-grid,
  .category-grid,
  .category-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .payment-methods span:last-child {
    grid-column: auto;
  }

  .journey-steps-inline::before {
    display: none;
  }
}

@media (max-width: 620px) {
  .nav {
    padding: 0 16px;
  }

  .brand span:last-child {
    display: none;
  }

  .nav-actions {
    gap: 8px;
  }

  .shelf-nav-button {
    min-height: 38px;
    padding: 0 10px;
    font-size: 13px;
  }

  .shelf-modal {
    width: calc(100vw - 18px);
    max-height: calc(100vh - 18px);
  }

  .shelf-modal-head,
  .shelf-form,
  .shelf-preview {
    padding: 16px;
  }

  .shelf-options {
    grid-template-columns: 1fr;
  }

  .address-form-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .section,
  .trust-strip,
  .new-arrivals-band,
  .category-section,
  .footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-feature-row,
  .new-arrivals-band,
  .category-grid,
  .category-product-grid {
    grid-template-columns: 1fr;
  }

  .category-products {
    padding: 18px;
  }

  .category-products-head {
    align-items: start;
    flex-direction: column;
  }

  #deals-title,
  #payments-title {
    white-space: normal;
  }

  .new-arrivals-band {
    margin-right: 16px;
    margin-left: 16px;
  }

  .trust-strip,
  .deal-grid,
  .policy-grid,
  .flow-grid,
  .journey-steps-inline,
  .payment-methods,
  .payment-grid {
    grid-template-columns: 1fr;
  }

  .journey-steps-inline .journey-step {
    min-height: 128px;
  }

  .journey-safe-strip {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer,
  .flow-overview-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-media {
    min-height: 320px;
  }

  .hero-media img {
    width: 72%;
    max-height: 250px;
  }

  .floating-card {
    position: static;
    margin: 10px;
  }
}
