/*
Theme Name: VORIQ Custom
Theme URI: https://voriqco.com/
Author: VORIQ
Description: Custom-built theme for VORIQ — hand-written HTML/CSS matching the approved mobile design. No third-party theme.
Version: 1.25
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Private
Text Domain: voriq
*/

:root{
  --green:#3A9E75;
  --green-dark:#2c7a5b;
  --gold:#c9a227;
  --gold-2:#e8c766;
  --blue:#2563eb;
  --blue-dark:#1d4ed8;
  --ink:#111111;
  --grey:#666666;
  --line:#e5e5e5;
  --bg:#ffffff;
  --cream:#f3e5ab;
}
*{box-sizing:border-box}
html,body{overflow-x:hidden}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  -webkit-text-size-adjust:100%;
}
img{max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer}
.wrap{max-width:1200px;margin:0 auto;padding:0 12px}

/* ---------- super deal bar ---------- */
.super-deal{
  text-align:center;
  font-size:15px;
  padding:8px 10px 7px;
  border-bottom:1px solid var(--line);
  background:#fff;
}
.super-deal span{font-weight:500}
.super-deal .chev{font-size:12px;margin-left:4px}

/* ---------- header ---------- */
.site-header{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-bottom:1px solid var(--line);
  background:#fff;
  position:sticky;
  top:0;
  z-index:60;
}
.hamburger{
  background:none;border:0;padding:6px;
  display:flex;flex-direction:column;gap:5px;
}
.hamburger span{display:block;width:24px;height:3px;background:var(--ink);border-radius:2px}
.brand{
  display:flex;align-items:center;gap:8px;
  flex:1;justify-content:center;
  min-width:0;
}
.brand svg{flex:none}
.brand-name{
  font-size:30px;font-weight:900;letter-spacing:1px;
  line-height:1;white-space:nowrap;
}
.header-icons{display:flex;align-items:center;gap:14px}
.header-icons a,.header-icons button{
  background:none;border:0;padding:2px;color:var(--ink);
  display:flex;align-items:center;
}
.header-icons svg{display:block}
.icon-btn{position:relative}
.icon-btn .count{
  position:absolute;top:-6px;right:-8px;
  background:var(--green);color:#fff;
  font-size:10px;font-weight:700;line-height:1;
  min-width:16px;height:16px;border-radius:999px;
  display:flex;align-items:center;justify-content:center;
  padding:0 3px;
}

/* mobile nav drawer */
.nav-drawer{
  position:fixed;inset:0;z-index:100;
  background:rgba(0,0,0,.45);
  display:none;
}
.nav-drawer.open{display:block}
.nav-drawer .panel{
  width:78%;max-width:320px;height:100%;
  background:#fff;padding:18px 0;
  overflow-y:auto;
}
.nav-drawer .panel .brand{justify-content:flex-start;padding:0 18px 14px;border-bottom:1px solid var(--line)}
.nav-drawer a.item{
  display:block;padding:13px 20px;
  font-size:16px;font-weight:600;
  border-bottom:1px solid #f1f1f1;
}
.nav-drawer a.item small{display:block;font-size:12px;color:var(--grey);font-weight:400;margin-top:2px}
.nav-drawer .close-x{
  position:absolute;top:12px;right:14px;
  background:#fff;border:1px solid var(--line);border-radius:50%;
  width:36px;height:36px;font-size:18px;line-height:1;
}

/* ---------- search row ---------- */
.search-row{
  display:flex;align-items:center;gap:8px;
  padding:12px;
  background:#fff;
}
.social-icon{
  flex:none;width:40px;height:40px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  overflow:hidden;
}
.social-icon.fb{background:#1877F2}
.social-icon.ig{
  background:linear-gradient(45deg,#f9ce34,#ee2a7b,#6228d7);
  border-radius:12px;
}
.social-icon svg{display:block}
.search-box{
  flex:1;display:flex;align-items:stretch;
  border:1px solid #cfcfcf;border-radius:9px;
  overflow:hidden;background:#fff;
  min-width:0;height:44px;
}
.search-box select{
  border:0;border-right:1px solid #ddd;
  background:#fff;font-size:14px;padding:0 6px 0 10px;
  max-width:86px;flex:none;
  -webkit-appearance:none;appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23333' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 8px center;
  padding-right:22px;
}
.search-box input{
  flex:1;min-width:0;border:0;outline:none;
  font-size:14px;padding:0 10px;
}
.search-box input::placeholder{color:#9a9a9a}
.search-box button{
  border:0;background:none;padding:0 12px;
  display:flex;align-items:center;color:var(--ink);
}

/* ---------- category pills ---------- */
.cat-pills{
  display:flex;gap:10px;
  padding:4px 12px 12px;
  overflow-x:auto;
  scrollbar-width:none;
}
.cat-pills::-webkit-scrollbar{display:none}
.cat-pill{
  flex:1;white-space:nowrap;text-align:center;
  padding:11px 14px;border-radius:9px;
  font-size:15px;font-weight:700;
  background:#fff;border:1px solid #d8d8d8;color:var(--ink);
  min-width:0;
}
.cat-pill.gold{
  background:linear-gradient(180deg,var(--gold-2),var(--gold));
  border-color:#b8931f;
}
.cat-pill.blue{background:var(--blue);border-color:var(--blue);color:#fff}

/* ---------- banner slider ---------- */
.banner{position:relative;background:#fff}
.banner-2{margin-top:10px}
/* v1.25: section 2 is taller than the banner — it fills the space the
   removed intro section occupied, so WELCOME TO VORIQ stays in place.
   Intro heights: desktop ~120px, tall phone ~95px, short phone ~55px. */
.banner-2 .slide-inner{min-height:340px}
.banner .slides{position:relative;overflow:hidden}
.banner .slide{display:none}
.banner .slide.active{display:block}
.banner .slide-inner{
  min-height:220px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;padding:34px 22px;
  color:#fff;
  position:relative;overflow:hidden;
}
/* Banner ad slides (v1.22): the ad photo/video fills the whole slide
   (cover-crop); title/subtitle/button sit on top of it. */
.banner .slide-inner .ad-media{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
}
.banner .slide-inner>*:not(.ad-media){position:relative;z-index:1}
.banner .slide-inner.ad-slide h2,
.banner .slide-inner.ad-slide p{text-shadow:0 1px 8px rgba(0,0,0,.65)}
.banner .slide-green{background:linear-gradient(180deg,#43a87f,var(--green))}
.banner .slide-gold{background:linear-gradient(180deg,#e8c766,#b8931f)}
.banner .slide-dark{background:linear-gradient(180deg,#2b2b2b,#111)}
.banner .slide-inner h2{
  margin:0 0 10px;font-size:30px;font-weight:900;letter-spacing:2px;
}
.banner .slide-inner p{margin:0 0 18px;font-size:16px;line-height:1.5;max-width:340px}
.banner .slide-inner .btn{
  display:inline-block;background:#fff;color:var(--ink);
  font-weight:700;font-size:15px;
  padding:11px 26px;border-radius:8px;
}
.banner .dots{
  display:flex;justify-content:center;gap:7px;
  padding:12px 0 4px;
}
.banner .dots button{
  width:8px;height:8px;border-radius:50%;
  border:0;padding:0;background:#c9c9c9;
}
.banner .dots button.active{background:#333;width:9px;height:9px}

/* ---------- intro ---------- */
.intro{padding:26px 16px 8px}
.intro h3{margin:0;font-size:19px;font-weight:800;letter-spacing:.4px}
.intro .v-mark{margin-top:10px}

/* ---------- welcome switch ---------- */
.welcome{text-align:center;padding:20px 16px 6px}
.welcome h2{margin:0;font-size:23px;font-weight:900;letter-spacing:.4px}
.switch{
  display:flex;margin:16px auto 4px;
  max-width:430px;border-radius:999px;overflow:hidden;
  border:1px solid #222;
}
.switch button{
  flex:1;border:0;padding:12px 6px;
  font-size:14px;font-weight:700;
}
.switch button.seg-sneakers{background:var(--blue-dark);color:#fff}
.switch button.seg-luxury{background:var(--cream);color:#8a6d1a}
.switch button.seg-apparel{background:#1a1a1a;color:var(--green)}
.switch button.on{box-shadow:inset 0 0 0 2px rgba(0,0,0,.35)}

/* ---------- product cards ---------- */
.section-head{
  display:flex;align-items:baseline;justify-content:space-between;
  padding:18px 16px 10px;
}
.section-head h2{margin:0;font-size:20px;font-weight:900;letter-spacing:.3px}
.section-head a{font-size:13px;color:var(--green);font-weight:700}
.product-row{
  display:flex;gap:12px;
  padding:2px 16px 6px;
  overflow-x:auto;
  scrollbar-width:none;
  scroll-snap-type:x mandatory;
}
.product-row::-webkit-scrollbar{display:none}
.product-card{
  flex:0 0 46%;max-width:220px;
  scroll-snap-align:start;
  border:1px solid var(--line);border-radius:10px;
  overflow:hidden;background:#fff;
  position:relative;
}
.product-card .thumb{position:relative;aspect-ratio:1/1;background:#f6f6f6}
.product-card .thumb img{width:100%;height:100%;object-fit:cover;display:block}
.product-card .thumb .noimg{
  width:100%;height:100%;
  display:flex;align-items:center;justify-content:center;
  color:#bbb;font-size:13px;
}
.product-card .wish{
  position:absolute;top:8px;right:8px;z-index:2;
  width:30px;height:30px;border-radius:50%;
  background:rgba(255,255,255,.92);border:0;
  display:flex;align-items:center;justify-content:center;
}
.product-card .wish.saved svg path{fill:#e0245e;stroke:#e0245e}
.product-card .discount-badge{
  position:absolute;top:8px;left:8px;z-index:2;
  background:#e0245e;color:#fff;
  font-size:11px;font-weight:700;
  padding:3px 7px;border-radius:4px;
}
.product-card .info{
  display:flex;
  flex-direction:column;
  padding:10px 10px 12px;
}
.product-card .info h3{margin:0 0 4px;font-size:14px;font-weight:600;line-height:1.35}
.product-card .info h3 a{display:block}
.product-card .cat{font-size:11px;color:var(--grey);margin:0 0 6px}
.product-card .info .price{
  display:block !important;
  font-size:16px;font-weight:800;
  line-height:1.5 !important;
  padding-bottom:0 !important;
  margin-bottom:0 !important;
  overflow:visible;
  flex:1;
  min-width:0;
}
.product-card .price del{color:#999;font-weight:400;font-size:13px;margin-right:6px}
.product-card .price .off{color:#e0245e;font-size:12px;font-weight:700}
.product-card .save{
  margin:0 0 2px;
  color:#1e9e5a;font-size:12px;font-weight:700;
}
.product-card .off-pct{color:#e0245e;font-size:12px;font-weight:700;margin-left:4px}
.product-card .price-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-top:4px;
}
.product-card .cart-btn,
.woocommerce .product-card .cart-btn{
  flex:none;
  width:42px;height:42px;
  background:#111 !important;border:0;border-radius:8px;
  display:flex !important;align-items:center;justify-content:center;
  padding:0;
}
.product-card .cart-btn.added{background:var(--green) !important}

/* popular chips */
.popular{text-align:center;padding:10px 16px 0}
.popular h2{margin:0 0 14px;font-size:22px;font-weight:900;letter-spacing:.4px}
/* popular chips — all 7 in one line, no scroll (owner: like the reference image).
   On a phone the 7 labels only fit if the pills are small, so mobile chips use
   8px text with tight padding; desktop keeps the normal 12px pills. */
.chips{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:3px}
.chip{
  flex-shrink:0;white-space:nowrap;text-align:center;
  border:1px solid #d5d5d5;background:#fff;border-radius:999px;
  padding:7px 2px;font-size:8px;font-weight:700;letter-spacing:0;
}
@media (min-width:500px){.chips{justify-content:center;gap:6px}}
@media (min-width:768px){
  .chips{gap:8px}
  .chip{padding:8px 16px;font-size:12px;letter-spacing:.4px}
}
.chip.on{background:var(--blue);border-color:var(--blue);color:#fff}

/* Add to Cart / Buy Now disabled until a size is chosen (variable products) — solid grey, never pale green */
.woocommerce div.product form.cart .button.voriq-gated:disabled,
.woocommerce div.product form.cart .button.voriq-gated.disabled{background:#9aa0a6 !important;opacity:1;cursor:not-allowed}

/* product grid (popular) */
.product-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:12px;
  padding:16px;
}
.product-grid .product-card{flex:none;max-width:none}

/* features */
.features{
  display:grid;grid-template-columns:1fr 1fr;gap:1px;
  background:var(--line);
  border-top:1px solid var(--line);border-bottom:1px solid var(--line);
  margin-top:8px;
}
.features div{
  background:#fff;text-align:center;
  padding:18px 8px;
}
.features b{display:block;font-size:13px;letter-spacing:.4px;margin-bottom:4px}
.features span{font-size:12px;color:var(--grey)}

/* ---------- footer ---------- */
.site-footer{background:#111;color:#ddd;margin-top:26px}
.site-footer .cols{padding:26px 18px 10px}
.site-footer h4{color:#fff;margin:0 0 10px;font-size:15px}
.site-footer a{display:block;padding:5px 0;font-size:14px;color:#bbb}
.site-footer .pay{font-size:13px;color:#999;line-height:1.7;padding:0 18px 20px}
.site-footer .copy{
  border-top:1px solid #2a2a2a;text-align:center;
  font-size:12px;color:#888;padding:14px;
}

/* WhatsApp float — v1.22: moved to the mid-right edge (top 45%) at the
   customer's request (green mark on his screenshot); was bottom-right. */
.wa-float{
  position:fixed;right:14px;top:63%;bottom:auto;transform:translateY(-50%);z-index:70;
  width:58px;height:58px;border-radius:50%;
  background:#25D366;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 4px 14px rgba(0,0,0,.28);
}
.wa-float svg{display:block}

/* WooCommerce pages */
.woocommerce-page .wrap{padding-top:14px}
/* Buy page buttons: full-width green (lukaz-style), Buy Now above Add to Cart (order swapped in JS) */
.woocommerce div.product form.cart .button{
  background:var(--green) !important;color:#fff !important;
  border-radius:8px !important;
  padding:13px 26px !important;
  font-weight:700 !important;
  display:block !important;width:100% !important;
  margin:6px 0 !important;text-align:center !important;
}
.woocommerce div.product form.cart .button:hover{background:var(--green-dark) !important;color:#fff !important}
.woocommerce div.product form.cart .quantity .qty{height:46px}
.woocommerce ul.products{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product{width:100% !important;margin:0 !important;float:none}
.woocommerce .woocommerce-ordering select{padding:8px}
.woocommerce button.button,.woocommerce a.button{
  background:var(--green);color:#fff;
}
.woocommerce button.button:hover,.woocommerce a.button:hover{background:var(--green-dark);color:#fff}
.woocommerce div.product .summary .price{color:var(--ink);font-size:22px;font-weight:800}

/* ---------- single product page (Fabrilife-style) ---------- */
.woocommerce div.product .woocommerce-product-gallery,
.woocommerce div.product .summary{float:none !important;width:auto !important}
.woocommerce div.product .woocommerce-product-gallery{position:relative}
.woocommerce span.onsale{
  background:#e0245e !important;color:#fff !important;
  border-radius:4px !important;
  min-height:0 !important;min-width:0 !important;
  line-height:1.4 !important;
  padding:4px 9px !important;
  font-size:12px !important;font-weight:700 !important;
  top:10px !important;left:10px !important;z-index:5 !important;
}
.voriq-cod-badge{
  position:absolute;left:10px;bottom:10px;z-index:5;
  background:#1e9e5a;color:#fff;
  font-size:12px;font-weight:700;
  padding:5px 9px;border-radius:4px;
}
.woocommerce div.product .summary h1{font-size:22px;line-height:1.3;margin:0 0 8px}
.woocommerce div.product p.price{font-size:24px;font-weight:800;color:var(--ink);margin:0 0 4px}
.woocommerce div.product p.price del{color:#999;font-size:18px;font-weight:400;margin-right:8px}
.voriq-off{color:#e0245e;font-weight:700;font-size:15px;margin:0 0 10px}
.voriq-ship{color:#1e9e5a;font-weight:600;font-size:14px;margin:0 0 14px}
.voriq-size-pills{display:flex;gap:8px;flex-wrap:wrap;margin:4px 0}
.voriq-size-pills button{
  border:1.5px solid var(--green);background:#fff;border-radius:6px;
  padding:8px 16px;font-weight:700;font-size:14px;color:var(--ink);
}
.voriq-size-pills button.on{background:var(--green);color:#fff;border-color:var(--green)}
/* "Selected: Size L" line above the size label */
.voriq-selected-size{font-size:14px;color:var(--grey);margin:0 0 6px}
.voriq-selected-size b{color:var(--ink)}
/* size rows stack vertically: label above pills (lukaz-style) */
.woocommerce div.product form.cart table.variations{margin-bottom:6px}
.woocommerce div.product form.cart table.variations tr{display:block}
.woocommerce div.product form.cart table.variations th.label,
.woocommerce div.product form.cart table.variations td.value{display:block;padding:0;background:none;text-align:left}
.woocommerce div.product form.cart table.variations th.label label{
  font-size:14px;font-weight:700;letter-spacing:.4px;text-transform:uppercase;
}
.voriq-size-note{font-size:13px;color:#777;font-style:italic;margin:6px 0 0}
.voriq-size-note a{color:var(--green);font-weight:700;font-style:normal}
/* "In Stock" indicator next to the quantity stepper */
.voriq-stock{display:none;align-items:center;gap:6px;color:#1e9e5a;font-weight:700;font-size:14px;margin-left:10px;vertical-align:middle}
.voriq-stock.on{display:inline-flex}
.voriq-stock i{width:8px;height:8px;border-radius:50%;background:#1e9e5a;display:inline-block}
/* payment method badges (VORIQ's real methods only: bKash / Nagad / Rocket) */
.voriq-payments{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 0}
.voriq-pay{
  border:1.5px solid;border-radius:6px;
  padding:5px 12px;font-weight:800;font-size:13px;background:#fff;
}
.voriq-pay.bkash{border-color:#E2136E;color:#E2136E}
.voriq-pay.nagad{border-color:#F6921E;color:#F6921E}
.voriq-pay.rocket{border-color:#8C3494;color:#8C3494}
/* Important Notes */
.voriq-notes{margin-top:16px}
.voriq-notes h3{margin:0 0 4px;font-size:15px}
.voriq-notes p{margin:0;font-size:14px;color:#333;line-height:1.6}
.woocommerce div.product form.cart div.quantity.voriq-qty{
  display:inline-flex;align-items:stretch;
  border:1px solid #ccc;border-radius:8px;overflow:hidden;
  vertical-align:middle;margin-right:10px;
}
.woocommerce div.product form.cart div.quantity.voriq-qty input.qty{
  border:0 !important;width:44px !important;height:46px !important;
  text-align:center;margin:0 !important;
  -moz-appearance:textfield;appearance:textfield;
}
.woocommerce div.product form.cart div.quantity.voriq-qty input.qty::-webkit-outer-spin-button,
.woocommerce div.product form.cart div.quantity.voriq-qty input.qty::-webkit-inner-spin-button{
  -webkit-appearance:none;margin:0;
}
.voriq-qty-btn{
  width:38px;background:#f5f5f5;border:0;
  font-size:18px;font-weight:700;
}
.voriq-trust{
  border:1px solid var(--line);border-radius:10px;
  padding:14px 16px;margin-top:18px;
}
.voriq-trust h3{margin:0 0 8px;font-size:15px}
.voriq-trust ul{margin:0;padding:0;list-style:none}
.voriq-trust li{padding:4px 0;font-size:14px;color:#333}
.voriq-trust li::before{content:"✓";color:#1e9e5a;font-weight:700;margin-right:7px}
.voriq-tab{padding:20px 0;border-top:1px solid #eee}
.voriq-tab h2{font-size:19px;margin:0 0 10px}
.voriq-tab p{line-height:1.7;color:#333}
/* tabs converted to open sections by JS (fallback when the tabs template override does not load) */
.woocommerce-tabs ul.tabs{display:none !important}
.woocommerce-tabs .woocommerce-Tabs-panel{
  display:block !important;
  padding:20px 0;border-top:1px solid #eee;
}
.woocommerce-tabs .woocommerce-Tabs-panel h2{font-size:19px;margin:0 0 10px}
.woocommerce-tabs .woocommerce-Tabs-panel p{line-height:1.7;color:#333}
.woocommerce div.product .woocommerce-tabs{grid-column:1/-1}
.voriq-fbt{grid-column:1/-1;border-top:1px solid #eee;padding:20px 0}
.voriq-fbt h2{font-size:19px;margin:0 0 12px}
.fbt-items{display:flex;align-items:flex-start;gap:10px;flex-wrap:wrap}
.fbt-item{
  display:flex;flex-direction:column;align-items:center;
  width:110px;text-align:center;font-size:12px;cursor:pointer;
  gap:4px;
}
.fbt-item img{width:90px;height:90px;object-fit:cover;border:1px solid #eee;border-radius:8px}
.fbt-item .fbt-price{font-weight:700;font-size:13px}
.fbt-plus{font-size:20px;font-weight:700;padding-top:34px}
.fbt-total{margin:14px 0;font-size:16px}
.fbt-add{
  background:#111;color:#fff;border:0;border-radius:8px;
  padding:12px 24px;font-weight:700;font-size:14px;
}
.fbt-add:disabled{opacity:.6}
.voriq-suggested{grid-column:1/-1;border-top:1px solid #eee;padding:20px 0}
.voriq-suggested h2{font-size:19px;margin:0 0 12px}
.voriq-sizechart{grid-column:1/-1;border-top:1px solid #eee;padding:20px 0}
.voriq-sizechart h2{font-size:19px;margin:0 0 10px}
.voriq-sizechart table{width:100%;border-collapse:collapse;font-size:14px}
.voriq-sizechart th,.voriq-sizechart td{border:1px solid #ddd;padding:8px 10px;text-align:left}
.voriq-sizechart th{background:#f5f5f5}

/* ---------- desktop ---------- */
@media (min-width:768px){
  .woocommerce div.product{
    display:grid;grid-template-columns:1fr 1fr;gap:28px;
  }
  .woocommerce div.product .woocommerce-product-gallery{grid-column:1;grid-row:1}
  .woocommerce div.product .summary{grid-column:2;grid-row:1}
  .woocommerce div.product .woocommerce-tabs{grid-column:1/-1}
  .woocommerce div.product .summary h1{font-size:26px}
  .wrap{padding:0 20px}
  .site-header{padding:14px 20px}
  .brand-name{font-size:36px}
  .search-row{max-width:760px;margin:0 auto}
  .cat-pills{max-width:760px;margin:0 auto}
  .banner .slide-inner{min-height:340px}
  .banner-2 .slide-inner{min-height:460px}
  .banner .slide-inner h2{font-size:44px}
  .banner .slide-inner p{font-size:19px;max-width:520px}
  .product-row{flex-wrap:wrap;overflow:visible}
  .product-card{flex:1 1 21%;max-width:24%}
  .product-grid{grid-template-columns:repeat(4,1fr)}
  .features{grid-template-columns:repeat(4,1fr)}
  .site-footer .cols{
    display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:24px;
  }
}

/* ---------- compact mobile homepage (v1.18) ----------
   Goal: on a phone the first screen should reach NEW AND POPULAR (heading +
   chips) like the owner's reference picture — every section above it is
   tightened (smaller buttons, shorter banner, narrower cards). The banner
   description line is hidden on phones (heading + Shop Now stay). Narrow
   cards (36%) leave little room for the price next to the cart button, so
   the price is smaller and the button is 26px; on very narrow screens
   (<=359px) the price takes its own line so long prices never clip.
   v1.18: on TALL phones (viewport >=800px) the owner saw the popular
   products grid peeking in below the chips — he wants the first screen to
   END at the chips. So tall phones get everything above the chips a bit
   BIGGER (~+95px: taller banner, wider cards, roomier paddings) until the
   chips sit right at the fold and the grid stays hidden until scrolling.
   v1.19: v1.18's measured growth was only ~76px, grid still peeked ~12px
   on 360x840 — banner raised to 145px (+20px) for a safe margin.
   Short phones (<800px) keep the v1.17 sizes so their fold stays exact.
   Desktop (min-width 768px) is untouched. */
@media (max-width:767px){
  .super-deal{font-size:13px;padding:4px 10px 3px}
  .site-header{padding:8px 10px;gap:8px}
  .hamburger span{width:20px;height:2.5px}
  .brand svg{width:28px;height:28px}
  .brand-name{font-size:24px}
  .header-icons{gap:10px}
  .header-icons svg{width:22px;height:22px}
  .search-row{padding:6px 10px;gap:6px}
  .social-icon{width:34px;height:34px}
  .social-icon svg{width:18px;height:18px}
  .search-box{height:38px}
  .search-box select{font-size:13px;max-width:78px}
  .search-box input{font-size:13px}
  .cat-pills{padding:2px 10px 6px;gap:8px}
  .cat-pill{padding:8px 10px;font-size:13px}
  .banner .slide-inner{min-height:90px;padding:8px 16px}
  .banner-2 .slide-inner{min-height:145px}
  .banner .slide-inner h2{font-size:18px;margin-bottom:6px}
  .banner .slide-inner p{display:none}
  .banner .slide-inner .btn{font-size:13px;padding:7px 18px}
  .banner .dots{padding:4px 0 2px}
  .intro{padding:6px 16px 2px}
  .intro h3{font-size:15px}
  .intro .v-mark{margin-top:4px}
  .intro .v-mark svg{width:24px;height:24px}
  .welcome{padding:6px 16px 2px}
  .welcome h2{font-size:18px}
  .switch{margin:8px auto 2px}
  .switch button{padding:8px 6px;font-size:13px}
  .section-head{padding:6px 16px 6px}
  .section-head h2{font-size:17px}
  .product-card{flex-basis:36%}
  .product-card .info{padding:6px 6px 8px}
  .product-card .info h3{font-size:13px;margin-bottom:3px}
  .product-card .cat{margin-bottom:4px}
  .product-card .info .price{font-size:12.5px}
  .product-card .price-row{gap:6px;margin-top:2px}
  .product-card .cart-btn,
  .woocommerce .product-card .cart-btn{width:26px;height:26px}
  .product-card .wish{width:26px;height:26px}
  .popular{padding:4px 16px 0}
  .popular h2{font-size:18px;margin-bottom:8px}
}
/* very narrow phones: price takes its own line so long prices never clip
   under the cart button */
@media (max-width:359px){
  .product-card .price-row{flex-wrap:wrap}
  .product-card .info .price{flex-basis:100%}
  .product-card .cart-btn,
  .woocommerce .product-card .cart-btn{margin:4px 0 0 auto}
}
/* tall phones (viewport >=800px): make everything above NEW AND POPULAR
   a bit bigger (~+85px) so the first screen ends exactly at the chips and
   the popular grid does not peek in below them */
@media (max-width:767px) and (min-height:800px){
  .search-box{height:42px}
  .cat-pill{padding:10px 10px}
  .banner .slide-inner{min-height:145px;padding:12px 16px}
  .banner-2 .slide-inner{min-height:240px}
  .banner .slide-inner h2{font-size:21px;margin-bottom:8px}
  .banner .slide-inner .btn{padding:10px 20px}
  .intro .v-mark svg{width:28px;height:28px}
  .switch button{padding:10px 6px}
  .section-head{padding:8px 16px 8px}
  .product-card{flex-basis:39%}
  .product-card .info{padding:8px 6px 10px}
  .product-card .info .price{font-size:14px}
  .product-card .cart-btn,
  .woocommerce .product-card .cart-btn{width:30px;height:30px}
  .popular{padding:6px 16px 0}
}
