:root{--red:#ed151d;--teal:#00a8bd;--navy:#092943;--ink:#15212b;--muted:#65717b;--bg:#f5f7f9;--white:#fff;--radius:12px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:#fff}a{color:inherit;text-decoration:none}.container{width:min(1180px,92%);margin:auto}.topbar{background:var(--red);color:#fff;font-size:13px}.topbar-inner{min-height:36px;display:flex;justify-content:space-between;align-items:center}.site-header{background:#fff;box-shadow:0 1px 8px #00000012;position:relative;z-index:10}.header-main{min-height:92px;display:grid;grid-template-columns:250px 1fr 130px;gap:24px;align-items:center}.brand{display:flex;align-items:center;gap:10px;color:var(--red);font-size:25px}.brand img{max-height:65px;width:auto}.brand-mark{border:4px solid var(--red);padding:8px 14px;border-radius:8px}.brand small{display:block;font-size:14px}.search{display:flex;border:1px solid #ccd3d8;border-radius:6px;overflow:hidden}.search input{border:0;padding:14px;width:100%;outline:none}.search button{border:0;background:var(--red);color:#fff;padding:0 20px;font-weight:700}.whatsapp{font-weight:700;color:#138b45}.nav{border-top:1px solid #eee}.nav-inner{min-height:52px;display:flex;align-items:center}.menu{list-style:none;margin:0;padding:0;display:flex;gap:34px;font-size:14px;font-weight:700}.menu-toggle{display:none}.hero{min-height:480px;position:relative;background:linear-gradient(90deg,#092943 0%,#12445e 48%,#00a8bd 100%);display:flex;align-items:center;color:#fff}.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,#061c2dcc,transparent 75%)}.hero-content{position:relative}.eyebrow{font-size:12px;font-weight:800;letter-spacing:1.5px;color:var(--red)}.hero .eyebrow{color:#fff}.hero h1{font-size:58px;line-height:1.02;margin:12px 0}.hero h1 span{color:#ff3037}.hero p{font-size:19px}.hero-actions{display:flex;gap:12px;margin-top:28px}.btn{display:inline-block;padding:14px 20px;border-radius:6px;font-weight:800;text-transform:uppercase;font-size:13px}.primary{background:var(--red);color:#fff}.secondary{border:1px solid #fff;color:#fff}.benefits{border-bottom:1px solid #eee}.benefit-grid{display:grid;grid-template-columns:repeat(4,1fr);padding:22px 0}.benefit-grid>div{padding:0 22px;border-right:1px solid #ddd;display:flex;align-items:center;gap:14px}.benefit-grid>div:last-child{border:0}.benefit-grid>div>div{padding:0;border:0}.benefit-grid strong,.benefit-grid span{display:block}.benefit-grid>div>div span{font-size:13px;color:var(--muted);margin-top:4px}.benefit-icon{flex:0 0 42px;width:42px;height:42px;border-radius:50%;display:grid!important;place-items:center;background:var(--navy);color:#fff;font-size:22px;font-weight:800;line-height:1}.benefit-grid>div:nth-child(1) .benefit-icon{background:var(--red)}.benefit-grid>div:nth-child(2) .benefit-icon{background:var(--teal)}.benefit-grid>div:nth-child(3) .benefit-icon{background:#f2b300}.benefit-grid>div:nth-child(4) .benefit-icon{background:#168b4b}.section{padding-top:55px;padding-bottom:55px}.alt{background:var(--bg)}.section-title{display:flex;align-items:end;justify-content:space-between;margin-bottom:24px}.section-title h2{font-size:30px;margin:4px 0}.section-title a{color:var(--red);font-weight:700}.department-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:12px}.department-card{background:#fff;border:1px solid #e8ecef;border-radius:var(--radius);min-height:125px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;box-shadow:0 6px 20px #00000008}.department-card span{font-size:36px}.department-card strong{font-size:13px}.placeholder-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.product-placeholder{background:#fff;padding:15px;border-radius:var(--radius);border:1px solid #e7eaed}.product-image{height:180px;background:#eef1f3;border-radius:8px;display:grid;place-items:center;color:#8b949b}.product-placeholder small{display:block;color:var(--muted);margin-top:14px}.product-placeholder h3{margin:6px 0 16px}.product-placeholder a{display:block;text-align:center;border:1px solid #cfd6db;padding:10px;border-radius:5px;font-weight:700}.contact-strip{display:flex;justify-content:space-between;align-items:center}.whatsapp-btn{background:#16a34a;color:#fff}.footer{background:#182026;color:#fff;padding:45px 0 20px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px}.footer p{color:#c8d0d5;line-height:1.6}.copyright{border-top:1px solid #ffffff20;margin-top:30px;padding-top:18px;color:#9fa9af;font-size:13px}.content{min-height:55vh}@media(max-width:900px){.header-main{grid-template-columns:1fr auto}.search{grid-column:1/-1;grid-row:2}.department-grid{grid-template-columns:repeat(4,1fr)}.placeholder-grid{grid-template-columns:repeat(2,1fr)}.hero h1{font-size:44px}.menu-toggle{display:block;margin:10px 0}.menu{display:none;flex-direction:column;padding:15px 0}.menu.open{display:flex}.nav-inner{display:block}}@media(max-width:560px){.topbar-inner{justify-content:center}.topbar-inner span:last-child{display:none}.header-main{padding:15px 0;min-height:auto}.whatsapp{font-size:13px}.hero{min-height:430px}.hero h1{font-size:38px}.benefit-grid{grid-template-columns:repeat(2,1fr);gap:20px}.benefit-grid>div{border:0;padding:0 8px}.benefit-icon{flex-basis:36px;width:36px;height:36px;font-size:18px}.department-grid{grid-template-columns:repeat(2,1fr)}.placeholder-grid{grid-template-columns:1fr}.contact-strip{display:block}.contact-strip .btn{margin-top:15px}.footer-grid{grid-template-columns:1fr}.section{padding-top:38px;padding-bottom:38px}}

/* v0.2 header/logo corrections */
.header-main{
  min-height:88px;
  grid-template-columns:240px minmax(320px,1fr) 120px;
  gap:24px;
}
.brand{
  width:240px;
  height:64px;
  display:flex;
  align-items:center;
  overflow:hidden;
}
.brand .custom-logo-link{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:flex-start;
}
.brand .custom-logo{
  display:block;
  width:220px !important;
  height:55px !important;
  max-width:220px !important;
  max-height:55px !important;
  object-fit:contain;
  object-position:left center;
}
.header-main .search{min-width:0;width:100%}
.header-main>.whatsapp{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  white-space:nowrap;
}
@media(max-width:900px){
 .header-main{grid-template-columns:minmax(180px,240px) 1fr;gap:14px}
 .header-main>.whatsapp{justify-self:end}
 .header-main .search{grid-column:1/-1;grid-row:2}
}
@media(max-width:560px){
 .brand{width:190px;height:55px}
 .brand .custom-logo{width:180px!important;height:48px!important;max-width:180px!important;max-height:48px!important}
 .header-main{grid-template-columns:minmax(0,1fr) auto}
}

/* ===== SaveMart v0.3 rigid header ===== */
.site-header .sm-header-row{
  min-height:88px;
  display:grid !important;
  grid-template-columns:240px minmax(280px,1fr) 120px !important;
  column-gap:24px;
  align-items:center !important;
}
.site-header .sm-logo-box{
  width:240px !important;
  height:64px !important;
  min-width:0;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  overflow:hidden !important;
}
.site-header .sm-logo-link{
  width:230px !important;
  height:60px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  overflow:hidden !important;
}
.site-header .sm-logo-img{
  display:block !important;
  width:auto !important;
  height:auto !important;
  max-width:225px !important;
  max-height:56px !important;
  margin:0 !important;
  padding:0 !important;
  object-fit:contain !important;
  object-position:left center !important;
}
.sm-logo-fallback{font-size:24px;font-weight:800;color:var(--red)}
.sm-logo-fallback small{display:block;font-size:12px;letter-spacing:1px}
.site-header .sm-search-box{min-width:0;width:100%}
.site-header .sm-search-form{
  width:100%;
  height:44px;
  display:flex;
  border:1px solid #ccd3d8;
  border-radius:6px;
  overflow:hidden;
  background:#fff;
}
.site-header .sm-search-form input[type="search"]{
  flex:1 1 auto;
  min-width:0;
  border:0;
  outline:0;
  padding:0 14px;
  font:inherit;
}
.site-header .sm-search-form button{
  flex:0 0 auto;
  border:0;
  background:var(--red);
  color:#fff;
  padding:0 20px;
  font-weight:700;
  cursor:pointer;
}
.site-header .sm-contact-box{
  width:120px;
  display:flex;
  justify-content:flex-end;
  align-items:center;
  white-space:nowrap;
}
.site-header .sm-contact-box a{font-weight:700;color:#138b45}

@media(max-width:900px){
  .site-header .sm-header-row{
    grid-template-columns:220px 1fr !important;
    row-gap:12px;
    padding:12px 0;
  }
  .site-header .sm-logo-box{width:220px !important}
  .site-header .sm-search-box{grid-column:1/-1;grid-row:2}
  .site-header .sm-contact-box{grid-column:2;grid-row:1;width:auto}
}
@media(max-width:560px){
  .site-header .sm-header-row{grid-template-columns:minmax(150px,1fr) auto !important}
  .site-header .sm-logo-box{width:185px !important;height:54px !important}
  .site-header .sm-logo-link{width:180px !important;height:52px !important}
  .site-header .sm-logo-img{max-width:178px !important;max-height:48px !important}
  .site-header .sm-contact-box{font-size:13px}
}

/* ===== SaveMart v0.4 editable Hero ===== */
.hero{
  background-color:#0d4057;
  background-position:center center;
  background-size:cover;
  background-repeat:no-repeat;
}
.hero .hero-overlay{
  background:linear-gradient(90deg,rgba(5,27,43,.58) 0%,rgba(5,27,43,.42) 38%,rgba(5,27,43,.16) 70%,rgba(5,27,43,.07) 100%);
}
@media(max-width:700px){
  .hero{background-position:center center}
  .hero .hero-overlay{background:rgba(5,27,43,.32)}
}

/* ===== SaveMart v0.5 WooCommerce departments ===== */
.department-grid-images{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}
.department-photo-card{
  display:block;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 7px 24px rgba(0,0,0,.08);
  background:#eef1f3;
}
.department-photo{
  min-height:190px;
  position:relative;
  background-size:cover;
  background-position:center;
  display:flex;
  align-items:flex-end;
  transition:transform .25s ease;
}
.department-photo-card:hover .department-photo{transform:scale(1.025)}
.department-shade{
  position:absolute;inset:0;
  background:linear-gradient(180deg,transparent 35%,rgba(5,20,30,.82) 100%);
}
.department-photo strong{
  position:relative;
  z-index:2;
  color:#fff;
  font-size:18px;
  padding:20px;
  text-shadow:0 1px 3px rgba(0,0,0,.35);
}
.department-no-image{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  color:#7d878e;
  font-size:13px;
  z-index:1;
}
@media(max-width:900px){.department-grid-images{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){
 .department-grid-images{grid-template-columns:1fr 1fr;gap:10px}
 .department-photo{min-height:145px}
 .department-photo strong{font-size:15px;padding:14px}
}

/* ===== SaveMart v0.6 Weekly Deals / catalog mode ===== */
.weekly-deals-section{background:#f6f7f8}
.section-subtitle{margin:6px 0 0;color:#68737b}
.deal-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px;
}
.deal-card{
  background:#fff;
  border:1px solid #e7e9eb;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 6px 22px rgba(0,0,0,.055);
}
.deal-image{
  position:relative;
  display:flex;
  height:220px;
  align-items:center;
  justify-content:center;
  background:#fff;
  overflow:hidden;
}
.deal-image img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:12px;
  transition:transform .25s ease;
}
.deal-card:hover .deal-image img{transform:scale(1.035)}
.deal-badge{
  position:absolute;
  left:12px;
  top:12px;
  background:var(--red);
  color:#fff;
  padding:6px 10px;
  border-radius:5px;
  font-size:12px;
  font-weight:800;
}
.deal-body{padding:17px}
.deal-body h3{
  margin:0 0 12px;
  font-size:17px;
  line-height:1.35;
}
.deal-body h3 a{color:#0b2537}
.deal-price{
  display:flex;
  gap:9px;
  align-items:center;
  margin-bottom:16px;
}
.deal-price del{color:#8a9297;font-size:14px}
.deal-price strong{color:var(--red);font-size:20px}
.deal-actions{display:flex;gap:8px;flex-wrap:wrap}
.deal-details,.deal-whatsapp{
  display:inline-flex;
  min-height:38px;
  align-items:center;
  justify-content:center;
  border-radius:5px;
  padding:8px 11px;
  font-size:13px;
  font-weight:700;
}
.deal-details{border:1px solid #d5dade;color:#263943}
.deal-whatsapp{background:#128c4b;color:#fff}
.deals-empty{
  background:#fff;
  border:1px dashed #cbd2d6;
  border-radius:10px;
  padding:28px;
  display:flex;
  flex-direction:column;
  gap:5px;
  color:#5d6970;
}
.deals-empty strong{color:#0b2537;font-size:18px}

/* Catalog-only phase: hide WooCommerce purchasing controls */
.woocommerce .single_add_to_cart_button,
.woocommerce .quantity,
.woocommerce a.button.add_to_cart_button,
.woocommerce .cart,
.site-header .cart-contents,
.woocommerce-cart-form,
.woocommerce-checkout{
  display:none !important;
}

@media(max-width:1000px){.deal-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){
  .deal-grid{grid-template-columns:1fr 1fr;gap:10px}
  .deal-image{height:155px}
  .deal-body{padding:12px}
  .deal-body h3{font-size:14px}
  .deal-price{align-items:flex-start;flex-direction:column;gap:2px}
  .deal-price strong{font-size:17px}
  .deal-actions{flex-direction:column}
}


/* ===== SaveMart v0.7 Hero Slider ===== */
.hero-slider{overflow:hidden}
.hero-slides,.hero-slide{position:absolute;inset:0}
.hero-slides{z-index:0}
.hero-slide{background-image:var(--hero-desktop);background-position:center center;background-size:cover;background-repeat:no-repeat;opacity:0;transition:opacity .65s ease}
.hero-slide.is-active{opacity:1}
.hero-slider .hero-overlay{z-index:1}
.hero-slider .hero-content{z-index:2}
.hero-slider .hero-actions{position:absolute;left:50%;bottom:58px;transform:translateX(-50%);z-index:4;margin:0;justify-content:center}
@media(max-width:560px){.hero-slider .hero-actions{bottom:42px}.hero-slider .hero-actions .btn{padding:12px 16px;font-size:12px}}
.hero-arrow{position:absolute;z-index:3;top:50%;transform:translateY(-50%);width:44px;height:44px;border:1px solid rgba(255,255,255,.65);border-radius:50%;background:rgba(0,0,0,.22);color:#fff;font-size:34px;line-height:38px;cursor:pointer;display:grid;place-items:center}
.hero-prev{left:24px}
.hero-next{right:24px}
.hero-dots{position:absolute;z-index:3;left:50%;bottom:22px;transform:translateX(-50%);display:flex;gap:8px}
.hero-dot{width:10px;height:10px;padding:0;border:1px solid #fff;border-radius:50%;background:rgba(255,255,255,.45);cursor:pointer}
.hero-dot.is-active{background:#fff;transform:scale(1.15)}
@media(max-width:560px){.hero-arrow{width:38px;height:38px;font-size:28px}.hero-prev{left:12px}.hero-next{right:12px}.hero-dots{bottom:14px}}
@media(max-width:767px){.hero-slide{background-image:var(--hero-mobile)}}
@media(max-width:560px){.hero-slider{min-height:620px}.hero-slider .hero-actions{bottom:68px}.hero-slider .hero-dots{bottom:20px}}

/* Featured product slider */
.featured-products-section{background:#f6f7f8}
.featured-slider{position:relative;padding:0 4px}
.featured-viewport{width:100%;overflow:hidden}
.featured-track{display:flex;gap:18px;overflow:visible;transition:transform .45s ease;will-change:transform;padding:2px 0 10px}
.featured-card{flex:0 0 calc((100% - 54px)/4);min-width:0;background:#fff;border:1px solid #e7eaed;border-radius:var(--radius);overflow:hidden;box-shadow:0 6px 20px #00000008}
.featured-image{height:220px;background:#eef1f3;display:grid;place-items:center;overflow:hidden}
.featured-image img{width:100%;height:100%;object-fit:contain;transition:transform .25s ease}
.featured-card:hover .featured-image img{transform:scale(1.035)}
.featured-image span{color:#8b949b}
.featured-body{padding:16px}
.featured-body h3{font-size:17px;line-height:1.25;margin:0 0 10px}
.featured-body h3 a{color:#0b2537}
.featured-price{min-height:27px;margin-bottom:13px}
.featured-price del{color:#8a9297;margin-right:7px}
.featured-price ins{text-decoration:none;color:var(--red);font-weight:800;font-size:20px}
.featured-actions{display:flex;gap:8px;flex-wrap:wrap}
.featured-details,.featured-whatsapp{display:inline-block;padding:9px 11px;border-radius:5px;font-size:12px;font-weight:700}
.featured-details{border:1px solid #d5dade;color:#263943}
.featured-whatsapp{background:#128c4b;color:#fff}
.featured-arrow{position:absolute;top:43%;transform:translateY(-50%);width:42px;height:42px;border:0;border-radius:50%;background:#fff;color:var(--navy);box-shadow:0 4px 14px #00000018;font-size:30px;line-height:1;cursor:pointer;z-index:2}
.featured-prev{left:-18px}.featured-next{right:-18px}
.featured-dots{display:flex;justify-content:center;gap:7px;margin-top:18px}
.featured-dot{width:9px;height:9px;padding:0;border:1px solid #83909a;border-radius:50%;background:#fff;cursor:pointer}
.featured-dot.is-active{background:var(--red);border-color:var(--red)}
@media(max-width:1000px){.featured-card{flex-basis:calc((100% - 18px)/2)}.featured-prev{left:-8px}.featured-next{right:-8px}}
@media(max-width:560px){.featured-card{flex-basis:100%}.featured-image{height:230px}.featured-arrow{width:38px;height:38px;font-size:27px}.featured-prev{left:4px}.featured-next{right:4px}.featured-body{padding:13px}}

/* ===== SaveMart v0.9 informational pages ===== */
.info-page{padding-top:64px;padding-bottom:72px;min-height:520px}
.info-page h1{font-size:42px;margin:6px 0 28px;color:var(--navy)}
.info-page-copy{max-width:820px;font-size:18px;line-height:1.7;color:#52616b}
.info-highlight{margin-top:28px;padding:22px 24px;background:#f5f7f9;border-left:5px solid var(--red);display:flex;flex-direction:column;gap:5px}
.info-highlight strong{color:var(--navy);font-size:18px}.info-highlight span{color:#5f6c74}
.departments-page-grid{margin-top:30px}
.contact-page-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:28px;max-width:950px}
.contact-page-grid h2{color:var(--navy);margin-top:0}.contact-page-grid p{line-height:1.7;color:#596770}
.contact-card{background:#f5f7f9;border-radius:var(--radius);padding:28px;border-top:5px solid var(--red);align-self:start}
.contact-card .btn{display:inline-flex;margin-top:8px}
@media(max-width:700px){.info-page{padding-top:42px}.info-page h1{font-size:34px}.contact-page-grid{grid-template-columns:1fr}}

/* ===== SaveMart v1.1 Product Catalog ===== */
.catalog-hero{background:linear-gradient(115deg,#092943 0%,#103e5a 58%,#00a8bd 100%);color:#fff;padding:58px 0 54px;position:relative;overflow:hidden}
.catalog-hero:after{content:"";position:absolute;width:420px;height:420px;border-radius:50%;right:-120px;top:-230px;background:rgba(255,255,255,.08)}
.catalog-hero .eyebrow{color:#fff;margin:0 0 10px}
.catalog-hero h1{font-size:48px;margin:0 0 10px;line-height:1.05}
.catalog-hero p:last-child{margin:0;max-width:650px;font-size:18px;color:#e9f4f7}
.catalog-section{background:#f5f7f9}
.catalog-toolbar{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:24px}
.catalog-toolbar h2{margin:0;font-size:30px;color:var(--navy)}
.catalog-toolbar p{margin:5px 0 0;color:var(--muted)}
.catalog-search{width:min(330px,100%)}
.catalog-search input{width:100%;height:46px;border:1px solid #d4dce0;border-radius:8px;padding:0 15px;font:inherit;outline:none;background:#fff}
.catalog-search input:focus{border-color:var(--teal);box-shadow:0 0 0 3px #00a8bd1a}
.catalog-filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:30px}
.catalog-filter{border:1px solid #d8dfe3;background:#fff;color:#233b4c;border-radius:999px;padding:10px 15px;font-weight:700;font-size:13px;cursor:pointer;transition:.2s}
.catalog-filter span{font-weight:600;color:#7a858c;margin-left:5px}
.catalog-filter:hover{border-color:var(--teal);color:var(--navy)}
.catalog-filter.is-active{background:var(--navy);border-color:var(--navy);color:#fff}
.catalog-filter.is-active span{color:#dcecf2}
.catalog-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.catalog-card{background:#fff;border:1px solid #e3e8eb;border-radius:14px;overflow:hidden;box-shadow:0 7px 22px rgba(0,0,0,.05);transition:transform .2s ease,box-shadow .2s ease}
.catalog-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(0,0,0,.09)}
.catalog-card-image{height:245px;background:#fff;display:grid;place-items:center;position:relative;overflow:hidden}
.catalog-card-image img{width:100%;height:100%;object-fit:contain;padding:18px;transition:transform .25s ease}
.catalog-card:hover .catalog-card-image img{transform:scale(1.035)}
.catalog-sale{position:absolute;z-index:2;left:13px;top:13px;background:var(--red);color:#fff;border-radius:5px;padding:6px 9px;font-size:11px;font-weight:800}
.catalog-no-image{color:#8b959b;font-size:13px}
.catalog-card-body{padding:16px}
.catalog-category{font-size:11px;text-transform:uppercase;letter-spacing:.8px;color:#74818a;font-weight:800}
.catalog-card h3{font-size:16px;line-height:1.35;margin:6px 0 10px;min-height:43px;color:var(--navy)}
.catalog-card h3 a:hover{color:var(--red)}
.catalog-price{min-height:28px;margin-bottom:13px}
.catalog-price del{color:#8a9297;margin-right:7px}
.catalog-price ins{text-decoration:none;color:var(--red);font-size:19px;font-weight:800}
.catalog-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.catalog-details,.catalog-whatsapp{padding:10px 8px;text-align:center;border-radius:6px;font-size:12px;font-weight:800}
.catalog-details{border:1px solid #d5dade;color:#263943}
.catalog-whatsapp{background:#128c4b;color:#fff}
.catalog-empty{background:#fff;border:1px dashed #cbd2d6;border-radius:10px;padding:30px;text-align:center;color:#68757d}
.catalog-card.is-hidden{display:none}
@media(max-width:1050px){.catalog-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:800px){.catalog-toolbar{align-items:stretch;flex-direction:column}.catalog-search{width:100%}.catalog-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.catalog-hero{padding:42px 0}.catalog-hero h1{font-size:36px}.catalog-hero p:last-child{font-size:16px}.catalog-section{padding-top:38px;padding-bottom:45px}.catalog-toolbar h2{font-size:25px}.catalog-filters{gap:7px}.catalog-filter{padding:9px 12px}.catalog-grid{gap:12px}.catalog-card-image{height:175px}.catalog-card-image img{padding:10px}.catalog-card-body{padding:12px}.catalog-card h3{font-size:14px;min-height:38px}.catalog-price ins{font-size:17px}.catalog-actions{grid-template-columns:1fr}.catalog-details,.catalog-whatsapp{padding:9px}}

/* ===== SaveMart v2.2 search/layout stability ===== */
html,body{width:100%;min-width:0;overflow-x:hidden}
body{display:block !important;grid-template-columns:none !important}
body>.topbar,body>.site-header,body>main,body>.footer{width:100%;display:block}
body>main{min-width:0}
body>.topbar>.container,body>.site-header>.sm-header-row,body>.site-header>.nav>.container,body>main>.container,body>main>section>.container,body>.footer>.container{max-width:1180px}
.catalog-hero,.catalog-section{width:100%;display:block;clear:both}
.catalog-hero .container,.catalog-section .container{width:min(1180px,92%);margin-left:auto;margin-right:auto}
@media(max-width:560px){body{overflow-x:hidden}.catalog-hero .container,.catalog-section .container{width:92%}}

/* ===== SaveMart v2.3 product-page cleanup ===== */
/* Hide any legacy/classic WordPress sidebar that may still be registered by
   WooCommerce or another widget configuration. Product pages stay full-width. */
.single-product #secondary,
.single-product .widget-area,
.single-product .sidebar,
.single-product aside.widget-area,
.single-product aside.sidebar,
.single-product .woocommerce-sidebar {
  display:none !important;
}
.single-product .content-area,
.single-product .site-main {
  width:100% !important;
  max-width:100% !important;
  float:none !important;
}


/* ===== SaveMart v2.4 product WhatsApp inquiry ===== */
.savemart-product-whatsapp{margin:18px 0 4px}
.savemart-whatsapp-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;background:#128c4b;color:#fff !important;border-radius:7px;padding:13px 20px;font-size:15px;font-weight:800;text-decoration:none;box-shadow:0 5px 14px rgba(18,140,75,.18);transition:transform .18s ease,background .18s ease}
.savemart-whatsapp-button:hover{background:#0f7d43;color:#fff !important;transform:translateY(-1px)}
.savemart-whatsapp-icon{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border:2px solid #fff;border-radius:50%;font-size:8px;line-height:1}
@media(max-width:560px){.savemart-product-whatsapp{margin-top:15px}.savemart-whatsapp-button{width:100%;padding:13px 16px}}


/* ===== SaveMart v2.5 Latest Products slider ===== */
.latest-products-section{background:linear-gradient(180deg,#fff8f7 0%,#fff 100%);border-top:1px solid #f1d8d4;border-bottom:1px solid #f1d8d4}
.latest-products-section .section-title{margin-bottom:24px}
.latest-products-section .eyebrow{color:var(--red);font-weight:900;letter-spacing:.12em}
.latest-products-section .latest-card{box-shadow:0 8px 24px #00000012}
.latest-products-section .latest-image{height:235px}
.latest-slider{position:relative;padding:0 4px}
.latest-viewport{width:100%;overflow:hidden}
.latest-track{display:flex;gap:18px;overflow:visible;transition:transform .45s ease;will-change:transform;padding:2px 0 10px}
.latest-card{flex:0 0 calc((100% - 54px)/4);min-width:0;background:#fff;border:1px solid #e7eaed;border-radius:var(--radius);overflow:hidden;box-shadow:0 6px 20px #00000008}
.latest-image{height:220px;background:#eef1f3;display:grid;place-items:center;overflow:hidden}
.latest-image img{width:100%;height:100%;object-fit:contain;transition:transform .25s ease}
.latest-card:hover .latest-image img{transform:scale(1.035)}
.latest-image span{color:#8b949b}
.latest-body{padding:16px}
.latest-body h3{font-size:17px;line-height:1.25;margin:0 0 16px}
.latest-body h3 a{color:#0b2537}
.latest-actions{display:flex;gap:8px;flex-wrap:wrap}
.latest-details,.latest-whatsapp{display:inline-block;padding:9px 11px;border-radius:5px;font-size:12px;font-weight:700}
.latest-details{border:1px solid #d5dade;color:#263943}
.latest-whatsapp{background:#128c4b;color:#fff}
.latest-arrow{position:absolute;top:43%;transform:translateY(-50%);width:42px;height:42px;border:0;border-radius:50%;background:#fff;color:var(--navy);box-shadow:0 4px 14px #00000018;font-size:30px;line-height:1;cursor:pointer;z-index:2}
.latest-prev{left:-18px}.latest-next{right:-18px}
.latest-dots{display:flex;justify-content:center;gap:7px;margin-top:18px}
.latest-dot{width:9px;height:9px;padding:0;border:1px solid #83909a;border-radius:50%;background:#fff;cursor:pointer}
.latest-dot.is-active{background:var(--red);border-color:var(--red)}
@media(max-width:1000px){.latest-card{flex-basis:calc((100% - 36px)/3)}.latest-prev{left:-8px}.latest-next{right:-8px}}
@media(max-width:560px){.latest-card{flex-basis:calc((100% - 12px)/2)}.latest-image{height:190px}.latest-arrow{width:38px;height:38px;font-size:27px}.latest-prev{left:4px}.latest-next{right:4px}.latest-body{padding:13px}.latest-body h3{font-size:14px}.latest-actions{flex-direction:column}.latest-details,.latest-whatsapp{text-align:center;padding:8px}}


/* ===== SaveMart v2.6 social icons ===== */
.topbar-inner{gap:20px}
.topbar-social{display:flex;align-items:center;gap:9px}
.topbar-social a{width:27px;height:27px;display:flex;align-items:center;justify-content:center;color:#fff;border:1px solid rgba(255,255,255,.65);border-radius:50%;transition:background .18s ease,transform .18s ease}
.topbar-social a:hover{background:rgba(255,255,255,.16);transform:translateY(-1px)}
.topbar-social svg{width:15px;height:15px;display:block}
.footer-social{display:flex;align-items:center;gap:10px;margin-top:14px}
.footer-social a{width:34px;height:34px;display:flex;align-items:center;justify-content:center;color:#fff;border:1px solid #ffffff40;border-radius:50%;transition:background .18s ease,transform .18s ease}
.footer-social a:hover{background:#ffffff14;transform:translateY(-1px)}
.footer-social svg{width:18px;height:18px;display:block}
@media(max-width:560px){.topbar-inner{justify-content:space-between}.topbar-address{font-size:12px}.topbar-social{gap:7px}.topbar-social a{width:25px;height:25px}.topbar-social svg{width:14px;height:14px}}

/* ===== SaveMart v2.9 Advanced catalog filters & sorting ===== */
.catalog-controls{background:#fff;border:1px solid #e1e7ea;border-radius:14px;padding:16px;margin-bottom:18px;box-shadow:0 5px 18px rgba(0,0,0,.035)}
.catalog-controls-top{display:flex;align-items:center;gap:15px}
.catalog-result-count{font-size:13px;font-weight:700;color:#63717a;margin-right:auto}
.catalog-sort{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:700;color:#334752}
.catalog-sort select,.catalog-select-filter select{height:42px;border:1px solid #d5dde1;border-radius:7px;background:#fff;color:#253b47;padding:0 34px 0 11px;font:inherit;outline:none}
.catalog-sort select:focus,.catalog-select-filter select:focus{border-color:var(--teal);box-shadow:0 0 0 3px #00a8bd1a}
.catalog-filter-panel{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding-top:15px;margin-top:15px;border-top:1px solid #edf0f2;align-items:end}
.catalog-select-filter label{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.65px;font-weight:800;color:#71808a;margin-bottom:6px}
.catalog-select-filter select{width:100%;padding-right:28px}
.catalog-check-filter{display:flex;flex-direction:column;gap:9px;padding-bottom:8px}
.catalog-check-filter label{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:700;color:#334752;cursor:pointer}
.catalog-check-filter input{accent-color:var(--red);width:16px;height:16px;margin:0}
.catalog-clear{height:40px;border:1px solid #d5dde1;background:#fff;color:#263943;border-radius:7px;padding:0 13px;font-weight:800;font-size:12px;cursor:pointer}
.catalog-clear:hover{border-color:var(--red);color:var(--red)}
.catalog-mobile-filters{display:none;height:42px;border:1px solid #d5dde1;background:#fff;color:#263943;border-radius:7px;padding:0 14px;font-weight:800;cursor:pointer}
.catalog-badge{position:absolute;z-index:2;top:12px;border-radius:5px;padding:5px 8px;font-size:10px;line-height:1;font-weight:900;letter-spacing:.35px}
.catalog-new-badge{left:12px;background:var(--red);color:#fff}
.catalog-featured-badge{right:12px;background:var(--navy);color:#fff}
.catalog-meta-row{min-height:22px;margin-bottom:11px}
.catalog-stock{font-size:11px;font-weight:800}
.catalog-stock.is-stock{color:#138c4b}
.catalog-stock.is-out{color:#a34b4b}
.catalog-price{display:none !important}
.catalog-card.is-hidden{display:none}
@media(max-width:900px){.catalog-filter-panel{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){
  .catalog-controls{padding:12px;margin-bottom:15px}
  .catalog-controls-top{flex-wrap:wrap}
  .catalog-mobile-filters{display:block}
  .catalog-result-count{font-size:12px}
  .catalog-sort{width:100%;justify-content:space-between}
  .catalog-sort select{flex:1}
  .catalog-filter-panel{display:none;grid-template-columns:1fr;padding-top:12px;margin-top:12px}
  .catalog-filter-panel.is-open{display:grid}
  .catalog-filters{margin-bottom:20px}
}


/* ===== SaveMart v2.13 product catalog page ===== */
/* Product-only styling. Home, Departments and the main catalog are untouched. */
.single-product .site-main,
.single-product .content-area{background:#fff}
.single-product .woocommerce{width:min(1180px,92%);margin:0 auto}
.single-product .savemart-product-back{padding:18px 0 6px;font-size:13px;font-weight:800;color:#52636d}
.single-product .savemart-product-back a:hover{color:var(--red)}
.single-product .woocommerce-breadcrumb{margin:0 0 22px!important;padding:0!important;color:#71808a!important;font-size:13px!important}
.single-product div.product{position:relative;display:grid;grid-template-columns:minmax(0,1.02fr) minmax(360px,.98fr);gap:58px;align-items:start;background:#fff;border-top:1px solid #edf0f2;padding:28px 0 52px}
.single-product div.product:after{content:"";position:absolute;left:calc(50% - 29px);top:28px;bottom:52px;width:1px;background:#edf0f2}
.single-product div.product .woocommerce-product-gallery{width:100%!important;float:none!important;margin:0!important;padding:0!important}
.single-product div.product .woocommerce-product-gallery__wrapper{margin:0!important}
.single-product div.product .woocommerce-product-gallery__image{background:#f7f8f9;border:1px solid #e5e9ec;border-radius:14px;overflow:hidden;min-height:500px;display:flex;align-items:center;justify-content:center}
.single-product div.product .woocommerce-product-gallery__image img{max-height:560px!important;width:100%!important;object-fit:contain;padding:28px}
.single-product div.product .flex-control-thumbs{display:flex!important;gap:10px;margin:12px 0 0!important;padding:0!important;overflow-x:auto}
.single-product div.product .flex-control-thumbs li{float:none!important;width:82px!important;min-width:82px!important;margin:0!important;list-style:none!important}
.single-product div.product .flex-control-thumbs li img{height:76px!important;width:82px!important;object-fit:cover!important;border:1px solid #dfe5e8;border-radius:8px;padding:4px;opacity:.72;transition:.18s ease}
.single-product div.product .flex-control-thumbs li img.flex-active{border:2px solid var(--red);opacity:1}
.single-product div.product .summary{width:100%!important;float:none!important;margin:0!important;padding:4px 0 0}
.single-product .savemart-product-category-label{display:inline-flex;align-items:center;background:#fff1f1;color:var(--red);border:1px solid #ffd6d6;border-radius:999px;padding:7px 11px;font-size:11px;font-weight:900;letter-spacing:.7px;text-transform:uppercase;margin-bottom:13px}
.single-product div.product .summary h1.product_title{font-size:39px!important;line-height:1.08!important;color:var(--navy)!important;margin:0 0 15px!important;letter-spacing:-.4px}
.single-product div.product .summary .price{display:none!important}
.single-product div.product .summary .woocommerce-product-details__short-description{font-size:16px;line-height:1.65;color:#53636d;margin:0 0 20px}
.single-product div.product .summary .woocommerce-product-details__short-description p:last-child{margin-bottom:0}
.single-product div.product .summary .cart{display:none!important}
.single-product .savemart-product-whatsapp{margin:0 0 22px!important}
.single-product .savemart-whatsapp-button{width:auto;min-width:245px;padding:14px 22px;border-radius:8px;font-size:14px}
.single-product div.product .product_meta{border-top:1px solid #e8edef;border-bottom:1px solid #e8edef;padding:17px 0;margin:0!important;color:#5c6b74;font-size:13px;line-height:1.7}
.single-product div.product .product_meta>span{display:block;margin:3px 0}
.single-product div.product .product_meta .sku_wrapper{font-weight:700;color:#344954}
.single-product div.product .product_meta a{color:var(--navy);font-weight:700}
.single-product .savemart-product-info{margin-top:24px;padding:18px 19px;background:#f7f9fa;border:1px solid #e5eaed;border-radius:10px}
.single-product .savemart-product-info-title{font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.9px;color:var(--navy);margin-bottom:12px}
.single-product .savemart-product-info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}
.single-product .savemart-product-info-item{background:#fff;border:1px solid #e7ecef;border-radius:7px;padding:10px 11px;font-size:12px;color:#63727b}
.single-product .savemart-product-info-item strong{display:block;color:#263943;font-size:12px;margin-bottom:2px}
.single-product .woocommerce-tabs{clear:both;margin:0!important;padding:0 0 45px!important;border-top:1px solid #edf0f2}
.single-product .woocommerce-tabs ul.tabs{margin:0 0 22px!important;padding:0!important;border:0!important;display:flex;gap:8px}
.single-product .woocommerce-tabs ul.tabs:before,.single-product .woocommerce-tabs ul.tabs:after{display:none!important}
.single-product .woocommerce-tabs ul.tabs li{margin:0!important;padding:0!important;border:0!important;background:#f3f6f7!important;border-radius:7px!important}
.single-product .woocommerce-tabs ul.tabs li:before,.single-product .woocommerce-tabs ul.tabs li:after{display:none!important}
.single-product .woocommerce-tabs ul.tabs li a{display:block;padding:11px 15px!important;color:#40545e!important;font-size:12px!important;font-weight:800!important}
.single-product .woocommerce-tabs ul.tabs li.active{background:var(--navy)!important}
.single-product .woocommerce-tabs ul.tabs li.active a{color:#fff!important}
.single-product .woocommerce-tabs .panel{margin:0!important;color:#52636d;line-height:1.7;font-size:14px}
.single-product .related.products{clear:both;border-top:1px solid #edf0f2;padding:42px 0 58px}
.single-product .related.products>h2{font-size:26px;color:var(--navy);margin:0 0 22px}
.single-product .related.products ul.products{margin:0!important}
.single-product .related.products ul.products li.product{background:#fff;border:1px solid #e3e8eb;border-radius:11px;padding:10px!important;overflow:hidden;box-shadow:0 5px 18px #00000008}
.single-product .related.products ul.products li.product .woocommerce-loop-product__title{font-size:14px!important;color:var(--navy);padding:10px 4px 2px!important}
.single-product .related.products ul.products li.product .price{display:none!important}
.single-product .related.products ul.products li.product img{border-radius:8px;margin:0!important}
.single-product .related.products ul.products li.product .button{display:block;background:#fff;border:1px solid #d6dee2;color:#344954;border-radius:6px;text-align:center;font-size:11px;font-weight:800;padding:9px 8px;margin:8px 4px 2px}
@media(max-width:900px){
 .single-product div.product{grid-template-columns:1fr;gap:30px}
 .single-product div.product:after{display:none}
 .single-product div.product .woocommerce-product-gallery__image{min-height:430px}
 .single-product div.product .summary h1.product_title{font-size:34px!important}
}
@media(max-width:560px){
 .single-product .woocommerce{width:92%}
 .single-product .savemart-product-back{padding-top:13px}
 .single-product div.product{padding-top:18px;padding-bottom:35px}
 .single-product div.product .woocommerce-product-gallery__image{min-height:300px;border-radius:10px}
 .single-product div.product .woocommerce-product-gallery__image img{max-height:360px!important;padding:16px}
 .single-product div.product .summary h1.product_title{font-size:29px!important}
 .single-product div.product .summary .woocommerce-product-details__short-description{font-size:14px}
 .single-product .savemart-whatsapp-button{width:100%;min-width:0}
 .single-product .savemart-product-info-grid{grid-template-columns:1fr}
 .single-product .woocommerce-tabs ul.tabs{overflow-x:auto;white-space:nowrap}
 .single-product .related.products{padding-top:32px}
 .single-product .related.products ul.products{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .single-product .related.products ul.products:before,.single-product .related.products ul.products:after{display:none!important}
 .single-product .related.products ul.products li.product{width:auto!important;float:none!important;margin:0!important}
}
