/*
Theme Name: Elmahalawy Retail Pro
Theme URI: https://elmahalawystores.com
Author: ChatGPT
Description: Live WooCommerce hypermarket theme for Elmahalawy Stores: premium grocery layout, dynamic ERP-imported products, real offers, categories, search, WhatsApp ordering, mobile-first RTL.
Version: 6.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: elmahalawy-retail-pro
Tags: rtl, supermarket, hypermarket, e-commerce, responsive, custom-menu
*/

:root{
  --m-red:#df1208;
  --m-red-dark:#b40f08;
  --m-blue:#0958a8;
  --m-blue-dark:#073c76;
  --m-yellow:#ffc928;
  --m-green:#14a44d;
  --m-bg:#f5f8fc;
  --m-card:#ffffff;
  --m-ink:#102033;
  --m-muted:#64748b;
  --m-line:#d7e2f0;
  --m-soft-red:#fff0ef;
  --m-soft-blue:#eaf4ff;
  --m-soft-yellow:#fff7d6;
  --radius:22px;
  --shadow:0 18px 45px rgba(7,32,65,.12);
  --shadow-soft:0 10px 28px rgba(7,32,65,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  direction:rtl;
  text-align:right;
  font-family: Tahoma, Arial, sans-serif;
  color:var(--m-ink);
  background:var(--m-bg);
  line-height:1.65;
}
a{text-decoration:none;color:inherit}
button,input{font-family:inherit}
img{max-width:100%;height:auto}
.container{width:min(1320px, calc(100% - 28px));margin-inline:auto}

.admin-bar .site-header{top:32px}
.retail-top{
  background:linear-gradient(90deg,var(--m-red),#ff4a17,var(--m-red));
  color:#fff;
  font-size:14px;
  font-weight:900;
  overflow:hidden;
}
.retail-ticker{
  display:flex;
  gap:38px;
  white-space:nowrap;
  padding:8px 0;
  animation:ticker 30s linear infinite;
}
@keyframes ticker{from{transform:translateX(0)}to{transform:translateX(50%)}}

.service-tabs{
  background:#d9e6f2;
  border-bottom:1px solid #c8d7e8;
  padding:12px 0;
}
.service-tabs .container{
  display:flex;
  gap:10px;
  align-items:center;
}
.service-tab{
  min-width:150px;
  height:42px;
  border:2px solid var(--m-blue);
  background:#fff;
  color:var(--m-blue);
  border-radius:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:1000;
}
.service-tab.active{
  background:var(--m-blue);
  color:#fff;
}
.service-tab.offer{
  border-color:#f3a600;
  color:#d48800;
}

.site-header{
  position:sticky;
  top:0;
  z-index:90;
  background:#fff;
  border-bottom:1px solid var(--m-line);
  box-shadow:0 6px 18px rgba(7,32,65,.05);
}
.header-main{
  min-height:94px;
  display:grid;
  grid-template-columns: 260px 1fr 140px;
  gap:18px;
  align-items:center;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.logo-img{
  width:58px;
  height:58px;
  object-fit:contain;
  border-radius:14px;
  background:#fff;
}
.brand-text strong{
  display:block;
  font-size:23px;
  line-height:1;
  color:var(--m-ink);
  letter-spacing:-.3px;
}
.brand-text span{
  color:var(--m-muted);
  font-size:12px;
  font-weight:900;
}
.search-wrap{
  display:flex;
  align-items:center;
  height:50px;
  border:2px solid var(--m-blue);
  border-radius:12px;
  overflow:hidden;
  background:#fff;
}
.search-wrap input{
  width:100%;
  height:100%;
  border:0;
  outline:0;
  padding:0 18px;
  font-size:16px;
  color:var(--m-ink);
  direction:rtl;
}
.search-wrap button{
  width:62px;
  height:100%;
  border:0;
  background:#fff;
  color:var(--m-blue);
  font-size:25px;
  cursor:pointer;
}
.cart-btn{
  height:52px;
  border-radius:999px;
  background:var(--m-blue);
  color:#fff;
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  font-size:18px;
  font-weight:1000;
  box-shadow:var(--shadow-soft);
}
.header-nav{
  border-top:1px solid var(--m-line);
  background:#fff;
}
.nav-row{
  height:54px;
  display:flex;
  align-items:center;
  gap:26px;
  overflow:auto;
}
.nav-row::-webkit-scrollbar{height:0}
.nav-row a,.nav-row li a{
  color:#123e70;
  font-weight:1000;
  white-space:nowrap;
  font-size:14px;
}
.nav-row ul{
  margin:0;
  padding:0;
  list-style:none;
  display:flex;
  gap:26px;
  align-items:center;
}
.all-cat{
  display:flex;
  align-items:center;
  gap:9px;
  color:var(--m-blue)!important;
}
.mobile-menu{
  display:none;
  border:0;
  background:var(--m-blue);
  color:#fff;
  width:48px;
  height:48px;
  border-radius:12px;
  font-size:22px;
}

.hero{
  background:#edf4fb;
  padding:18px 0 22px;
}
.banner-grid{
  display:grid;
  grid-template-columns: repeat(4,1fr);
  gap:16px;
}
.retail-banner{
  position:relative;
  min-height:222px;
  border-radius:6px;
  overflow:hidden;
  padding:28px 24px;
  color:#fff;
  box-shadow:var(--shadow-soft);
}
.retail-banner.blue{
  background:
    radial-gradient(circle at 76% 72%, rgba(255,255,255,.16), transparent 28%),
    linear-gradient(135deg,#0047a8,#022e77);
}
.retail-banner.red{
  background:
    radial-gradient(circle at 76% 72%, rgba(255,255,255,.14), transparent 28%),
    linear-gradient(135deg,#d50908,#b50507);
}
.retail-banner.dark{
  background:
    radial-gradient(circle at 76% 72%, rgba(255,255,255,.13), transparent 30%),
    linear-gradient(135deg,#003070,#001d48);
}
.retail-banner h2{
  margin:0;
  font-size:32px;
  line-height:1.15;
  max-width:240px;
  font-weight:1000;
}
.retail-banner p{
  margin:9px 0 0;
  color:rgba(255,255,255,.86);
  font-weight:800;
}
.shop-now{
  position:absolute;
  inset-inline-start:22px;
  bottom:22px;
  background:rgba(0,0,0,.28);
  color:#fff;
  padding:9px 16px;
  border-radius:10px;
  font-weight:1000;
}
.basket{
  position:absolute;
  inset-inline-end:12px;
  bottom:14px;
  width:150px;
  height:96px;
  transform:rotate(-3deg);
}
.basket .base{
  position:absolute;
  bottom:0;
  width:150px;
  height:56px;
  border-radius:10px 10px 18px 18px;
  background:linear-gradient(180deg,#e51b14,#b50905);
  box-shadow:0 12px 22px rgba(0,0,0,.22);
}
.basket .base:before{
  content:"";
  position:absolute;
  inset:10px;
  background:repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 7px, transparent 7px 17px);
  border-radius:6px;
}
.item{
  position:absolute;
  border-radius:50%;
  box-shadow:0 6px 12px rgba(0,0,0,.14);
}
.item.i1{width:42px;height:42px;background:#3bb143;right:20px;bottom:45px}
.item.i2{width:50px;height:50px;background:#ffcf33;right:58px;bottom:50px}
.item.i3{width:38px;height:38px;background:#e84234;right:102px;bottom:43px}
.item.i4{width:54px;height:32px;border-radius:8px;background:#fff;right:22px;bottom:73px}
.item.i5{width:38px;height:55px;border-radius:10px;background:#0d8fdf;right:84px;bottom:70px}

.quick-departments{
  padding:18px 0;
  background:#fff;
  border-bottom:1px solid var(--m-line);
}
.depart-grid{
  display:grid;
  grid-template-columns:repeat(8,1fr);
  gap:10px;
}
.depart-card{
  background:#fff;
  border:1px solid var(--m-line);
  border-radius:16px;
  padding:14px 10px;
  text-align:center;
  box-shadow:0 6px 16px rgba(7,32,65,.04);
  transition:.18s ease;
}
.depart-card:hover{
  transform:translateY(-3px);
  border-color:var(--m-blue);
  box-shadow:var(--shadow-soft);
}
.depart-icon{
  width:52px;height:52px;
  border-radius:16px;
  margin:0 auto 8px;
  display:grid;
  place-items:center;
  background:var(--m-soft-blue);
  color:var(--m-blue);
  font-size:26px;
}
.depart-card strong{
  display:block;
  font-size:13px;
  color:#173a61;
  line-height:1.3;
}

.section{
  padding:30px 0;
}
.section-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  margin-bottom:14px;
}
.section h2{
  margin:0;
  font-size:26px;
  color:#1d2a3c;
  font-weight:1000;
}
.section p{
  margin:5px 0 0;
  color:var(--m-muted);
}
.view-all{
  color:var(--m-blue);
  font-weight:1000;
}
.products-row{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:14px;
}
.product-card{
  background:#fff;
  border:1px solid #c8d8ec;
  border-radius:14px;
  min-height:340px;
  overflow:hidden;
  position:relative;
  box-shadow:0 5px 18px rgba(7,32,65,.05);
  transition:.18s ease;
}
.product-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow);
}
.badge{
  position:absolute;
  top:10px;
  inset-inline-start:10px;
  z-index:4;
  padding:5px 9px;
  border-radius:999px;
  background:var(--m-red);
  color:#fff;
  font-size:12px;
  font-weight:1000;
}
.product-art{
  height:155px;
  background:linear-gradient(180deg,#fff,#f3f7fc);
  display:grid;
  place-items:center;
  border-bottom:1px solid var(--m-line);
}
.pack{
  width:82px;
  height:118px;
  border-radius:12px;
  position:relative;
  box-shadow:0 12px 18px rgba(7,32,65,.14);
  background:linear-gradient(135deg,#fff,#dfe8f2);
  border:1px solid rgba(7,32,65,.12);
}
.pack.red{background:linear-gradient(135deg,#ffefef,#df1208)}
.pack.green{background:linear-gradient(135deg,#f0fff2,#16a34a)}
.pack.yellow{background:linear-gradient(135deg,#fff9d7,#f8b400)}
.pack.blue{background:linear-gradient(135deg,#eaf4ff,#0958a8)}
.pack.dark{background:linear-gradient(135deg,#1d2a3c,#07172d)}
.pack:before{
  content:"";
  position:absolute;
  top:15px;
  left:12px;
  right:12px;
  height:32px;
  border-radius:8px;
  background:rgba(255,255,255,.85);
}
.pack:after{
  content:"";
  position:absolute;
  bottom:18px;
  left:18px;
  right:18px;
  height:12px;
  border-radius:99px;
  background:rgba(255,255,255,.6);
}
.product-info{
  padding:12px;
}
.product-info h3{
  margin:0;
  font-size:14px;
  line-height:1.45;
  min-height:43px;
  color:#17243a;
}
.product-info .unit{
  color:var(--m-muted);
  font-size:12px;
  margin:6px 0;
}
.price-line{
  display:flex;
  align-items:baseline;
  gap:8px;
  margin:9px 0 12px;
}
.price-line .new{
  color:var(--m-red);
  font-weight:1000;
  font-size:20px;
}
.price-line .old{
  color:#94a3b8;
  text-decoration:line-through;
  font-size:12px;
}
.add-btn{
  width:100%;
  height:38px;
  border-radius:10px;
  background:var(--m-blue);
  color:#fff;
  border:0;
  font-weight:1000;
  display:flex;
  align-items:center;
  justify-content:center;
}
.fresh-zone{
  background:#fff;
  border-top:1px solid var(--m-line);
  border-bottom:1px solid var(--m-line);
  padding:28px 0;
}
.fresh-layout{
  display:grid;
  grid-template-columns: 1.05fr 1.95fr;
  gap:16px;
}
.fresh-big{
  min-height:330px;
  border-radius:16px;
  padding:28px;
  color:#fff;
  background:
    radial-gradient(circle at 80% 80%,rgba(255,255,255,.18),transparent 32%),
    linear-gradient(135deg,#0e8f44,#065f2d);
  position:relative;
  overflow:hidden;
}
.fresh-big h2{
  font-size:36px;
  line-height:1.1;
  margin:0 0 10px;
}
.fresh-big p{color:rgba(255,255,255,.86)}
.fresh-basket{
  position:absolute;
  inset-inline-end:16px;
  bottom:16px;
  transform:scale(1.18);
}
.mini-banners{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.mini-banner{
  min-height:155px;
  border-radius:16px;
  padding:18px;
  background:#f3f7fc;
  border:1px solid var(--m-line);
  position:relative;
  overflow:hidden;
}
.mini-banner h3{
  margin:0;
  font-size:21px;
  color:var(--m-blue-dark);
}
.mini-banner p{
  margin:5px 0 0;
  color:var(--m-muted);
  font-size:13px;
}
.mini-symbol{
  position:absolute;
  inset-inline-end:16px;
  bottom:10px;
  font-size:55px;
}
.delivery-strip{
  margin-top:22px;
  border-radius:18px;
  background:linear-gradient(90deg,var(--m-blue),var(--m-blue-dark));
  color:#fff;
  padding:22px;
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:16px;
  box-shadow:var(--shadow-soft);
}
.delivery-strip h2{margin:0;font-size:25px}
.delivery-strip p{margin:5px 0 0;color:rgba(255,255,255,.82)}
.whatsapp-cta{
  background:#25D366;
  color:#fff;
  padding:13px 20px;
  border-radius:12px;
  font-weight:1000;
}
.branches-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.branch-card{
  background:#fff;
  border:1px solid var(--m-line);
  border-radius:16px;
  padding:20px;
  box-shadow:var(--shadow-soft);
}
.branch-card h3{margin:0 0 8px;color:var(--m-blue-dark)}
.branch-card p{margin:5px 0;color:var(--m-muted)}
.footer{
  margin-top:30px;
  background:#07172d;
  color:#fff;
  padding:42px 0 22px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.3fr .8fr .8fr 1fr;
  gap:24px;
}
.footer h3,.footer h4{margin-top:0}
.footer p,.footer a,.footer li{color:rgba(255,255,255,.72)}
.footer ul{list-style:none;padding:0;margin:0;display:grid;gap:8px}
.copy{
  margin-top:26px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.12);
  color:rgba(255,255,255,.58);
  font-size:13px;
}
.float-whatsapp{
  position:fixed;
  inset-inline-start:18px;
  bottom:22px;
  width:62px;
  height:62px;
  border-radius:50%;
  background:#25D366;
  color:#fff;
  display:grid;
  place-items:center;
  font-size:30px;
  z-index:100;
  box-shadow:0 16px 35px rgba(37,211,102,.35);
}
.mobile-bottom{
  display:none;
}
.page-wrap{padding:38px 0}
.page-box{
  background:#fff;
  border:1px solid var(--m-line);
  border-radius:18px;
  padding:26px;
  box-shadow:var(--shadow-soft);
}

@media(max-width:1120px){
  .header-main{grid-template-columns:220px 1fr 90px}
  .banner-grid{grid-template-columns:repeat(2,1fr)}
  .depart-grid{grid-template-columns:repeat(4,1fr)}
  .products-row{grid-template-columns:repeat(3,1fr)}
  .fresh-layout{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
  .container{width:min(100% - 20px,1320px)}
  .service-tabs{display:none}
  .retail-top{font-size:12px}
  .header-main{
    min-height:auto;
    padding:12px 0;
    grid-template-columns:1fr 48px;
    gap:10px;
  }
  .brand-text strong{font-size:17px}
  .brand-text span{font-size:10px}
  .logo-img{width:48px;height:48px}
  .search-wrap{
    grid-column:1 / -1;
    order:3;
    height:46px;
  }
  .cart-btn{display:none}
  .mobile-menu{display:grid;place-items:center}
  .header-nav{
    display:none;
    position:absolute;
    top:128px;
    inset-inline:10px;
    border:1px solid var(--m-line);
    border-radius:16px;
    box-shadow:var(--shadow);
    overflow:hidden;
  }
  .header-nav.active{display:block}
  .nav-row{
    height:auto;
    display:block;
    padding:10px;
  }
  .nav-row ul{display:grid;gap:10px}
  .banner-grid{grid-template-columns:1fr}
  .retail-banner{min-height:205px}
  .retail-banner h2{font-size:28px}
  .basket{transform:scale(.85) rotate(-3deg);inset-inline-end:0}
  .depart-grid{grid-template-columns:repeat(2,1fr)}
  .products-row{grid-template-columns:repeat(2,1fr);gap:10px}
  .product-card{min-height:320px}
  .product-art{height:138px}
  .fresh-layout,.mini-banners,.branches-grid,.footer-grid{grid-template-columns:1fr}
  .delivery-strip{grid-template-columns:1fr;text-align:center}
  .whatsapp-cta{display:block}
  .float-whatsapp{bottom:84px}
  .mobile-bottom{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:8px;
    position:fixed;
    inset-inline:10px;
    bottom:10px;
    z-index:98;
    background:rgba(255,255,255,.96);
    border:1px solid var(--m-line);
    border-radius:18px;
    padding:8px;
    box-shadow:0 16px 35px rgba(7,32,65,.18);
  }
  .mobile-bottom a{
    display:grid;
    place-items:center;
    color:var(--m-blue-dark);
    font-weight:1000;
    font-size:12px;
  }
  .mobile-bottom b{font-size:20px}
}

/* ===== Version 4: WooCommerce live products integration ===== */
.cat-count{
  display:block;
  margin-top:4px;
  color:var(--m-muted);
  font-size:11px;
  font-weight:800;
}
.real-product .product-art{
  height:170px;
  background:
    radial-gradient(circle at 50% 20%, rgba(9,88,168,.10), transparent 34%),
    linear-gradient(180deg,#fff,#f4f8fd);
}
.product-img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:16px;
}
.live-pack{
  width:84px;
  height:118px;
  border-radius:18px;
  background:
    radial-gradient(circle at 76% 20%, rgba(255,255,255,.58), transparent 24%),
    linear-gradient(145deg,#ffebe9 0%,#df1208 55%,#0958a8 100%);
  display:grid;
  place-items:center;
  color:#fff;
  font-size:38px;
  font-weight:1000;
  box-shadow:0 20px 35px rgba(7,32,65,.18);
  position:relative;
  overflow:hidden;
}
.live-pack:before{
  content:"";
  position:absolute;
  top:15px;
  left:14px;
  right:14px;
  height:30px;
  border-radius:9px;
  background:rgba(255,255,255,.75);
}
.live-pack:after{
  content:"";
  position:absolute;
  bottom:18px;
  left:22px;
  right:22px;
  height:12px;
  border-radius:99px;
  background:rgba(255,255,255,.55);
}
.live-pack span{position:relative;z-index:2;text-shadow:0 3px 10px rgba(0,0,0,.22)}
.live-products .product-card{
  min-height:365px;
}
.wc-price{
  min-height:38px;
  display:block;
}
.wc-price del{
  color:#94a3b8;
  font-size:12px;
  margin-inline-end:6px;
}
.wc-price ins{
  text-decoration:none;
}
.wc-price .amount,
.wc-price bdi{
  color:var(--m-red);
  font-weight:1000;
  font-size:20px;
}
.sku-line{
  color:#8a9ab0;
  font-size:11px;
  margin:-3px 0 9px;
  direction:ltr;
  text-align:right;
}
.empty-products{
  background:#fff;
  border:1px dashed var(--m-line);
  border-radius:18px;
  padding:28px;
  text-align:center;
  color:var(--m-muted);
  font-weight:900;
}
.inner-head{
  margin-top:24px;
}
.categories-large{
  margin-top:16px;
}
.pager{
  margin-top:24px;
  display:flex;
  justify-content:center;
  gap:8px;
  flex-wrap:wrap;
}
.pager a,.pager span,
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span{
  min-width:40px;
  height:40px;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  border:1px solid var(--m-line)!important;
  background:#fff!important;
  border-radius:10px!important;
  color:var(--m-blue)!important;
  font-weight:1000!important;
}
.pager .current,
.woocommerce nav.woocommerce-pagination ul li span.current{
  background:var(--m-blue)!important;
  color:#fff!important;
}
.shop-intro,.term-desc{
  color:var(--m-muted);
  margin-top:-5px;
  margin-bottom:20px;
}
.shop-box .woocommerce-result-count,
.shop-box .woocommerce-ordering{
  margin-bottom:18px;
}
.shop-box .woocommerce-ordering select{
  border:1px solid var(--m-line);
  border-radius:12px;
  padding:9px 12px;
  color:var(--m-ink);
  background:#fff;
}
.woocommerce ul.products{
  display:grid!important;
  grid-template-columns:repeat(5,1fr);
  gap:14px;
  margin:18px 0!important;
  padding:0!important;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product{
  width:auto!important;
  margin:0!important;
  float:none!important;
  background:#fff;
  border:1px solid #c8d8ec;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 5px 18px rgba(7,32,65,.05);
  padding-bottom:12px!important;
  text-align:right;
}
.woocommerce ul.products li.product a img{
  width:100%;
  height:170px;
  object-fit:contain;
  padding:16px;
  margin:0!important;
  background:linear-gradient(180deg,#fff,#f4f8fd);
  border-bottom:1px solid var(--m-line);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-size:14px!important;
  line-height:1.45;
  min-height:48px;
  padding:12px 12px 4px!important;
  color:#17243a;
}
.woocommerce ul.products li.product .price{
  color:var(--m-red)!important;
  font-size:18px!important;
  font-weight:1000!important;
  padding:0 12px;
  display:block!important;
}
.woocommerce ul.products li.product .button{
  margin:10px 12px 0!important;
  width:calc(100% - 24px);
  text-align:center;
  background:var(--m-blue)!important;
  color:#fff!important;
  border-radius:10px!important;
  font-weight:1000!important;
}
.woocommerce span.onsale{
  background:var(--m-red)!important;
  color:#fff!important;
  border-radius:999px!important;
  min-height:auto!important;
  min-width:auto!important;
  padding:5px 9px!important;
  line-height:1.2!important;
  font-size:12px!important;
  font-weight:1000!important;
}
.woocommerce div.product div.images img{
  border:1px solid var(--m-line);
  border-radius:18px;
  background:#fff;
  padding:18px;
}
.woocommerce div.product .product_title{
  font-size:30px;
  font-weight:1000;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price{
  color:var(--m-red);
  font-size:26px;
  font-weight:1000;
}
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button{
  background:var(--m-blue)!important;
  color:#fff!important;
  border-radius:10px!important;
  font-weight:1000!important;
}
.woocommerce .quantity .qty{
  height:40px;
  border:1px solid var(--m-line);
  border-radius:8px;
}
.woocommerce-message,
.woocommerce-info,
.woocommerce-error{
  border-radius:14px;
  background:#fff;
  border-top-color:var(--m-blue)!important;
}

@media(max-width:1120px){
  .woocommerce ul.products{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:760px){
  .real-product .product-art,
  .woocommerce ul.products li.product a img{height:135px}
  .live-products .product-card{min-height:330px}
  .woocommerce ul.products{grid-template-columns:repeat(2,1fr);gap:10px}
  .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:12.5px!important;min-height:56px}
  .woocommerce ul.products li.product .price{font-size:16px!important}
}

/* V5 premium hero image banners */
.hero-image-banners{
  background:linear-gradient(180deg,#eef6ff 0%,#ffffff 72%);
  padding:22px 0 18px;
}
.hero-image-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  direction:rtl;
}
.hero-image-card{
  display:block;
  position:relative;
  overflow:hidden;
  border-radius:18px;
  min-height:210px;
  background:#fff;
  border:1px solid rgba(10,87,166,.18);
  box-shadow:0 16px 34px rgba(7,42,85,.12);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.hero-image-card:hover{
  transform:translateY(-4px);
  box-shadow:0 22px 46px rgba(7,42,85,.18);
  border-color:rgba(10,87,166,.35);
}
.hero-image-card img{
  width:100%;
  height:100%;
  min-height:210px;
  display:block;
  object-fit:cover;
  object-position:center;
}
.hero-image-card::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(120deg,rgba(255,255,255,.18),transparent 42%,rgba(255,255,255,.08));
}
@media (max-width: 900px){
  .hero-image-grid{grid-template-columns:1fr;gap:12px;}
  .hero-image-card{min-height:190px;border-radius:16px;}
  .hero-image-card img{min-height:190px;}
}
@media (max-width: 520px){
  .hero-image-banners{padding:14px 0 12px;}
  .hero-image-card{min-height:145px;border-radius:14px;}
  .hero-image-card img{min-height:145px;}
}


/* =========================================================
   V6 Large Auto Hero Slider
   ========================================================= */
.esh-hero-image-grid{
  display:block !important;
  grid-template-columns:none !important;
  gap:0 !important;
  max-width:1188px;
  margin:0 auto;
}
.esh-hero-slider{
  position:relative;
  width:100%;
  border-radius:18px;
  overflow:hidden;
  background:#ffffff;
  box-shadow:0 18px 45px rgba(15,46,87,.14);
  border:1px solid rgba(0,82,166,.12);
}
.esh-hero-slider-track{
  display:flex;
  direction:ltr;
  transition:transform .75s ease;
  will-change:transform;
}
.esh-hero-slide{
  flex:0 0 100%;
  position:relative;
  display:block;
  background:#fff;
}
.esh-hero-slide img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:3/1;
  object-fit:cover;
}
.esh-hero-slider:hover .esh-slider-arrow,
.esh-hero-slider:focus-within .esh-slider-arrow{opacity:1;}
.esh-slider-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:46px;
  height:46px;
  border-radius:999px;
  border:0;
  background:rgba(255,255,255,.92);
  color:#003d7c;
  font-size:30px;
  font-weight:900;
  line-height:46px;
  cursor:pointer;
  z-index:5;
  box-shadow:0 10px 25px rgba(0,0,0,.18);
  opacity:.35;
  transition:.2s ease;
}
.esh-slider-arrow:hover{background:#005baa;color:#fff;opacity:1;}
.esh-slider-arrow.prev{left:14px;}
.esh-slider-arrow.next{right:14px;}
.esh-slider-dots{
  position:absolute;
  left:50%;
  bottom:12px;
  transform:translateX(-50%);
  display:flex;
  gap:8px;
  z-index:6;
  direction:ltr;
}
.esh-slider-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  border:0;
  background:rgba(255,255,255,.65);
  box-shadow:0 2px 8px rgba(0,0,0,.22);
  cursor:pointer;
  transition:.25s ease;
}
.esh-slider-dot.is-active{
  width:30px;
  background:#e10600;
}
@media (max-width:900px){
  .esh-hero-image-grid{max-width:calc(100vw - 24px);}
  .esh-hero-slider{border-radius:14px;}
  .esh-hero-slide img{aspect-ratio:2.45/1;}
  .esh-slider-arrow{width:38px;height:38px;line-height:38px;font-size:24px;}
}
@media (max-width:560px){
  .esh-hero-slide img{aspect-ratio:1.85/1;}
  .esh-slider-dots{bottom:8px;}
  .esh-slider-dot{width:8px;height:8px;}
  .esh-slider-dot.is-active{width:24px;}
}



/* =========================================================
   V6 Large Auto Hero Slider - Active classes
   ========================================================= */
.hero-image-banners{
  background:linear-gradient(180deg,#eef6ff 0%,#ffffff 76%);
  padding:18px 0 22px;
}
.hero-image-grid{
  display:block !important;
  grid-template-columns:none !important;
  gap:0 !important;
  direction:rtl;
  max-width:1188px;
  margin:0 auto;
}
.hero-slider{
  position:relative;
  width:100%;
  border-radius:18px;
  overflow:hidden;
  background:#ffffff;
  box-shadow:0 18px 45px rgba(15,46,87,.14);
  border:1px solid rgba(0,82,166,.12);
}
.hero-slider-track{
  display:flex;
  direction:ltr;
  transition:transform .75s ease;
  will-change:transform;
}
.hero-slide{
  flex:0 0 100%;
  position:relative;
  display:block;
  background:#fff;
}
.hero-slide img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:3/1;
  object-fit:cover;
  object-position:center;
}
.hero-slider:hover .hero-slider-arrow,
.hero-slider:focus-within .hero-slider-arrow{opacity:1;}
.hero-slider-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:46px;
  height:46px;
  border-radius:999px;
  border:0;
  background:rgba(255,255,255,.92);
  color:#003d7c;
  font-size:30px;
  font-weight:900;
  line-height:46px;
  cursor:pointer;
  z-index:5;
  box-shadow:0 10px 25px rgba(0,0,0,.18);
  opacity:.42;
  transition:.2s ease;
}
.hero-slider-arrow:hover{background:#005baa;color:#fff;opacity:1;}
.hero-slider-arrow.prev{left:14px;}
.hero-slider-arrow.next{right:14px;}
.hero-slider-dots{
  position:absolute;
  left:50%;
  bottom:12px;
  transform:translateX(-50%);
  display:flex;
  gap:8px;
  z-index:6;
  direction:ltr;
}
.hero-slider-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  border:0;
  background:rgba(255,255,255,.72);
  box-shadow:0 2px 8px rgba(0,0,0,.22);
  cursor:pointer;
  transition:.25s ease;
  padding:0;
}
.hero-slider-dot.is-active{
  width:30px;
  background:#e10600;
}
@media (max-width:900px){
  .hero-image-grid{max-width:calc(100vw - 24px);}
  .hero-slider{border-radius:14px;}
  .hero-slide img{aspect-ratio:2.45/1;}
  .hero-slider-arrow{width:38px;height:38px;line-height:38px;font-size:24px;}
}
@media (max-width:560px){
  .hero-image-banners{padding:12px 0 14px;}
  .hero-slide img{aspect-ratio:1.85/1;}
  .hero-slider-dots{bottom:8px;}
  .hero-slider-dot{width:8px;height:8px;}
  .hero-slider-dot.is-active{width:24px;}
}

