/* Satima SmartBOTS - "bright violet" storefront theme.
   Loaded only when templating.bright_theme(request) is true (storefront pages, never admin),
   and every rule is scoped under body.bright so removing the <link> restores the classic
   look exactly. Strategy: remap the shared colour variables first (most of the site already
   uses var(--ink/--slate/--panel...)), then restyle the pieces that need real design work:
   page background, header/trust bar, product cards, PDP buy box, buttons, badges, forms.
   Mobile first: tap targets >= 44px, text >= 12px except tiny mono labels, no overflow. */

body.bright{
  --void:#2a0a63; --deep:#3b1380; --panel:rgba(255,255,255,0.10); --panel2:rgba(255,255,255,0.15);
  --blue:#8f7bff; --cyan:#7cf0ff; --orange:#ff9a3c; --ink:#ffffff; --slate:#e6d8fc;
  --line:rgba(255,255,255,0.26); --green:#86f2b8; --amber:#ffe066; --red:#ff9db4;
  --pink:#ff4d8d; --sun:#ffe066;
  --btn-grad:linear-gradient(90deg,#ff4d8d,#ff9a3c);

  background-color:#3b1380;
  background-image:
    radial-gradient(ellipse 75% 38% at 8% 0%, rgba(124,240,255,0.28), transparent 62%),
    radial-gradient(ellipse 65% 38% at 96% 4%, rgba(255,77,141,0.36), transparent 62%),
    linear-gradient(180deg,#2a0a63 0%,#4a1590 90vh,#5b1aa6 220vh,#8a1fa0 100%);
  background-size:100% 100vh, 100% 100vh, 100% 100%;
  background-position:top left, top right, top left;
  background-repeat:no-repeat;
  color:#fff;
}
body.bright ::selection{background:#ffe066; color:#2b0a3f;}
body.bright a:focus-visible, body.bright button:focus-visible, body.bright input:focus-visible,
body.bright select:focus-visible, body.bright textarea:focus-visible{outline:3px solid #ffe066; outline-offset:2px;}

/* ---------- header / trust bar ---------- */
body.bright .topnav{background:rgba(42,10,99,0.90); border-bottom:1px solid rgba(255,255,255,0.22);}
body.bright .topnav-trust-inner{
  background:linear-gradient(90deg,rgba(255,77,141,0.38),rgba(255,154,60,0.32)); border-color:rgba(255,255,255,0.38);
}
body.bright .topnav-trust .call, body.bright .trust-bar .call{color:#ffe066;}
body.bright .trust-bar{background:linear-gradient(90deg,#c2288c,#ff7a2f); border-bottom:0; color:#fff;}
body.bright .navlinks a{color:#fff; font-weight:600;}
body.bright .navlinks a:hover{color:#ffe066;}
body.bright .cart-icon-btn{width:44px; height:44px; font-size:19px; background:rgba(255,255,255,0.18); border:1px solid rgba(255,255,255,0.4);}
body.bright .cart-badge{background:#ffe066; color:#2b0a3f; top:-5px; right:-5px; min-width:20px; height:20px; font-size:11px; border-radius:100px;}

/* ---------- footer ---------- */
body.bright footer.site-footer{background:rgba(26,4,70,0.55); border-top:1px solid rgba(255,255,255,0.22); color:var(--slate); font-size:12px;}
body.bright .social{width:44px; height:44px; background:rgba(255,255,255,0.16); border-color:rgba(255,255,255,0.4);}
body.bright .social:hover{border-color:#ffe066;}
body.bright .fab-main{width:48px; height:48px;}
body.bright .fab-main svg{width:23px; height:23px;}

/* ---------- buttons ---------- */
body.bright .btn{border-radius:14px; min-height:48px; font-weight:800;}
body.bright .btn-primary{background:var(--btn-grad); color:#2b0a3f; box-shadow:0 8px 22px rgba(255,77,141,0.38);}
body.bright .btn-secondary{background:rgba(255,255,255,0.16); border:1px solid rgba(255,255,255,0.42); color:#fff;}
body.bright .btn-sm{background:rgba(255,255,255,0.16); border:1px solid rgba(255,255,255,0.38); color:#fff; border-radius:12px;}
body.bright .btn-sm:hover{border-color:#ffe066;}
body.bright .btn-sm.primary{background:var(--btn-grad); border-color:transparent; color:#2b0a3f; font-weight:800;}
body.bright .btn.compact{min-height:44px;}

/* ---------- badges ---------- */
body.bright .badge{border-radius:999px; padding:5px 11px; font-size:10.5px;}
body.bright .badge.new{background:var(--btn-grad); color:#2b0a3f; border-color:transparent;}
body.bright .badge.bestseller{background:#ffe066; color:#2b0a3f; border-color:transparent;}
body.bright .badge.off{background:rgba(20,4,60,0.72); color:#fff; border-color:rgba(255,255,255,0.4);}
body.bright .badge.campaign-cyan{background:#7cf0ff; color:#0d0540; border-color:transparent;}
body.bright .badge.campaign-orange{background:#ff9a3c; color:#2b0a3f; border-color:transparent;}
body.bright .badge.campaign-green{background:#86f2b8; color:#06301a; border-color:transparent;}
body.bright .badge.campaign-red{background:#ff6f93; color:#2b0a3f; border-color:transparent;}
body.bright .badge.campaign-amber{background:#ffe066; color:#2b0a3f; border-color:transparent;}

/* ---------- homepage: heading + product cards ---------- */
body.bright .shop-head{text-align:center; margin:30px auto 22px; max-width:680px;}
/* one line on every screen: Orbitron 900 needs ~5.5vw at 320px for this text, so 5.3vw leaves a margin */
body.bright .shop-head h1{font-size:clamp(15px,5.3vw,42px); white-space:nowrap; font-weight:900; line-height:1.15; text-shadow:0 3px 18px rgba(0,0,0,0.3);}
body.bright .shop-head p{color:#f3e8ff; font-size:clamp(15px,3.8vw,18px); margin-top:8px;}
body.bright .grid-title{color:#fff;}

body.bright .product-grid{gap:18px;}
body.bright .p-card{
  --accent:#7cf0ff; color:#fff;
  background:rgba(255,255,255,0.11); border:2px solid rgba(255,255,255,0.24);
  display:flex; flex-direction:column; border-radius:22px; box-shadow:0 14px 34px rgba(20,4,70,0.35); backdrop-filter:blur(4px);
}
body.bright .p-card.glow-cyan{--accent:#7cf0ff;}
body.bright .p-card.glow-orange{--accent:#ff9a3c;}
body.bright .p-card.glow-green{--accent:#86f2b8;}
body.bright .p-card:hover{transform:translateY(-5px); border-color:var(--accent); box-shadow:0 18px 40px rgba(20,4,70,0.5);}
body.bright .p-card .thumb{
  margin:10px; padding:6%; border-radius:16px; aspect-ratio:1;
  background:radial-gradient(circle at 50% 42%, var(--glow-color), rgba(255,255,255,0.06) 72%);
  width:auto;
}
body.bright .p-card .body{padding:6px 16px 16px; display:flex; flex-direction:column; flex:1;}
body.bright .p-card .body span.btn-sm{margin-top:auto !important;}
body.bright .product-grid{grid-auto-rows:1fr;}
/* campaign / stock ribbon across the top of the card - never covers the toy */
body.bright .p-card .ribbon{background:var(--accent); text-align:center; padding:7px 10px; line-height:1;}
body.bright .p-card .ribbon.off{background:rgba(20,4,60,0.85);}
body.bright .p-card .ribbon.empty{padding:0; height:6px;}
body.bright .p-card .ribbon .badge{background:transparent; border:0; padding:0; color:#2b0a3f; font-size:11.5px; letter-spacing:1.4px; font-weight:800;}
body.bright .p-card .ribbon.off .badge{color:#fff;}
body.bright .p-card .meta-row{display:flex; align-items:center; flex-wrap:wrap; gap:4px 8px; margin-bottom:8px;}
body.bright .p-card .meta-row .cat{margin:0;}
body.bright .p-card h3{font-family:'Orbitron',sans-serif; font-size:18px; font-weight:800; color:#fff; margin-bottom:2px;}
body.bright .p-card .cat{font-size:11px; color:var(--accent); letter-spacing:1px; margin-bottom:8px;}
body.bright .p-card .now{font-size:21px; color:#ffe066;}
body.bright .p-card .was{font-size:13px; color:var(--slate);}
body.bright .p-card .body span.btn-sm{
  min-height:46px; display:flex !important; align-items:center; justify-content:center; font-size:14px; border-radius:14px;
  background:var(--btn-grad); border:0; color:#2b0a3f; font-weight:800; margin-top:12px !important;
  box-shadow:0 6px 16px rgba(255,77,141,0.35);
}
body.bright .p-card .badges{top:16px; left:16px; z-index:3; flex-wrap:wrap;}
body.bright .p-card .price-row{flex-wrap:wrap; gap:0 10px;}
body.bright .p-card .now{white-space:nowrap;}

@media(max-width:680px){
  body.bright .product-grid{grid-template-columns:1fr; gap:18px; grid-auto-rows:1fr;}
  body.bright .p-card{border-radius:22px;}
  body.bright .product-grid .p-card .thumb{margin:10px 10px 4px; padding:4%; aspect-ratio:5/4; border-radius:16px;}
  body.bright .product-grid .p-card .body{padding:6px 16px 16px; display:grid; grid-template-columns:1fr auto; grid-template-rows:auto auto auto;
    column-gap:14px; align-items:center;}
  body.bright .product-grid .p-card h3{grid-column:1; grid-row:1; font-size:22px; margin:0;}
  body.bright .product-grid .p-card .meta-row{grid-column:1; grid-row:2; margin:2px 0 0;}
  body.bright .product-grid .p-card .price-row{grid-column:2; grid-row:1 / span 2; flex-direction:column; align-items:flex-end; gap:0;}
  body.bright .product-grid .p-card .now{font-size:24px;}
  body.bright .product-grid .p-card .was{font-size:13px;}
  body.bright .product-grid .p-card .body span.btn-sm{grid-column:1 / -1; grid-row:3; margin-top:12px !important; min-height:48px; font-size:15px;}
  body.bright .p-card h3{font-size:15px; white-space:normal; overflow:visible; margin-bottom:1px;}
  body.bright .p-card .cat{font-size:10px; margin-bottom:6px;}
  body.bright .p-card .now{font-size:15px;}
  body.bright .p-card .was{font-size:11.5px;}
  body.bright .p-card .body span.btn-sm{font-size:13px; min-height:42px; margin-top:6px !important; padding:0 6px;}
  body.bright .p-card .thumb.cutout-frame::after, body.bright .p-card .thumb-deco{display:none;}  /* decorative sprites crowded the badge on narrow cards */
}

/* related row on product pages reuses .p-card: keep it compact */
body.bright .related-row .p-card .thumb{margin:6px;}
body.bright .related-row .p-card h3{font-size:13px;}
body.bright .related-row .p-card .now{font-size:14px;}
body.bright .related-row .p-card .body span.btn-sm{display:none !important;}
@media(max-width:680px){
  body.bright .related-row .p-card h3{font-size:11.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
  body.bright .related-row .p-card .now{font-size:12.5px;}
  body.bright .related-row .p-card .was{font-size:10px;}
  body.bright .related-row .p-card .cat{font-size:8.5px;}
}

/* ---------- product page ---------- */
body.bright .pdp-info .kicker{color:#ffe066;}
body.bright .pdp-info h1{color:#fff; text-shadow:0 3px 16px rgba(0,0,0,0.25);}
body.bright .pdp-info .pitch-line{color:#fff;}
body.bright .price-block .now{color:#ffe066; font-size:26px;}
body.bright .price-block .was{color:var(--slate);}
body.bright .price-block .save{color:#86f2b8; font-size:12.5px;}
body.bright .purchase-card{
  background:rgba(255,255,255,0.13); border:2px solid rgba(255,255,255,0.3); border-radius:22px;
  box-shadow:0 16px 40px rgba(20,4,70,0.4); backdrop-filter:blur(6px);
}
body.bright .proximity-trust-strip{background:linear-gradient(90deg,rgba(255,77,141,0.30),rgba(255,154,60,0.26)); border-color:rgba(255,255,255,0.34); color:#fff;}
body.bright .proximity-trust-strip .arrow{color:#ffe066;}
body.bright .courier-line{color:#86f2b8;}
body.bright .gallery-main{border-radius:22px; background:radial-gradient(circle at 50% 45%, var(--glow-color, rgba(124,240,255,0.30)), rgba(255,255,255,0.05) 72%);}
body.bright .gallery-thumbs .t{background:rgba(255,255,255,0.16); border-radius:12px;}
body.bright .gallery-thumbs .t.active{border-color:#ffe066;}
body.bright .video-thumb .play-glyph{background:rgba(42,10,99,0.6);}
body.bright .feature-prose{border:1px solid rgba(255,255,255,0.22); border-radius:20px;}
body.bright .feature-prose.panel-tone-a{background:rgba(255,255,255,0.11);}
body.bright .feature-prose.panel-tone-b{background:rgba(255,154,60,0.14);}
body.bright .feature-prose p, body.bright .feature-cell .fc-sub{color:#f3e8ff;}
body.bright .section h2, body.bright .feature-cell .fc-title{color:#fff;}
body.bright .section .sub{color:var(--slate);}
body.bright .seq-chip{background:rgba(255,255,255,0.16); border-color:rgba(255,255,255,0.42); color:#fff;}
body.bright .seq-chip.accent{background:#ffe066; border-color:transparent; color:#2b0a3f;}
body.bright .benefits-strip{border-color:rgba(255,255,255,0.3); color:#fff;}
body.bright .battery-spec-table{border-radius:14px;}
body.bright .box-label{color:#86f2b8;}
body.bright .box-label.excluded{color:#ffb35c;}
body.bright .box-label.pro-tip{color:#7cf0ff;}
body.bright .callout{background:rgba(255,224,102,0.14); border-color:rgba(255,224,102,0.45); color:#fff;}
body.bright .restock-box{background:rgba(255,224,102,0.12); border-color:rgba(255,224,102,0.45); border-radius:18px;}
body.bright .restock-box input{background:rgba(255,255,255,0.16);}
body.bright .qty-stepper{border-radius:12px; border-color:rgba(255,255,255,0.4);}
body.bright .qty-stepper button{background:rgba(255,255,255,0.16); min-width:44px; min-height:44px;}
body.bright .qty-stepper.compact button{width:40px; height:44px; font-size:16px;}
body.bright .qty-stepper.compact span{width:30px; font-size:14px;}
body.bright .pdp-mobile-bar .btn{box-shadow:0 10px 26px rgba(255,77,141,0.5);}
@media(max-width:680px){
  body.bright .price-block .now{font-size:21px;}
  body.bright .btn.compact{font-size:13px; padding:10px 14px;}
  body.bright .purchase-card{border-radius:18px; padding:14px;}
}

/* ---------- cart drawer, toast ---------- */
body.bright [x-cloak]{display:none !important;}

/* ---------- checkout, order pages, forms ---------- */
body.bright .field input, body.bright .field select, body.bright .field textarea,
body.bright .restock-box input{background:rgba(255,255,255,0.16); border:1.5px solid rgba(255,255,255,0.4); border-radius:12px; color:#fff; min-height:46px; font-size:16px;}
body.bright input::placeholder, body.bright textarea::placeholder{color:rgba(255,255,255,0.62);}
body.bright select option{background:#3b1380; color:#fff;}
body.bright .field label{color:#f3e8ff; font-size:13px;}
body.bright .method-toggle label{background:rgba(255,255,255,0.12); border:2px solid rgba(255,255,255,0.3); border-radius:16px; min-height:56px;}
body.bright .method-toggle label.active{border-color:#ffe066; background:rgba(255,224,102,0.16);}
body.bright .co-step .label{color:#ffe066;}
body.bright .co-step .n{border-color:#ffe066;}
body.bright .summary-box{background:rgba(255,255,255,0.13); border:2px solid rgba(255,255,255,0.3); border-radius:22px;}
body.bright .summary-row.total{color:#ffe066; gap:14px; align-items:baseline;}
body.bright .submit-btn:disabled{opacity:1; background:rgba(255,255,255,0.18); color:#e6d8fc; box-shadow:none; cursor:not-allowed;}
body.bright .consent-detail{background:rgba(255,255,255,0.12);}
body.bright .consent-check input{width:22px; height:22px; accent-color:#ff4d8d;}
body.bright .free-tag{color:#86f2b8;}
body.bright .alert-error{background:rgba(255,111,147,0.2); color:#fff;}

@media(prefers-reduced-motion:reduce){
  body.bright .p-card:hover{transform:none;}
}
