:root {
  --ink: #0a0a0a;
  --paper: #fafaf7;
  --pink: #ffb9cd;
  --plum: #47143d;
  --muted: #6b6b6b;
  --border: rgba(10, 10, 10, 0.12);
  --radius: 12px;
  /* Logo only — site UI uses Plus Jakarta Sans */
  --font-logo: "Fraunces", Georgia, serif;
  --font-ui: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: var(--font-ui);
  /* Type scale (1rem = 16px) */
  --text-2xs: 0.625rem; /* 10px */
  --text-xs: 0.75rem; /* 12px */
  --text-sm: 0.8125rem; /* 13px */
  --text-base: 0.875rem; /* 14px */
  --text-md: 0.9375rem; /* 15px */
  --text-lg: 1rem; /* 16px */
  --text-xl: 1.125rem; /* 18px */
  --text-2xl: 1.25rem; /* 20px */
  --text-3xl: 1.5rem; /* 24px */
  --text-4xl: 1.75rem; /* 28px */
  --text-5xl: 2rem; /* 32px */
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: var(--text-base);
  font-weight: var(--fw-regular);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#app h1,
.page-title {
  font-family: var(--font-ui);
  font-size: var(--text-4xl);
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--ink);
}

#app h2,
.panel > h2,
.settings-panel h2 {
  font-family: var(--font-ui);
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  line-height: 1.3;
  margin: 0 0 12px;
  color: var(--ink);
}

.order-success h1,
.pay-return h1 {
  color: var(--plum);
}

a {
  color: var(--plum);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.site-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  min-width: 0;
}

.logo {
  font-family: var(--font-logo);
  font-size: var(--text-2xl);
  font-weight: var(--fw-semibold);
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.logo span {
  color: var(--plum);
}

.header-delivery {
  border-left: 1px solid var(--border);
  padding-left: 14px;
  min-width: 0;
}

.header-delivery-title {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  white-space: nowrap;
}

.header-delivery-addr {
  display: block;
  margin: 2px 0 0;
  padding: 0;
  border: none;
  background: none;
  font-size: 0.75rem;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-delivery-addr:not(:disabled):hover {
  color: var(--plum);
  text-decoration: underline;
}

.header-search-wrap {
  flex: 1;
  min-width: 0;
  max-width: 520px;
  margin: 0 auto;
  position: relative;
}

.header-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 1rem;
  pointer-events: none;
}

.header-search-input {
  width: 100%;
  padding: 11px 14px 11px 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #f5f5f3;
  font-size: 0.9rem;
  font-family: var(--font-ui);
}

.header-search-input:focus {
  outline: none;
  border-color: var(--plum);
  background: #fff;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-signin {
  padding: 8px 16px;
  font-size: 0.85rem;
  white-space: nowrap;
}

.header-account-wrap {
  position: relative;
}

.header-account-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-ui);
}

.header-account-btn:hover {
  border-color: var(--plum);
  color: var(--plum);
}

.header-account-caret {
  font-size: 0.65rem;
  opacity: 0.7;
}

.account-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  z-index: 300;
  padding: 0 0 8px;
}

.account-dropdown-head {
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--border);
}

.account-dropdown-head strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
}

.account-dropdown-mobile {
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--muted);
  font-family: var(--font-mono);
}

.account-dropdown-nav {
  display: flex;
  flex-direction: column;
  padding: 6px 0;
}

.account-dropdown-nav a {
  padding: 10px 16px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9rem;
}

.account-dropdown-nav a:hover {
  background: rgba(255, 185, 205, 0.25);
  color: var(--plum);
}

.account-dropdown-logout {
  display: block;
  width: calc(100% - 24px);
  margin: 8px 12px 4px;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: rgba(71, 20, 61, 0.08);
  color: var(--plum);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: var(--font-ui);
  text-align: left;
}

.account-dropdown-logout:hover {
  background: rgba(71, 20, 61, 0.14);
}

.header-cart {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--plum);
  color: #fff;
  text-decoration: none;
  min-width: 88px;
  transition: filter 0.15s ease;
}

.header-cart:hover {
  text-decoration: none;
  filter: brightness(1.08);
}

.header-cart.active {
  box-shadow: 0 0 0 2px var(--pink);
}

.header-cart-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.header-cart-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.header-cart-label {
  font-size: 0.75rem;
  font-weight: 700;
}

.header-cart-sub {
  font-size: 0.7rem;
  opacity: 0.9;
}

@media (max-width: 900px) {
  .header-delivery {
    display: none !important;
  }
  .site-header-inner {
    flex-wrap: wrap;
  }
  .header-search-wrap {
    order: 3;
    flex: 1 1 100%;
    max-width: none;
  }
}

.nav-links a.active {
  color: var(--plum);
  font-weight: 600;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 64px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 20px 24px;
  margin-top: 48px;
  background: #fff;
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px 24px;
}

@media (max-width: 768px) {
  .site-footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

.footer-brand .logo {
  font-size: 1.25rem;
}

.footer-tagline {
  margin: 10px 0 0;
  line-height: 1.5;
  max-width: 280px;
}

.footer-heading {
  font-family: var(--font-ui);
  font-size: var(--text-md);
  color: var(--plum);
  margin: 0 0 12px;
  font-weight: var(--fw-semibold);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--plum);
}

.footer-copy {
  text-align: center;
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.legal-page {
  max-width: 820px;
}

.legal-page h1 {
  font-family: var(--font-ui);
  font-size: var(--text-4xl);
  font-weight: var(--fw-bold);
  color: var(--plum);
  margin-bottom: 8px;
}

.legal-meta {
  font-size: var(--text-md);
  font-weight: var(--fw-regular);
  color: var(--muted);
  margin-bottom: 24px;
}

.legal-page h2 {
  font-family: var(--font-ui);
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--plum);
  margin: 28px 0 12px;
}

.legal-page h3 {
  font-size: var(--text-lg);
  font-weight: var(--fw-semibold);
  color: var(--ink);
  margin: 16px 0 8px;
}

.legal-page p,
.legal-page li {
  line-height: 1.65;
  color: var(--ink);
}

.legal-page ul {
  margin: 0 0 16px;
  padding-left: 1.25rem;
}

.legal-page ul li {
  margin-bottom: 8px;
}

.legal-footer-note {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  margin-top: 16px;
}

.contact-card a {
  color: var(--plum);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--plum);
  color: var(--paper);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--pink);
  color: var(--plum);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px 0 32px;
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
  }
}

.hero h1 {
  font-family: var(--font-ui);
  font-size: clamp(var(--text-5xl), 5vw, 3.2rem);
  font-weight: var(--fw-extrabold);
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}

.hero p {
  color: var(--muted);
  margin: 0 0 24px;
  max-width: 42ch;
}

.hero-visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--pink) 0%, #fff 50%, var(--plum) 120%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: var(--text-3xl);
  font-weight: var(--fw-semibold);
  color: var(--plum);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.product-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s;
}

.product-card:hover {
  box-shadow: 0 8px 24px rgba(71, 20, 61, 0.08);
}

.product-card--oos {
  opacity: 0.72;
}

.badge-stock {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  margin: 4px 0;
  color: var(--plum);
}

.badge-stock-oos {
  color: #9b2226;
}

.cart-stock-warn {
  font-size: 0.85rem;
  color: #9b2226;
}

.cart-row-oos td {
  background: #fff5f5;
}

.pdp-stock.unknown {
  color: var(--muted);
}

.pdp-stock.pre-order {
  color: var(--plum);
}

.product-card a {
  color: inherit;
  text-decoration: none;
}

.product-card img {
  aspect-ratio: 1;
  object-fit: cover;
  background: #f0f0ec;
}

.product-card-body {
  padding: 14px;
}

.product-card h3 {
  margin: 0 0 6px;
  font-size: var(--text-md);
  font-weight: var(--fw-semibold);
  line-height: 1.35;
}

.price-row {
  display: flex;
  gap: 8px;
  align-items: baseline;
  flex-wrap: wrap;
}

.price {
  font-weight: var(--fw-bold);
  font-size: var(--text-md);
  color: var(--plum);
}

.mrp {
  text-decoration: line-through;
  color: var(--muted);
  font-size: 0.85rem;
}

.discount {
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  color: var(--plum);
}

.pdp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.pdp-layout > .pdp-gallery-col,
.pdp-layout > .pdp-info {
  min-width: 0;
}

@media (max-width: 768px) {
  .pdp-layout {
    grid-template-columns: 1fr;
  }
}

.pdp-offers-wrap {
  margin: 8px 0 24px;
  width: 100%;
}

.pdp-offers-wrap {
  margin: 28px 0 12px;
  width: 100%;
}

.offers-strip--pdp {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(255, 185, 205, 0.5) 0%,
    rgba(255, 235, 242, 0.95) 45%,
    rgba(255, 252, 253, 1) 100%
  );
}

.offers-strip--pdp .offers-strip-inner {
  padding: 20px 22px 18px;
}

.offers-strip--pdp .offers-strip-head {
  padding: 0 2px 16px;
}

.offers-strip--pdp .offers-strip-title {
  font-size: 1.2rem;
  gap: 10px;
}

.offers-strip--pdp .offers-strip-pct {
  width: 28px;
  height: 28px;
  font-size: 0.85rem;
}

.offers-strip--pdp .offers-strip-scroll {
  gap: 14px;
  padding: 4px 4px 10px;
  margin: 0 -4px;
  scroll-padding: 4px;
}

.offers-strip--pdp .offer-card {
  flex: 0 0 212px;
  min-height: 132px;
  padding: 16px 18px 14px;
  gap: 0;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(71, 20, 61, 0.08);
}

.offers-strip--pdp .offer-card-top {
  gap: 12px;
  margin-bottom: 10px;
}

.offers-strip--pdp .offer-card-gift-img,
.offers-strip--pdp .offer-card-gift-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
}

.offers-strip--pdp .offer-card-badge {
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  color: rgba(71, 20, 61, 0.75);
}

.offers-strip--pdp .offer-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 2px;
}

.offers-strip--pdp .offer-card-action {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--muted);
}

.offers-strip--pdp .offer-card-cta--info,
.offers-strip--pdp .offer-card-cta--applied {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(71, 20, 61, 0.1);
  font-size: 0.78rem;
  font-weight: 700;
  color: #2d6a4f;
  width: 100%;
}

.pdp-gallery {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
}

.pdp-gallery img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.pdp-gallery-col .pdp-gallery img {
  min-height: 280px;
}

.pdp-title {
  font-family: var(--font-ui);
  font-size: var(--text-4xl);
  font-weight: var(--fw-bold);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.pdp-brand,
.product-brand {
  font-size: 0.85rem;
  color: var(--plum);
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pdp-subtitle {
  color: var(--muted);
  margin: 0 0 12px;
}

.pdp-badges,
.pdp-badges .badge {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.badge,
.badge-discount {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--pink);
  color: var(--plum);
  font-weight: 600;
}

.plp-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.plp-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border, #eee);
}

.plp-page-ellipsis {
  color: var(--muted);
  padding: 0 4px;
  user-select: none;
}

.pdp-rating {
  margin: 0 0 12px;
  color: var(--plum);
}

.pdp-unit {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 4px 0;
}

.pdp-stock.in-stock {
  color: #2d6a4f;
  font-size: 0.9rem;
}

.pdp-stock.out-of-stock {
  color: #9b2226;
  font-size: 0.9rem;
}

.pdp-variant-section {
  margin: 16px 0 8px;
}

.pdp-pick-label {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--ink);
}

.pdp-pick-selected {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

.pdp-pick-selected strong {
  color: var(--ink);
  font-weight: 600;
}

.pdp-variant-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 4px;
}

.pdp-variant-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 60px;
  padding-top: 22px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.pdp-variant-tile-label {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 88px;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  pointer-events: none;
}

.pdp-variant-tile.active .pdp-variant-tile-label,
.pdp-variant-tile:hover .pdp-variant-tile-label,
.pdp-variant-tile:focus-visible .pdp-variant-tile-label {
  opacity: 1;
  visibility: visible;
}

.pdp-variant-tile-box {
  display: block;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  border: 2px solid transparent;
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pdp-variant-tile.active .pdp-variant-tile-box {
  border-color: #1f2a37;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #1f2a37;
}

.pdp-variant-tile:hover .pdp-variant-tile-box {
  border-color: rgba(31, 42, 55, 0.45);
}

.pdp-variant-tile-box--img {
  overflow: hidden;
  background: #fafafa;
}

.pdp-variant-tile-box--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pdp-variant-tile-box--empty {
  background: #f2d7e0;
}

.pdp-variant-tile-box--size {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--border);
  padding: 4px;
}

.pdp-variant-tile.active .pdp-variant-tile-box--size {
  border-color: #1f2a37;
}

.pdp-variant-tile-size-text {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  color: var(--ink);
  word-break: break-word;
  max-width: 100%;
}

.pdp-variant-tile--oos {
  opacity: 0.45;
  pointer-events: none;
}

.chip-swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
  border: 1px solid var(--border);
}

.chip.chip-oos {
  opacity: 0.5;
}

.pdp-gallery-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pdp-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pdp-thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
}

.pdp-thumb.active {
  border-color: var(--plum);
}

.pdp-thumb img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  display: block;
}

.pdp-section {
  margin-top: 40px;
  max-width: 900px;
}

.pdp-section h2 {
  font-family: var(--font-ui);
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.pdp-desc {
  line-height: 1.6;
  white-space: pre-wrap;
}

.pdp-highlights {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.highlight-row {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.review-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-card {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.review-meta {
  font-size: 0.85rem;
  color: var(--muted);
}

.reco-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.reco-card {
  flex: 0 0 140px;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.reco-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.reco-name,
.reco-price {
  display: block;
  padding: 8px;
  font-size: 0.85rem;
}

.reco-price {
  font-weight: 600;
  color: var(--plum);
}

.checkout-pay-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(250, 248, 246, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.checkout-pay-overlay.hidden {
  display: none;
}

.checkout-pay-card {
  text-align: center;
  max-width: 400px;
  padding: 40px 32px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(61, 44, 62, 0.08);
}

.checkout-pay-card .spin {
  width: 44px;
  height: 44px;
  border: 3px solid var(--border);
  border-top-color: var(--plum);
  border-radius: 50%;
  animation: checkout-spin 0.8s linear infinite;
  margin: 0 auto 20px;
}

@keyframes checkout-spin {
  to { transform: rotate(360deg); }
}

.checkout-pay-card h2 {
  font-family: var(--font-ui);
  font-size: 1.35rem;
  margin: 0 0 10px;
  color: var(--plum);
}

.checkout-pay-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 20px;
  line-height: 1.5;
}

.checkout-pay-card .btn {
  margin-top: 8px;
}

.variant-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-size: 0.85rem;
}

.chip.active {
  border-color: var(--plum);
  background: var(--pink);
  color: var(--plum);
  font-weight: 600;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}

.qty-row button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-size: 1.1rem;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th,
.cart-table td {
  padding: 14px 8px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}

.cart-item-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
}

@media (max-width: 768px) {
  .checkout-grid {
  grid-template-columns: 1fr;
  }
}

.panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  background: #fff;
}

.panel h2 {
  margin: 0 0 16px;
  font-size: 1.1rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin: 8px 0;
  font-size: 0.95rem;
}

.summary-row.total {
  font-weight: 700;
  font-size: 1.1rem;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 12px;
}

.alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  margin: 12px 0;
  font-size: 0.9rem;
}

.alert-error {
  background: #ffe8e8;
  color: #8b0000;
}

.alert-info {
  background: #eef6ff;
  color: #1a3a5c;
}

.alert-success {
  background: #e8f8ee;
  color: #1a5c32;
}

.loading,
.empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--muted);
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--muted);
}

.settings-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
}

.settings-drawer.open {
  display: block;
}

.settings-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.4);
}

.settings-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(420px, 100%);
  background: var(--paper);
  padding: 24px;
  overflow-y: auto;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
}

.settings-panel h2 {
  font-family: var(--font-ui);
  margin: 0 0 8px;
}

.settings-panel label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 14px 0 4px;
}

.settings-panel input,
.settings-panel select,
.settings-panel textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.settings-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.badge-demo {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: var(--plum);
  color: var(--paper);
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0;
}

.payment-methods label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}

.payment-methods label:has(input:checked) {
  border-color: var(--plum);
  background: rgba(255, 185, 205, 0.3);
}

.hidden {
  display: none !important;
}

.eta-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(71, 20, 61, 0.08);
  color: var(--plum);
}

.nav-account {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
}

.btn-link {
  background: none;
  border: none;
  color: var(--plum);
  cursor: pointer;
  font-size: inherit;
  text-decoration: underline;
  padding: 0;
}

.auth-panel label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin: 12px 0 4px;
}

.auth-panel input,
.auth-panel select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-ui);
}

.auth-msg {
  margin-top: 12px;
  min-height: 1.2em;
}

.address-form {
  margin-top: 12px;
  display: grid;
  gap: 4px;
}

.address-add-details summary {
  cursor: pointer;
  font-weight: 600;
  margin: 12px 0 8px;
}

.nav-account-link {
  color: var(--plum);
  text-decoration: none;
  font-weight: 500;
}

.nav-account-link:hover {
  text-decoration: underline;
}

.shop-search-wrap {
  position: relative;
  max-width: 480px;
  margin-bottom: 20px;
}

.shop-search-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
}

.shop-search-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 50;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  max-height: 320px;
  overflow-y: auto;
}

.suggest-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.suggest-item:hover {
  background: rgba(255, 185, 205, 0.25);
  text-decoration: none;
}

.suggest-thumb {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
}

.suggest-type {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  font-family: var(--font-mono);
}

.plp-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: start;
}

@media (max-width: 768px) {
  .plp-layout {
    grid-template-columns: 1fr;
  }
}

.plp-filters {
  position: sticky;
  top: 80px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}

.filter-group {
  margin-bottom: 14px;
}

.filter-group-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.filter-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.filter-chip:active {
  transform: scale(0.98);
}

.filter-chip--on {
  border-color: var(--plum);
  background: rgba(255, 185, 205, 0.45);
  color: var(--plum);
  font-weight: 500;
}

.filter-chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.plp-main {
  min-width: 0;
}

.plp-applied-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  align-items: center;
}

.plp-applied-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px 6px 12px;
  border-radius: 999px;
  background: rgba(71, 20, 61, 0.08);
  border: 1px solid var(--plum);
  font-size: 0.8rem;
  color: var(--plum);
}

.plp-applied-pill-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--plum);
  color: var(--paper);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.plp-applied-pill-remove:hover {
  background: var(--ink);
}

.plp-filter-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.8rem;
}

/* PDP & cart offers / coupons (horizontal cards) */
.offers-strip {
  margin: 20px 0;
  border-radius: var(--radius);
}

.cart-offers-wrap {
  margin: 20px 0;
}

.offers-strip-inner {
  padding: 16px 18px 12px;
  border-radius: var(--radius);
}

.offers-strip--cart {
  margin: 0;
  width: 100%;
  max-width: 100%;
}

.offers-strip--cart .offers-strip-inner {
  background: linear-gradient(
    145deg,
    rgba(255, 185, 205, 0.45) 0%,
    rgba(255, 240, 245, 0.9) 55%,
    rgba(250, 250, 247, 0.95) 100%
  );
}

.offers-strip-head {
  padding: 0 0 12px;
}

.offers-strip-title {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.offers-strip-pct {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35em;
  height: 1.35em;
  border-radius: 50%;
  background: var(--plum);
  color: #fff;
  font-size: 0.75em;
  font-family: var(--font-ui);
  font-weight: 700;
}

.coupon-applied-banner {
  margin-top: 10px;
  padding: 10px 14px;
  background: rgba(45, 106, 79, 0.12);
  border: 1px solid rgba(45, 106, 79, 0.35);
  border-radius: 8px;
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.coupon-applied-save {
  font-weight: 600;
  color: #2d6a4f;
}

.coupon-applied-code strong {
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.offers-strip-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

.offers-strip-scroll::-webkit-scrollbar {
  height: 6px;
}

.offers-strip-scroll::-webkit-scrollbar-thumb {
  background: rgba(71, 20, 61, 0.25);
  border-radius: 3px;
}

.offer-card {
  flex: 0 0 220px;
  scroll-snap-align: start;
  min-height: 118px;
  padding: 14px 16px 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff 0%, rgba(255, 248, 250, 0.98) 100%);
  border: 1px solid rgba(71, 20, 61, 0.12);
  box-shadow: 0 4px 14px rgba(10, 10, 10, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.offer-card--applied {
  border-color: rgba(45, 106, 79, 0.45);
  background: linear-gradient(135deg, #f0faf5 0%, #fff 100%);
}

.offer-card--locked {
  opacity: 0.88;
  background: #f5f5f3;
}

.offer-card-top {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  flex: 1;
}

.offers-strip .offer-card-gift-img {
  width: 44px;
  height: 44px;
  max-width: 44px;
  min-height: 0;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(255, 185, 205, 0.3);
}

.offer-card-gift-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pink);
  color: var(--plum);
  font-weight: 700;
  font-size: 1.1rem;
}

.offer-card-text {
  min-width: 0;
  flex: 1;
}

.offer-card-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--plum);
  margin-bottom: 4px;
}

.offer-card-title {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.offer-card-sub {
  margin: 4px 0 0;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.35;
}

.offer-card-code {
  font-weight: 600;
  color: var(--ink);
  font-family: var(--font-mono);
}

.offer-card-benefit {
  margin: 6px 0 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: #2d6a4f;
  line-height: 1.35;
}

.offer-card-action {
  margin: 4px 0 0;
  font-size: 0.72rem;
  color: var(--plum);
  line-height: 1.35;
}

.offer-card-reason {
  margin: 0;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.4;
}

.offer-card-cta {
  font-size: 0.8rem;
  font-weight: 700;
  border: none;
  background: none;
  padding: 0;
  text-align: left;
  cursor: default;
}

.offer-card-cta--applied {
  color: #2d6a4f;
}

.offer-card-cta--apply {
  color: #2d6a4f;
  cursor: pointer;
}

.offer-card-cta--apply:hover {
  text-decoration: underline;
}

.offer-card-cta--info {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.72rem;
}

.offer-card--compact {
  flex: 0 0 168px;
  min-height: 88px;
  padding: 10px 12px 8px;
  gap: 6px;
}

.offer-card--compact .offer-card-gift-img,
.offer-card--compact .offer-card-gift-icon {
  width: 32px;
  height: 32px;
  font-size: 0.85rem;
}

.offer-card--compact .offer-card-title {
  font-size: 0.8rem;
}

.offer-card--compact .offer-card-sub,
.offer-card--compact .offer-card-action,
.offer-card--compact .offer-card-reason {
  font-size: 0.68rem;
}

.offer-card--compact .offer-card-cta {
  font-size: 0.72rem;
}

.offer-card--compact .offer-card-badge {
  font-size: 0.58rem;
  margin-bottom: 2px;
}

.cart-wallet-panel {
  margin: 16px 0 20px;
}

.cart-wallet-title {
  margin: 0 0 14px;
  font-family: var(--font-ui);
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
}

.wallet-applied-line {
  margin: 0 0 10px;
  font-size: 0.85rem;
  color: #2d6a4f;
}

.wallet-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.wallet-toggle-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.wallet-toggle-row--disabled {
  opacity: 0.55;
}

.wallet-toggle-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.wallet-toggle-label {
  font-weight: 600;
  font-size: 0.92rem;
}

.wallet-toggle-sub {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.35;
}

.wallet-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 28px;
  flex-shrink: 0;
}

.wallet-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.wallet-switch-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #ccc;
  border-radius: 28px;
  transition: 0.2s;
}

.wallet-switch-slider::before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.wallet-switch input:checked + .wallet-switch-slider {
  background: var(--plum);
}

.wallet-switch input:checked + .wallet-switch-slider::before {
  transform: translateX(20px);
}

.wallet-switch input:disabled + .wallet-switch-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.pdp-wishlist-row {
  margin-top: 12px;
}

.cart-extras {
  margin-top: 24px;
  display: grid;
  gap: 20px;
}


.wallet-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.orders-list {
  display: grid;
  gap: 16px;
}

.order-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.order-card-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 4px 0 0;
}

.order-status-pill {
  font-weight: 600;
  color: var(--plum);
}

.order-thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  display: inline-block;
  margin-right: 4px;
}

.order-card-actions {
  margin-top: 12px;
  display: flex;
  gap: 12px;
}

.tracking-map {
  height: 280px;
  min-height: 200px;
  padding: 0;
  overflow: hidden;
}

.tracking-map .leaflet-container {
  height: 100%;
  width: 100%;
  border-radius: var(--radius);
}

.map-marker {
  background: #fff;
  border: 2px solid var(--plum);
  border-radius: 50%;
  text-align: center;
  line-height: 28px;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.track-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.track-timeline {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.track-step {
  padding: 10px 0;
  border-left: 3px solid var(--pink);
  padding-left: 16px;
  margin-left: 8px;
}

.track-step span {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
}

.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.wishlist-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.wishlist-card img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}

.wishlist-card-body {
  padding: 12px;
}

.tbd-toast-root {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10050;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 10px;
  pointer-events: none;
  max-width: min(420px, calc(100vw - 32px));
  width: 100%;
}

.tbd-toast {
  pointer-events: auto;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.35;
  box-shadow: 0 8px 28px rgba(10, 10, 10, 0.18);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  text-align: center;
}

.tbd-toast--visible {
  opacity: 1;
  transform: translateY(0);
}

.tbd-toast--out {
  opacity: 0;
  transform: translateY(-8px);
}

.tbd-toast--success {
  background: #2d6a4f;
  color: #fff;
}

.tbd-toast--error {
  background: #9b2226;
  color: #fff;
}

.tbd-toast--info {
  background: var(--plum);
  color: #fff;
}

.not-serviceable-page {
  max-width: 520px;
  margin: 40px auto;
  text-align: center;
}

/* Cart — two-column layout + bill sidebar */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 340px);
  gap: 28px;
  align-items: start;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-sidebar {
    position: static;
  }
}

.cart-sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-sidebar-cta .cart-summary-cta {
  width: 100%;
  text-align: center;
  margin-top: 4px;
}

.cart-bill-card {
  padding: 0;
  overflow: hidden;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.08);
}

.cart-bill-title {
  margin: 0;
  padding: 12px 16px 10px;
  font-family: var(--font-ui);
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  border-bottom: 1px solid var(--border);
}

.cart-bill-rows {
  padding: 12px 16px 0;
}

.bill-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 5px 0;
  font-size: 0.88rem;
}

.bill-row-label {
  color: var(--plum);
  font-weight: 500;
}

.bill-row--fee .bill-fee-label-wrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.bill-fee-info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  min-width: 14px;
  min-height: 14px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--plum);
  opacity: 0.75;
  cursor: pointer;
  vertical-align: middle;
  line-height: 0;
  flex-shrink: 0;
  transition: opacity 0.15s ease, color 0.15s ease;
}

.bill-fee-info-btn:hover,
.bill-fee-info-btn[aria-expanded='true'] {
  opacity: 1;
  color: var(--plum);
  background: transparent;
}

.bill-fee-info-icon {
  display: block;
  width: 12px;
  height: 12px;
}

.bill-fee-popover {
  position: fixed;
  z-index: 260;
  width: min(280px, calc(100vw - 16px));
  pointer-events: none;
}

.bill-fee-popover:not(.hidden) {
  pointer-events: auto;
}

.bill-fee-popover.hidden {
  display: none;
}

.bill-fee-popover-panel {
  padding: 14px 16px 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
  border: 1px solid var(--border);
}

.bill-fee-popover-title {
  margin: 0 0 10px;
  font-family: var(--font-ui);
  font-size: var(--text-md);
  font-weight: var(--fw-bold);
  color: var(--ink);
}

.bill-fee-popover-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

.bill-fee-popover-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: var(--text-sm);
  color: var(--ink);
}

.bill-fee-popover-row span:first-child {
  color: var(--muted);
  font-weight: var(--fw-medium);
}

.bill-fee-popover-row span:last-child {
  font-weight: var(--fw-semibold);
}

.bill-fee-popover-row--total {
  padding-top: 8px;
  margin-top: 4px;
  border-top: 1px solid var(--border);
  font-size: var(--text-base);
}

.bill-fee-popover-row--total span:first-child {
  color: var(--ink);
  font-weight: var(--fw-semibold);
}

.bill-fee-popover-close {
  font-size: var(--text-sm);
  padding: 0;
}

.bill-row-value {
  text-align: right;
  font-weight: 600;
}

.bill-items-mrp {
  text-decoration: line-through;
  color: var(--muted);
  font-weight: 400;
  font-size: 0.82rem;
  margin-right: 4px;
}

.bill-discount {
  color: #2d6a4f;
  font-weight: 600;
}

.bill-row--total {
  margin: 0;
  padding: 12px 16px 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.95rem;
}

.bill-row--total .bill-row-label,
.bill-row--total .bill-total {
  font-weight: 700;
  color: var(--ink);
}

.bill-savings-stripe {
  padding: 12px 16px;
  font-size: 0.85rem;
  background: linear-gradient(90deg, #fdf3f6, #fff);
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.cart-summary-wallet {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

.cart-summary-wallet .wallet-toggle-row:first-child {
  padding-top: 0;
}

.cart-line-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}

.cart-line-net {
  font-weight: 700;
  font-size: 0.95rem;
}

.cart-line-mrp {
  text-decoration: line-through;
  color: var(--muted);
  font-size: 0.82rem;
}

.cart-line-price--gift .cart-line-mrp {
  margin-left: 2px;
}

.badge-free-gift {
  display: inline-block;
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #2d6a4f;
  background: #e9f5ee;
  border-radius: 4px;
}

.checkout-summary-pane {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-zero-pay-note {
  margin: 20px 0 12px;
  padding: 12px 14px;
  font-size: 0.9rem;
  background: #f0f9ff;
  border: 1px solid #bde0fe;
  border-radius: 8px;
  color: var(--ink);
}

/* Cart — remove / wishlist confirmation */
.cart-remove-modal {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cart-remove-modal.hidden {
  display: none;
}

body.cart-remove-open {
  overflow: hidden;
}

.cart-remove-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.45);
}

.cart-remove-dialog {
  position: relative;
  z-index: 1;
  width: min(400px, 100%);
  padding: 24px 20px 20px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.cart-remove-title {
  margin: 0 0 10px;
  font-family: var(--font-ui);
  font-size: 1.15rem;
  line-height: 1.35;
}

.cart-remove-desc {
  margin: 0 0 20px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}

.cart-remove-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.cart-remove-actions .btn {
  flex: 1;
  margin: 0;
}

.cart-remove-cancel {
  font-size: 0.88rem;
}
