/* Vape Deal — header, mega menu, drawer, footer */
#main-container > #header, #main-container > #footer, #offcanvas, .vd-nic-warning { display: none !important; }
.vd-wrap { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.vd-wordmark { font: 400 24px/1 var(--vd-head); letter-spacing: -0.03em; }
.vd-wordmark b { font-weight: 800; }
.vd-logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; flex: 0 0 auto; }
.vd-price-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; background: var(--vd-coral); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 11px 4px 9px; border-radius: 4px 999px 999px 4px; }
.vd-price-tag::before { content: ""; width: 5px; height: 5px; border-radius: 999px; background: #fff; }

/* Utility bar */
.vd-util { background: var(--vd-ink); color: #fff; font-size: 12.5px; }
.vd-util .vd-wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 36px; }
.vd-util-warn { margin: 0; color: #CFCFD6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vd-util-warn strong { color: #fff; background: rgba(255,255,255,.14); border-radius: 4px; padding: 1px 6px; margin-right: 6px; }
.vd-util-msgs { position: relative; flex: 1; height: 18px; text-align: center; }
.vd-util-msgs span { position: absolute; inset: 0; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; color: #FF8FA3; font-weight: 600; white-space: nowrap; }
.vd-util-msgs span.is-on { opacity: 1; transform: none; }
.vd-util-links { display: flex; gap: 16px; }
.vd-util-links a { color: #fff; text-decoration: none; opacity: .85; }
.vd-util-links a:hover { opacity: 1; text-decoration: underline; }

/* Header */
.vd-header { position: sticky; top: 0; z-index: 90; background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); border-bottom: 1px solid rgba(17,17,20,.07); }
.admin-bar .vd-header { top: 32px; }
.vd-header-row { display: flex; align-items: center; gap: 20px; padding-top: 14px; padding-bottom: 10px; }
.vd-search { flex: 1; display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 5px 0 16px; background: rgba(245,244,240,.9); border: 1.5px solid transparent; border-radius: 14px; color: var(--vd-muted); transition: border-color .2s, background .2s; }
.vd-search:focus-within { border-color: var(--vd-ink); background: #fff; }
.vd-search input[type="search"] { flex: 1; min-width: 0; height: 100%; border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; font: 500 15px var(--vd-body); color: var(--vd-ink); outline: none; }
.vd-search button { height: 38px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--vd-ink); color: #fff; font: 600 14px var(--vd-body); cursor: pointer; }
.vd-actions { display: flex; align-items: center; gap: 8px; }
.vd-icon-btn { width: 46px; height: 46px; border-radius: 14px; border: 1px solid #ECEBE6; background: rgba(255,255,255,.7); color: var(--vd-ink); display: grid; place-items: center; cursor: pointer; padding: 0; text-decoration: none; transition: border-color .2s; }
.vd-icon-btn:hover { border-color: var(--vd-ink); }
.vd-trade { height: 46px; padding: 0 14px; border-radius: 14px; border: 1px solid #ECEBE6; display: flex; align-items: center; gap: 8px; color: var(--vd-ink); text-decoration: none; font-weight: 600; font-size: 14px; }
.vd-trade:hover { border-color: var(--vd-ink); }
.vd-basket { height: 46px; padding: 0 8px 0 14px; border-radius: 14px; background: var(--vd-ink); color: #fff !important; display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 14px; }
.vd-basket:hover { background: #2a2a30; }
.vd-cart-total .amount { color: #fff; }
.vd-cart-count { min-width: 26px; height: 26px; padding: 0 6px; border-radius: 8px; background: var(--vd-coral); display: grid; place-items: center; font-size: 12px; }
.vd-cart-count.is-empty { background: rgba(255,255,255,.16); }
.vd-burger, .vd-search-toggle { display: none; }

/* Nav + mega menu */
.vd-nav { position: relative; }
.vd-nav-list { list-style: none; margin: 0 auto; display: flex; align-items: center; gap: 2px; padding-bottom: 0; }
.vd-nav-item { margin: 0; padding-bottom: 8px; }
.vd-nav-link { display: flex; align-items: center; gap: 5px; padding: 9px 13px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: var(--vd-ink) !important; text-decoration: none; white-space: nowrap; transition: background .2s; }
.vd-nav-link svg { opacity: .55; transition: transform .2s; }
.vd-nav-item:hover > .vd-nav-link, .vd-nav-item.is-open > .vd-nav-link { background: var(--vd-warm); }
.vd-nav-item:hover > .vd-nav-link svg, .vd-nav-item.is-open > .vd-nav-link svg { transform: rotate(180deg); }
.vd-nav-deal { color: var(--vd-coral-text) !important; background: #FFE3EC; margin-left: 6px; }
.vd-nav-deal:hover { background: #FFD3E0 !important; }
.vd-mega { position: absolute; left: 0; right: 0; top: 100%; padding-top: 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 95; }
.vd-has-mega:hover > .vd-mega, .vd-has-mega.is-open > .vd-mega { opacity: 1; visibility: visible; transform: none; transition-delay: .08s; }
.vd-mega::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.vd-mega-inner { max-width: 1272px; margin: 0 auto; background: #fff; border: 1px solid #ECEBE6; border-radius: 20px; box-shadow: 0 24px 60px rgba(17,17,20,.12); padding: 26px; display: grid; grid-template-columns: repeat(3, 1fr) 300px; gap: 28px; }
.vd-mega-h { margin: 0 0 10px; font: 700 11px var(--vd-body); letter-spacing: .1em; text-transform: uppercase; color: var(--vd-muted); }
.vd-mega-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.vd-mega-col li { margin: 0; }
.vd-mega-col a { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; margin: 0 -10px; border-radius: 9px; color: var(--vd-ink) !important; text-decoration: none; font-size: 14.5px; font-weight: 500; }
.vd-mega-col a span { color: var(--vd-muted); font-size: 12px; }
.vd-mega-col a:hover { background: var(--vd-warm); }
.vd-mega-brands { display: grid !important; grid-template-columns: 1fr 1fr; }
.vd-mega-promo { grid-column: 4; grid-row: 1 / span 2; background: var(--bg); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--vd-ink) !important; transition: transform .2s; }
.vd-mega-promo:hover { transform: translateY(-2px); }
.vd-mega-promo strong { font: 800 20px/1.2 var(--vd-head); margin-top: 6px; }
.vd-mega-promo small { font-size: 13px; color: var(--vd-text); }
.vd-mega-promo .vd-plate { width: 58%; margin: auto auto 0; }
.vd-mega-brandgrid { display: block; }
.vd-mega-brandgrid ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.vd-mega-brandgrid li { margin: 0; }
.vd-mega-brandgrid a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; border: 1px solid #ECEBE6; text-decoration: none; color: var(--vd-ink) !important; font-size: 13.5px; font-weight: 600; transition: border-color .2s; }
.vd-mega-brandgrid a:hover { border-color: var(--vd-ink); }
.vd-mega-brandgrid a > span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.vd-mega-brandgrid small { font-weight: 500; color: var(--vd-muted); font-size: 11.5px; }
.vd-mb-logo { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 10px; background: var(--vd-warm); display: grid; place-items: center; overflow: hidden; font: 800 14px var(--vd-head); }
.vd-mb-logo img { width: 100%; height: 100%; object-fit: contain; }
.vd-mega-all { display: inline-block; margin-top: 16px; font-weight: 700; color: var(--vd-ink) !important; }

/* Drawer (mobile) */
.vd-drawer { position: fixed; inset: 0; z-index: 200; background: rgba(17,17,20,.4); }
.vd-drawer[hidden] { display: none; }
.vd-drawer-panel { position: absolute; left: 0; top: 0; bottom: 0; width: min(88vw, 380px); background: #fff; display: flex; flex-direction: column; animation: vdIn .25s ease; }
@keyframes vdIn { from { transform: translateX(-100%); } }
.vd-drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid #ECEBE6; }
.vd-drawer-body { overflow-y: auto; padding: 8px 16px 24px; display: flex; flex-direction: column; }
.vd-drawer details { border-bottom: 1px solid #ECEBE6; }
.vd-drawer summary { display: flex; justify-content: space-between; padding: 15px 0; font: 700 16px var(--vd-head); cursor: pointer; list-style: none; }
.vd-drawer summary::-webkit-details-marker { display: none; }
.vd-drawer details[open] summary span { transform: rotate(45deg); }
.vd-drawer summary span { transition: transform .2s; font-size: 20px; line-height: 1; }
.vd-drawer ul { list-style: none; margin: 0 0 12px; padding: 0; }
.vd-drawer li a { display: flex; justify-content: space-between; padding: 9px 0; color: var(--vd-ink); text-decoration: none; font-size: 15px; }
.vd-drawer li a span { color: var(--vd-muted); font-size: 12px; }
.vd-drawer-link { padding: 15px 0; border-bottom: 1px solid #ECEBE6; font: 700 16px var(--vd-head); color: var(--vd-ink) !important; text-decoration: none; }
.vd-drawer-deal { color: var(--vd-coral-text) !important; }
.vd-drawer-promises { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.vd-drawer-promises span { background: var(--vd-mint); border-radius: 10px; padding: 10px 12px; font-size: 13px; font-weight: 600; }

/* Footer */
.vd-footer { background: var(--vd-ink); color: #CFCFD6; padding: 0 0 28px; margin-top: 40px; font-size: 14px; }
.vd-footer a { color: #fff; text-decoration: none; }
.vd-footer a:hover { color: #FF8FA3; }
.vd-foot-promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.08); border-radius: 0 0 20px 20px; overflow: hidden; }
.vd-foot-promises > div { background: #1B1B20; padding: 20px; display: flex; gap: 12px; align-items: center; color: #FF8FA3; }
.vd-foot-promises span { display: flex; flex-direction: column; color: #CFCFD6; font-size: 13px; }
.vd-foot-promises strong { color: #fff; font-size: 14.5px; }
.vd-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 48px 0 36px; }
.vd-foot-brand p { margin: 14px 0; line-height: 1.6; max-width: 340px; }
.vd-18 { display: inline-block; border: 1.5px solid rgba(255,255,255,.3); color: #fff; font-weight: 700; font-size: 12px; border-radius: 6px; padding: 3px 8px; }
.vd-foot-h { margin: 0 0 14px; font: 700 12px var(--vd-body); letter-spacing: .1em; text-transform: uppercase; color: #8E8E99; }
.vd-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.vd-footer li { margin: 0; }
.vd-foot-warn { border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 14px 16px; font-size: 13px; line-height: 1.5; }
.vd-foot-warn strong { color: #fff; }
.vd-foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; font-size: 13px; }
.vd-foot-bottom nav { display: flex; gap: 18px; }

/* Responsive */
@media (max-width: 1100px) {
  .vd-util-warn { display: none; }
  .vd-util-msgs { text-align: left; }
  .vd-trade span { display: none; } .vd-trade { width: 46px; padding: 0; justify-content: center; }
  .vd-mega-inner { grid-template-columns: repeat(3, 1fr); }
  .vd-mega-promo { display: none; }
  .vd-mega-brandgrid ul { grid-template-columns: repeat(4, 1fr); }
  .vd-foot-promises { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 899px) {
  .vd-wrap { padding: 0 16px; }
  .vd-util-links { display: none; }
  .vd-util-msgs { text-align: center; }
  .vd-header-row { gap: 6px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
  .vd-actions { gap: 6px; margin-left: auto; }
  .vd-burger, .vd-search-toggle { display: grid; }
  .vd-icon-btn, .vd-basket { width: 40px; height: 40px; border-radius: 11px; }
  .vd-basket { padding: 0; justify-content: center; position: relative; }
  .vd-basket .vd-cart-total { display: none; }
  .vd-basket .vd-cart-count { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; font-size: 11px; border-radius: 999px; }
  .vd-basket .vd-cart-count.is-empty { display: none; }
  .vd-trade { display: none; }
  .vd-logo { margin-right: auto; } .vd-wordmark { font-size: 20px; }
  .vd-logo svg { width: 26px; height: 26px; }
  .vd-search { order: 5; flex-basis: 100%; height: 44px; display: none; }
  .vd-header.is-searching .vd-search { display: flex; }
  .vd-nav { display: none; }
  .admin-bar .vd-header { top: 0; }
  .vd-foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-top: 32px; }
  .vd-foot-brand { grid-column: 1 / -1; }
  .vd-foot-promises > div { padding: 14px; }
}
@media (max-width: 480px) { .vd-foot-promises { grid-template-columns: 1fr; } }
@media (max-width: 379px) { .vd-actions a[aria-label="My account"] { display: none; } }

/* Shared: white product plate */
.vd-plate { display: grid; place-items: center; aspect-ratio: 1; background: #fff; border-radius: 16px; box-shadow: 0 1px 2px rgba(17,17,20,.04), 0 8px 24px rgba(17,17,20,.06); overflow: hidden; }
.vd-plate img { width: 86%; height: 86%; object-fit: contain; }

/* Age gate */
.vd-age { position: fixed; inset: 0; z-index: 9999; background: rgba(17,17,20,.72); display: grid; place-items: center; padding: 16px; contain: layout paint; }
html.vd-age-ok .vd-age { display: none !important; }
html:not(.vd-age-ok):has(#vd-age), html:not(.vd-age-ok):has(#vd-age) body { overflow: hidden; }
.vd-age-box { width: min(460px, 100%); background: #fff; border-radius: 24px; padding: 28px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.3); font-family: var(--vd-body); }
.vd-age-ask, .vd-age-denied { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.vd-age-ask[hidden], .vd-age-denied[hidden] { display: none; }
.vd-age-badge { width: 64px; height: 64px; border-radius: 999px; background: var(--vd-coral); color: #fff; display: grid; place-items: center; font: 800 22px var(--vd-head); }
.vd-age h2 { margin: 0; font: 800 26px var(--vd-head); letter-spacing: -0.02em; color: var(--vd-ink); }
.vd-age p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--vd-text); }
.vd-age-btns { display: grid; gap: 8px; width: 100%; margin-top: 4px; }
.vd-age-btns button { height: 52px; border-radius: 14px; font: 700 16px var(--vd-body); cursor: pointer; border: 0; }
.vd-age-yes { background: var(--vd-ink); color: #fff; } .vd-age-yes:hover { background: #2a2a30; }
.vd-age-no { background: var(--vd-warm); color: var(--vd-ink); }
.vd-age small { font-size: 12px; color: var(--vd-muted); line-height: 1.5; }
.vd-age small a, .vd-age-link { color: var(--vd-ink); font-weight: 700; text-decoration: underline; }
