
/* TikiBoom Store Theme - shared customer-facing dark mode */
.store-theme-page{transition:background .3s ease,color .3s ease}
.store-theme-page.dark-mode,
html:has(.store-theme-page.dark-mode){background:#0a0f1d!important}
.store-theme-page.dark-mode{color:#edf2ff!important}
.store-theme-page.dark-mode header,
.store-theme-page.dark-mode .header,
.store-theme-page.dark-mode .box,
.store-theme-page.dark-mode .cart-item,
.store-theme-page.dark-mode .coupon-box,
.store-theme-page.dark-mode .summary,
.store-theme-page.dark-mode .empty,
.store-theme-page.dark-mode .success-box,
.store-theme-page.dark-mode .card,
.store-theme-page.dark-mode .product-card,
.store-theme-page.dark-mode .order-card,
.store-theme-page.dark-mode .details,
.store-theme-page.dark-mode .form-box,
.store-theme-page.dark-mode .login-box,
.store-theme-page.dark-mode .register-box{
  background:linear-gradient(145deg,#141b2d,#101625)!important;
  color:#edf2ff!important;
  border-color:#26324a!important;
  box-shadow:0 18px 50px rgba(0,0,0,.28)!important;
}
.store-theme-page.dark-mode input,
.store-theme-page.dark-mode textarea,
.store-theme-page.dark-mode select{
  background:#0d1424!important;color:#f8fafc!important;border-color:#334155!important;
}
.store-theme-page.dark-mode input::placeholder,
.store-theme-page.dark-mode textarea::placeholder{color:#7f8ba3!important}
.store-theme-page.dark-mode p,
.store-theme-page.dark-mode .muted,
.store-theme-page.dark-mode .subtext,
.store-theme-page.dark-mode .welcome,
.store-theme-page.dark-mode label{color:#aeb9cd!important}
.store-theme-page.dark-mode .back,
.store-theme-page.dark-mode .btn:not(.primary),
.store-theme-page.dark-mode .shop,
.store-theme-page.dark-mode .note,
.store-theme-page.dark-mode .coupon-input{
  background:#202a40!important;color:#edf2ff!important;border-color:#334155!important;
}
.store-theme-page.dark-mode .hero{background:radial-gradient(circle at 15% 15%,rgba(255,105,160,.16),transparent 35%),radial-gradient(circle at 85% 20%,rgba(110,120,255,.18),transparent 35%),linear-gradient(135deg,#151b31,#0e1727)!important;border-color:#293552!important}
.store-theme-page.dark-mode .hero h1,
.store-theme-page.dark-mode .hero h2,
.store-theme-page.dark-mode h1,
.store-theme-page.dark-mode h2,
.store-theme-page.dark-mode h3{color:#f8fbff!important}
.store-theme-page.dark-mode .data-row,
.store-theme-page.dark-mode .item,
.store-theme-page.dark-mode tr,
.store-theme-page.dark-mode .divider{border-color:#29344a!important}
.store-theme-page.dark-mode .status{background:#352b20!important;color:#ffc77a!important}
.store-theme-page.dark-mode .wa{background:#123126!important;color:#73e2ad!important}
.store-theme-page.dark-mode a:hover{color:#ff79ae}


/* Global customer dark mode reinforcement: the choice follows the customer everywhere. */
html:has(body.dark-mode), body.dark-mode {
  background:#0a0f1d!important; color:#edf2ff!important;
}
body.dark-mode .container, body.dark-mode main, body.dark-mode section, body.dark-mode .content {
  color:#edf2ff;
}
body.dark-mode .cart-item, body.dark-mode .coupon-box, body.dark-mode .summary,
body.dark-mode .box, body.dark-mode .product-box, body.dark-mode .form-box,
body.dark-mode .success-box, body.dark-mode .empty, body.dark-mode .order-box,
body.dark-mode .order-card, body.dark-mode .details-box {
  background:linear-gradient(145deg,#141b2d,#101625)!important;
  color:#edf2ff!important; border-color:#29344a!important;
}
body.dark-mode header { background:#101625!important; color:#edf2ff!important; border-color:#29344a!important; }
body.dark-mode .logo small, body.dark-mode .details, body.dark-mode .muted, body.dark-mode .hint,
body.dark-mode .subtext, body.dark-mode .description { color:#aeb9cd!important; }
body.dark-mode input, body.dark-mode textarea, body.dark-mode select {
  background:#0d1424!important; color:#f8fafc!important; border-color:#334155!important;
}
body.dark-mode .back, body.dark-mode .shop, body.dark-mode .btn:not(.primary) {
  background:#202a40!important; color:#edf2ff!important; border-color:#334155!important;
}
body.dark-mode .flash-msg, body.dark-mode .note { background:#1c2940!important; color:#dbeafe!important; border-color:#334155!important; }
body.dark-mode .remove-form button, body.dark-mode .clear { background:#3a2027!important; color:#ffb8c1!important; }
body.dark-mode .coupon-input { background:#0d1424!important; color:#fff!important; border-color:#334155!important; }
body.dark-mode .category, body.dark-mode .status, body.dark-mode .reservation-badge { filter:brightness(.88); }


/* Android PWA install shortcut */
.tb-install-app-btn{
  position:fixed; top:82px; right:14px; z-index:9998;
  border:0; border-radius:999px; padding:10px 14px;
  background:linear-gradient(135deg,#e63946,#ff6b25); color:#fff;
  box-shadow:0 10px 28px rgba(230,57,70,.28);
  font:900 13px/1 Arial,Tahoma,sans-serif; cursor:pointer;
  display:flex; align-items:center; gap:6px;
  animation:tbInstallPulse 2.2s ease-in-out infinite;
}
.tb-install-app-btn[hidden]{display:none!important}
@keyframes tbInstallPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.035)}}
body.dark-mode .tb-install-app-btn{box-shadow:0 10px 28px rgba(230,57,70,.35)}
@media(max-width:600px){.tb-install-app-btn{top:76px;right:10px;padding:9px 12px;font-size:12px}}


/* Dark mode readability fixes requested for product browsing and order success. */
body.dark-mode .product-name,.store-theme-page.dark-mode .product-name{color:#f8fbff!important}
body.dark-mode .products-count,.store-theme-page.dark-mode .products-count{color:#cbd5e1!important}
body.dark-mode .section-title h2,.store-theme-page.dark-mode .section-title h2{color:#ffffff!important;text-shadow:0 1px 2px rgba(0,0,0,.25)}
body.dark-mode .hero p,.store-theme-page.dark-mode .hero p{color:#dbe4f2!important}
body.dark-mode .success-icon,.store-theme-page.dark-mode .success-icon{background:#123b2b!important;color:#69f0a7!important;box-shadow:0 0 0 6px rgba(105,240,167,.10)}
body.dark-mode .success-box h1,.store-theme-page.dark-mode .success-box h1{color:#ffffff!important}
body.dark-mode .message,.store-theme-page.dark-mode .message{color:#cbd5e1!important}
body.dark-mode .order-number span,.store-theme-page.dark-mode .order-number span{color:#cbd5e1!important}
body.dark-mode .status,.store-theme-page.dark-mode .status{background:#352b20!important;color:#ffd08a!important}
