/* COMMON BTF CSS */

/* FOOTER SOCIAL SECTION */
.footer-social-section{margin-bottom:2rem;padding-bottom:2rem;border-bottom:1px solid rgba(255,255,255,.1);}
.footer-social-section h3{font-size:1.125rem;margin-bottom:1rem;color:#f8fafc;}
/* Footer */
.footer{
    position:relative;
    isolation:isolate;
    overflow:hidden;
    border-top:none;
    padding:3rem 1rem;
    color:#e2e8f0;
    background-color:#1b182c;
    background-image:
        radial-gradient(ellipse 70% 80% at 8% 20%,rgba(51,124,237,.22) 0%,transparent 55%),
        radial-gradient(ellipse 60% 70% at 92% 80%,rgba(99,102,241,.14) 0%,transparent 52%),
        linear-gradient(135deg,#26353c 0%,#14262cba 42%,#1b182c 100%);
    -webkit-backdrop-filter:blur(18px) saturate(1.2);
    backdrop-filter:blur(18px) saturate(1.2);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}
.footer::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:0;
    pointer-events:none;
    background:
        linear-gradient(115deg,transparent 0%,rgba(255,255,255,.04) 42%,transparent 68%),
        radial-gradient(circle at 18% 78%,rgba(56,189,248,.08) 0%,transparent 42%);
    opacity:.95;
}
.footer > .container{position:relative;z-index:1;}
.footer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.75rem 1.25rem;margin-bottom:2rem;}
.footer-section h3{font-size:1rem;margin-bottom:1rem;color:#f8fafc;}
.footer-links{list-style:none;}
.footer-links li{margin-bottom:.5rem;}
.footer-links a{color:rgba(226,232,240,.72);font-size:.8rem;transition:color .3s;}
.footer-links a:hover{color:#93c5fd;}
.footer-social{display:flex;gap:1rem;margin-top:1rem;}
.social-icon{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);color:#e2e8f0;display:flex;align-items:center;justify-content:center;transition:all .3s;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);}
.social-icon:hover{background:rgba(59,130,246,.35);border-color:rgba(147,197,253,.35);color:#fff;}
.footer-bottom{text-align:center;padding-top:2rem;border-top:1px solid rgba(255,255,255,.1);}
.footer-logo{display:inline-flex;align-items:center;gap:.5rem;margin-bottom:1rem;}
/* .footer-logo img{width:120px;filter:none;opacity:.85;} */
.footer-logo svg{max-width:200px;max-height:106px;filter:grayscale(1) invert(0.85);opacity:0.5;}
.footer-text{color:rgba(226,232,240,.65);font-size:.875rem;}
@media (min-width:1025px){
.footer-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:2rem;}
.footer-section h3{font-size:1.125rem;}
.footer-links a{font-size:.875rem;}
}

/* Chatbot */
/* .chatbot-button{position:fixed;bottom:5rem;right:1rem;width:64px;height:64px;border-radius:50%;background:linear-gradient(135deg,#3b82f6 0%,#8b5cf6 100%);color:#fff;box-shadow:0 10px 30px rgba(59,130,246,.4);display:flex;align-items:center;justify-content:center;font-size:1.75rem;z-index:1000;transition:transform .3s;}
.chatbot-button svg{width:40px;height:40px;}
.chatbot-button:hover{transform:scale(1.1);}
.chatbot-window{position:fixed;bottom:1.5rem;right:1.5rem;width:400px;height:600px;background:#fff;border-radius:16px;box-shadow:0 20px 60px rgba(0,0,0,.2);display:none;flex-direction:column;overflow:hidden;z-index:1000;}
.chatbot-window.active{display:flex;}
.chatbot-header{background:linear-gradient(135deg,#3b82f6 0%,#8b5cf6 100%);color:#fff;padding:1rem;}
.chatbot-header-content{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem;}
.chatbot-title{display:flex;align-items:center;gap:.75rem;}
.chatbot-avatar{width:40px;height:40px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;color:#3b82f6;}
.chatbot-close{background:rgba(255,255,255,.2);color:#fff;width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;}
.whatsapp-btn{width:100%;padding:.5rem;background:#25d366;color:#fff;border-radius:8px;font-size:.875rem;font-weight:600;display:flex;align-items:center;justify-content:center;gap:.5rem;}
.chatbot-messages{flex:1;padding:1rem;overflow-y:auto;background:#f9fafb;}
.chat-message{margin-bottom:1rem;display:flex;}
.chat-message.user{justify-content:flex-end;}
.message-bubble{max-width:80%;padding:.75rem 1rem;border-radius:16px;}
.message-bubble.user{background:linear-gradient(135deg,#3b82f6 0%,#8b5cf6 100%);color:#fff;}
.message-bubble.assistant{background:#e5e7eb;color:#1a1a1a;}
.chatbot-input{padding:1rem;border-top:1px solid #e5e7eb;background:#f9fafb;display:flex;gap:.5rem;}
.chatbot-input input{flex:1;padding:.75rem 1rem;border:1px solid #e5e7eb;border-radius:50px;outline:none;}
.chatbot-send{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#3b82f6 0%,#8b5cf6 100%);color:#fff;display:flex;align-items:center;justify-content:center;}
@media (min-width:1025px){
    .chatbot-button{bottom:1.5rem;right:1.5rem;}
} */

/* Responsive */
@media (max-width:768px){
    /* .nav-desktop{display:none;}
    .nav-mobile{display:flex;gap:.5rem;}
    .hero-title{font-size:2rem;}
    .category-grid{grid-template-columns:repeat(2,1fr);}
    .chatbot-window{width:100%;height:100vh;bottom:0;right:0;border-radius:0;} */
}

/* Modal */
.modal{position:fixed;inset:0;background:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;z-index:3000;opacity:0;visibility:hidden;transition:all .3s;}
.modal.active{opacity:1;visibility:visible;}
.modal-content{background:#fff;border-radius:16px;width:90%;max-width:500px;max-height:90vh;overflow-y:auto;transform:translateY(20px);transition:transform .3s;}
.modal.active .modal-content{transform:translateY(0);}
.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid #e5e7eb;}
.modal-header h3{font-size:1.25rem;font-weight:700;}
.modal-close{width:32px;height:32px;border-radius:8px;background:#f3f4f6;display:flex;align-items:center;justify-content:center;transition:background .3s;}
.modal-close:hover{background:#e5e7eb;}
.modal-body{padding:1.5rem;}
.forum-form .form-group{margin-bottom:1rem;}
.forum-form label{display:block;font-size:.875rem;font-weight:500;color:#374151;margin-bottom:.5rem;}
.forum-form input,.forum-form textarea,.forum-form select{width:100%;padding:.75rem;border:1px solid #e5e7eb;border-radius:8px;font-size:.875rem;font-family:inherit;}
.forum-form textarea{resize:vertical;}
.modal-footer{display:flex;justify-content:flex-end;gap:.75rem;padding:1.5rem;border-top:1px solid #e5e7eb;}
.modal-btn{padding:.75rem 1.5rem;border-radius:8px;font-weight:600;font-size:.875rem;display:inline-flex;align-items:center;gap:.5rem;transition:all .3s;}
.modal-btn.secondary{background:#f3f4f6;color:#374151;}
.modal-btn.secondary:hover{background:#e5e7eb;}
.modal-btn.primary{background:linear-gradient(135deg,#3b82f6 0%,#8b5cf6 100%);color:#fff;}
.modal-btn.primary:hover{transform:translateY(-2px);}
/* Responsive Styles for Search Results */
@media (max-width:1024px){}

.review-all{ display:flex; justify-content:center; margin:10px auto 25px; }
.review-all a { display:inline-flex; align-items:center; justify-content:center; height:37px; padding:0 45px; text-decoration:none; font-weight:600; border-radius:6px; font-size:14px; transition:0.2s ease; background:#1a73e8; color:#fff; }
/* Autocomplete premium skin lives in common-atf.css (with search UI) */


/* =========================================================
   NAVIGATION — BELOW THE FOLD (mega menu, mobile drawer, account panels)
   Loaded via common-btf.css after first paint.
   ========================================================= */

/* ---------- Account cards ---------- */
.nav-account-card {
  border-radius: 18px;
  padding: 1.1rem 1.15rem 1.15rem;
  background: linear-gradient(145deg, #f5f3ff 0%, #eef2ff 55%, #f8fafc 100%);
  border: 1px solid rgba(124, 58, 237, 0.12);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.08);
}

.nav-account-card--dropdown {
  background: transparent;
  box-shadow: none;
}

.nav-account-card__user {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.nav-account-card--out {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}

.nav-account-card__name {
  display: block;
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
}

.nav-account-card__mobile {
  display: block;
  color: #64748b;
  font-size: 0.8125rem;
  margin-top: 0.15rem;
}

.nav-account-card__copy {
  margin: 0;
  color: #64748b;
  font-size: 0.8125rem;
  line-height: 1.45;
}

.nav-account-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.35rem;
  color: #16a34a;
  font-size: 0.75rem;
  font-weight: 600;
}

.nav-account-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-bottom: 0.7rem;
}

.nav-account-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.5rem 0.65rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #1e293b;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.nav-account-chip:hover {
  border-color: rgba(237, 56, 51, 0.25);
  color: #ed3833;
}

.nav-account-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  color: #ed3833;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.35rem 0.1rem;
}

.nav-account-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: linear-gradient(90deg, #ed3833 0%, #f97316 100%);
  color: #fff !important;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(237, 56, 51, 0.28);
}

.nav-account-cta:hover {
  filter: brightness(1.03);
  color: #fff !important;
}

.menu-account-wrap {
  margin: 0 0 1.25rem;
  flex-shrink: 0;
}

/* ---------- Mega menu host + full-viewport backdrop (body-level) ---------- */
.px-mega-overlay {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  z-index: 1005;
  background: rgba(248, 250, 255, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s;
}

.px-mega-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  backdrop-filter: blur(10px) saturate(2.5);
  -webkit-backdrop-filter: blur(10px) saturate(2.5);
}

.px-mega-host {
  position: fixed;
  top: var(--px-mega-top, 88px);
  left: var(--px-mega-left, 16px);
  width: var(--px-mega-width, min(1280px, calc(100vw - 32px)));
  max-width: calc(100vw - 32px);
  z-index: 999999;
  padding-top: 18px; /* safe hover bridge under header — prevents flicker */
  box-sizing: border-box;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  overflow: visible;
}

.px-mega-host.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.px-mega-host .px-mega {
  position: relative;
  top: auto;
  left: auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding-top: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: none;
  z-index: auto;
  display: none;
  transition: none;
  box-sizing: border-box;
}

.px-mega-host .px-mega.is-active {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.px-mega-host .px-mega::before {
  display: none;
}

.px-mega__inner {
  display: grid;
  /* LHS promo + expanded main nav (RHS Best Deals removed) */
  grid-template-columns: clamp(168px, 15vw, 210px) minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  padding: 0;
  border-radius: 20px;
  background: #ffffff !important;
  background-color: #ffffff !important;
  opacity: 1 !important;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.14);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  height: auto;
  max-height: calc(100vh - var(--px-mega-top, 88px) - 16px);
  overflow-x: hidden;
  overflow-y: hidden;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  isolation: isolate;
}

/* LEFT featured card — fixed width; stays fully visible while center scrolls */
.px-mega__feature {
  min-width: 0;
  width: 100%;
  min-height: 0;
  max-height: 100%;
  /* padding: 0.9rem;
  border-right: 1px solid rgba(15, 23, 42, 0.06); */
  overflow: hidden;
  box-sizing: border-box;
  align-self: stretch;
}

.px-mega__feature-card {
  height: 100%;
  min-height: 0;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1rem 0.95rem 1.25rem;
  border-radius: 0;
  background: linear-gradient(165deg, #f8fafc 0%, #eef2ff 55%, #f8fafc 100%);
  /* border: 1px solid rgba(99, 102, 241, 0.12); */
  box-sizing: border-box;
  overflow: hidden;
}

.px-mega__feature-copy {
  flex-shrink: 0;
  min-width: 0;
}

.px-mega__feature-title {
  margin: 0 0 0.35rem;
  color: #0f172a;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  word-break: break-word;
}

.px-mega__feature-desc {
  margin: 0;
  color: #64748b;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.45;
  overflow-wrap: break-word;
}

.px-mega__feature-media {
  flex: 1 1 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.px-mega__feature-media img {
  display: block;
  max-width: 100%;
  max-height: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.px-mega__feature-cta {
  flex-shrink: 0;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  min-height: 42px;
  padding: 0.65rem 0.85rem;
  border-radius: 11px;
  background: linear-gradient(90deg, #ed3833 0%, #f97316 100%);
  color: #fff !important;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(237, 56, 51, 0.25);
  box-sizing: border-box;
  text-align: center;
}

.px-mega__feature-cta:hover {
  filter: brightness(1.03);
  color: #fff !important;
}

/*
 * MIDDLE — main multi-column navigation.
 * Column count comes from nav data (outer sub_nav groups). Related blocks
 * like "Water Purifiers" + "By Brand" stay stacked in the same column.
 */
.px-mega__cols {
  --px-mega-card-gap: 28px;
  --px-mega-row-gap: 1.35rem;
  min-width: 0;
  min-height: 0;
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  /* padding: 1.15rem 1.35rem 1.25rem 1.1rem; */
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.45) transparent;
}

.px-mega__cols::-webkit-scrollbar {
  width: 6px;
}

.px-mega__cols::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.4);
  border-radius: 999px;
}

.px-mega__cols::-webkit-scrollbar-track {
  background: transparent;
}

.px-mega__cols-track {
  --px-mega-nav-cols: 4;
  display: grid;
  grid-template-columns: repeat(var(--px-mega-nav-cols), minmax(0, 1fr));
  align-items: stretch;
  justify-items: stretch;
  gap: 0;
  width: 100%;
  max-width: 100%;
  height:100%;
  min-width: 0;
  box-sizing: border-box;
}

/* One data-defined column (may contain multiple stacked blocks) */
.px-mega__col {
  min-width: 0;
  max-width: 100%;
  position:relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--px-mega-row-gap);
  padding: 0.85rem 1.15rem 1.1rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  box-sizing: border-box;
}

/* Alternate column tint — light cool shade like the live mega menu */
.px-mega__col:nth-child(even) {
  background: radial-gradient(160px 90px at 12% 0%, rgba(167, 139, 250, .18), transparent 70%), radial-gradient(180px 110px at 88% 18%, rgba(96, 165, 250, .14), transparent 72%), radial-gradient(200px 120px at 40% 100%, rgb(214 94 247 / 21%), transparent 70%);
  border-left: 1px solid rgba(15, 23, 42, 0.06);
  border-right: 1px solid rgba(15, 23, 42, 0.06);
}
.px-mega__col:nth-child(even):after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  background: rgb(249 239 255 / 40%);
}

/* Category block inside a column (heading + links) */
.px-mega__block {
  min-width: 0;
}

.px-mega__heading {
  margin: 0 0 0.55rem;
  color: #0f172a;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow-wrap: break-word;
  word-break: break-word;
}

.px-mega__heading--link {
  text-decoration: none;
  color: #0f172a;
}

.px-mega__heading--link:hover {
  color: #ed3833;
}

.px-mega__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  min-width: 0;
}

.px-mega__link {
  display: block;
  color: #334155;
  font-size: 0.8125rem;
  font-weight: 400;
  text-decoration: none;
  line-height: 1.45;
  overflow-wrap: break-word;
  word-break: break-word;
  min-width: 0;
}

.px-mega__link:hover {
  color: #ed3833;
}

.px-mega__dec {
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 0.15rem;
  overflow-wrap: break-word;
}

html.px-mega-active .header,
html.px-mega-active .header.header--premium {
  z-index: 1020;
}

html.px-mega-active .header.is-sticky {
  position: fixed;
}

/* Hide any mega panel still nested under nav after portal */
.px-catnav__item > .px-mega {
  display: none !important;
}

@keyframes px-fade-up {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Mobile menu polish ---------- */
.hamburger-menu--premium {
  left: auto;
  right: 0;
  width: 90% !important;
  max-width: none !important;
  border-radius: 0 !important;
  transform: translateX(102%);
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 42%, #f8fafc 100%);
  box-shadow: none;
}

.hamburger-menu--premium.active {
  transform: translateX(0);
}

.hamburger-menu--premium.active ~ .__ar_ovrly {
  background: rgba(15, 23, 42, 0.45);
}

.hamburger-menu--premium .menu-content {
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
  padding: 16px 16px 28px;
}

.hamburger-menu--premium .menu-header {
  margin: 0 0 0.85rem;
}

.hamburger-menu--premium .menu-header h2 {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.hamburger-menu--premium .menu-header p {
  margin: 0;
  color: #64748b;
  font-size: 0.8125rem;
}

.menu-nav--premium {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.menu-nav--premium .menu-section--card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  margin-bottom: 0;
  overflow: hidden;
}

.menu-nav--premium .menu-section--card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, #a78bfa, #6366f1);
}

.menu-nav--premium .menu-section-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0.45rem 0.35rem 0.85rem;
  min-height: 56px;
}

.menu-nav--premium .menu-section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #eef2ff;
  color: #6366f1;
  flex-shrink: 0;
}

.menu-nav--premium .menu-section-icon svg {
  width: 18px;
  height: 18px;
}

.menu-nav--premium .menu-section-title,
.menu-nav--premium .menu-section-title--link {
  flex: 1;
  min-width: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #1e293b;
  text-decoration: none;
}

.menu-nav--premium .menu-toggle-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #f8fafc;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 0.2rem;
}

.menu-nav--premium .menu-toggle-btn svg {
  width: 14px;
  height: 14px;
  transform: rotate(-90deg);
}

.menu-nav--premium .menu-section.is-open .menu-toggle-btn svg {
  transform: rotate(0deg);
}

.menu-nav--premium .menu-subnav {
  padding: 0 0.85rem 0.85rem 0.85rem;
}

/* Navigation dark mode (deferred) */
body.dark .px-mega__inner,
body.dark .menu-nav--premium .menu-section--card {
  background: #1c2434 !important;
  border-color: rgba(148, 163, 184, 0.18);
}
body.dark .nav-account-card--dropdown {
  background: transparent !important;
  border-color: transparent;
}
body.dark .px-mega__feature {
  border-right-color: rgba(148, 163, 184, 0.16);
}
body.dark .px-mega__feature-card {
  background: linear-gradient(165deg, #3a3772 0%, #0e1628 100%);
  border-color: rgba(129, 140, 248, 0.22);
}
body.dark .px-mega__col:nth-child(even):after {
  background: rgb(28 25 31 / 65%);
}
body.dark .px-mega__feature-title,
body.dark .px-mega__heading,
body.dark .nav-account-card__name,
body.dark .menu-nav--premium .menu-section-title,
body.dark .menu-nav--premium .menu-section-title--link,
body.dark .hamburger-menu--premium .menu-header h2 {
  color: #f8fafc;
}
body.dark .px-mega__feature-desc,
body.dark .px-mega__link,
body.dark .nav-account-card__copy,
body.dark .nav-account-card__mobile {
  color: #94a3b8;
}
body.dark .px-mega__col {
  background: transparent;
  border: 0;
  box-shadow: none;
}
body.dark .px-mega__col:nth-child(even) {
  background: radial-gradient(160px 90px at 12% 0%, rgb(107 61 244 / 24%), transparent 70%), radial-gradient(180px 110px at 88% 18%, rgb(26 126 250 / 23%), transparent 72%), radial-gradient(200px 120px at 40% 100%, rgb(214 94 247 / 20%), transparent 70%);
}
body.dark .nav-account-card {
  background: linear-gradient(145deg, #1e1b4b 0%, #111827 100%);
  border-color: rgba(129, 140, 248, 0.22);
}
body.dark .nav-account-chip,
body.dark .menu-nav--premium .menu-toggle-btn {
  background: #1f2937;
  border-color: rgba(148, 163, 184, 0.2);
  color: #e2e8f0;
}
body.dark .menu-nav--premium .menu-section-icon {
  background: #1e1b4b;
  color: #c4b5fd;
}
body.dark .hamburger-menu--premium {
  background: linear-gradient(180deg, #0f172a 0%, #111827 50%, #1e1b4b 100%);
}


/* --- Base hamburger drawer (moved from common-atf) --- */
/* Hamburger Menu — premium drawer (Telangana Yatra pattern) */
body.menu-open{overflow:hidden;}
.hamburger-menu{
    position:fixed;top:0;right:0;z-index:2000;
    display:flex;flex-direction:column;
    width:min(380px,90vw);height:100%;max-height:100dvh;
    background:linear-gradient(165deg,#ffffff 0%,#f8faff 48%,#eef2ff 100%);
    border-radius:18px 0 0 18px;
    box-shadow:-12px 0 40px rgba(15,23,42,.18);
    transform:translateX(105%);
    visibility:hidden;pointer-events:none;
    overflow:hidden;
    transition:transform .34s cubic-bezier(.22,1,.36,1),visibility .34s;
}
.hamburger-menu.active{transform:translateX(0);visibility:visible;pointer-events:auto;}
.hamburger-menu::before{
    content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
    background:
        radial-gradient(160px 90px at 12% 0%,rgba(167,139,250,.18),transparent 70%),
        radial-gradient(180px 110px at 88% 18%,rgba(96,165,250,.14),transparent 72%),
        radial-gradient(200px 120px at 40% 100%,rgba(99,102,241,.1),transparent 70%);
}
.hamburger-menu ~ .__ar_ovrly{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .32s ease,visibility .32s ease;}
.hamburger-menu.active ~ .__ar_ovrly{
    width:100%;height:100%;content:'';
    background:rgba(43,37,55,.38);
    position:fixed;inset:0;
    backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
    z-index:1900;opacity:1;visibility:visible;pointer-events:auto;
    transition:opacity .32s ease,visibility .32s ease;
}
.menu-content{
    position:relative;z-index:1;
    display:flex;flex-direction:column;
    height:100%;max-height:100dvh;
    padding:22px 22px 18px;
    overflow-y:auto;overscroll-behavior:contain;
}
.menu-drawer-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;flex-shrink:0;}
.menu-drawer-brand{display:block;width:100px;overflow:hidden;line-height:0;}
.menu-drawer-brand svg{width:100px;height:auto;object-fit:contain;}
.menu-drawer-close{
    width:36px;height:36px;border:0;border-radius:50%;
    background:#fff;color:#1e1b4b;
    display:inline-flex;align-items:center;justify-content:center;
    box-shadow:0 6px 18px rgba(79,70,229,.14),0 1px 3px rgba(15,23,42,.06);
    flex-shrink:0;padding:0;cursor:pointer;
    transition:transform .2s ease,box-shadow .2s ease,background .2s ease;
}
.menu-drawer-close:hover{transform:scale(1.05);box-shadow:0 10px 24px rgba(79,70,229,.2),0 2px 6px rgba(15,23,42,.08);}
.menu-header{margin-bottom:1.1rem;padding-bottom:.9rem;border-bottom:1px solid rgba(99,102,241,.14);flex-shrink:0;}
.menu-header h2{font-size:1.2rem;margin:0 0 .2rem;color:#1e1b4b;font-weight:700;letter-spacing:-.02em;}
.menu-header p{color:#64748b;font-size:.8125rem;margin:0;line-height:1.4;}
.menu-nav{display:flex;flex-direction:column;gap:.55rem;margin-bottom:1rem;flex-shrink:0;}
.menu-section{
    margin-bottom:0;
    border-radius:16px;
    background:rgba(255,255,255,.55);
    border:1px solid rgba(99,102,241,.1);
    box-shadow:0 4px 14px rgba(79,70,229,.05);
    overflow:hidden;
    transition:background .25s ease,border-color .25s ease,box-shadow .25s ease,transform .25s ease;
}
.menu-section:hover{
    border-color:rgba(99,102,241,.2);
    box-shadow:0 8px 22px rgba(79,70,229,.1);
}
.menu-section.is-open{
    background:linear-gradient(160deg,rgba(255,255,255,.92) 0%,rgba(238,242,255,.88) 55%,rgba(245,243,255,.9) 100%);
    border-color:rgba(99,102,241,.28);
    box-shadow:0 12px 30px rgba(79,70,229,.14),inset 0 1px 0 rgba(255,255,255,.95);
}
.menu-section-head{
    display:flex;align-items:center;justify-content:space-between;gap:.65rem;
    padding:.75rem .8rem;
    position:relative;
    transition:background .2s ease;
}
.menu-section-head::before{
    content:"";position:absolute;left:0;top:18%;bottom:18%;width:3px;border-radius:0 4px 4px 0;
    background:linear-gradient(180deg,#6366f1,#a855f7);
    opacity:.35;transition:opacity .2s ease,height .2s ease;
}
.menu-section.is-open > .menu-section-head::before{opacity:1;}
.menu-section-head:hover{background:rgba(99,102,241,.04);}
.menu-section.is-open > .menu-section-head{background:transparent;}
.menu-section-icon{
    width:34px;height:34px;border-radius:11px;flex-shrink:0;
    display:inline-flex;align-items:center;justify-content:center;
    color:#4f46e5;
    background:linear-gradient(145deg,#ffffff 0%,#eef2ff 100%);
    border:1px solid rgba(99,102,241,.18);
    box-shadow:0 4px 12px rgba(79,70,229,.1),inset 0 1px 0 rgba(255,255,255,.9);
}
.menu-section-icon svg{width:16px;height:16px;}
.menu-section.is-open .menu-section-icon{
    color:#fff;
    background:linear-gradient(145deg,#6366f1 0%,#7c3aed 100%);
    border-color:transparent;
    box-shadow:0 8px 18px rgba(79,70,229,.28);
}
.menu-subgroup-head{display:flex;align-items:center;justify-content:space-between;gap:.35rem;}
.menu-section-title{
    font-size:.8rem;font-weight:800;text-transform:uppercase;
    color:#1e1b4b;letter-spacing:.05em;margin-bottom:0;line-height:1.3;
}
.menu-section-title--link{display:block;color:#1e1b4b;transition:color .2s ease;}
.menu-section-title--link:hover{color:#4f46e5;}
.menu-section-head .menu-section-title,
.menu-section-head .menu-section-title--link{margin-bottom:0;flex:1;min-width:0;}
.menu-link{
    display:flex;align-items:center;gap:.65rem;
    padding:.7rem .75rem;margin-bottom:0;
    border:1px solid transparent;border-radius:12px;
    background:transparent;
    color:#1e293b;font-size:.875rem;font-weight:600;
    box-shadow:none;
    transition:background .2s ease,color .2s ease,border-color .2s ease,box-shadow .2s ease,transform .2s ease;
}
.menu-link img{max-width:28px;max-height:28px;width:auto;height:auto;margin:0;}
.menu-link svg{width:18px;height:18px;opacity:0.75;}
.menu-link:hover{
    background:linear-gradient(135deg,rgba(239,246,255,.95),rgba(245,243,255,.95));
    border-color:rgba(99,102,241,.18);
    color:#4338ca;
    transform:translateY(-1px);
    box-shadow:0 6px 16px rgba(79,70,229,.08);
}
.menu-link-icon{font-size:1.5rem;}
.menu-link-text{flex:1;font-weight:500;}
.menu-link-label{flex:1;min-width:0;line-height:1.3;}
.menu-link-lead{
    width:10px;height:10px;border-radius:50%;flex-shrink:0;
    background:linear-gradient(135deg,#818cf8,#a78bfa);
    box-shadow:0 0 0 3px rgba(99,102,241,.12),0 2px 6px rgba(79,70,229,.2);
}
.menu-link-lead--sm{
    width:7px;height:7px;
    background:linear-gradient(135deg,#94a3b8,#64748b);
    box-shadow:0 0 0 2px rgba(148,163,184,.18);
}
.menu-link--leaf:hover .menu-link-lead--sm,
.menu-link--group:hover .menu-link-lead{
    background:linear-gradient(135deg,#4f46e5,#7c3aed);
    box-shadow:0 0 0 3px rgba(99,102,241,.16),0 2px 8px rgba(79,70,229,.25);
}
.menu-subnav{
    margin:0;
    padding:.35rem .55rem .65rem;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    display:flex;flex-direction:column;gap:.35rem;
}
.menu-subgroup{
    margin-bottom:0;border-radius:12px;
    background:rgba(255,255,255,.72);
    border:1px solid rgba(99,102,241,.1);
    box-shadow:0 2px 10px rgba(79,70,229,.04);
    transition:background .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.menu-subgroup:hover{
    background:#fff;
    border-color:rgba(99,102,241,.2);
    box-shadow:0 6px 16px rgba(79,70,229,.1);
}
.menu-subgroup.is-open{
    background:linear-gradient(180deg,#fff 0%,#f8faff 100%);
    border-color:rgba(99,102,241,.24);
    box-shadow:0 8px 20px rgba(79,70,229,.1);
}
.menu-subitems{
    display:flex;flex-direction:column;gap:.2rem;
    margin:0 .45rem .5rem;
    padding:.35rem;
    border-left:0;
    border-radius:10px;
    background:rgba(238,242,255,.45);
    border:1px dashed rgba(99,102,241,.16);
}
.menu-link--group{font-weight:600;background:transparent;color:#1e293b;}
.menu-subgroup-head .menu-link--group{flex:1;min-width:0;margin-bottom:0;padding:.65rem .7rem;border:0;box-shadow:none;}
.menu-subgroup-head .menu-link--group:hover{transform:none;box-shadow:none;background:transparent;border:0;}
.menu-link--leaf{
    margin:0;width:100%;padding:.5rem .6rem;
    font-size:.8125rem;font-weight:500;color:#475569;
    background:rgba(255,255,255,.75);border:1px solid rgba(99,102,241,.08);
    box-shadow:0 1px 2px rgba(15,23,42,.03);border-radius:9px;
}
.menu-link--leaf:hover{
    background:#fff;color:#4f46e5;border-color:rgba(99,102,241,.22);
    transform:translateX(2px);box-shadow:0 4px 12px rgba(79,70,229,.1);
}
._nvsub_dec,
.menu-toggle-btn{flex-shrink:0;}
._nvsub_dec{display:block;padding:.35rem .55rem .1rem;color:#94a3b8;font-size:.68rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase;}
.menu-toggle-btn{
    width:32px;height:32px;border:0;border-radius:999px;
    background:linear-gradient(145deg,#fff 0%,#eef2ff 100%);
    display:flex;align-items:center;justify-content:center;padding:0;
    color:#6366f1;
    border:1px solid rgba(99,102,241,.16);
    box-shadow:0 4px 12px rgba(79,70,229,.12),inset 0 1px 0 rgba(255,255,255,.95);
    transition:transform .25s ease,background .25s ease,box-shadow .25s ease,color .25s ease,border-color .25s ease;
}
.menu-toggle-btn:hover{background:#fff;box-shadow:0 6px 16px rgba(79,70,229,.18);transform:scale(1.04);}
.menu-toggle-btn:active{transform:scale(.95);}
.menu-toggle-btn[aria-expanded="true"]{
    background:linear-gradient(145deg,#4f46e5,#7c3aed);color:#fff;border-color:transparent;
    box-shadow:0 8px 18px rgba(79,70,229,.3),inset 0 1px 0 rgba(255,255,255,.25);
}
.menu-toggle-btn[aria-expanded="false"] .menu-toggle-icon{transform:rotate(-90deg);}
.menu-toggle-btn[aria-expanded="true"] .menu-toggle-icon{transform:rotate(0deg);}
.menu-toggle-btn--sub{
    width:28px;height:28px;margin-right:.35rem;
    background:rgba(238,242,255,.9);color:#6366f1;
    box-shadow:none;border-color:rgba(99,102,241,.14);
}
.menu-toggle-btn--sub:hover{background:#eef2ff;color:#4f46e5;box-shadow:0 2px 8px rgba(79,70,229,.12);transform:none;}
.menu-toggle-btn--sub[aria-expanded="true"]{
    background:linear-gradient(145deg,#6366f1,#8b5cf6);color:#fff;border-color:transparent;
    box-shadow:0 4px 12px rgba(79,70,229,.22);
}
.menu-toggle-icon{width:15px;height:15px;transition:transform .25s ease;}
.menu-subnav[hidden],
.menu-subitems[hidden]{display:none !important;}
.menu-section--deals{
    background:transparent;border:0;box-shadow:none;overflow:visible;padding:.35rem 0 0;margin-bottom:1rem;
}
.menu-section--deals:hover{border:0;box-shadow:none;}
.menu-section--deals .menu-section-title{
    display:block;margin:0 0 .65rem;padding:0;font-size:.7rem;font-weight:700;letter-spacing:.08em;color:#64748b;text-transform:uppercase;
}
.menu-section--deals .menu-drawer-cta{margin-bottom:0;}
.menu-drawer-cta{
    display:inline-flex;align-items:center;justify-content:center;
    width:100%;margin:0;padding:12px 18px;border-radius:999px;
    background:linear-gradient(90deg,#4f46e5,#7c3aed);
    color:#fff !important;font-size:.8125rem;font-weight:700;letter-spacing:.01em;
    box-shadow:0 8px 20px rgba(79,70,229,.28);
    transition:transform .2s ease,box-shadow .2s ease;flex-shrink:0;
}
.menu-drawer-cta:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(79,70,229,.36);color:#fff;}
.menu-drawer-promo{
    display:grid;grid-template-columns:44px 1fr;gap:14px 12px;align-items:center;
    margin-bottom:18px;padding:14px;border-radius:14px;
    background:linear-gradient(145deg,#eef2ff 0%,#f5f3ff 55%,#fff 100%);
    border:1px solid rgba(99,102,241,.16);
    box-shadow:0 4px 14px rgba(79,70,229,.06);flex-shrink:0;
}
.menu-drawer-promo__icon{
    width:44px;height:44px;border-radius:12px;
    display:inline-flex;align-items:center;justify-content:center;
    background:linear-gradient(145deg,#fff,#eef2ff);
    color:#4f46e5;border:1px solid rgba(99,102,241,.18);
    box-shadow:0 4px 12px rgba(79,70,229,.1);
}
.menu-drawer-promo__icon svg{width:22px;height:22px;}
.menu-drawer-promo__copy{display:flex;flex-direction:column;gap:2px;min-width:0;}
.menu-drawer-promo__copy strong{color:#1e1b4b;font-size:.85rem;font-weight:800;letter-spacing:.02em;line-height:1.3;}
.menu-drawer-promo__copy span{color:#64748b;font-size:.75rem;font-weight:500;line-height:1.35;}
.menu-drawer-promo__apps{grid-column:1 / -1;display:flex;gap:8px;flex-wrap:wrap;}
.menu-drawer-store{
    flex:1;min-width:0;display:inline-flex;align-items:center;justify-content:center;gap:.4rem;
    padding:.5rem .65rem;border-radius:999px;
    font-size:.68rem;font-weight:700;letter-spacing:.02em;text-transform:uppercase;
    color:#272867;background:rgba(255,255,255,.95);
    border:1px solid rgba(99,102,241,.2);
    box-shadow:0 2px 8px rgba(79,70,229,.08);
    transition:background .2s ease,color .2s ease,border-color .2s ease,transform .2s ease,box-shadow .2s ease;
}
.menu-drawer-store__icon{width:14px;height:14px;flex-shrink:0;}
.menu-drawer-store--ios .menu-drawer-store__icon{width:15px;height:15px;}
.menu-drawer-store:hover{background:#4f46e5;color:#fff;border-color:#4f46e5;transform:translateY(-1px);box-shadow:0 6px 14px rgba(79,70,229,.2);}
.menu-drawer-store:hover .menu-drawer-store__icon path{fill:currentColor;}
.menu-drawer-social{margin-top:auto;padding-top:10px;flex-shrink:0;}
.menu-drawer-social p{margin:0 0 10px;color:#1e1b4b;font-size:.8125rem;font-weight:600;}
.menu-drawer-social__links{display:flex;gap:10px;flex-wrap:wrap;}
.menu-drawer-social__links a{
    width:38px;height:38px;border-radius:50%;
    background:#fff;color:#312e81;
    border:1px solid rgba(99,102,241,.22);
    box-shadow:0 4px 12px rgba(79,70,229,.12),0 1px 2px rgba(15,23,42,.06);
    display:inline-flex;align-items:center;justify-content:center;
    transition:background .2s ease,color .2s ease,transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.menu-drawer-social__links a:hover{background:#4f46e5;color:#fff;border-color:#4f46e5;transform:translateY(-2px);box-shadow:0 8px 18px rgba(79,70,229,.25);}
.menu-drawer-copy{margin:16px 0 0;color:#94a3b8;font-size:.6875rem;line-height:1.4;flex-shrink:0;}
@media (min-width:1025px){
.hamburger-menu{width:min(400px,92vw);}
.menu-content{padding:24px 26px 20px;}
}

/* --- Hamburger drawer dark mode (moved from common-atf) --- */
body.dark .hamburger-menu{background:linear-gradient(165deg,#111827 0%,#0f172a 50%,#1e1b4b 100%);box-shadow:-12px 0 40px rgba(0,0,0,.45);}
body.dark .hamburger-menu::before{background:radial-gradient(160px 90px at 12% 0%,rgba(139,92,246,.22),transparent 70%),radial-gradient(180px 110px at 88% 18%,rgba(56,189,248,.12),transparent 72%),radial-gradient(200px 120px at 40% 100%,rgba(99,102,241,.12),transparent 70%);}
body.dark .hamburger-menu.active ~ .__ar_ovrly{background:rgba(7,10,18,.72);}
body.dark .menu-drawer-brand img{filter:brightness(1.05);}
body.dark .menu-drawer-close{background:#1f2937;color:#e5e7eb;box-shadow:0 6px 18px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.06);}
body.dark .menu-drawer-close:hover{background:#273449;box-shadow:0 10px 24px rgba(0,0,0,.4);}
body.dark .menu-header{border-color:rgba(148,163,184,.18);}
body.dark .menu-header h2{color:#f8fafc;}
body.dark .menu-header p{color:#94a3b8;}
body.dark .menu-section{
    background:rgba(17,24,39,.55);
    border-color:rgba(148,163,184,.12);
    box-shadow:0 4px 14px rgba(0,0,0,.2);
}
body.dark .menu-section:hover{
    border-color:rgba(129,140,248,.28);
    box-shadow:0 8px 22px rgba(0,0,0,.28);
}
body.dark .menu-section.is-open{
    background:linear-gradient(160deg,rgba(17,24,39,.92) 0%,rgba(30,27,75,.88) 55%,rgba(15,23,42,.9) 100%);
    border-color:rgba(129,140,248,.35);
    box-shadow:0 12px 30px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.05);
}
body.dark .menu-section-head:hover{background:rgba(129,140,248,.06);}
body.dark .menu-section.is-open > .menu-section-head{background:transparent;}
body.dark .menu-section-icon{
    background:linear-gradient(145deg,#1f2937,#312e81);
    color:#c4b5fd;border-color:rgba(167,139,250,.28);
    box-shadow:0 4px 12px rgba(0,0,0,.3);
}
body.dark .menu-section.is-open .menu-section-icon{
    color:#fff;background:linear-gradient(145deg,#6366f1,#8b5cf6);border-color:transparent;
}
body.dark .menu-section-title{color:#e2e8f0;}
body.dark .menu-section-title--link{color:#e2e8f0;}
body.dark .menu-section-title--link:hover{color:#a5b4fc;}
body.dark .menu-toggle-btn{
    background:linear-gradient(145deg,#111827,#1f2937);border-color:rgba(148,163,184,.2);
    color:#c4b5fd;box-shadow:0 4px 12px rgba(0,0,0,.35);
}
body.dark .menu-toggle-btn:hover{background:#1f2937;box-shadow:0 6px 16px rgba(0,0,0,.4);}
body.dark .menu-toggle-btn[aria-expanded="true"]{background:linear-gradient(145deg,#6366f1,#8b5cf6);color:#fff;border-color:transparent;}
body.dark .menu-toggle-btn--sub{background:rgba(31,41,55,.85);color:#a5b4fc;border-color:rgba(148,163,184,.16);box-shadow:none;}
body.dark .menu-toggle-btn--sub:hover{background:#1f2937;color:#c7d2fe;}
body.dark .menu-toggle-btn--sub[aria-expanded="true"]{background:linear-gradient(145deg,#6366f1,#8b5cf6);color:#fff;}
body.dark .menu-link{background:transparent;border-color:transparent;color:#e5e7eb;box-shadow:none;}
body.dark .menu-link:hover{background:linear-gradient(135deg,rgba(30,41,59,.9),rgba(49,46,129,.55));border-color:rgba(129,140,248,.25);color:#c7d2fe;box-shadow:0 6px 16px rgba(0,0,0,.25);}
body.dark .menu-subnav{background:transparent;border:0;box-shadow:none;}
body.dark .menu-subgroup{background:rgba(15,23,42,.55);border-color:rgba(148,163,184,.12);box-shadow:0 2px 10px rgba(0,0,0,.2);}
body.dark .menu-subgroup:hover{background:rgba(17,24,39,.85);border-color:rgba(129,140,248,.28);}
body.dark .menu-subgroup.is-open{background:linear-gradient(180deg,#111827 0%,#1e1b4b 100%);border-color:rgba(129,140,248,.3);}
body.dark .menu-link--group{background:transparent;color:#e2e8f0;}
body.dark .menu-subgroup-head .menu-link--group:hover{background:transparent;border:0;box-shadow:none;}
body.dark .menu-subitems{background:rgba(15,23,42,.45);border-color:rgba(129,140,248,.2);}
body.dark .menu-link--leaf{background:rgba(17,24,39,.7);border-color:rgba(148,163,184,.1);color:#94a3b8;}
body.dark .menu-link--leaf:hover{background:#1f2937;color:#c7d2fe;border-color:rgba(129,140,248,.3);}
body.dark .menu-link-lead{box-shadow:0 0 0 3px rgba(129,140,248,.18),0 2px 6px rgba(0,0,0,.35);}
body.dark ._nvsub_dec{color:#64748b;}
body.dark .menu-section--deals{background:transparent;border:0;box-shadow:none;}
body.dark .menu-section--deals .menu-section-title{color:#94a3b8;}
body.dark .menu-drawer-cta{background:linear-gradient(90deg,#6366f1,#8b5cf6);box-shadow:0 8px 20px rgba(99,102,241,.32);}
body.dark .menu-drawer-promo{background:linear-gradient(145deg,#111827 0%,#1e1b4b 55%,#0f172a 100%);border-color:rgba(129,140,248,.22);box-shadow:0 4px 14px rgba(0,0,0,.25);}
body.dark .menu-drawer-promo__icon{background:linear-gradient(145deg,#1f2937,#312e81);color:#c4b5fd;border-color:rgba(167,139,250,.28);}
body.dark .menu-drawer-promo__copy strong{color:#f8fafc;}
body.dark .menu-drawer-promo__copy span{color:#94a3b8;}
body.dark .menu-drawer-promo__apps a,
body.dark .menu-drawer-store{background:rgba(15,23,42,.85);color:#c7d2fe;border-color:rgba(129,140,248,.28);box-shadow:0 2px 8px rgba(0,0,0,.25);}
body.dark .menu-drawer-store:hover{background:#6366f1;color:#fff;border-color:#6366f1;}
body.dark .menu-drawer-social p{color:#f1f5f9;}
body.dark .menu-drawer-social__links a{background:#1f2937;color:#e2e8f0;border-color:rgba(148,163,184,.28);box-shadow:0 4px 12px rgba(0,0,0,.35);}
body.dark .menu-drawer-social__links a:hover{background:#6366f1;color:#fff;border-color:#6366f1;}
body.dark .menu-drawer-copy{color:#64748b;}
body.dark ._nvsub_dec{color:#9ca3af;}

/* Footer dark (moved from styles.css Phase 9) */
body.dark .footer{
    background-color:#12101a;
    background-image:
        radial-gradient(ellipse 70% 80% at 8% 20%,rgba(51,124,237,.18) 0%,transparent 55%),
        radial-gradient(ellipse 60% 70% at 92% 80%,rgba(99,102,241,.12) 0%,transparent 52%),
        linear-gradient(135deg,#1a2228 0%,#0f1a1eba 42%,#12101a 100%);
    border-color:transparent;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
}

/* ========== Phase 11 — chatbot from styles.css ========== */
/* --- chatbot (light + desktop) (styles.css L267-290) --- */
/* Chatbot */
.chatbot-button{position:fixed;bottom:5rem;right:1rem;width:64px;height:64px;border-radius:50%;background:linear-gradient(135deg,#3b82f6 0%,#8b5cf6 100%);color:#fff;box-shadow:0 10px 30px rgba(59,130,246,.4);display:flex;align-items:center;justify-content:center;font-size:1.75rem;z-index:1000;transition:transform .3s;}
.chatbot-button svg{width:40px;height:40px;}
.chatbot-button:hover{transform:scale(1.1);}
.chatbot-window{position:fixed;bottom:1.5rem;right:1.5rem;width:400px;height:600px;background:#fff;border-radius:16px;box-shadow:0 20px 60px rgba(0,0,0,.2);display:none;flex-direction:column;overflow:hidden;z-index:1000;}
.chatbot-window.active{display:flex;}
.chatbot-header{background:linear-gradient(135deg,#3b82f6 0%,#8b5cf6 100%);color:#fff;padding:1rem;}
.chatbot-header-content{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem;}
.chatbot-title{display:flex;align-items:center;gap:.75rem;}
.chatbot-avatar{width:40px;height:40px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;color:#3b82f6;}
.chatbot-close{background:rgba(255,255,255,.2);color:#fff;width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;}
.whatsapp-btn{width:100%;padding:.5rem;background:#25d366;color:#fff;border-radius:8px;font-size:.875rem;font-weight:600;display:flex;align-items:center;justify-content:center;gap:.5rem;}
.chatbot-messages{flex:1;padding:1rem;overflow-y:auto;background:#f9fafb;}
.chat-message{margin-bottom:1rem;display:flex;}
.chat-message.user{justify-content:flex-end;}
.message-bubble{max-width:80%;padding:.75rem 1rem;border-radius:16px;}
.message-bubble.user{background:linear-gradient(135deg,#3b82f6 0%,#8b5cf6 100%);color:#fff;}
.message-bubble.assistant{background:#e5e7eb;color:#1a1a1a;}
.chatbot-input{padding:1rem;border-top:1px solid #e5e7eb;background:#f9fafb;display:flex;gap:.5rem;}
.chatbot-input input{flex:1;padding:.75rem 1rem;border:1px solid #e5e7eb;border-radius:50px;outline:none;}
.chatbot-send{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#3b82f6 0%,#8b5cf6 100%);color:#fff;display:flex;align-items:center;justify-content:center;}
@media (min-width:1025px){
.chatbot-button{bottom:1.5rem;right:1.5rem;}
}
/* --- chatbot dark (styles.css L666-668) --- */
body.dark .chatbot-window{background:#1a1a1d;}
body.dark .chatbot-messages{background:#0f0f10;}
body.dark .message-bubble.assistant{background:#2d2d30;color:#fff;}

/* =========================================================
   Shared alert / notify / review modal (__arModal)
   Visual language aligned with #searchPopup / .popup-content
   ========================================================= */
body > .__ar_ovrly{
  width:100%;
  height:100%;
  position:fixed;
  inset:0;
  background:radial-gradient(ellipse at center,rgba(255,255,255,0) -140%,rgba(242,238,250,.75) 60%);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  z-index:-1;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .35s ease,visibility .35s ease;
}
body.__ar_modal-open > .__ar_ovrly{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  z-index:999998;
}

/* Full-viewport flex shell centers the card precisely */
.__ar_modal{
  display:none;
  position:fixed;
  inset:0;
  z-index:999999;
  width:100%;
  height:100%;
  margin:0;
  padding:16px;
  box-sizing:border-box;
  align-items:center;
  justify-content:center;
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  background:transparent;
  pointer-events:none;
}
.__ar_modal._mdlsm{width:100%;height:100%;}
.__ar_modal._mdlrev{
  width:100%;
  height:100%;
  padding:16px;
}
.__ar_modal-content{
  pointer-events:auto;
  position:relative;
  width:min(600px,100%);
  max-height:min(90vh,100%);
  margin:auto;
  padding:0;
  background:#fff;
  border:none;
  border-radius:16px;
  box-shadow:0 20px 60px rgba(0,0,0,.3);
  overflow-x:hidden;
  overflow-y:auto;
  scrollbar-width:thin;
  scrollbar-color:rgba(0,0,0,.28) transparent;
  -webkit-overflow-scrolling:touch;
  opacity:0;
  transform:translateY(40px) scale(.95);
  transition:transform .4s cubic-bezier(.22,1,.36,1),opacity .35s ease;
}
.__ar_modal-content::-webkit-scrollbar{width:10px;background:transparent;}
.__ar_modal-content::-webkit-scrollbar-thumb{
  background:rgba(0,0,0,.22);
  border-radius:999px;
  border:2px solid transparent;
  background-clip:padding-box;
}
.__ar_modal._mdlrev .__ar_modal-content{
  width:min(700px,100%);
  height:min(460px,90vh);
  max-height:min(460px,90vh);
  overflow:hidden;
}
body.__ar_modal-open .__ar_modal-content{
  opacity:1;
  transform:translateY(0) scale(1);
}

/* Close — same coral language as Search Popup ._clsbtn */
.__ar_modal-close{
  width:44px;
  height:44px;
  margin:0;
  padding:0;
  border:none;
  color:#fff;
  border-radius:0 16px 0 14px;
  cursor:pointer;
  position:absolute;
  top:0;
  right:0;
  z-index:5;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#ed3833 0%,#f6905c 100%);
  box-shadow:none;
  transition:filter .25s ease,transform .2s ease,box-shadow .25s ease;
}
.__ar_modal-close svg{
  width:24px;
  height:24px;
  margin:0;
  display:block;
  transition:transform .35s ease;
}
.__ar_modal-close:hover{
  filter:brightness(1.06);
  box-shadow:0 6px 16px rgba(237,56,51,.28);
}
.__ar_modal-close:hover svg{transform:rotate(360deg);}
.__ar_modal-close:active{
  filter:brightness(.96);
  transform:scale(.96);
}
.__ar_modal-close:focus{outline:none;}
.__ar_modal-close:focus-visible{
  outline:2px solid #ed3833;
  outline-offset:3px;
  box-shadow:0 0 0 4px rgba(246,144,92,.35);
}

.__ar_modal-body{padding:0;}
.__arModalBtn{cursor:pointer;}
body.__ar_modal-open{overflow:hidden;}

.__ar_modal-body > ._hd{
  margin:0;
  font-size:1.35rem;
  font-weight:700;
  line-height:1.3;
  color:#0f172a;
  padding:30px 64px 18px 30px;
  border-bottom:1px solid #eef2f7;
}
.__ar_modal-body > ._hd:after{
  content:"";
  display:block;
  width:40px;
  height:3px;
  margin-top:12px;
  border-radius:999px;
  background:linear-gradient(90deg,#3b82f6,#8b5cf6);
}
.__ar_modal-body sup{color:#ef4444;vertical-align:text-top;}

/* Form body — spacious Search-popup-like padding */
.__ar_modal-body ._ardetail,
.__ar_modal-body ._prdrpa{
  padding:24px 30px 30px;
  font-size:.98rem;
  line-height:1.5;
  color:#475569;
}
.__ar_modal-body ._ardetail ._pdt{
  font-weight:650;
  color:#0f172a;
  margin:0 0 .65rem;
  word-break:break-word;
}
.__ar_modal-body ._ardetail ._pdprcinfo{
  margin:0 0 1.15rem;
  color:#64748b;
  word-break:break-word;
  font-size:.95rem;
}
.__ar_modal-body ._ardetail ._prdprc{
  font-weight:700;
  color:#0f172a;
}
.__ar_modal-body ._ardetail ._prdopt{margin:0 0 1.25rem;}
.__ar_modal-body ._ardetail ._prdopt label{
  width:100%;
  display:block;
  margin:0 0 .65rem;
  color:#475569;
  font-size:.9rem;
}
.__ar_modal-body ._ardetail ._prdopt ._flx{
  display:flex;
  flex-wrap:wrap;
  gap:.55rem;
  margin:0 0 .75rem;
}
.__ar_modal-body ._ardetail .prcdropbtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:.45rem .95rem;
  border:1px solid #e2e8f0;
  border-radius:999px;
  background:#f8fafc;
  color:#334155;
  font-size:.88rem;
  font-weight:600;
  cursor:pointer;
  transition:border-color .2s ease,background .2s ease,color .2s ease;
}
.__ar_modal-body ._ardetail .prcdropbtn.selected{
  border-color:transparent;
  background:linear-gradient(135deg,#3b82f6,#8b5cf6);
  color:#fff;
}
.__ar_modal-body ._ardetail ._altpr{
  position:relative;
  display:flex;
  align-items:center;
  gap:.4rem;
  max-width:260px;
}
.__ar_modal-body ._ardetail ._rsico{
  color:#64748b;
  font-weight:600;
}
.__ar_modal-body ._ardetail #promt-msg{
  width:100%;
  margin:0 0 1rem;
}
.__ar_modal-body ._ardetail #promt-msg label{
  width:100%;
  display:block;
  margin:0;
  padding:0;
  color:#64748b;
  font-size:.95rem;
  font-weight:500;
  line-height:1.45;
}
.__ar_modal-body ._ardetail label{
  width:100%;
  display:block;
  color:#475569;
  padding-bottom:.35rem;
}
.__ar_modal-body ._ardetail ._prdrpa-fields{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin:0 0 1.15rem;
}
.__ar_modal-body ._ardetail input[type=email],
.__ar_modal-body ._ardetail input[type=text],
.__ar_modal-body ._ardetail textarea{
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  min-height:48px;
  font-size:1rem;
  color:#0f172a;
  background:#fff;
  padding:.85rem 1rem;
  border:1px solid #e5e7eb;
  border-radius:12px;
  margin:0;
  outline:0;
  transition:border-color .2s ease,box-shadow .2s ease;
}
.__ar_modal-body ._ardetail ._prdrpa-fields input[type=email],
.__ar_modal-body ._ardetail ._prdrpa-fields input[type=text]{
  flex:1 1 calc(50% - 7px);
  min-width:0;
}
.__ar_modal-body ._ardetail input[type=email]:focus,
.__ar_modal-body ._ardetail input[type=text]:focus,
.__ar_modal-body ._ardetail textarea:focus{
  border-color:#8b5cf6;
  box-shadow:0 0 0 3px rgba(139,92,246,.16);
}
.__ar_modal-body ._ardetail ._prdrpa-fields > span.error,
.__ar_modal-body ._ardetail ._altpr > span.error{
  width:100%;
  flex-basis:100%;
  display:block;
  color:#ef4444;
  font-size:.82rem;
  min-height:0;
}
.__ar_modal-body ._ardetail ._alwntf{
  display:flex;
  align-items:flex-start;
  gap:.6rem;
  margin:.15rem 0 1.1rem;
}
.__ar_modal-body ._ardetail ._alwntf input{
  margin-top:.2rem;
  flex-shrink:0;
}
.__ar_modal-body ._ardetail ._alwntf label{
  width:auto;
  padding:0;
  font-size:.84rem;
  line-height:1.45;
  color:#64748b;
}
.__ar_modal-body ._ardetail #subs_msg{
  width:100%;
  margin:0 0 .65rem;
  font-size:.9rem;
}
.__ar_modal-body ._ardetail #subs_msg.success{color:#059669;}
.__ar_modal-body ._ardetail #subs_msg.error{color:#ef4444;}
.__ar_modal-body ._ardetail ._flx:has(#prcdrop_submit){
  margin-top:.25rem;
}
.__ar_modal-body ._ardetail input._btn,
.__ar_modal-body ._ardetail #prcdrop_submit{
  width:auto;
  min-width:160px;
  min-height:48px;
  margin-top:.35rem;
  padding:.85rem 1.6rem;
  border:none;
  border-radius:12px;
  background:linear-gradient(135deg,#3b82f6,#8b5cf6);
  color:#fff;
  font-size:1rem;
  font-weight:700;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(59,130,246,.28);
  transition:filter .2s ease,transform .2s ease,box-shadow .2s ease;
}
.__ar_modal-body ._ardetail input._btn:hover,
.__ar_modal-body ._ardetail #prcdrop_submit:hover{
  filter:brightness(1.04);
  transform:translateY(-1px);
  box-shadow:0 12px 28px rgba(59,130,246,.32);
}
.__ar_modal-body ._ardetail input._btn:disabled,
.__ar_modal-body ._ardetail #prcdrop_submit:disabled{
  opacity:.7;
  cursor:not-allowed;
  transform:none;
}
.__ar_modal-body ._ardetail .note,
.__ar_modal-body ._ardetail #prcdrop_note{
  margin:1.1rem 0 0;
  font-size:.8rem;
  color:#94a3b8;
}
.__ar_modal-body ._lodr{
  font-family:Arial,sans-serif;
  width:94px;
  display:flex;
  flex-wrap:wrap;
  position:absolute;
  z-index:998;
  color:#333;
  padding:10px;
  margin:auto;
  top:50%;
  left:50%;
  border-radius:8px;
  text-align:center;
  background:#fff;
  box-shadow:0 8px 24px rgba(15,23,42,.2);
  transform:translate(-50%,-50%);
}
.__ar_modal-body ._lodr ._ldrtext{
  display:block;
  width:100%;
  color:#64748b;
  text-transform:uppercase;
  font-size:12px;
  padding-top:10px;
}

@media (max-width:767px){
  .__ar_modal,
  .__ar_modal._mdlsm,
  .__ar_modal._mdlrev{
    padding:16px;
    align-items:center;
  }
  .__ar_modal-content,
  .__ar_modal._mdlrev .__ar_modal-content{
    width:100%;
    max-height:calc(100vh - 32px);
    max-height:calc(100dvh - 32px);
    height:auto;
    border-radius:16px;
  }
  .__ar_modal._mdlrev .__ar_modal-content{
    height:min(100%,calc(100dvh - 32px));
  }
  .__ar_modal-close{
    width:44px;
    height:44px;
    border-radius:0 16px 0 14px;
  }
  .__ar_modal-body > ._hd{
    font-size:1.15rem;
    padding:24px 56px 16px 20px;
  }
  .__ar_modal-body ._ardetail,
  .__ar_modal-body ._prdrpa{
    padding:20px;
  }
  .__ar_modal-body ._ardetail ._prdrpa-fields{
    flex-direction:column;
    gap:12px;
  }
  .__ar_modal-body ._ardetail ._prdrpa-fields input[type=email],
  .__ar_modal-body ._ardetail ._prdrpa-fields input[type=text],
  .__ar_modal-body ._ardetail input._btn,
  .__ar_modal-body ._ardetail #prcdrop_submit{
    width:100%;
    flex:none;
  }
}

/* Dark mode — Search Popup parity */
body.dark > .__ar_ovrly,
body.dark.__ar_modal-open > .__ar_ovrly{
  background:radial-gradient(ellipse at center,rgba(15,15,16,0) -140%,rgba(17,17,17,.92) 60%);
}
body.dark .__ar_modal-content{
  background:#1a1a1d;
  color:#fff;
  box-shadow:0 20px 60px rgba(0,0,0,.55);
}
body.dark .__ar_modal-content{scrollbar-color:rgba(255,255,255,.35) transparent;}
body.dark .__ar_modal-content::-webkit-scrollbar-thumb{background:rgba(255,255,255,.28);}
body.dark .__ar_modal-close{
  background:linear-gradient(135deg,#ed3833 0%,#f6905c 100%);
  color:#fff;
}
body.dark .__ar_modal-body > ._hd{
  color:#f8fafc;
  border-bottom-color:rgba(148,163,184,.14);
}
body.dark .__ar_modal-body ._ardetail,
body.dark .__ar_modal-body ._prdrpa{color:#cbd5e1;}
body.dark .__ar_modal-body ._ardetail ._pdt,
body.dark .__ar_modal-body ._ardetail ._prdprc{color:#f8fafc;}
body.dark .__ar_modal-body ._ardetail ._pdprcinfo,
body.dark .__ar_modal-body ._ardetail #promt-msg label,
body.dark .__ar_modal-body ._ardetail label{color:#94a3b8;}
body.dark .__ar_modal-body ._ardetail .prcdropbtn{
  background:#0f172a;
  border-color:#334155;
  color:#e2e8f0;
}
body.dark .__ar_modal-body ._ardetail .prcdropbtn.selected{
  border-color:transparent;
  background:linear-gradient(135deg,#3b82f6,#8b5cf6);
  color:#fff;
}
body.dark .__ar_modal-body ._ardetail input[type=email],
body.dark .__ar_modal-body ._ardetail input[type=text],
body.dark .__ar_modal-body ._ardetail textarea{
  background:#0f172a;
  border-color:#334155;
  color:#f8fafc;
}
body.dark .__ar_modal-body ._ardetail input[type=email]::placeholder,
body.dark .__ar_modal-body ._ardetail input[type=text]::placeholder{
  color:#64748b;
}
body.dark .__ar_modal-body ._ardetail ._alwntf label,
body.dark .__ar_modal-body ._ardetail .note,
body.dark .__ar_modal-body ._ardetail #prcdrop_note{color:#94a3b8;}
body.dark .__ar_modal-body ._lodr{background:#1e293b;color:#e2e8f0;}
body.dark .__ar_modal-body ._lodr ._ldrtext{color:#94a3b8;}

