/*
Theme Name: Jeluvo
Theme URI: https://jeluvo.com
Author: Jeluvo
Author URI: https://jeluvo.com
Description: A premium, Apple-meets-Amazon WooCommerce theme for Jeluvo, a Nigerian online supermarket. Emerald/navy/gold palette, glass sticky header with mega menu, freshness-ring delivery motif, flash sales, wholesale and referral modules.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jeluvo
Tags: e-commerce, custom-menu, featured-images, full-width-template, grid-layout, one-column, wide-blocks, translation-ready
*/

/* =========================================================
   The rules below are the design-system CSS. See README for
   the token list (colors, spacing, radii) documented at top.
   ========================================================= */
/* ============ TOKENS ============ */
:root{
  --emerald:#008F5A;
  --emerald-600:#00713F;
  --emerald-050:#E7F5EE;
  --navy:#0B1F3A;
  --navy-700:#132A4C;
  --gold:#F4B942;
  --gold-dark:#D89B22;
  --bg:#FFFFFF;
  --card:#FAFAFA;
  --border:#E8E8E8;
  --text:#222222;
  --text-muted:#6B7280;
  --success:#16A34A;
  --danger:#DC2626;
  --radius-sm:10px;
  --radius-md:16px;
  --radius-lg:24px;
  --shadow-sm:0 1px 2px rgba(11,31,58,.06);
  --shadow-md:0 8px 24px rgba(11,31,58,.08);
  --shadow-lg:0 24px 60px rgba(11,31,58,.14);
  --ease:cubic-bezier(.22,1,.36,1);
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:'Poppins',sans-serif;
  color:var(--text);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%; display:block;}
a{text-decoration:none; color:inherit;}
button{font-family:inherit; cursor:pointer; border:none; background:none;}
ul{list-style:none;}
.wrap{max-width:1360px; margin:0 auto; padding:0 32px;}
.eyebrow{
  font-family:'IBM Plex Mono',monospace;
  font-size:11.5px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--emerald);
  font-weight:600;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.eyebrow::before{content:''; width:16px; height:1.5px; background:var(--emerald);}
.price{font-family:'IBM Plex Mono',monospace; font-weight:600;}
h1,h2,h3,h4{font-weight:700; letter-spacing:-0.02em; color:var(--navy);}
.section{padding:88px 0;}
.section-head{display:flex; align-items:flex-end; justify-content:space-between; margin-bottom:40px; gap:24px; flex-wrap:wrap;}
.section-head h2{font-size:34px; margin-top:10px;}
.section-head p{color:var(--text-muted); margin-top:8px; max-width:520px; font-size:15px;}
.view-all{
  font-size:14px; font-weight:600; color:var(--navy);
  display:inline-flex; align-items:center; gap:6px;
  border-bottom:1.5px solid var(--navy); padding-bottom:2px;
  transition:all .25s var(--ease);
  white-space:nowrap;
}
.view-all:hover{color:var(--emerald); border-color:var(--emerald); gap:10px;}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:15px 30px; border-radius:100px; font-weight:600; font-size:14.5px;
  transition:all .3s var(--ease); white-space:nowrap; letter-spacing:.01em;
}
.btn-primary{background:var(--emerald); color:#fff; box-shadow:0 10px 24px rgba(0,143,90,.28);}
.btn-primary:hover{background:var(--emerald-600); transform:translateY(-2px); box-shadow:0 14px 30px rgba(0,143,90,.34);}
.btn-ghost{background:rgba(255,255,255,.1); color:#fff; border:1.5px solid rgba(255,255,255,.35); backdrop-filter:blur(6px);}
.btn-ghost:hover{background:rgba(255,255,255,.18); border-color:#fff;}
.btn-dark{background:var(--navy); color:#fff;}
.btn-dark:hover{background:#081627; transform:translateY(-2px);}

/* ============ FRESHNESS RING (signature element) ============ */
.fring{position:relative; width:46px; height:46px; flex-shrink:0;}
.fring svg{transform:rotate(-90deg);}
.fring circle{fill:none; stroke-width:3;}
.fring .track{stroke:var(--border);}
.fring .prog{stroke:var(--emerald); stroke-linecap:round; transition:stroke-dashoffset 1s var(--ease);}
.fring .fmin{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  font-family:'IBM Plex Mono',monospace; font-size:9.5px; font-weight:600; color:var(--navy); flex-direction:column; line-height:1;
}
.fring .fmin b{font-size:11px;}

/* ============ TOP ANNOUNCEMENT ============ */
.announce{
  background:var(--navy); color:#cfe0d8; font-size:12.5px; font-weight:500;
  padding:9px 0; letter-spacing:.02em;
}
.announce .wrap{display:flex; align-items:center; justify-content:space-between;}
.announce .left{display:flex; gap:26px; align-items:center;}
.announce .left span{display:flex; align-items:center; gap:6px; color:#fff;}
.announce a{color:var(--gold); font-weight:600;}
.announce .right{display:flex; gap:20px; opacity:.85;}
@media(max-width:860px){.announce .right{display:none;} .announce .left{gap:14px; font-size:11.5px;}}

/* ============ HEADER ============ */
header.site{
  position:sticky; top:0; z-index:100; background:rgba(255,255,255,.86);
  backdrop-filter:blur(16px) saturate(1.4); -webkit-backdrop-filter:blur(16px) saturate(1.4);
  border-bottom:1px solid var(--border);
}
.header-main{display:flex; align-items:center; gap:28px; padding:16px 0;}
.logo{display:flex; align-items:center; gap:10px; font-weight:800; font-size:23px; color:var(--navy); flex-shrink:0;}
.logo .mark{width:34px; height:34px; border-radius:9px; background:linear-gradient(155deg,var(--emerald),var(--emerald-600)); display:flex; align-items:center; justify-content:center; color:#fff; font-size:16px; box-shadow:0 6px 14px rgba(0,143,90,.35);}
.loc-pick{
  display:flex; align-items:center; gap:8px; padding:9px 14px; border:1px solid var(--border); border-radius:100px;
  font-size:12.5px; color:var(--text); cursor:pointer; flex-shrink:0; transition:.2s;
}
.loc-pick:hover{border-color:var(--emerald); background:var(--emerald-050);}
.loc-pick .l1{color:var(--text-muted); font-size:10.5px; display:block;}
.loc-pick .l2{font-weight:600;}
.searchbar{
  flex:1; display:flex; align-items:center; background:var(--card); border:1.5px solid var(--border);
  border-radius:100px; padding:5px 6px 5px 18px; transition:.25s; max-width:640px;
}
.searchbar:focus-within{border-color:var(--emerald); box-shadow:0 0 0 4px var(--emerald-050);}
.searchbar input{flex:1; border:none; background:none; outline:none; font-size:14px; font-family:inherit; padding:8px 0;}
.searchbar input::placeholder{color:#9AA3AF;}
.searchbar .go{width:38px; height:38px; border-radius:50%; background:var(--navy); color:#fff; display:flex; align-items:center; justify-content:center; flex-shrink:0;}
.searchbar .mic{color:var(--text-muted); padding:0 10px; flex-shrink:0;}
.head-icons{display:flex; align-items:center; gap:6px; flex-shrink:0;}
.hicon{
  position:relative; width:44px; height:44px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  color:var(--navy); transition:.2s;
}
.hicon:hover{background:var(--emerald-050); color:var(--emerald);}
.hicon .badge{
  position:absolute; top:2px; right:2px; background:var(--gold); color:var(--navy); font-size:9.5px; font-weight:700;
  width:16px; height:16px; border-radius:50%; display:flex; align-items:center; justify-content:center;
}
.hicon.cart .badge{background:var(--emerald); color:#fff;}

/* NAV / MEGA MENU */
.navbar{border-top:1px solid var(--border);}
.navbar .wrap{display:flex; align-items:center; gap:2px; height:52px;}
.dept-btn{
  display:flex; align-items:center; gap:9px; background:var(--navy); color:#fff; padding:10px 18px;
  border-radius:9px; font-size:13.5px; font-weight:600; margin-right:14px; flex-shrink:0;
}
.navlink{padding:0 14px; height:52px; display:flex; align-items:center; font-size:13.5px; font-weight:500; color:var(--text); position:relative; white-space:nowrap;}
.navlink:hover{color:var(--emerald);}
.navlink.has-mega:hover .mega{opacity:1; visibility:visible; transform:translateY(0);}
.navlink.sale{color:var(--danger); font-weight:600;}
.nav-scroll{display:flex; overflow-x:auto; scrollbar-width:none;}
.nav-scroll::-webkit-scrollbar{display:none;}

.mega{
  position:absolute; top:100%; left:0; width:840px; background:#fff; border-radius:0 0 20px 20px;
  box-shadow:var(--shadow-lg); border:1px solid var(--border); border-top:none;
  opacity:0; visibility:hidden; transform:translateY(8px); transition:all .28s var(--ease);
  display:grid; grid-template-columns:1.4fr 1.4fr 1fr; padding:32px; gap:8px; z-index:50;
}
.mega-col h5{font-size:11px; text-transform:uppercase; letter-spacing:.08em; color:var(--text-muted); margin-bottom:14px; font-family:'IBM Plex Mono',monospace;}
.mega-col a{display:block; font-size:13.5px; padding:7px 0; color:var(--text); transition:.15s;}
.mega-col a:hover{color:var(--emerald); padding-left:4px;}
.mega-promo{background:linear-gradient(160deg,var(--emerald-050),#fff); border-radius:14px; padding:20px; display:flex; flex-direction:column; justify-content:space-between;}
.mega-promo .tag{font-size:11px; font-weight:700; color:var(--emerald); text-transform:uppercase; letter-spacing:.06em;}
.mega-promo h4{font-size:17px; margin:8px 0 14px; color:var(--navy);}

/* ============ HERO ============ */
.hero{
  background:var(--navy); position:relative; overflow:hidden; border-radius:0 0 40px 40px;
}
.hero::before{
  content:''; position:absolute; inset:0;
  background:radial-gradient(60% 60% at 82% 20%, rgba(0,143,90,.35), transparent 60%),
             radial-gradient(50% 50% at 10% 90%, rgba(244,185,66,.14), transparent 60%);
}
.hero .wrap{position:relative; display:grid; grid-template-columns:1fr 1fr; gap:40px; padding:96px 32px 90px; align-items:center;}
.hero-copy .eyebrow{color:var(--gold);}
.hero-copy .eyebrow::before{background:var(--gold);}
.hero-copy h1{color:#fff; font-size:56px; line-height:1.06; margin:20px 0 22px; letter-spacing:-0.03em;}
.hero-copy h1 em{font-style:normal; color:var(--gold);}
.hero-copy p{color:#C9D4E4; font-size:16.5px; max-width:440px; margin-bottom:34px; line-height:1.6;}
.hero-cta{display:flex; gap:14px; flex-wrap:wrap;}
.hero-stats{display:flex; gap:30px; margin-top:46px;}
.hero-stats div b{display:block; color:#fff; font-size:22px; font-family:'IBM Plex Mono',monospace;}
.hero-stats div span{color:#9BAAC2; font-size:12px;}
.hero-visual{position:relative;}
.hero-card{
  background:#fff; border-radius:26px; padding:22px; box-shadow:var(--shadow-lg); position:relative; z-index:2;
  transform:rotate(1.2deg);
}
.hero-card img{border-radius:18px; aspect-ratio:1/0.85; object-fit:cover; width:100%;}
.hero-float{
  position:absolute; background:#fff; border-radius:16px; padding:12px 16px; box-shadow:var(--shadow-lg); display:flex;
  align-items:center; gap:10px; z-index:3;
}
.hero-float.f1{top:6%; left:-8%; animation:float 5s ease-in-out infinite;}
.hero-float.f2{bottom:8%; right:-6%; animation:float 5s ease-in-out infinite 1.2s;}
.hero-float .txt b{display:block; font-size:13px; color:var(--navy);}
.hero-float .txt span{font-size:11px; color:var(--text-muted);}
@keyframes float{0%,100%{transform:translateY(0);}50%{transform:translateY(-10px);}}
@media(max-width:980px){
  .hero .wrap{grid-template-columns:1fr; padding:56px 22px 60px;}
  .hero-copy h1{font-size:38px;}
  .hero-visual{display:none;}
}

/* ============ TRUST STRIP ============ */
.trust{background:var(--emerald-050); padding:22px 0;}
.trust .wrap{display:flex; justify-content:space-between; flex-wrap:wrap; gap:18px;}
.trust-item{display:flex; align-items:center; gap:12px;}
.trust-item .ic{width:38px; height:38px; border-radius:10px; background:#fff; display:flex; align-items:center; justify-content:center; color:var(--emerald); flex-shrink:0; box-shadow:var(--shadow-sm);}
.trust-item b{font-size:13.5px; display:block; color:var(--navy);}
.trust-item span{font-size:11.5px; color:var(--text-muted);}

/* ============ DEPARTMENTS GRID ============ */
.dept-grid{display:grid; grid-template-columns:repeat(6,1fr); gap:16px;}
.dept-card{
  background:var(--card); border:1px solid var(--border); border-radius:var(--radius-md); padding:22px 16px;
  text-align:center; transition:all .3s var(--ease); cursor:pointer;
}
.dept-card:hover{transform:translateY(-6px); box-shadow:var(--shadow-md); background:#fff; border-color:transparent;}
.dept-card .ic{font-size:30px; margin-bottom:12px; display:block;}
.dept-card b{font-size:12.5px; font-weight:600; display:block; line-height:1.3;}
@media(max-width:980px){.dept-grid{grid-template-columns:repeat(3,1fr);}}

/* ============ PRODUCT CARD ============ */
.pgrid{display:grid; grid-template-columns:repeat(4,1fr); gap:20px;}
.pcard{
  background:#fff; border:1px solid var(--border); border-radius:var(--radius-md); overflow:hidden;
  transition:all .35s var(--ease); position:relative;
}
.pcard:hover{transform:translateY(-6px); box-shadow:var(--shadow-md); border-color:transparent;}
.pcard .pimg{position:relative; aspect-ratio:1/1; overflow:hidden; background:var(--card);}
.pcard .pimg img{width:100%; height:100%; object-fit:cover; transition:transform .5s var(--ease);}
.pcard:hover .pimg img{transform:scale(1.07);}
.badges{position:absolute; top:10px; left:10px; display:flex; flex-direction:column; gap:6px; z-index:2;}
.badge-pill{font-size:10px; font-weight:700; padding:5px 9px; border-radius:100px; letter-spacing:.02em;}
.badge-pill.new{background:var(--navy); color:#fff;}
.badge-pill.off{background:var(--danger); color:#fff;}
.badge-pill.best{background:var(--gold); color:var(--navy);}
.pactions{position:absolute; top:10px; right:10px; display:flex; flex-direction:column; gap:8px; opacity:0; transform:translateX(8px); transition:all .3s var(--ease); z-index:2;}
.pcard:hover .pactions{opacity:1; transform:translateX(0);}
.pact-btn{width:34px; height:34px; border-radius:50%; background:#fff; box-shadow:var(--shadow-sm); display:flex; align-items:center; justify-content:center; color:var(--navy); transition:.2s;}
.pact-btn:hover{background:var(--emerald); color:#fff;}
.pring-wrap{position:absolute; bottom:10px; left:10px; z-index:2;}
.pbody{padding:16px;}
.pbrand{font-size:10.5px; color:var(--text-muted); text-transform:uppercase; letter-spacing:.05em; font-family:'IBM Plex Mono',monospace;}
.pname{font-size:14px; font-weight:600; margin:5px 0 7px; line-height:1.35; color:var(--navy);}
.prating{display:flex; align-items:center; gap:5px; font-size:11.5px; color:var(--text-muted); margin-bottom:10px;}
.prating .stars{color:var(--gold); letter-spacing:1px;}
.pfoot{display:flex; align-items:center; justify-content:space-between;}
.pprice{display:flex; align-items:baseline; gap:7px;}
.pprice .now{font-size:16.5px; color:var(--navy);}
.pprice .was{font-size:12px; color:#B0B7C1; text-decoration:line-through;}
.addbtn{
  width:36px; height:36px; border-radius:10px; background:var(--emerald-050); color:var(--emerald);
  display:flex; align-items:center; justify-content:center; font-size:18px; font-weight:600; transition:.2s;
}
.addbtn:hover{background:var(--emerald); color:#fff; transform:scale(1.06);}
@media(max-width:980px){.pgrid{grid-template-columns:repeat(2,1fr);}}

/* ============ FLASH SALE ============ */
.flash{background:var(--navy); border-radius:var(--radius-lg); padding:40px; position:relative; overflow:hidden;}
.flash::before{content:''; position:absolute; inset:0; background:radial-gradient(45% 70% at 90% 10%, rgba(244,185,66,.18), transparent 60%);}
.flash-top{position:relative; display:flex; align-items:center; justify-content:space-between; margin-bottom:28px; flex-wrap:wrap; gap:18px;}
.flash-top h2{color:#fff; font-size:28px;}
.flash-top .eyebrow{color:var(--gold);}
.flash-top .eyebrow::before{background:var(--gold);}
.countdown{display:flex; gap:10px;}
.cd-box{background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.16); border-radius:12px; padding:10px 14px; text-align:center; min-width:56px;}
.cd-box b{font-family:'IBM Plex Mono',monospace; color:#fff; font-size:20px; display:block;}
.cd-box span{color:#9BAAC2; font-size:9.5px; text-transform:uppercase; letter-spacing:.06em;}
.flash .pgrid{position:relative;}
.flash .pcard{background:#fff;}

/* ============ SPLIT PROMO (Wholesale) ============ */
.promo-split{display:grid; grid-template-columns:1fr 1fr; gap:20px;}
.promo-card{
  border-radius:var(--radius-lg); padding:44px; min-height:280px; display:flex; flex-direction:column; justify-content:center;
  position:relative; overflow:hidden;
}
.promo-card.a{background:linear-gradient(140deg,var(--emerald),var(--emerald-600));}
.promo-card.b{background:var(--card); border:1px solid var(--border);}
.promo-card.a *{color:#fff;}
.promo-card .eyebrow{margin-bottom:12px;}
.promo-card.a .eyebrow{color:#D7F5E7;}
.promo-card.a .eyebrow::before{background:#D7F5E7;}
.promo-card h3{font-size:26px; margin-bottom:10px; max-width:320px;}
.promo-card p{color:var(--text-muted); font-size:14px; max-width:340px; margin-bottom:22px;}
.promo-card.a p{color:#DDF2E8;}
@media(max-width:860px){.promo-split{grid-template-columns:1fr;}}

/* ============ LOCAL FOODS STRIP ============ */
.local-strip{display:grid; grid-template-columns:repeat(5,1fr); gap:16px;}
.local-item{border-radius:var(--radius-md); overflow:hidden; position:relative; aspect-ratio:3/4;}
.local-item img{width:100%; height:100%; object-fit:cover; transition:transform .5s var(--ease);}
.local-item:hover img{transform:scale(1.08);}
.local-item::after{content:''; position:absolute; inset:0; background:linear-gradient(0deg, rgba(11,31,58,.85), transparent 55%);}
.local-item span{position:absolute; bottom:14px; left:14px; right:14px; color:#fff; font-weight:600; font-size:13.5px; z-index:2;}
@media(max-width:980px){.local-strip{grid-template-columns:repeat(2,1fr);}}

/* ============ BRANDS ============ */
.brand-strip{display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:24px; padding:36px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border);}
.brand-chip{font-family:'IBM Plex Mono',monospace; font-weight:600; color:#B8BEC7; font-size:15px; letter-spacing:.02em; transition:.2s;}
.brand-chip:hover{color:var(--navy);}

/* ============ TESTIMONIALS ============ */
.testi-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:20px;}
.testi-card{background:var(--card); border:1px solid var(--border); border-radius:var(--radius-md); padding:26px;}
.testi-card .stars{color:var(--gold); letter-spacing:2px; margin-bottom:14px; display:block;}
.testi-card p{font-size:14px; line-height:1.7; color:var(--text); margin-bottom:20px;}
.testi-who{display:flex; align-items:center; gap:10px;}
.testi-who .av{width:38px; height:38px; border-radius:50%; background:var(--navy); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:600; font-size:13px;}
.testi-who b{font-size:13px; display:block;}
.testi-who span{font-size:11.5px; color:var(--text-muted);}
@media(max-width:860px){.testi-grid{grid-template-columns:1fr;}}

/* ============ REFERRAL ============ */
.referral{background:linear-gradient(140deg, var(--navy), #071527); border-radius:var(--radius-lg); padding:56px; display:grid; grid-template-columns:1.1fr .9fr; gap:40px; align-items:center; position:relative; overflow:hidden;}
.referral::before{content:''; position:absolute; inset:0; background:radial-gradient(50% 80% at 100% 0%, rgba(244,185,66,.16), transparent 60%);}
.referral-copy{position:relative;}
.referral-copy h2{color:#fff; font-size:30px; margin:14px 0 14px;}
.referral-copy p{color:#B7C3D6; font-size:14.5px; max-width:420px; margin-bottom:26px; line-height:1.6;}
.ref-steps{position:relative; display:flex; flex-direction:column; gap:14px;}
.ref-step{display:flex; gap:14px; align-items:flex-start; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1); border-radius:14px; padding:16px;}
.ref-step .num{font-family:'IBM Plex Mono',monospace; color:var(--gold); font-weight:700; font-size:15px;}
.ref-step p{color:#DCE4EF; font-size:13px;}
@media(max-width:900px){.referral{grid-template-columns:1fr; padding:32px;}}

/* ============ NEWSLETTER ============ */
.newsletter{background:var(--emerald-050); border-radius:var(--radius-lg); padding:52px; text-align:center;}
.newsletter h2{font-size:28px; margin:12px 0 10px;}
.newsletter p{color:var(--text-muted); font-size:14.5px; margin-bottom:26px;}
.nl-form{display:flex; max-width:440px; margin:0 auto; background:#fff; border-radius:100px; padding:6px; box-shadow:var(--shadow-sm);}
.nl-form input{flex:1; border:none; outline:none; padding:12px 18px; font-family:inherit; font-size:14px;}
.nl-form button{background:var(--emerald); color:#fff; padding:12px 24px; border-radius:100px; font-weight:600; font-size:13.5px;}

/* ============ FOOTER ============ */
footer{background:var(--navy); color:#B7C3D6; padding-top:70px;}
.foot-grid{display:grid; grid-template-columns:1.4fr repeat(4,1fr); gap:32px; padding-bottom:50px;}
.foot-brand .logo{color:#fff;}
.foot-brand p{font-size:13px; margin:16px 0 20px; line-height:1.7; max-width:260px; color:#8FA0BA;}
.foot-social{display:flex; gap:10px;}
.foot-social a{width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,.06); display:flex; align-items:center; justify-content:center; transition:.2s;}
.foot-social a:hover{background:var(--emerald);}
footer h5{color:#fff; font-size:13px; margin-bottom:18px; letter-spacing:.03em;}
footer ul li{margin-bottom:11px;}
footer ul a{font-size:13.5px; color:#8FA0BA; transition:.2s;}
footer ul a:hover{color:var(--gold);}
.foot-bottom{border-top:1px solid rgba(255,255,255,.1); padding:24px 0; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px;}
.foot-bottom span{font-size:12.5px; color:#7488A5;}
.pay-icons{display:flex; gap:8px;}
.pay-icons span{background:rgba(255,255,255,.08); border-radius:6px; padding:6px 10px; font-size:10px; font-weight:600; color:#B7C3D6; font-family:'IBM Plex Mono',monospace;}
@media(max-width:980px){.foot-grid{grid-template-columns:repeat(2,1fr);}}

/* WHATSAPP FAB */
.fab{position:fixed; bottom:26px; right:26px; width:58px; height:58px; border-radius:50%; background:#22C55E; display:flex; align-items:center; justify-content:center; color:#fff; box-shadow:0 12px 28px rgba(34,197,94,.4); z-index:80; transition:.25s;}
.fab:hover{transform:scale(1.08);}

@media(max-width:1180px){.dept-grid{grid-template-columns:repeat(4,1fr);} .pgrid{grid-template-columns:repeat(3,1fr);} .local-strip{grid-template-columns:repeat(3,1fr);}}
@media(max-width:640px){
  .wrap{padding:0 18px;}
  .section{padding:56px 0;}
  .header-main{flex-wrap:wrap; gap:12px;}
  .loc-pick{display:none;}
  .dept-grid{grid-template-columns:repeat(2,1fr);}
  .pgrid{grid-template-columns:repeat(2,1fr);}
  .local-strip{grid-template-columns:repeat(2,1fr);}
  .promo-split{grid-template-columns:1fr;}
  .section-head h2{font-size:26px;}
}

/* =========================================================
   WOOCOMMERCE OVERRIDES
   Restyles WooCommerce's default markup/classes to match the
   Jeluvo design system without needing to override every
   template file.
   ========================================================= */
.woocommerce{ color:var(--text); }
.woocommerce .content-area{ max-width:1360px; margin:0 auto; padding:48px 32px 96px; }

/* Breadcrumb */
.woocommerce-breadcrumb{
  font-size:12.5px; color:var(--text-muted); margin-bottom:24px; font-family:'IBM Plex Mono',monospace;
}
.woocommerce-breadcrumb a{ color:var(--text-muted); }
.woocommerce-breadcrumb a:hover{ color:var(--emerald); }

/* Shop / archive header */
.woocommerce-products-header{ margin-bottom:32px; }
.woocommerce-products-header h1.page-title{ font-size:32px; color:var(--navy); }
.woocommerce-result-count{ font-size:13px; color:var(--text-muted); }
.woocommerce-ordering select{
  border:1px solid var(--border); border-radius:100px; padding:10px 18px; font-family:'Poppins',sans-serif;
  font-size:13px; background:#fff;
}

/* Product grid -> reuse .pgrid look */
ul.products{
  display:grid !important; grid-template-columns:repeat(4,1fr); gap:20px; list-style:none; margin:0; padding:0;
}
ul.products li.product{
  background:#fff; border:1px solid var(--border); border-radius:16px; overflow:hidden;
  transition:all .35s var(--ease); position:relative; padding:0 !important; margin:0 !important;
}
ul.products li.product:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); border-color:transparent; }
ul.products li.product a.woocommerce-LoopProduct-link{ display:block; color:inherit; }
ul.products li.product img{
  width:100%; aspect-ratio:1/1; object-fit:cover; border-radius:0 !important; margin:0 !important;
}
ul.products li.product .woocommerce-loop-product__title{
  font-size:14px; font-weight:600; margin:14px 16px 6px; line-height:1.35; color:var(--navy);
}
ul.products li.product .price{
  font-family:'IBM Plex Mono',monospace; font-weight:600; font-size:16.5px; color:var(--navy);
  margin:0 16px 16px; display:block;
}
ul.products li.product .price del{ color:#B0B7C1; font-size:12px; font-weight:400; margin-right:6px; }
ul.products li.product .price ins{ text-decoration:none; }
ul.products li.product .star-rating{ margin:0 16px 8px; color:var(--gold); font-size:12px; }
ul.products li.product .button{
  margin:0 16px 16px; display:inline-flex; align-items:center; justify-content:center;
  background:var(--emerald-050); color:var(--emerald); border-radius:10px; padding:10px 16px;
  font-size:13px; font-weight:600; transition:.2s; width:calc(100% - 32px);
}
ul.products li.product .button:hover{ background:var(--emerald); color:#fff; }
ul.products li.product .onsale{
  position:absolute; top:10px; left:10px; background:var(--danger); color:#fff; font-size:10px; font-weight:700;
  padding:5px 9px; border-radius:100px; min-height:0; min-width:0; line-height:1;
}
@media(max-width:980px){ ul.products{ grid-template-columns:repeat(2,1fr) !important; } }

/* Sidebar filter widgets */
.woocommerce .widget-area{ }
.woocommerce .widget{
  background:var(--card); border:1px solid var(--border); border-radius:16px; padding:20px; margin-bottom:20px;
}
.woocommerce .widget-title{ font-size:13px; text-transform:uppercase; letter-spacing:.06em; color:var(--navy); margin-bottom:14px; font-family:'IBM Plex Mono',monospace; }
.woocommerce .widget ul li{ font-size:13.5px; padding:6px 0; color:var(--text); }
.price_slider_amount .button{ background:var(--emerald); color:#fff; border-radius:100px; padding:8px 16px; font-size:12px; }

/* Single product */
.woocommerce div.product{ display:grid; grid-template-columns:1fr 1fr; gap:48px; }
.woocommerce div.product .woocommerce-product-gallery{ border-radius:20px; overflow:hidden; }
.woocommerce div.product .product_title{ font-size:28px; color:var(--navy); margin-bottom:10px; }
.woocommerce div.product p.price{ font-family:'IBM Plex Mono',monospace; font-size:24px; color:var(--emerald); margin:14px 0; }
.woocommerce div.product .quantity input{
  border:1px solid var(--border); border-radius:10px; padding:12px; width:64px; text-align:center; font-family:inherit;
}
.woocommerce div.product form.cart .button,
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button{
  background:var(--emerald); color:#fff; border-radius:100px; padding:15px 30px; font-weight:600; font-size:14.5px;
  transition:all .3s var(--ease); border:none;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce #respond input#submit:hover{
  background:var(--emerald-600); transform:translateY(-2px);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li{
  font-size:13.5px; font-weight:600; padding:12px 20px; color:var(--text-muted);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{ color:var(--emerald); border-bottom:2px solid var(--emerald); }
@media(max-width:860px){ .woocommerce div.product{ grid-template-columns:1fr; } }

/* Cart & Checkout */
.woocommerce table.shop_table{ border:1px solid var(--border); border-radius:16px; border-collapse:separate; overflow:hidden; }
.woocommerce table.shop_table th{ background:var(--card); font-size:12px; text-transform:uppercase; letter-spacing:.05em; color:var(--text-muted); padding:16px; }
.woocommerce table.shop_table td{ padding:16px; border-top:1px solid var(--border); }
.woocommerce-cart .cart-collaterals .cart_totals{ background:var(--card); border-radius:16px; padding:24px; border:1px solid var(--border); }
.woocommerce #coupon_code{ border:1px solid var(--border); border-radius:100px; padding:12px 18px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row select, .woocommerce form .form-row textarea{
  border:1px solid var(--border); border-radius:10px; padding:12px 14px; font-family:inherit; width:100%;
}
.woocommerce-checkout #payment{ background:var(--card); border-radius:16px; border:1px solid var(--border); }
.woocommerce-checkout #payment div.payment_box{ background:#fff; border-radius:10px; }

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error{
  border-top-color:var(--emerald); background:var(--emerald-050); border-radius:12px; padding:16px 20px;
}
.woocommerce-error{ border-top-color:var(--danger); background:#FEF2F2; }

/* Star rating fill color */
.star-rating span::before{ color:var(--gold); }
