@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&display=swap");

:root {
  --bg: #2d2f35;
  --bg-elevated: #ffffff;
  --bg-panel: #ffffff;
  --bg-panel-strong: #f1eaff;
  --bg-panel-high: #e5dbff;
  --ink: #382d4d;
  --muted: #766d86;
  --line: rgba(92, 65, 130, .16);
  --line-strong: rgba(92, 65, 130, .28);
  --paper: #2d2f35;
  --panel: #ffffff;
  --soft: #f5eeff;
  --accent: #7c4dff;
  --accent-strong: #6234e8;
  --accent-glow: rgba(124, 77, 255, .22);
  --accent-2: #ff668f;
  --dark: #382d4d;
  --radius: 22px;
  --shadow: 0 22px 55px rgba(86, 57, 124, .16);
  --plastic-purple: #7c4dff;
  --plastic-pink: #ff5f8f;
  --plastic-coral: #ff805d;
  --plastic-yellow: #ffc94a;
  --plastic-mint: #44d6ae;
  --plastic-blue: #47a7ff;
  --card-dark: #3a3c43;
  --card-dark-raised: #42454d;
  --card-dark-deep: #303239;
  --card-dark-line: rgba(255, 255, 255, .12);
  --card-dark-ink: #f7f4fb;
  --card-dark-muted: #bbb7c4;
}

html { background: #292b30; }
body,
.order-tracking-body,
.payment-complete-body,
.contact-page-body {
  color: var(--ink);
  background:
    radial-gradient(circle at 5% 8%, rgba(255, 201, 74, .055), transparent 20%),
    radial-gradient(circle at 96% 22%, rgba(151, 110, 255, .07), transparent 23%),
    radial-gradient(circle at 20% 88%, rgba(68, 214, 174, .045), transparent 20%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .012) 0 1px, transparent 1px 8px),
    linear-gradient(180deg, #373940 0%, #292b30 52%, #303238 100%);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

h1, h2, h3,
.brand-copy strong,
.product-title-row strong,
.catalog-product-top strong,
.auth-modal-card h2,
.customer-order-card-copy h3 {
  font-family: Fredoka, Montserrat, Inter, sans-serif;
  letter-spacing: -.025em;
}

h1,
h2,
.hero-copy-banner h1,
.catalog-results-copy h1,
.product-detail-copy h1,
.order-success-copy h1,
.tracking-hero-copy h1,
.contact-hero h1 {
  font-weight: 600;
}

.eyebrow,
.product-overline,
.panel-label {
  color: var(--plastic-purple);
  font-weight: 800;
}

/* Shared header */
.topbar,
.order-page-topbar {
  border-bottom: 0;
  background: rgba(255, 252, 247, .88);
  box-shadow: 0 8px 28px rgba(94, 65, 126, .11);
  backdrop-filter: blur(20px) saturate(145%);
}
.topbar-inner,
.order-page-topbar-inner { min-height: 78px; }
.brand-mark,
.customer-footer .brand-mark {
  width: 46px;
  height: 46px;
  color: #fff;
  background: linear-gradient(145deg, var(--plastic-purple), var(--plastic-pink));
  border: 3px solid rgba(255,255,255,.9);
  border-radius: 16px 11px 17px 12px;
  box-shadow: 0 8px 20px rgba(124, 77, 255, .28), inset 0 1px 0 rgba(255,255,255,.45);
  transform: rotate(-3deg);
}
.brand-copy strong { color: #382d4d; font-size: 20px; }
.brand-copy small { color: #8b769f; font-size: 9px; }
.order-page-topbar .site-nav,
.site-nav {
  gap: 4px;
  padding: 6px;
  border: 1px solid #e8dcfa;
  border-radius: 999px;
  background: #f6efff;
}
.order-page-topbar .site-nav a,
.site-nav a {
  padding: 9px 15px;
  border-radius: 999px;
  color: #745f89;
  font-family: Inter, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .01em;
}
.site-nav a::after { display: none; }
.order-page-topbar .site-nav a:hover,
.site-nav a:hover { color: var(--plastic-purple); }
.order-page-topbar .site-nav a.active,
.site-nav a.active {
  color: #fff;
  background: linear-gradient(135deg, var(--plastic-purple), #a05fff);
  box-shadow: 0 6px 16px rgba(124, 77, 255, .24);
}
.pricing-region-control select {
  min-height: 40px;
  border: 1px solid #f1c95d;
  background: #fff2b8;
  color: #614a15;
  box-shadow: 0 5px 0 #ebcf75;
}
.cart-button {
  border: 0;
  background: linear-gradient(135deg, #ff7b69, #ff5f8f);
  color: #fff;
  box-shadow: 0 7px 0 #dc456e, 0 12px 22px rgba(255, 95, 143, .2);
  font-weight: 800;
}
.cart-button:hover { transform: translateY(-2px); box-shadow: 0 9px 0 #dc456e, 0 15px 25px rgba(255, 95, 143, .23); }
.cart-button span { color: #513864; background: #fff3a9; }
.auth-link-button { color: #694e82; font-weight: 800; }
.auth-chip {
  border-color: rgba(68, 214, 174, .42);
  background: #dcfff4;
  box-shadow: 0 5px 0 #a7e8d5;
}
.auth-chip strong { color: #087c67; }
.auth-chip small { color: #4a8d7e; }

/* Buttons and controls */
.button {
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 14px;
  font-family: Inter, sans-serif;
  font-weight: 850;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--plastic-pink), var(--plastic-coral));
  box-shadow: 0 7px 0 #dc496d, 0 14px 24px rgba(255, 95, 143, .2);
}
.button.primary:hover { box-shadow: 0 9px 0 #dc496d, 0 18px 28px rgba(255, 95, 143, .24); }
.button.secondary {
  border: 2px solid #cbb5f4;
  color: #6942ce;
  background: #fff;
  box-shadow: 0 6px 0 #e3d7f8;
}
.button.dark { color: #fff; background: var(--plastic-purple); }
input, textarea, select { accent-color: var(--plastic-purple); }

/* Home */
.home-hero {
  min-height: 590px;
  margin-top: 26px;
  overflow: hidden;
  border: 6px solid #fff;
  border-radius: 34px;
  background: #eadfff;
  box-shadow: 0 28px 70px rgba(105, 63, 144, .2);
}
.home-hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  width: 230px;
  height: 230px;
  right: -55px;
  top: -65px;
  border-radius: 42% 58% 65% 35%;
  background: rgba(255, 201, 74, .88);
  transform: rotate(18deg);
}
.home-hero::after {
  background: linear-gradient(90deg, rgba(63, 32, 94, .83) 0%, rgba(91, 47, 129, .6) 42%, rgba(36, 24, 51, .08) 75%);
}
.home-hero-backdrop img { filter: saturate(1.2) contrast(.96); }
.hero-copy-banner {
  max-width: 590px;
  margin-left: 38px;
  padding: 42px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 26px;
  background: rgba(95, 54, 135, .58);
  box-shadow: 0 18px 55px rgba(43, 22, 62, .18);
  backdrop-filter: blur(10px);
}
.hero-copy-banner h1 { color: #fff; font-family: Fredoka, sans-serif; font-size: clamp(48px, 6vw, 82px); line-height: .94; }
.hero-copy-banner p:not(.hero-kicker-pill) { color: #f6ecff; }
.hero-kicker-pill { color: #553c14; background: #ffe787; }
.home-hero-stats { border-color: rgba(255,255,255,.23); background: rgba(255,255,255,.1); }
.home-hero-stats span { color: #f4eaff; }
.home-hero-stats strong { color: #ffe77e; }
.shop-category-strip { gap: 16px; }
.shop-category-card {
  overflow: hidden;
  border: 5px solid #fff;
  border-radius: 24px;
  box-shadow: 0 16px 32px rgba(86, 57, 124, .14);
  transform: rotate(-1deg);
}
.shop-category-card:nth-child(even) { transform: rotate(1.2deg); }
.shop-category-card:hover { transform: translateY(-5px) rotate(0); }
.section-heading h1,
.section-heading h2 {
  color: #f7f4fb;
  font-family: Fredoka, sans-serif;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .2);
}
.section-heading p:not(.eyebrow),
.section-heading .section-copy { color: #c5c1cc; }
.section-heading .eyebrow { color: #bca5ff; }
.feature-band { gap: 14px; }
.feature-tile {
  border: 0;
  border-radius: 24px;
  color: #463851;
  box-shadow: 0 12px 28px rgba(93, 63, 128, .12);
}
.feature-tile:nth-child(1) { background: #e8dcff; }
.feature-tile:nth-child(2) { background: #d9fff1; }
.feature-tile:nth-child(3) { background: #fff0b8; }
.feature-tile strong { color: #3d304d; }
.feature-tile p { color: #6f637b; }
.feature-kicker { color: var(--plastic-purple); }
.home-promo-main,
.home-promo-side {
  border: 0;
  border-radius: 28px;
  box-shadow: 0 18px 36px rgba(91, 60, 127, .14);
}
.home-promo-main { background: linear-gradient(135deg, #7c4dff, #a65eff); }
.home-promo-main h2,
.home-promo-main p,
.home-promo-main p:not(.eyebrow),
.home-promo-main .eyebrow { color: #fff; }
.home-promo-side { background: linear-gradient(145deg, #ffce55, #ff9c62); color: #55374b; }
.home-promo-side span, .home-promo-side strong, .home-promo-side a { color: #55374b; }

/* Product cards and catalog */
.home-featured-products,
.home-new-arrivals,
.catalog-shell { position: relative; }
.product-grid { gap: 22px; }
.product-card {
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(85, 55, 117, .13), 0 0 0 1px rgba(117, 78, 153, .07);
}
.product-card:nth-child(4n+1) { --card-pop: #e7dcff; }
.product-card:nth-child(4n+2) { --card-pop: #d9fff1; }
.product-card:nth-child(4n+3) { --card-pop: #fff1b9; }
.product-card:nth-child(4n) { --card-pop: #ffe0e9; }
.product-card:hover { transform: translateY(-8px) rotate(.35deg); box-shadow: 0 24px 45px rgba(91, 57, 127, .2); }
.product-media { background: var(--card-pop, #eee5ff); }
.product-media::before {
  content: "";
  position: absolute;
  width: 145px;
  height: 145px;
  right: -45px;
  bottom: -55px;
  border-radius: 45% 55% 40% 60%;
  background: rgba(255,255,255,.52);
}
.product-media img,
.product-media video { filter: saturate(1.08); }
.product-body { color: #443653; background: #fff; }
.product-title-row strong,
.catalog-product-top strong { color: #3b2e49; }
.product-price,
.catalog-price-block strong { color: var(--plastic-purple); }
.product-card p,
.product-footnote { color: #796d84; }
.new-arrival-card {
  padding: 10px;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 22px;
  color: #443653;
  background: #fff;
  box-shadow: 0 16px 36px rgba(12, 10, 20, .26);
  transition: transform .18s ease, box-shadow .18s ease;
}
.new-arrival-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 23px 45px rgba(12, 10, 20, .32);
}
.new-arrival-copy { padding: 3px 6px 7px; }
.new-arrival-title { color: #3b2e49; }
.new-arrival-footnote { color: #796d84; }
.product-badges .badge,
.catalog-badge,
.badge { border: 0; border-radius: 999px; color: #5d3db2; background: #ece3ff; }
.catalog-shell { padding-top: 18px; }
.catalog-layout { gap: 28px; }
.catalog-panel,
.catalog-results-bar {
  border: 3px solid #fff;
  border-radius: 25px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 16px 36px rgba(84, 56, 116, .1);
}
.catalog-panel { padding: 24px; }
.catalog-results-bar { padding: 22px 24px; }
.catalog-results-copy h1 { color: #3b2e49; font-family: Fredoka, sans-serif; }
.catalog-results-copy p { color: #807489; }
.panel-block { border-color: #eadff3; }
.category-option {
  border: 1px solid #e2d5ef;
  border-radius: 13px;
  color: #71627d;
  background: #fffaf3;
}
.category-option.active { border-color: #9b78ed; color: #5c35c6; background: #eee5ff; }
.category-option-box { border-color: #b69ddc; border-radius: 6px; }
.category-option.active .category-option-box { color: #fff; background: var(--plastic-purple); }
.catalog-sort-control,
.catalog-sort-control select { color: #5e4d6c; background: #f8f1ff; }
.catalog-sort-control { border-color: #dfd0f2; border-radius: 14px; }
.catalog-card-actions .button { min-height: 42px; }

/* Product detail */
.product-detail-shell { gap: 30px; }
.product-detail-gallery,
.product-detail-copy,
.cart-summary-card {
  border: 3px solid #fff;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 20px 45px rgba(85, 55, 117, .13);
}
.product-detail-gallery { background: linear-gradient(145deg, #eee5ff, #fff); }
.product-detail-image { border-radius: 20px; background: #f7f1ff; }
.product-detail-thumbnail { border-radius: 14px; background: #fff; }
.product-detail-thumbnail.active { border-color: var(--plastic-purple); box-shadow: 0 0 0 3px rgba(124,77,255,.12); }
.product-detail-copy h1 { color: #3b2e49; font-family: Fredoka, sans-serif; }
.product-detail-description { color: #766a80; }
.product-detail-price-row strong { color: var(--plastic-purple); }
.product-detail-stock-tag { border-radius: 14px; background: #dcfff2; }

/* Cart and checkout */
.cart-page-heading h1 { color: #f7f4fb; font-family: Fredoka, sans-serif; }
.cart-page-count { border: 0; color: #6a3ed1; background: #e9ddff; }
.cart-item,
.cart-empty-state,
.checkout-address-layout .cart-page-list {
  border: 3px solid #fff;
  border-radius: 23px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(86, 57, 124, .11);
}
.cart-item img { border-radius: 16px; background: #eee5ff; }
.cart-item-copy strong,
.cart-item-side strong,
.cart-summary-card h2 { color: #3b2e49; }
.cart-qty { border-color: #dfd0f2; background: #faf6ff; }
.cart-summary-card { background: linear-gradient(155deg, #fff, #f5edff); }
.cart-summary-row { color: #6f617c; border-color: #eadff2; }
.cart-summary-row.total strong,
.cart-total strong { color: var(--plastic-purple); }
.checkout-step-copy,
.checkout-help { color: #786c82; }
.checkout-form input,
.checkout-form select,
.auth-modal-form input {
  border: 2px solid #e2d5ee;
  border-radius: 13px;
  color: #42334f;
  background: #fffdf9;
}
.checkout-form input:focus,
.checkout-form select:focus,
.auth-modal-form input:focus { border-color: #9d7bea; box-shadow: 0 0 0 4px rgba(124,77,255,.1); }

/* Auth */
.auth-dialog::backdrop { background: rgba(61, 42, 77, .45); backdrop-filter: blur(8px); }
.auth-modal-card,
.auth-panel {
  border: 4px solid #fff;
  border-radius: 28px;
  color: #42334f;
  background: #fffaf3;
  box-shadow: 0 30px 80px rgba(61, 42, 77, .25);
}
.auth-modal-card::before {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  top: -44px;
  right: -30px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffd85e, #ff9a64);
  opacity: .8;
}
.auth-modal-card h2,
.auth-panel h2,
.auth-panel h3 { color: #3b2e49; }
.auth-subcopy,
.auth-copy,
.auth-footnote { color: #786b83; }
.auth-close { color: #634b73; background: #f0e6fa; }
.auth-inline-action { color: var(--plastic-purple); }

/* Orders and payment */
.order-success-hero,
.tracking-hero {
  border: 5px solid #fff;
  border-radius: 32px;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 215, 94, .9), transparent 22%),
    linear-gradient(135deg, #7c4dff, #c35eff 62%, #ff718f);
  box-shadow: 0 26px 62px rgba(100, 58, 143, .22);
}
.order-success-copy h1,
.tracking-hero-copy h1,
.order-success-copy p,
.tracking-hero-copy p { color: #fff; }
.tracking-hero .tracking-hero-copy > p:not(.eyebrow),
.order-success-hero .order-success-copy > p:not(.eyebrow) { color: rgba(255, 255, 255, .88); }
.order-success-hero .eyebrow,
.tracking-hero .eyebrow { color: #ffe789; }
.order-success-emblem,
.tracking-hero-badge { border-color: rgba(255,255,255,.42); color: #fff; background: rgba(255,255,255,.13); }
.order-success-meta-strip {
  border: 3px solid #fff;
  background: #fff;
  box-shadow: 0 15px 34px rgba(85,55,117,.11);
}
.order-success-meta-strip > div { border-color: #eadff2; }
.order-success-meta-strip span,
.tracking-summary-grid span { color: #8a7599; }
.order-success-meta-strip strong,
.tracking-summary-grid strong { color: #43344f; }
.order-receipt-card,
.order-next-card,
.tracking-result-panel,
.customer-orders-state,
.customer-orders-browser {
  border: 3px solid #fff;
  border-radius: 26px;
  color: #43344f;
  background: #fff;
  box-shadow: 0 20px 45px rgba(85,55,117,.13);
}
.order-card-heading h2,
.order-card-heading h3,
.order-next-card h2,
.tracking-result-header h2,
.customer-orders-state h2,
.customer-orders-heading h2 { color: #3b2e49; }
.order-receipt-item { border-color: #eee4f5; }
.order-receipt-item img,
.tracking-item-card img { border: 0; background: #eee5ff; }
.order-receipt-item strong,
.order-receipt-total strong,
.order-next-list strong,
.tracking-item-card strong { color: #443551; }
.order-receipt-item span,
.tracking-item-card span,
.order-next-list p,
.order-delivery-card p { color: #7b6e85; }
.order-paid-pill,
.payment-status-pill { border: 0; color: #087b63; background: #d9fff1; }
.order-delivery-card,
.tracking-summary-grid { border-color: #e9ddf1; background: #faf6ff; }
.customer-order-card {
  border: 2px solid #eee4f5;
  border-radius: 21px;
  background: #fffdf9;
}
.customer-order-card:hover { border-color: #b99bea; box-shadow: 0 18px 34px rgba(91,57,127,.13); }
.customer-order-card-meta { border-color: #e9ddf1; background: #f4edff; }
.customer-order-card-meta span { color: #8b7698; }
.customer-order-card-meta strong,
.customer-order-card-copy h3 { color: #42334f; }
.customer-order-previews img { border-color: #fff; background: #eee5ff; }
.customer-order-card-copy p { color: #7e7088; }
.tracking-progress-ring {
  background:
    radial-gradient(circle closest-side, #fff 77%, transparent 79% 100%),
    conic-gradient(var(--plastic-purple) calc(var(--tracking-progress) * 1%), #eadff3 0);
}
.tracking-progress-ring strong { color: #493858; }
.tracking-progress-ring span { color: #8d7b9a; }
.tracking-progress-bar { background: #eadff3; }
.tracking-progress-bar span { background: linear-gradient(90deg, var(--plastic-mint), var(--plastic-purple), var(--plastic-pink)); }
.tracking-carrier-card { border-color: #b9a0ea; background: #f1e8ff; }
.tracking-carrier-card h3 { color: #42334f; }
.tracking-carrier-card p { color: #786a83; }
.tracking-timeline-section,
.tracking-items-section { border-color: #e9ddf1; }
.customer-tracking-timeline li { color: #9b8ba5; }
.customer-tracking-timeline li::before { background: #dfd2ea; }
.tracking-stage-marker { border-color: #b7a5c4; background: #fff; }
.customer-tracking-timeline li.complete .tracking-stage-marker { border-color: var(--plastic-mint); background: var(--plastic-mint); }
.customer-tracking-timeline li.current .tracking-stage-marker { border-color: var(--plastic-purple); background: var(--plastic-purple); }
.customer-tracking-timeline strong,
.customer-tracking-timeline li.complete strong,
.customer-tracking-timeline li.current strong { color: #493858; }
.customer-tracking-timeline p,
.customer-tracking-timeline time { color: #88798f; }
.tracking-item-card { border-color: #eadff2; background: #fffaf3; }

/* Contact */
.contact-hero {
  border: 5px solid #fff;
  border-radius: 32px;
  background:
    radial-gradient(circle at 82% 22%, rgba(255, 214, 83, .9), transparent 22%),
    linear-gradient(135deg, #47a7ff, #7c4dff 58%, #ff5f8f);
  box-shadow: 0 26px 62px rgba(90, 58, 133, .2);
}
.contact-hero h1,
.contact-hero > div > p:last-child,
.contact-hero .eyebrow { color: #fff; }
.contact-response-card { border: 1px solid rgba(255,255,255,.38); background: rgba(255,255,255,.17); backdrop-filter: blur(10px); }
.contact-response-card span { color: #ffe884; }
.contact-response-card strong,
.contact-response-card p { color: #fff; }
.contact-form-card,
.contact-help-card {
  border: 3px solid #fff;
  border-radius: 26px;
  color: #443551;
  background: #fff;
  box-shadow: 0 18px 42px rgba(85,55,117,.13);
}
.contact-form-heading h2,
.contact-help-card h2 { color: #3b2e49; }
.contact-form-heading > p:last-child,
.contact-help-card li p { color: #7c6e85; }
.contact-form-card label { color: #564461; }
.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea { border: 2px solid #e3d7ee; color: #42334f; background: #fffaf4; }
.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus { border-color: #9d78ec; box-shadow: 0 0 0 4px rgba(124,77,255,.1); }
.contact-form-card input[readonly] { color: #087c67; background: #dcfff3; }
.contact-help-card li span { color: var(--plastic-pink); }

/* Dark marketplace cards */
.product-card,
.new-arrival-card,
.catalog-panel,
.catalog-results-bar,
.product-detail-gallery,
.product-detail-copy,
.cart-item,
.cart-empty-state,
.checkout-address-layout .cart-page-list,
.cart-summary-card,
.auth-modal-card,
.auth-panel,
.order-success-meta-strip,
.order-receipt-card,
.order-next-card,
.tracking-result-panel,
.customer-orders-state,
.customer-orders-browser,
.contact-form-card,
.contact-help-card {
  border-color: var(--card-dark-line);
  color: var(--card-dark-ink);
  background: var(--card-dark);
  box-shadow: 0 18px 42px rgba(8, 9, 13, .3);
}

.product-body,
.new-arrival-copy { color: var(--card-dark-ink); background: var(--card-dark); }
.product-title-row strong,
.catalog-product-top strong,
.new-arrival-title,
.product-detail-copy h1,
.cart-item-copy strong,
.cart-item-side strong,
.cart-summary-card h2,
.catalog-results-copy h1,
.auth-modal-card h2,
.auth-panel h2,
.auth-panel h3,
.order-card-heading h2,
.order-card-heading h3,
.order-next-card h2,
.tracking-result-header h2,
.customer-orders-state h2,
.customer-orders-heading h2,
.contact-form-heading h2,
.contact-help-card h2 { color: var(--card-dark-ink); }

.product-card p,
.product-footnote,
.new-arrival-footnote,
.product-detail-description,
.catalog-results-copy p,
.checkout-step-copy,
.checkout-help,
.auth-subcopy,
.auth-copy,
.auth-footnote,
.contact-form-heading > p:last-child,
.contact-help-card li p { color: var(--card-dark-muted); }

.catalog-panel,
.catalog-results-bar { background: rgba(58, 60, 67, .96); }
.panel-block,
.cart-summary-row,
.order-success-meta-strip > div,
.tracking-timeline-section,
.tracking-items-section { border-color: var(--card-dark-line); }
.category-option,
.catalog-sort-control,
.catalog-sort-control select,
.cart-qty,
.order-delivery-card,
.tracking-summary-grid,
.customer-order-card-meta,
.tracking-carrier-card {
  border-color: var(--card-dark-line);
  color: #ded9e5;
  background: var(--card-dark-deep);
}
.category-option { color: #d0ccd7; }
.category-option.active { border-color: #a98cff; color: #fff; background: #6845c6; }
.category-option-box { border-color: #89858f; }
.catalog-sort-control select { color: #ebe7f0; }

.product-detail-gallery { background: linear-gradient(145deg, #35373e, #42454d); }
.product-detail-image,
.product-detail-thumbnail,
.cart-item img,
.order-receipt-item img,
.tracking-item-card img { background: var(--card-dark-deep); }
.product-detail-thumbnail { border-color: var(--card-dark-line); }
.cart-summary-card { background: linear-gradient(155deg, #42454d, #34363c); }
.cart-summary-row { color: var(--card-dark-muted); }

.checkout-form input,
.checkout-form select,
.auth-modal-form input,
.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
  border-color: #5d6069;
  color: #f5f2f8;
  background: #2e3036;
}
.checkout-form input::placeholder,
.auth-modal-form input::placeholder,
.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder { color: #96939e; }
.contact-form-card label { color: #ddd8e4; }
.contact-form-card input[readonly] { color: #9bf2d8; background: #29433e; }

.order-success-meta-strip span,
.tracking-summary-grid span,
.customer-order-card-meta span { color: #aaa6b2; }
.order-success-meta-strip strong,
.tracking-summary-grid strong,
.customer-order-card-meta strong,
.customer-order-card-copy h3,
.order-receipt-item strong,
.order-receipt-total strong,
.order-next-list strong,
.tracking-item-card strong { color: var(--card-dark-ink); }
.order-receipt-item,
.customer-order-card,
.tracking-item-card { border-color: var(--card-dark-line); }
.customer-order-card,
.tracking-item-card { background: var(--card-dark-raised); }
.order-receipt-item span,
.tracking-item-card span,
.order-next-list p,
.order-delivery-card p,
.customer-order-card-copy p { color: var(--card-dark-muted); }
.tracking-progress-ring {
  background:
    radial-gradient(circle closest-side, var(--card-dark) 77%, transparent 79% 100%),
    conic-gradient(var(--plastic-purple) calc(var(--tracking-progress) * 1%), #555860 0);
}
.tracking-progress-ring strong,
.tracking-progress-ring span,
.customer-tracking-timeline strong,
.customer-tracking-timeline li.complete strong,
.customer-tracking-timeline li.current strong { color: var(--card-dark-ink); }
.customer-tracking-timeline p,
.customer-tracking-timeline time { color: var(--card-dark-muted); }
.tracking-stage-marker { border-color: #777a83; background: var(--card-dark-deep); }

/* Customizer */
.customizer { background: rgba(63, 42, 78, .45); }
.customizer-shell { border: 0; background: #fff9ef; }
.customizer-topbar {
  border-bottom: 0;
  background: linear-gradient(90deg, #6e42e5, #9e55ed 55%, #ff668f);
  box-shadow: 0 10px 28px rgba(76, 44, 111, .2);
}
.customizer-mark { color: #624314; background: #ffe37a; border-radius: 12px; }
.customizer-brand,
.builder-exit { color: #fff; }
.builder-exit { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.13); }
.custom-tab { border-color: rgba(255,255,255,.25); color: #eadfff; background: rgba(255,255,255,.08); }
.custom-tab.active { border-color: #fff; color: #5f37bd; background: #fff; }
.custom-tab.complete { color: #4e3e0c; background: #ffe27b; }
.custom-viewport { background: #eadfff; }
.custom-viewport-surface { border-color: #cab7ed; border-radius: 22px; background: linear-gradient(145deg, #f2ebff, #d9fff1); }
.custom-stage-frame { border-color: #cdbbec; border-radius: 20px; background: #fff; }
.custom-stage-note { color: #6b5778; background: #f5eeff; }
.custom-sidebar { border-color: #eadff2; color: #443551; background: #fffaf3; }
.custom-sidebar-head,
.custom-sidebar-footer { border-color: #eadff2; background: #fff; }
.custom-sidebar-head h2,
.custom-section-head h3,
.custom-summary strong,
.custom-subtotal strong { color: #3f304c; }
.custom-sidebar-head p,
.custom-summary p { color: #7b6c83; }
.custom-section { border-color: #eadff2; border-radius: 16px; background: #fff; }
.operation-chip { border-color: #d9c7ea; color: #6d5a78; background: #f8f2ff; }
.operation-chip.active { border-color: #8d66e7; color: #fff; background: var(--plastic-purple); }
.custom-processing { background: rgba(63,42,78,.42); }
.custom-processing-card { border-color: #fff; border-radius: 24px; background: #fff9ef; }
.custom-processing-card strong { color: #42334f; }
.custom-processing-card p { color: #766a80; }

/* Footer */
.customer-footer {
  border-top: 0;
  color: #fff;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 205, 77, .22), transparent 18%),
    radial-gradient(circle at 88% 20%, rgba(255, 95, 143, .26), transparent 22%),
    linear-gradient(135deg, #493078, #6e3fba 52%, #3f2a69);
}
.customer-footer-brand > p,
.customer-footer-column a { color: #ded0f2; }
.customer-footer-contact { color: #ffe57d; }
.customer-footer-column strong { color: #fff; }
.customer-footer-column a:hover,
.customer-footer-contact:hover { color: #fff; }
.customer-footer-bottom { border-color: rgba(255,255,255,.15); color: #cdbbe5; }
.customer-footer .brand-copy strong { color: #fff; }
.customer-footer .brand-copy small { color: #dacbed; }

@media (max-width: 1040px) {
  .hero-copy-banner { margin-left: 0; }
  .home-hero { min-height: 520px; }
}

@media (max-width: 700px) {
  .home-hero { margin-top: 14px; border-width: 3px; border-radius: 24px; }
  .hero-copy-banner { padding: 28px 22px; border-radius: 20px; }
  .hero-copy-banner h1 { font-size: clamp(42px, 13vw, 62px); }
  .shop-category-card { border-width: 3px; border-radius: 18px; transform: none !important; }
  .product-card,
  .product-detail-gallery,
  .product-detail-copy,
  .cart-summary-card,
  .contact-form-card,
  .contact-help-card,
  .order-receipt-card,
  .order-next-card,
  .customer-orders-browser,
  .customer-orders-state { border-radius: 20px; }
  .order-success-hero,
  .tracking-hero,
  .contact-hero { border-width: 3px; border-radius: 24px; }
}

/* V7: simple, vivid dark storefront */
:root {
  --bg: #111318;
  --bg-elevated: #1a1d24;
  --bg-panel: #1a1d24;
  --bg-panel-strong: #212530;
  --bg-panel-high: #292e3a;
  --ink: #f5f7fb;
  --muted: #a6acb8;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --paper: #111318;
  --panel: #1a1d24;
  --soft: #242833;
  --accent: #8b5cf6;
  --accent-strong: #7447e8;
  --accent-glow: rgba(139, 92, 246, .24);
  --accent-2: #ff5f8f;
  --dark: #111318;
  --radius: 18px;
  --shadow: 0 18px 46px rgba(0, 0, 0, .28);
  --plastic-purple: #8b5cf6;
  --plastic-pink: #ff5f8f;
  --plastic-coral: #ff7868;
  --plastic-yellow: #f8cc62;
  --plastic-mint: #4de2bd;
  --plastic-blue: #42c8f5;
  --card-dark: #1a1d24;
  --card-dark-raised: #21252e;
  --card-dark-deep: #14171d;
  --card-dark-line: rgba(255, 255, 255, .09);
  --card-dark-ink: #f5f7fb;
  --card-dark-muted: #a6acb8;
}

html { background: #0d0f13; }
body,
.order-tracking-body,
.payment-complete-body,
.contact-page-body {
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(139, 92, 246, .13), transparent 26%),
    radial-gradient(circle at 92% 30%, rgba(66, 200, 245, .07), transparent 25%),
    linear-gradient(180deg, #151820 0%, #101217 48%, #13161c 100%);
}

h1, h2, h3,
.brand-copy strong,
.product-title-row strong,
.catalog-product-top strong,
.auth-modal-card h2,
.customer-order-card-copy h3 {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -.035em;
}
h1, h2,
.hero-copy-banner h1,
.section-heading h1,
.section-heading h2,
.catalog-results-copy h1,
.product-detail-copy h1,
.order-success-copy h1,
.tracking-hero-copy h1,
.contact-hero h1 {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 650;
}
.cart-page-heading h1,
.catalog-results-copy h1 { font-size: clamp(38px, 4.6vw, 58px); }

.eyebrow,
.product-overline,
.panel-label { color: #a98cff; letter-spacing: .1em; }

/* Navigation */
.topbar,
.order-page-topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(15, 17, 22, .9);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .28);
  backdrop-filter: blur(18px) saturate(130%);
}
.topbar-inner,
.order-page-topbar-inner { min-height: 72px; }
.brand-mark,
.customer-footer .brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 12px;
  background: linear-gradient(145deg, #8b5cf6, #d946ef);
  box-shadow: 0 8px 24px rgba(139, 92, 246, .3);
  transform: none;
}
.brand-copy strong { color: #fff; font-size: 18px; }
.brand-copy small { color: #8e95a3; }
.order-page-topbar .site-nav,
.site-nav {
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #191c23;
}
.order-page-topbar .site-nav a,
.site-nav a {
  padding: 9px 14px;
  border-radius: 9px;
  color: #aeb3bd;
}
.order-page-topbar .site-nav a:hover,
.site-nav a:hover { color: #fff; }
.order-page-topbar .site-nav a.active,
.site-nav a.active {
  color: #fff;
  background: #7c4ff0;
  box-shadow: none;
}
.pricing-region-control select {
  min-height: 40px;
  border: 1px solid rgba(248, 204, 98, .3);
  color: #f7d984;
  background: #242117;
  box-shadow: none;
}
.cart-button {
  border: 0;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, #f05280, #ff7868);
  box-shadow: 0 8px 22px rgba(240, 82, 128, .22);
}
.cart-button:hover { transform: translateY(-1px); box-shadow: 0 10px 25px rgba(240, 82, 128, .28); }
.cart-button span { color: #17191f; background: #f8d878; }
.auth-link-button { color: #d7dae0; }
.auth-chip { border-color: rgba(77, 226, 189, .26); background: #17312d; box-shadow: none; }
.auth-chip strong { color: #7af0d2; }
.auth-chip small { color: #8ca9a4; }

/* Controls */
.button {
  min-height: 44px;
  border-radius: 11px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 750;
}
.button:hover { transform: translateY(-1px); }
.button.primary {
  color: #fff;
  background: linear-gradient(135deg, #7c4ff0, #c64fdc);
  box-shadow: 0 10px 25px rgba(139, 92, 246, .24);
}
.button.primary:hover { box-shadow: 0 12px 30px rgba(139, 92, 246, .3); }
.button.secondary {
  border: 1px solid rgba(169, 140, 255, .48);
  color: #c2adff;
  background: #1b1e26;
  box-shadow: none;
}
.button.dark { color: #fff; background: #7c4ff0; }

/* Home hero and discovery */
.home-hero {
  min-height: 510px;
  margin-top: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: #181b22;
  box-shadow: var(--shadow);
}
.home-hero::before { display: none; }
.home-hero::after {
  background: linear-gradient(90deg, rgba(16, 18, 24, .96) 0%, rgba(16, 18, 24, .82) 36%, rgba(16, 18, 24, .12) 75%);
}
.home-hero-backdrop img { filter: saturate(1.04) contrast(1.02) brightness(1.35); }
.hero-copy-banner {
  max-width: 570px;
  margin-left: 0;
  padding: clamp(28px, 4vw, 56px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.hero-copy-banner h1 {
  color: #fff;
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 500;
  line-height: 1.08;
}
.hero-copy-banner p:not(.hero-kicker-pill) { color: #c8ccd4; }
.hero-kicker-pill { color: #f5dd93; background: rgba(248, 204, 98, .13); border: 1px solid rgba(248, 204, 98, .28); }
.home-hero-stats { border-color: var(--line); background: rgba(7, 9, 13, .32); }
.home-hero-stats span { color: #aeb4bf; }
.home-hero-stats strong { color: #60e9c7; }

.shop-category-strip { gap: 14px; }
.shop-category-card,
.shop-category-card:nth-child(even) {
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
  transform: none;
}
.shop-category-card:hover { transform: translateY(-3px); }
.section-heading h1,
.section-heading h2 { color: #f5f7fb; text-shadow: none; }
.section-heading p:not(.eyebrow),
.section-heading .section-copy { color: #aeb3bd; }
.section-heading .eyebrow { color: #a98cff; }

.feature-band { gap: 14px; }
.feature-tile,
.feature-tile:nth-child(1),
.feature-tile:nth-child(2),
.feature-tile:nth-child(3) {
  border: 1px solid var(--line);
  border-top: 3px solid var(--tile-accent, #8b5cf6);
  border-radius: 16px;
  color: #f4f6fa;
  background: #1a1d24;
  box-shadow: none;
}
.feature-tile:nth-child(2) { --tile-accent: #4de2bd; }
.feature-tile:nth-child(3) { --tile-accent: #f8cc62; }
.feature-tile strong { color: #fff; }
.feature-tile p { color: #a6acb8; }
.feature-kicker { color: var(--tile-accent, #a98cff); }

.home-promo-main,
.home-promo-side {
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: none;
}
.home-promo-main { background: linear-gradient(135deg, #6740cd, #8d45bd); }
.home-promo-side { color: #f5f7fb; background: linear-gradient(145deg, #193f48, #1c5960); }
.home-promo-side span,
.home-promo-side strong,
.home-promo-side a { color: #f5f7fb; }

/* Cards and catalog */
.product-grid { gap: 18px; }
.product-card,
.new-arrival-card,
.catalog-panel,
.catalog-results-bar,
.product-detail-gallery,
.product-detail-copy,
.cart-item,
.cart-empty-state,
.checkout-address-layout .cart-page-list,
.cart-summary-card,
.auth-modal-card,
.auth-panel,
.order-success-meta-strip,
.order-receipt-card,
.order-next-card,
.tracking-result-panel,
.customer-orders-state,
.customer-orders-browser,
.contact-form-card,
.contact-help-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  color: #f5f7fb;
  background: #1a1d24;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .22);
}
.product-card:hover,
.new-arrival-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .32), 0 0 0 1px rgba(139, 92, 246, .22);
}
.product-body,
.new-arrival-copy { color: #f5f7fb; background: #1a1d24; }
.product-media { background: #252a34; }
.product-media::before { display: none; }
.product-title-row strong,
.catalog-product-top strong,
.new-arrival-title { color: #f5f7fb; }
.product-price,
.catalog-price-block strong,
.new-arrival-title-row .product-price { color: #52ddc1; }
.product-card p,
.product-footnote,
.new-arrival-footnote { color: #9ea5b1; }
.product-badges .badge,
.catalog-badge,
.badge { color: #c6b5ff; background: rgba(139, 92, 246, .14); }

.catalog-layout { gap: 22px; }
.catalog-panel,
.catalog-results-bar { background: #191c23; }
.catalog-results-copy h1 { color: #fff; }
.catalog-results-copy p { color: #9ea5b1; }
.panel-block { border-color: var(--line); }
.category-option {
  border: 1px solid transparent;
  border-radius: 9px;
  color: #b7bdc7;
  background: transparent;
}
.category-option:hover { background: #222630; }
.category-option.active { border-color: rgba(139, 92, 246, .34); color: #fff; background: rgba(139, 92, 246, .2); }
.category-option-box { border-color: #626976; border-radius: 5px; }
.category-option.active .category-option-box { background: #8b5cf6; }
.catalog-sort-control,
.catalog-sort-control select { border-color: var(--line); color: #d9dde4; background: #13161c; }

.product-detail-gallery { background: #171a20; }
.product-detail-image,
.product-detail-thumbnail { background: #222630; }
.product-detail-copy h1 { color: #fff; }
.product-detail-description { color: #a6acb8; }
.product-detail-stock-tag { color: #78ead0; background: rgba(77, 226, 189, .12); }

/* Commerce, accounts, and forms */
.cart-page-heading h1 { color: #f5f7fb; }
.cart-page-count { color: #c5b3ff; background: rgba(139, 92, 246, .14); }
.cart-summary-card { background: #1b1e26; }
.cart-item-copy strong,
.cart-item-side strong,
.cart-summary-card h2 { color: #fff; }
.cart-summary-row { color: #a6acb8; border-color: var(--line); }
.cart-summary-row.total strong,
.cart-total strong { color: #52ddc1; }
.cart-qty { border-color: var(--line); color: #f2f4f8; background: #12151a; }
.checkout-step-copy,
.checkout-help { color: #9fa6b2; }

.checkout-form input,
.checkout-form select,
.auth-modal-form input,
.contact-form-card input,
.contact-form-card select,
.contact-form-card textarea {
  border: 1px solid #3b404c;
  border-radius: 10px;
  color: #f4f6fa;
  background: #111419;
}
.checkout-form input:focus,
.checkout-form select:focus,
.auth-modal-form input:focus,
.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, .15);
}

.auth-dialog::backdrop { background: rgba(4, 5, 8, .74); backdrop-filter: blur(10px); }
.auth-modal-card,
.auth-panel { border: 1px solid var(--line-strong); background: #1a1d24; box-shadow: 0 30px 80px rgba(0, 0, 0, .48); }
.auth-modal-card::before { display: none; }
.auth-modal-card h2,
.auth-panel h2,
.auth-panel h3 { color: #fff; }
.auth-subcopy,
.auth-copy,
.auth-footnote { color: #9ea5b1; }
.auth-close { color: #c8cdd5; background: #262a34; }

/* Orders and support */
.order-success-hero,
.tracking-hero,
.contact-hero {
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 22px;
  background:
    radial-gradient(circle at 86% 18%, rgba(77, 226, 189, .23), transparent 24%),
    linear-gradient(135deg, #5f38c3, #7b3ec1 58%, #be477f);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
}
.order-success-meta-strip,
.order-receipt-card,
.order-next-card,
.tracking-result-panel,
.customer-orders-state,
.customer-orders-browser,
.contact-form-card,
.contact-help-card { background: #1a1d24; }
.order-delivery-card,
.tracking-summary-grid,
.customer-order-card-meta,
.tracking-carrier-card { border-color: var(--line); color: #dce0e7; background: #13161c; }
.customer-order-card,
.tracking-item-card { border-color: var(--line); background: #21252e; }
.tracking-progress-ring {
  background:
    radial-gradient(circle closest-side, #1a1d24 77%, transparent 79% 100%),
    conic-gradient(#8b5cf6 calc(var(--tracking-progress) * 1%), #353a45 0);
}
.tracking-progress-bar { background: #343944; }
.tracking-progress-bar span { background: linear-gradient(90deg, #4de2bd, #42c8f5, #8b5cf6); }
.contact-form-card label { color: #d9dde4; }
.contact-form-card input[readonly] { color: #75e9cc; background: #15332d; }

/* Customizer */
.customizer { background: rgba(4, 5, 8, .82); }
.customizer-shell { color: #f5f7fb; background: #111318; }
.customizer-topbar { border-bottom: 1px solid var(--line); background: #171a21; box-shadow: none; }
.customizer-mark { color: #fff; background: #7c4ff0; border-radius: 9px; }
.custom-viewport { background: #12151a; }
.custom-viewport-surface { border-color: var(--line); border-radius: 16px; background: #1a1e26; }
.custom-stage-frame { border-color: var(--line); border-radius: 14px; background: #222630; }
.custom-stage-note { color: #a9b0bb; background: #171a20; }
.custom-sidebar { border-color: var(--line); color: #f5f7fb; background: #15181e; }
.custom-sidebar-head,
.custom-sidebar-footer { border-color: var(--line); background: #181b22; }
.custom-sidebar-head h2,
.custom-section-head h3,
.custom-summary strong,
.custom-subtotal strong { color: #fff; }
.custom-sidebar-head p,
.custom-summary p { color: #9ea5b1; }
.custom-section { border-color: var(--line); border-radius: 12px; background: #1d2129; }
.operation-chip { border-color: #3b414d; color: #b7bdc7; background: #15181e; }
.operation-chip.active { border-color: #8b5cf6; color: #fff; background: #7447e8; }
.custom-processing { background: rgba(4, 5, 8, .72); }
.custom-processing-card { border-color: var(--line); border-radius: 18px; background: #1a1d24; }
.custom-processing-card strong { color: #fff; }
.custom-processing-card p { color: #a6acb8; }

/* Footer */
.customer-footer {
  border-top: 1px solid var(--line);
  color: #fff;
  background:
    radial-gradient(circle at 12% 8%, rgba(139, 92, 246, .14), transparent 24%),
    #0c0e12;
}
.customer-footer-brand > p,
.customer-footer-column a { color: #949ba8; }
.customer-footer-contact { color: #68e5c7; }
.customer-footer-bottom { border-color: var(--line); color: #737b88; }

@media (max-width: 700px) {
  .home-hero { border-width: 1px; border-radius: 18px; }
  .hero-copy-banner { padding: 26px 20px; border-radius: 15px; }
  .hero-copy-banner h1 { font-size: clamp(40px, 12vw, 58px); }
  .shop-category-card { border-width: 1px; border-radius: 13px; }
  .product-card,
  .product-detail-gallery,
  .product-detail-copy,
  .cart-summary-card,
  .contact-form-card,
  .contact-help-card,
  .order-receipt-card,
  .order-next-card,
  .customer-orders-browser,
  .customer-orders-state { border-radius: 15px; }
  .order-success-hero,
  .tracking-hero,
  .contact-hero { border-width: 1px; border-radius: 18px; }
}

/* V9: friendlier customer customizer and guided tour */
.customizer {
  width: min(97vw, 1840px);
  height: min(95dvh, 1080px);
  max-width: 97vw;
  max-height: 95dvh;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
}
.customizer-shell {
  background:
    radial-gradient(circle at 37% 42%, rgba(139, 92, 246, .1), transparent 34%),
    linear-gradient(180deg, #11141a, #0c0e13 72%);
}
.customizer-topbar {
  grid-template-columns: minmax(180px, auto) minmax(0, 1fr) auto;
  gap: 20px;
  min-height: 76px;
  padding: 12px 22px;
  background: rgba(18, 21, 28, .96);
}
.customizer-brand { gap: 10px; font-size: 17px; }
.customizer-mark { width: 36px; height: 36px; }
.customizer-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  padding: 3px;
  scrollbar-width: thin;
}
.custom-tab {
  flex: 1 0 auto;
  min-width: 118px;
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 999px;
  color: #969daa;
  background: #161920;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.custom-tab:hover { border-color: rgba(169, 140, 255, .45); color: #d9dce3; }
.custom-tab.active {
  border-color: #8b5cf6;
  color: #fff;
  background: linear-gradient(135deg, #7046df, #8b5cf6);
  box-shadow: 0 8px 22px rgba(139, 92, 246, .22);
}
.custom-tab.complete {
  border-color: rgba(77, 226, 189, .32);
  color: #83ead1;
  background: rgba(77, 226, 189, .08);
}
.customizer-topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.customizer-help,
.builder-exit {
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  color: #c9ced7;
  background: #1b1f27;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}
.customizer-help { border-color: rgba(139, 92, 246, .4); color: #cbbcff; }
.customizer-help span {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 4px;
  border-radius: 50%;
  color: #fff;
  background: #7c4ff0;
}
.customizer-help:hover,
.builder-exit:hover { border-color: #8b5cf6; color: #fff; background: #242935; }

.customizer-body { grid-template-columns: minmax(0, 1fr) clamp(400px, 28vw, 480px); }
.custom-viewport { padding: clamp(16px, 1.6vw, 26px); }
.custom-viewport-surface {
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 43%, rgba(107, 121, 143, .22), transparent 35%),
    linear-gradient(180deg, #181c24, #101319);
}
.custom-stage-frame { gap: 13px; }
.custom-stage-note {
  width: auto;
  justify-self: start;
  padding: 8px 11px;
  border: 1px solid rgba(77, 226, 189, .15);
  border-radius: 9px;
  color: #b5bdc9;
  background: rgba(77, 226, 189, .055);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
}
.custom-operation-switch {
  width: auto;
  max-width: 100%;
  min-height: 50px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 13px;
  background: rgba(14, 17, 22, .92);
}
.operation-chip {
  min-width: 112px;
  min-height: 40px;
  border-radius: 9px;
  font-size: 11px;
  letter-spacing: .02em;
}
.operation-chip.active { border-color: #8b5cf6; background: rgba(139, 92, 246, .2); }

.custom-sidebar { background: #12151b; }
.custom-sidebar-head {
  padding: 22px 22px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  background: #171a21;
}
.custom-sidebar-head h2 { font-size: 28px; line-height: 1.1; }
.custom-sidebar-head p,
#customStepHint {
  margin: 7px 0 0;
  color: #9da4b0;
  font-size: 12px;
  line-height: 1.45;
}
.custom-sidebar-body {
  counter-reset: customizer-section;
  gap: 14px;
  padding: 18px 22px;
}
.custom-sidebar-body > .custom-section {
  counter-increment: customizer-section;
  gap: 13px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 14px;
  background: #191d25;
}
#customUploadSection { order: 0; }
.custom-sidebar-body > .custom-section > .custom-section-head h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #eef1f6;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}
.custom-sidebar-body > .custom-section > .custom-section-head h3::before {
  content: counter(customizer-section);
  display: inline-grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 7px;
  color: #d9ceff;
  background: rgba(139, 92, 246, .16);
  font-size: 11px;
}
.choice-card,
.customer-operation-card,
.alpha-map-tile,
.color-map-tile,
.text-alpha-card,
.upload-card,
.custom-summary {
  border-color: rgba(255, 255, 255, .09);
  border-radius: 10px;
  background: #14171d;
}
.choice-card.active,
.alpha-map-tile.active,
.color-map-tile.active,
.text-alpha-card.active {
  border-color: rgba(139, 92, 246, .72);
  box-shadow: 0 0 0 2px rgba(139, 92, 246, .1);
}
.upload-card { padding: 16px; }
.upload-card:hover { border-color: rgba(77, 226, 189, .5); background: rgba(77, 226, 189, .045); }
.custom-sidebar-footer {
  padding: 14px 22px 20px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: #171a21;
}
.custom-subtotal { padding: 8px 0 13px; text-transform: none; }
.custom-subtotal strong { color: #59e1c2; font-size: 23px; }
.custom-actions { gap: 8px; }
.custom-actions .button { min-height: 44px; }

/* First-time customizer tutorial */
.custom-tour {
  position: absolute;
  inset: 0;
  z-index: 60;
  overflow: hidden;
  pointer-events: none;
}
.custom-tour[hidden] { display: none !important; }
.custom-tour-spotlight {
  position: absolute;
  z-index: 61;
  border: 2px solid #a98cff;
  border-radius: 14px;
  box-shadow: 0 0 0 200vmax rgba(4, 6, 11, .78), 0 0 0 5px rgba(139, 92, 246, .13), 0 12px 38px rgba(0, 0, 0, .35);
  transition: left .22s ease, top .22s ease, width .22s ease, height .22s ease;
}
.custom-tour-card {
  position: absolute;
  z-index: 62;
  width: min(370px, calc(100% - 32px));
  padding: 20px;
  border: 1px solid rgba(169, 140, 255, .4);
  border-radius: 16px;
  color: #f5f7fb;
  background: #1b1f28;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
  pointer-events: auto;
  transition: left .22s ease, top .22s ease;
}
.custom-tour-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.custom-tour-card-head span {
  color: #a98cff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.custom-tour-card-head button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  color: #b5bbc5;
  background: #292e38;
  font-size: 20px;
  cursor: pointer;
}
.custom-tour-card h3 {
  margin: 15px 0 7px;
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -.025em;
}
.custom-tour-card p {
  margin: 0;
  color: #b3bac5;
  font-size: 13px;
  line-height: 1.58;
}
.custom-tour-dots { display: flex; gap: 5px; margin-top: 13px; }
.custom-tour-dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #3b404b;
}
.custom-tour-dots span.active { width: 22px; background: linear-gradient(90deg, #8b5cf6, #d65dd4); }
.custom-tour-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 19px;
}
.custom-tour-actions > div { display: flex; gap: 7px; }
.custom-tour-actions button {
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}
.custom-tour-skip,
.custom-tour-back { border: 1px solid rgba(255, 255, 255, .1); color: #b5bbc5; background: #232731; }
.custom-tour-next { border: 0; color: #fff; background: linear-gradient(135deg, #7447e8, #a34fd2); }
.custom-tour-back:disabled { opacity: .4; cursor: default; }
.customizer-tour-open .custom-processing { z-index: 70; }

@media (max-width: 900px) {
  .customizer { width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh; border: 0; border-radius: 0; }
  .customizer-topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px 14px;
  }
  .customizer-tabs { grid-column: 1 / -1; grid-row: 2; }
  .customizer-topbar-actions { grid-column: 2; grid-row: 1; }
  .customizer-body { grid-template-columns: 1fr; }
  .custom-sidebar-head,
  .custom-sidebar-body,
  .custom-sidebar-footer { padding-left: 16px; padding-right: 16px; }
  .custom-tour-card { width: calc(100% - 24px); padding: 17px; }
  .custom-tour-actions { align-items: stretch; flex-direction: column; }
  .custom-tour-actions > div { display: grid; grid-template-columns: 1fr 1fr; }
  .custom-tour-skip { order: 2; }
}

@media (max-width: 520px) {
  .customizer-brand span:last-child { max-width: 145px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .customizer-help,
  .builder-exit { padding: 8px 10px; }
  .customizer-help span { display: none; }
  .custom-tab { min-width: 104px; }
  .custom-operation-switch { width: 100%; flex-wrap: wrap; }
  .operation-chip { flex: 1 1 calc(50% - 8px); min-width: 0; }
}

.cart-added-notice {
  position: fixed;
  z-index: 120;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  width: min(390px, calc(100vw - 24px));
  padding: 13px 14px;
  border: 1px solid rgba(169, 115, 255, .34);
  border-radius: 15px;
  background: rgba(27, 29, 36, .97);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .32), 0 0 0 1px rgba(255, 255, 255, .04) inset;
  color: #f7f7fb;
  opacity: 0;
  transform: translateY(-8px) scale(.98);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.cart-added-notice.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.cart-added-notice-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, #8b5cf6, #ed5e95);
  color: #fff;
  font-weight: 900;
}
.cart-added-notice-copy { display: grid; min-width: 0; gap: 2px; }
.cart-added-notice-copy strong { font-size: .86rem; }
.cart-added-notice-copy > span {
  overflow: hidden;
  color: #b8bdc8;
  font-size: .76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cart-added-notice > a {
  color: #f5c86d;
  font-size: .78rem;
  font-weight: 800;
  white-space: nowrap;
}

/* Storefront refinement: quieter surfaces and a consistent shopping rhythm. */
:root { color-scheme: dark; }
body { -webkit-font-smoothing: antialiased; }
.page-shell { padding-top: 24px; }
.topbar, .order-page-topbar { box-shadow: 0 1px 0 rgba(255,255,255,.03); }
.topbar-inner, .order-page-topbar-inner { gap: 24px; padding-block: 10px; }
.order-page-topbar .site-nav a { font-family: Inter, sans-serif; font-size: 12px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.order-page-topbar .site-nav a.active { background: #343041; color: #e5d8ff; }
.order-page-topbar .topbar-actions { gap: 12px; }
.pricing-region-control select { max-width: 146px; border-color: var(--line); background: #20232b; color: #c3c7d0; font-size: 11px; }
.auth-link-button { font-family: Inter, sans-serif; text-transform: none; letter-spacing: 0; }
.cart-button { min-height: 42px; gap: 4px; box-shadow: none; font-size: 13px; }
.button { font-weight: 600; letter-spacing: 0; gap: 10px; transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.button.primary { background: #8b5cf6; box-shadow: 0 4px 14px rgba(139,92,246,.16); }
.button.primary:hover { background: #9970fb; box-shadow: 0 6px 18px rgba(139,92,246,.24); }
.button.secondary { color: #d2d5df; border-color: #3a3e49; background: rgba(30,33,41,.8); }
.button.secondary:hover { color: #fff; border-color: #8b79aa; background: #292d37; }
.button.dark { background: #e2d7ff; color: #241936; }
.button.dark:hover { background: #efe8ff; }
:where(a, button, input, select, textarea):focus-visible { outline: 2px solid #bd9aff; outline-offset: 4px; }
.button:disabled, button:disabled { cursor: not-allowed; transform: none; box-shadow: none; opacity: .48; }
.home-hero { margin-top: 0; }
.hero-copy p.hero-kicker-pill { padding: 7px 12px; font-family: Inter, sans-serif; font-size: 10px; font-weight: 600; letter-spacing: .12em; }
.hero-copy-banner p:not(.hero-kicker-pill) { max-width: 420px; font-size: 15px; line-height: 1.75; }
.hero-copy-banner .hero-actions { gap: 10px; }
.home-hero-stats { gap: 18px; margin-top: 28px; padding-top: 20px; border: 0; border-top: 1px solid rgba(255,255,255,.14); background: transparent; }
.home-hero-stats span { padding: 0; border: 0; border-radius: 0; background: transparent; font-size: 11px; }
.home-hero-stats strong { margin-bottom: 4px; color: #e2d7ff; font-size: 12px; }
.section-heading h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 550; line-height: 1.15; }
.section-heading p:not(.eyebrow) { max-width: 560px; font-size: 14px; line-height: 1.7; }
.eyebrow { font-family: Inter, sans-serif; font-size: 10px; font-weight: 600; letter-spacing: .15em; }
.product-card, .new-arrival-card { border-color: #323641; box-shadow: none; overflow: hidden; }
.product-card .product-body { padding: 20px; }
.product-card .product-title-row { gap: 14px; align-items: baseline; }
.product-card .product-title-row strong { font-size: 18px; font-weight: 600; line-height: 1.35; }
.product-card .product-price { font-family: Inter, sans-serif; font-weight: 600; white-space: nowrap; }
.product-header > p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.65; font-size: 13px; }
.product-card .product-overline { color: #b7aecb; font-size: 10px; }
.product-card .card-actions { margin-top: auto; gap: 8px; }
.product-card .card-actions .button { padding: 11px 12px; font-size: 12px; }
.catalog-results-bar { align-items: center; padding: 22px 24px; box-shadow: none; }
.catalog-results-copy h1 { font-size: clamp(30px, 3vw, 42px); font-weight: 550; }
.catalog-panel { padding: 20px 16px; box-shadow: none; }
.catalog-product-card .catalog-product-top strong { font-size: 16px; font-weight: 600; line-height: 1.4; }
.catalog-product-footer { flex-wrap: wrap; gap: 12px; }
.catalog-sort-control select { min-height: 40px; }
.product-detail-shell { gap: 28px; padding-top: 12px; }
.product-detail-gallery { padding: 12px; box-shadow: none; }
.product-detail-copy { padding: clamp(24px, 3vw, 40px); box-shadow: none; }
.product-detail-copy h1 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 550; line-height: 1.12; margin-top: 20px; }
.product-detail-description { font-size: 15px; line-height: 1.8; }
.product-detail-image img { object-fit: contain; }
.product-detail-stock-tag { display: inline-flex; padding: 7px 11px; margin-top: 18px; border-radius: 8px; }
.product-detail-stock-note { font-family: Inter, sans-serif; font-size: 11px; letter-spacing: .02em; text-transform: none; }
.product-detail-actions > button { flex: 1 1 130px; }
.product-detail-actions > a { flex-basis: 100%; border: 0; background: transparent; min-height: 32px; font-size: 12px; }
.product-detail-thumbnails { gap: 10px; padding: 4px; }
.product-detail-thumbnail.active { border-color: #b997fc; box-shadow: 0 0 0 2px rgba(185,151,252,.18); }
.detail-highlight { padding: 14px 16px; background: #1e222b; }
.detail-highlight span { font-family: Inter, sans-serif; font-size: 10px; letter-spacing: .04em; }
.detail-highlight strong { font-size: 13px; font-weight: 500; color: #d1d5df; }
.cart-summary-card, .contact-form-card, .order-receipt-card { box-shadow: none; }
.customer-footer { background: #12151b; }
.customer-footer-column a { transition: color .18s ease; }
.customer-footer-column a:hover { color: #d5bdff; }
.cart-added-notice[hidden] { display: none; }

@media (max-width: 1100px) {
  .order-page-topbar-inner { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
  .order-page-topbar .site-nav { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; justify-content: center; }
  .order-page-topbar .topbar-actions { grid-column: 2; grid-row: 1; }
  .catalog-panel { position: static; }
}
@media (max-width: 720px) {
  .page-shell { padding-top: 16px; }
  .order-page-topbar-inner { width: calc(100% - 28px); padding-block: 10px; }
  .order-page-topbar .brand-copy small { display: none; }
  .order-page-topbar .brand-copy strong { font-size: 15px; }
  .order-page-topbar .brand-mark { width: 32px; height: 32px; border-radius: 9px; }
  .order-page-topbar .topbar-actions { width: auto; gap: 8px; flex-wrap: nowrap; }
  .order-page-topbar .pricing-region-control { flex: 0 0 auto; }
  .order-page-topbar .pricing-region-control select { width: 70px; max-width: 70px; min-height: 36px; padding: 7px; }
  .cart-button { padding: 7px 10px; min-height: 36px; }
  .auth-link-button { font-size: 11px; }
  .home-hero { min-height: 460px; }
  .hero-copy-banner { max-width: 100%; padding: 28px 24px; }
  .hero-copy-banner h1 { font-size: clamp(36px, 9vw, 52px); font-weight: 500; }
  .home-hero::after { background: linear-gradient(90deg, rgba(16,18,24,.94), rgba(16,18,24,.62)); }
  .hero-copy-banner .hero-actions { flex-wrap: wrap; }
  .home-hero-stats { gap: 10px; grid-template-columns: repeat(3, minmax(0,1fr)); }
  .home-hero-stats span { line-height: 1.6; }
  .section-heading { gap: 16px; align-items: flex-start; }
  .catalog-results-bar { padding: 18px; flex-wrap: wrap; gap: 14px; }
  .catalog-panel { padding: 16px; }
  .catalog-sort-control { width: 100%; justify-content: space-between; }
  .product-detail-shell { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .product-detail-copy { padding: 24px; }
  .product-detail-copy h1 { font-size: 32px; }
  .product-detail-gallery { padding: 10px; }
}
@media (max-width: 420px) {
  .order-page-topbar .brand-copy { display: none; }
  .order-page-topbar .auth-chip { max-width: 78px; }
  .hero-copy-banner { padding: 26px 20px; }
  .hero-copy-banner .hero-actions .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .button, .product-card, .new-arrival-card, .shop-category-card, .cart-added-notice { transition: none; }
  .product-card:hover, .new-arrival-card:hover, .shop-category-card:hover, .button:hover { transform: none; }
}

@media (max-width: 520px) {
  .cart-added-notice { grid-template-columns: auto minmax(0, 1fr); }
  .cart-added-notice > a { grid-column: 2; }
}
