/*
Theme Name: Boutiq V5 Official
Theme URI: https://boutiqv5.us/
Author: Boutiq V5
Description: High-performance WooCommerce theme for boutiqv5.us — Boutiq V5 / Boutiq Switch V5 vape store. Dark neon storefront, SEO engine, product seeder, blog seeder and hard-coded cart & checkout.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: boutiqv5
WC requires at least: 7.0
WC tested up to: 9.9
*/

:root{
  --bq-bg:#07060c;
  --bq-bg-2:#0e0b18;
  --bq-card:#141024;
  --bq-line:rgba(255,255,255,.10);
  --bq-text:#f4f2fb;
  --bq-muted:#a49dbd;
  --bq-violet:#8a2be2;
  --bq-violet-2:#b56bff;
  --bq-orange:#ff6a00;
  --bq-cyan:#34e2e4;
  --bq-radius:16px;
  --bq-max:1240px;
  --bq-font:"Poppins","Segoe UI",system-ui,-apple-system,sans-serif;
  --bq-display:"Archivo Black","Poppins",system-ui,sans-serif;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:var(--bq-bg);color:var(--bq-text);
  font-family:var(--bq-font);font-size:16px;line-height:1.7;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--bq-violet-2);text-decoration:none}
a:hover{color:var(--bq-orange)}
h1,h2,h3,h4,h5{font-family:var(--bq-display);line-height:1.15;margin:0 0 .6em;letter-spacing:.4px}
h1{font-size:clamp(2.1rem,6vw,3.6rem);text-transform:uppercase}
h2{font-size:clamp(1.6rem,4vw,2.4rem)}
h3{font-size:clamp(1.25rem,3vw,1.7rem)}
p{margin:0 0 1.1em}
ul,ol{padding-left:1.2rem}
hr{border:0;border-top:1px solid var(--bq-line);margin:2.5rem 0}
.bq-wrap{width:100%;max-width:var(--bq-max);margin:0 auto;padding:0 18px}
.bq-section{padding:56px 0}
.bq-muted{color:var(--bq-muted)}
.bq-center{text-align:center}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}

/* Buttons */
.bq-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  padding:.85rem 1.5rem;border-radius:999px;font-weight:700;letter-spacing:.5px;
  text-transform:uppercase;font-size:.85rem;border:0;cursor:pointer;
  background:linear-gradient(100deg,var(--bq-violet),var(--bq-orange));
  color:#fff!important;transition:transform .15s ease,box-shadow .2s ease;
  box-shadow:0 10px 30px rgba(138,43,226,.35);
}
.bq-btn:hover{transform:translateY(-2px);box-shadow:0 14px 38px rgba(255,106,0,.35)}
.bq-btn--ghost{background:transparent;border:1px solid var(--bq-violet-2);box-shadow:none;color:var(--bq-violet-2)!important}
.bq-btn--ghost:hover{background:rgba(138,43,226,.15)}

/* Top bar */
.bq-topbar{background:linear-gradient(90deg,var(--bq-violet),var(--bq-orange));color:#fff;font-size:.78rem;font-weight:600;letter-spacing:.6px}
.bq-topbar .bq-wrap{display:flex;flex-wrap:wrap;gap:.4rem 1.2rem;align-items:center;justify-content:center;padding-top:8px;padding-bottom:8px;text-align:center}
.bq-topbar a{color:#fff}

/* Header */
.bq-header{position:sticky;top:0;z-index:900;background:rgba(7,6,12,.92);backdrop-filter:blur(12px);border-bottom:1px solid var(--bq-line)}
.bq-header-inner{display:flex;align-items:center;gap:1rem;min-height:70px}
.bq-logo{font-family:var(--bq-display);font-size:1.35rem;text-transform:uppercase;color:#fff!important;letter-spacing:1px;white-space:nowrap}
.bq-logo span{background:linear-gradient(90deg,var(--bq-violet-2),var(--bq-orange));-webkit-background-clip:text;background-clip:text;color:transparent}
.bq-header-actions{margin-left:auto;display:flex;align-items:center;gap:.6rem}
.bq-cart-link{position:relative;color:#fff!important;font-weight:700;font-size:.85rem;display:inline-flex;align-items:center;gap:.4rem}
.bq-cart-count{background:var(--bq-orange);color:#fff;border-radius:999px;min-width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;font-size:.7rem;padding:0 5px}
.bq-search{display:flex;align-items:center;background:var(--bq-card);border:1px solid var(--bq-line);border-radius:999px;overflow:hidden;max-width:320px;flex:1}
.bq-search input{background:transparent;border:0;color:var(--bq-text);padding:.6rem .9rem;width:100%;outline:none;font-size:.85rem}
.bq-search button{background:transparent;border:0;color:var(--bq-violet-2);padding:0 .9rem;cursor:pointer}

/* Nav */
.bq-nav ul{list-style:none;display:flex;gap:1.1rem;margin:0;padding:0}
.bq-nav a{color:var(--bq-text)!important;font-weight:600;font-size:.82rem;text-transform:uppercase;letter-spacing:.6px;padding:.4rem 0;display:block}
.bq-nav a:hover{color:var(--bq-orange)!important}
.bq-nav li{position:relative}
.bq-nav .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:230px;background:var(--bq-card);border:1px solid var(--bq-line);border-radius:12px;padding:.5rem;flex-direction:column;gap:0;box-shadow:0 18px 40px rgba(0,0,0,.5)}
.bq-nav li:hover>.sub-menu{display:flex}
.bq-nav .sub-menu a{padding:.5rem .7rem;text-transform:none;font-size:.85rem}
.bq-burger,.bq-nav-head{display:none}

/* Mobile navigation — single authoritative drawer */
@media (max-width:960px){
  .bq-burger{
    display:inline-flex;align-items:center;justify-content:center;
    width:44px;height:44px;border-radius:12px;border:1px solid var(--bq-line);
    background:var(--bq-card);color:#fff;cursor:pointer;padding:0;flex:0 0 auto;
  }
  .bq-burger svg{width:22px;height:22px;display:block}
  .bq-header .bq-search{display:none}
  .bq-nav{
    position:fixed;inset:0;width:100%;height:100dvh;z-index:1000;
    background:var(--bq-bg-2);transform:translateX(-100%);
    transition:transform .25s ease;display:flex;flex-direction:column;
    overflow-y:auto;-webkit-overflow-scrolling:touch;padding:0 0 40px;
  }
  body.bq-nav-open .bq-nav{transform:translateX(0)}
  body.bq-nav-open{overflow:hidden}
  .bq-nav-head{
    display:flex;align-items:center;justify-content:space-between;
    padding:16px 18px;border-bottom:1px solid var(--bq-line);position:sticky;top:0;
    background:var(--bq-bg-2);z-index:2;
  }
  .bq-nav-head strong{font-family:var(--bq-display);text-transform:uppercase;letter-spacing:1px}
  .bq-nav-close{width:42px;height:42px;border-radius:12px;border:1px solid var(--bq-line);background:transparent;color:#fff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
  .bq-nav-close svg{width:20px;height:20px}
  .bq-nav ul{flex-direction:column;gap:0;padding:8px 18px}
  .bq-nav>ul>li{border-bottom:1px solid var(--bq-line)}
  .bq-nav a{padding:14px 0;font-size:1rem}
  .bq-nav .sub-menu{display:flex;position:static;border:0;background:transparent;box-shadow:none;padding:0 0 8px 14px;min-width:0}
  .bq-nav .sub-menu a{padding:8px 0;color:var(--bq-muted)!important}
}

/* Hero */
.bq-hero{position:relative;padding:70px 0 60px;background:
  radial-gradient(900px 420px at 15% 0%,rgba(138,43,226,.35),transparent 60%),
  radial-gradient(800px 400px at 90% 20%,rgba(255,106,0,.25),transparent 60%),
  var(--bq-bg);
  border-bottom:1px solid var(--bq-line);overflow:hidden}
.bq-hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:center}
.bq-eyebrow{display:inline-block;font-size:.72rem;font-weight:800;letter-spacing:2px;text-transform:uppercase;color:var(--bq-cyan);border:1px solid rgba(52,226,228,.4);border-radius:999px;padding:.35rem .9rem;margin-bottom:1rem}
.bq-hero h1{margin-bottom:.4em}
.bq-hero h1 span{background:linear-gradient(90deg,var(--bq-violet-2),var(--bq-orange));-webkit-background-clip:text;background-clip:text;color:transparent}
.bq-hero-lead{font-size:1.05rem;color:var(--bq-muted);max-width:46ch}
.bq-hero-cta{display:flex;flex-wrap:wrap;gap:.8rem;margin:1.4rem 0}
.bq-hero-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:1.6rem}
.bq-stat{background:var(--bq-card);border:1px solid var(--bq-line);border-radius:14px;padding:.9rem}
.bq-stat b{display:block;font-family:var(--bq-display);font-size:1.25rem;color:#fff}
.bq-stat span{font-size:.75rem;color:var(--bq-muted)}
.bq-hero-media img{border-radius:24px;border:1px solid var(--bq-line);box-shadow:0 30px 70px rgba(0,0,0,.6)}
@media (max-width:900px){.bq-hero-grid{grid-template-columns:1fr}.bq-hero{padding:44px 0}}

/* Marquee strip */
.bq-strip{background:var(--bq-bg-2);border-block:1px solid var(--bq-line);padding:14px 0;overflow:hidden}
.bq-strip-inner{display:flex;gap:2.4rem;white-space:nowrap;animation:bq-slide 26s linear infinite;font-family:var(--bq-display);text-transform:uppercase;font-size:.9rem;color:var(--bq-muted);letter-spacing:1px}
@keyframes bq-slide{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.bq-strip-inner{animation:none}}

/* Section heads */
.bq-head{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin-bottom:1.8rem;flex-wrap:wrap}
.bq-head p{margin:0;color:var(--bq-muted);max-width:60ch}
.bq-head h2{margin:0}

/* Cards / grids */
.bq-grid{display:grid;gap:18px}
.bq-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.bq-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.bq-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (max-width:900px){.bq-grid-3,.bq-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.bq-grid-2{grid-template-columns:1fr}}
.bq-card{background:var(--bq-card);border:1px solid var(--bq-line);border-radius:var(--bq-radius);padding:1.2rem}
.bq-card h3{font-size:1.1rem}
.bq-card p{color:var(--bq-muted);margin:0}

/* Product grid (theme rendered) */
.bq-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;list-style:none;margin:0;padding:0}
@media (max-width:1024px){.bq-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.bq-product{background:var(--bq-card);border:1px solid var(--bq-line);border-radius:var(--bq-radius);overflow:hidden;display:flex;flex-direction:column;transition:transform .15s ease,border-color .2s ease}
.bq-product:hover{transform:translateY(-4px);border-color:var(--bq-violet-2)}
.bq-product .bq-product-thumb{aspect-ratio:1/1;overflow:hidden;background:#0b0913}
.bq-product .bq-product-thumb img{width:100%;height:100%;object-fit:cover}
.bq-product-body{padding:.9rem;display:flex;flex-direction:column;gap:.45rem;flex:1}
.bq-product-title{font-size:.92rem;font-weight:700;line-height:1.35;color:#fff!important;font-family:var(--bq-font)}
.bq-product-price{color:var(--bq-cyan);font-weight:800}
.bq-product-price del{color:var(--bq-muted);font-weight:400;margin-right:.4rem}
.bq-product .bq-btn{margin-top:auto;width:100%;padding:.65rem 1rem;font-size:.75rem}

/* Woo product loop harmonised */
.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;list-style:none;margin:0;padding:0}
.woocommerce ul.products li.product{background:var(--bq-card);border:1px solid var(--bq-line);border-radius:var(--bq-radius);padding:.9rem;margin:0!important;width:auto!important;float:none!important;text-align:left}
.woocommerce ul.products li.product a img{border-radius:12px;margin-bottom:.6rem}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:.92rem!important;font-weight:700;color:#fff;padding:0!important}
.woocommerce ul.products li.product .price{color:var(--bq-cyan);font-weight:800}
.woocommerce ul.products li.product .button{display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(100deg,var(--bq-violet),var(--bq-orange));color:#fff;border-radius:999px;padding:.6rem 1.1rem;font-size:.76rem;text-transform:uppercase;font-weight:700;margin-top:.5rem}
@media (max-width:1024px){.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* MOBILE: any non-shop product block = 2 per row, max 10 items */
@media (max-width:760px){
  .bq-product-grid,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px}
  .bq-product-body{padding:.6rem}
  .bq-product-title{font-size:.8rem}
  .bq-product .bq-btn{font-size:.68rem;padding:.55rem .6rem}
  .bq-limit-10 .bq-product:nth-child(n+11),
  .bq-limit-10 li.product:nth-child(n+11){display:none}
}

/* Flavour / feature blocks */
.bq-flavor{background:var(--bq-card);border:1px solid var(--bq-line);border-radius:var(--bq-radius);padding:1.2rem;display:flex;gap:1rem;align-items:flex-start}
.bq-flavor .bq-dot{width:12px;height:12px;border-radius:50%;background:linear-gradient(90deg,var(--bq-violet-2),var(--bq-orange));margin-top:.5rem;flex:0 0 auto}

/* Tables */
.bq-table{width:100%;border-collapse:collapse;margin:1.4rem 0;font-size:.92rem}
.bq-table th,.bq-table td{border:1px solid var(--bq-line);padding:.7rem .8rem;text-align:left}
.bq-table th{background:var(--bq-bg-2);font-family:var(--bq-display);font-size:.8rem;text-transform:uppercase;letter-spacing:.6px}

/* Accordion / FAQ */
.bq-faq-section{margin-bottom:2rem}
.bq-acc{border:1px solid var(--bq-line);border-radius:12px;background:var(--bq-card);margin-bottom:.7rem;overflow:hidden}
.bq-acc summary{cursor:pointer;padding:1rem 1.1rem;font-weight:700;list-style:none;display:flex;justify-content:space-between;gap:1rem}
.bq-acc summary::-webkit-details-marker{display:none}
.bq-acc summary::after{content:"+";color:var(--bq-orange);font-weight:800}
.bq-acc[open] summary::after{content:"–"}
.bq-acc .bq-acc-body{padding:0 1.1rem 1.1rem;color:var(--bq-muted)}

/* Article / long form */
.bq-article{max-width:none}
.bq-article-hero{padding:46px 0 24px;background:linear-gradient(180deg,rgba(138,43,226,.18),transparent)}
.bq-meta{color:var(--bq-muted);font-size:.85rem;display:flex;flex-wrap:wrap;gap:.9rem;margin-bottom:.8rem}
.bq-entry{font-size:1.03rem}
.bq-entry h2{margin-top:2rem}
.bq-entry h3{margin-top:1.6rem}
.bq-entry figure{margin:1.8rem 0}
.bq-entry figure img{border-radius:16px;border:1px solid var(--bq-line);width:100%}
.bq-entry figcaption{color:var(--bq-muted);font-size:.85rem;margin-top:.6rem;text-align:center}
.bq-entry blockquote{border-left:3px solid var(--bq-orange);margin:1.6rem 0;padding:.4rem 0 .4rem 1.1rem;color:var(--bq-text);font-style:italic}
.bq-toc{background:var(--bq-card);border:1px solid var(--bq-line);border-radius:14px;padding:1.1rem 1.3rem;margin:1.6rem 0}
.bq-toc strong{display:block;margin-bottom:.5rem;text-transform:uppercase;font-size:.8rem;letter-spacing:1px;color:var(--bq-muted)}
.bq-toc ol{margin:0;color:var(--bq-muted)}
.bq-inline-cta{background:linear-gradient(100deg,rgba(138,43,226,.22),rgba(255,106,0,.16));border:1px solid var(--bq-line);border-radius:16px;padding:1.3rem;margin:2rem 0}

/* Blog cards */
.bq-post-card{background:var(--bq-card);border:1px solid var(--bq-line);border-radius:var(--bq-radius);overflow:hidden;display:flex;flex-direction:column}
.bq-post-card img{aspect-ratio:16/9;object-fit:cover;width:100%}
.bq-post-card .bq-post-body{padding:1rem;display:flex;flex-direction:column;gap:.5rem;flex:1}
.bq-post-card h3{font-size:1rem;margin:0;font-family:var(--bq-font)}
.bq-post-card p{color:var(--bq-muted);font-size:.88rem;margin:0}

/* Cart & checkout (hard coded) */
.bq-cart{display:grid;grid-template-columns:1.6fr .9fr;gap:26px;align-items:start}
@media (max-width:900px){.bq-cart{grid-template-columns:1fr}}
.bq-cart-table{width:100%;border-collapse:collapse}
.bq-cart-table th{text-align:left;font-family:var(--bq-display);font-size:.75rem;text-transform:uppercase;letter-spacing:1px;color:var(--bq-muted);padding:.6rem;border-bottom:1px solid var(--bq-line)}
.bq-cart-table td{padding:.9rem .6rem;border-bottom:1px solid var(--bq-line);vertical-align:middle}
.bq-cart-item{display:flex;gap:.9rem;align-items:center}
.bq-cart-item img{width:70px;height:70px;object-fit:cover;border-radius:12px}
.bq-cart-item strong{display:block;font-size:.92rem}
.bq-qty input{width:74px;background:var(--bq-bg-2);border:1px solid var(--bq-line);color:#fff;border-radius:10px;padding:.5rem}
.bq-remove{color:var(--bq-muted)!important;font-size:1.2rem;line-height:1}
.bq-remove:hover{color:#ff5470!important}
.bq-panel{background:var(--bq-card);border:1px solid var(--bq-line);border-radius:var(--bq-radius);padding:1.2rem}
.bq-totals{width:100%;border-collapse:collapse;margin-bottom:1rem}
.bq-totals th{text-align:left;font-weight:600;color:var(--bq-muted);padding:.55rem 0;font-size:.9rem}
.bq-totals td{text-align:right;padding:.55rem 0;font-weight:700}
.bq-totals tr.bq-total-row td,.bq-totals tr.bq-total-row th{font-size:1.15rem;color:#fff;border-top:1px solid var(--bq-line);padding-top:.9rem}
.bq-ship-options{display:grid;gap:.6rem;margin:.4rem 0 1rem}
.bq-ship-option{display:flex;gap:.7rem;align-items:flex-start;border:1px solid var(--bq-line);border-radius:12px;padding:.75rem .85rem;cursor:pointer;background:var(--bq-bg-2)}
.bq-ship-option:has(input:checked){border-color:var(--bq-violet-2);box-shadow:0 0 0 1px var(--bq-violet-2) inset}
.bq-ship-option input{margin-top:.35rem}
.bq-ship-option span{display:block;font-size:.85rem;color:var(--bq-muted)}
.bq-ship-option b{font-size:.95rem}
.bq-coupon{display:flex;gap:.5rem;margin-top:1rem}
.bq-coupon input{flex:1;background:var(--bq-bg-2);border:1px solid var(--bq-line);border-radius:10px;color:#fff;padding:.65rem .8rem}
.bq-checkout-grid{display:grid;grid-template-columns:1.25fr .85fr;gap:26px;align-items:start}
@media (max-width:900px){.bq-checkout-grid{grid-template-columns:1fr}}
.bq-field{margin-bottom:1rem}
.bq-field label{display:block;font-size:.8rem;text-transform:uppercase;letter-spacing:.8px;color:var(--bq-muted);margin-bottom:.35rem;font-weight:700}
.bq-field input,.bq-field select,.bq-field textarea,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea{
  width:100%;background:var(--bq-bg-2);border:1px solid var(--bq-line);color:var(--bq-text);
  border-radius:12px;padding:.75rem .9rem;font-family:inherit;font-size:.95rem;outline:none
}
.bq-field input:focus,.bq-field select:focus,.bq-field textarea:focus{border-color:var(--bq-violet-2)}
.bq-phone-row{display:grid;grid-template-columns:150px 1fr;gap:.6rem}
.bq-req{color:var(--bq-orange)}
.bq-notice{border:1px solid var(--bq-line);background:var(--bq-bg-2);border-radius:12px;padding:.9rem 1rem;margin-bottom:1rem;font-size:.9rem}
.bq-notice--ok{border-color:rgba(52,226,228,.5)}
.bq-notice--err{border-color:rgba(255,84,112,.6)}
.woocommerce-error,.woocommerce-message,.woocommerce-info{background:var(--bq-card)!important;border:1px solid var(--bq-line)!important;color:var(--bq-text)!important;border-radius:12px;padding:1rem 1.1rem!important;list-style:none;margin-bottom:1.2rem}
.woocommerce-error{border-color:rgba(255,84,112,.6)!important}

/* Footer */
.bq-footer{background:var(--bq-bg-2);border-top:1px solid var(--bq-line);padding:52px 0 26px;margin-top:60px}
.bq-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:26px}
@media (max-width:900px){.bq-footer-grid{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.bq-footer-grid{grid-template-columns:1fr}}
.bq-footer h4{font-size:.85rem;text-transform:uppercase;letter-spacing:1.2px;color:#fff}
.bq-footer ul{list-style:none;padding:0;margin:0}
.bq-footer li{margin-bottom:.45rem}
.bq-footer a{color:var(--bq-muted)}
.bq-footer a:hover{color:var(--bq-orange)}
.bq-footer-bottom{border-top:1px solid var(--bq-line);margin-top:30px;padding-top:18px;color:var(--bq-muted);font-size:.82rem;display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.bq-contact-line{color:var(--bq-muted);font-size:.9rem}
.bq-contact-line a{color:var(--bq-cyan)}

/* Breadcrumbs */
.bq-crumbs{font-size:.8rem;color:var(--bq-muted);margin-bottom:1rem}
.bq-crumbs a{color:var(--bq-muted)}
.bq-crumbs span{margin:0 .4rem}

/* Newsletter */
.bq-newsletter{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.6rem}
.bq-newsletter input{flex:1;min-width:180px;background:var(--bq-card);border:1px solid var(--bq-line);border-radius:999px;padding:.7rem 1rem;color:#fff}

/* Sticky mobile add-to-cart */
.bq-sticky-atc{position:fixed;left:0;right:0;bottom:0;z-index:800;background:rgba(14,11,24,.96);border-top:1px solid var(--bq-line);padding:.7rem 14px;display:none;gap:.7rem;align-items:center}
@media (max-width:760px){body.single-product .bq-sticky-atc{display:flex}body.single-product{padding-bottom:78px}}
.bq-sticky-atc .bq-btn{flex:1}
