:root{--green:#0b756e;--dark:#17212b;--muted:#6b7a84;--line:#e3ebea;--soft:#f2f9f8}
*{box-sizing:border-box}body{margin:0;font-family:Arial,Tahoma,sans-serif;color:var(--dark);line-height:1.6}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}button{cursor:pointer}.container{width:min(1180px,calc(100% - 30px));margin:auto}
.site-header{background:#fff;position:sticky;top:0;z-index:50;box-shadow:0 1px 0 var(--line)}.header-row{height:68px;display:flex;align-items:center;justify-content:space-between}.menu-btn{border:0;background:none;font-size:27px}.brand{position:relative;font-size:25px;font-weight:900;padding-bottom:12px}.brand i{font-style:normal;color:var(--green)}.brand small{position:absolute;right:0;bottom:0;font-size:7px;color:#78868e;white-space:nowrap}.cart{border:1px solid var(--line);border-radius:13px;padding:7px 10px;display:flex;gap:3px;align-items:center}.cart b{background:#FC8A36;color:white;border-radius:50%;min-width:23px;height:23px;line-height:23px;text-align:center;font-size:11px}
.search-wrap{padding-bottom:9px}.search{height:45px;border:1px solid var(--line);border-radius:13px;display:flex;overflow:hidden;background:#fafcfc}.search input{flex:1;min-width:0;border:0;outline:0;background:none;padding:0 13px}.search button{width:48px;border:0;background:none;color:var(--green);font-size:25px}nav{display:none;border-top:1px solid #f1f3f3}nav.open{display:block}.nav-inner{display:flex;gap:25px;overflow:auto;white-space:nowrap}.nav a{font-size:12px;padding:9px 0;color:#69777f;border-bottom:2px solid transparent}.nav a.active{color:var(--green);border-color:var(--green)}
.hero{background:linear-gradient(120deg,#edf8f7,#f9fbfb);overflow:hidden}.hero-inner{min-height:315px;display:flex;align-items:center;justify-content:space-between}.hero-copy{max-width:63%;padding:25px 0}.hero-copy>span{font-size:10px;color:var(--green);font-weight:800}.hero h1{font-size:clamp(35px,9vw,65px);line-height:1.08;margin:6px 0 12px;letter-spacing:-1.5px}.hero h1 em{font-style:normal;color:var(--green)}.hero p{font-size:12px;color:var(--muted);margin:0 0 14px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:#FC8A36;color:#000000;border:0;border-radius:11px;padding:10px 17px;font-weight:800;font-size:12px}.btn.secondary{background:#808080;color:#FAFAFA;border:1px solid #cfe0de}.hero-visual{position:relative;display:grid;place-items:center;min-width:35%}.hero-circle{width:min(150px,30vw);aspect-ratio:1;border-radius:50%;background:#fff;display:grid;place-items:center;font-size:62px;box-shadow:0 15px 40px #0b756e14}.hero-visual label{position:absolute;bottom:3%;left:-4px;background:#fff;padding:5px 8px;border-radius:8px;font-size:7px;font-weight:800;box-shadow:0 6px 18px #0001}.dots{display:flex;justify-content:center;gap:6px;padding-bottom:10px}.dots i{width:7px;height:7px;border-radius:50%;background:#808080}.dots .on{background:#FC8A36)}
.section{padding:32px 0}.featured{background:#f7faf9}.section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:15px}.section-head h2{font-size:21px;margin:0}.section-head h2 span{color:#FC8A36}.section-head a{font-size:10px;color:#808080;font-weight:800}
.category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.category-card{min-height:118px;border:1px solid #FC8A36;border-radius:15px;background:#f0faf8;padding:12px;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.category-card:nth-child(2n){background:#F0F0F0;border-color:#FC8A36}.cat-icon{font-size:29px}.category-card h3{font-size:13px;margin:3px 0}.category-card span{font-size:8px;color:#FC8A36;font-weight:800}
.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.product-card{background:#F0F0F0;border:1px solid FC8A36;border-radius:14px;overflow:hidden}.product-image{height:155px;background:#f1f6f6;display:block;position:relative}.product-image img{width:100%;height:100%;object-fit:cover}.product-image span{position:absolute;top:7px;right:7px;background:#fff;padding:3px 6px;border-radius:6px;font-size:7px;color:#FC8A36}.placeholder{display:grid!important;place-items:center}.placeholder:after{content:"🩺";font-size:50px}.product-info{padding:9px}.product-info small{font-size:8px;color:#8b979d}.product-info h3{font-size:12px;line-height:1.35;margin:2px 0 8px}.product-bottom{display:flex;flex-direction:column;gap:6px}.product-bottom strong{font-size:12px;color:#FC8A36}.product-bottom button{width:100%;border:1px solid #cfe3e0;background:#808080;color:#000000;border-radius:8px;padding:6px;font-size:9px;font-weight:800}
.steps{padding:28px 0}.steps-grid{display:grid;grid-template-columns:1fr;gap:14px}.steps-grid>div{border-top:2px solid #808080;padding-top:8px}.steps-grid b{font-size:9px;color:var(--green)}.steps-grid h3{font-size:13px;margin:2px 0}.steps-grid p{font-size:10px;color:var(--muted);margin:0}footer{background:#121b24;color:#cad5da}.footer-grid{display:grid;grid-template-columns:1fr;gap:15px;padding:25px 0}.footer-grid strong{font-size:23px;color:#fff}.footer-grid strong span{color:var(--green)}.footer-grid h4{color:#fff;margin:0}.footer-grid a,.footer-grid p{font-size:10px;margin:3px 0}.copyright{text-align:center;border-top:1px solid #ffffff12;padding:10px;font-size:9px}
.page{padding:35px 0;min-height:65vh}.page-head span,.eyebrow{font-size:10px;color:var(--green);font-weight:900}.page-head h1{font-size:32px;margin:2px 0}.page-head p{color:var(--muted);font-size:12px}.filters{display:flex;gap:8px;margin-bottom:18px}.filters input,.filters select{border:1px solid var(--line);border-radius:9px;padding:9px;outline:0}.filters input{flex:1}.filters select{min-width:210px}.empty{text-align:center;border:1px dashed #cbd8d7;border-radius:15px;padding:50px 15px;color:var(--muted)}.hidden{display:none}
.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:35px}.detail-image{height:500px;border-radius:18px;background:#f2f7f7;overflow:hidden}.detail-image img{width:100%;height:100%;object-fit:cover}.detail-content h1{font-size:38px;line-height:1.15}.detail-price{font-size:25px;color:#FC8A36;font-weight:900}.detail-content>p{color:var(--muted)}.qty-row{display:flex;align-items:center;margin:18px 0}.qty-row button{width:40px;height:40px;border:1px solid var(--line);background:#f8fafb}.qty-row input{width:55px;height:40px;border:1px solid var(--line);text-align:center}.full{width:100%;margin-bottom:8px}
.cart-layout{display:grid;grid-template-columns:1.4fr .7fr;gap:20px}.cart-items{border:1px solid var(--line);border-radius:15px;overflow:hidden}.cart-row{display:grid;grid-template-columns:65px 1fr auto auto auto;gap:10px;align-items:center;padding:12px;border-bottom:1px solid var(--line)}.cart-row img{width:65px;height:65px;object-fit:cover;border-radius:9px;background:#f2f7f7}.cart-row h3{font-size:12px;margin:0}.cart-row small{font-size:10px;color:var(--muted)}.compact{margin:0}.compact button{width:28px;height:28px}.remove{border:0;background:none;color:#b42323;font-size:10px}.order-box{border:1px solid var(--line);border-radius:15px;padding:16px;position:sticky;top:115px}.summary{display:flex;justify-content:space-between}.order-box label{display:block;font-size:9px;font-weight:800;margin:8px 0}.order-box input,.order-box textarea{width:100%;display:block;margin-top:4px;border:1px solid var(--line);border-radius:8px;padding:8px;outline:0}.order-box textarea{min-height:65px}.wa{width:100%;border:0;background:#FC8A36;color:#FAFAFA;border-radius:9px;padding:10px;font-weight:900;font-size:11px}.toast{position:fixed;bottom:18px;right:18px;background:#17212b;color:#fff;padding:9px 13px;border-radius:9px;opacity:0;transition:.2s;z-index:100}.toast.show{opacity:1}
@media(min-width:901px){.header-row{height:78px}.search-wrap{position:absolute;left:50%;top:17px;transform:translateX(-50%);width:45vw;max-width:560px;padding:0}.nav{display:block}.hero-inner{min-height:430px}.hero-copy{max-width:55%}.category-grid{grid-template-columns:repeat(3,1fr)}.product-grid{grid-template-columns:repeat(4,1fr)}.product-bottom{flex-direction:row;align-items:center;justify-content:space-between}.product-bottom button{width:auto}.steps-grid{grid-template-columns:repeat(3,1fr)}.footer-grid{grid-template-columns:2fr 1fr 1fr}}
@media(max-width:600px){.hero-inner{min-height:300px}.hero-copy{max-width:64%}.hero h1{font-size:37px}.hero p{font-size:11px;line-height:1.75}.hero-circle{width:120px;font-size:52px}.section{padding:30px 0}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-image{height:150px}.product-detail{grid-template-columns:1fr;gap:18px}.detail-image{height:315px}.detail-content h1{font-size:29px}.cart-layout{grid-template-columns:1fr}.order-box{position:static}.cart-row{grid-template-columns:56px 1fr auto;gap:7px}.cart-row img{width:56px;height:56px}.cart-row>strong{grid-column:2}.filters{flex-direction:column}.filters select{min-width:0}.footer-grid{grid-template-columns:1fr}}
@media(max-width:360px){.hero h1{font-size:33px}.hero-circle{width:105px}.product-image{height:140px}}

/* ===== v4 requested refinements ===== */
.header-row{direction:rtl}
.menu-btn{order:1;width:48px;height:48px;color:#17212b;display:grid;place-items:center}
.brand{order:2;position:absolute;left:50%;transform:translateX(-50%);top:7px;width:max-content;max-width:58%;text-align:center;padding:0}
.cart{order:3}
.brand strong{display:block;font-size:22px;line-height:1.05}
.brand i{display:inline;color:var(--green)}
.brand small{display:block;position:static;font-size:7px;line-height:1.2;margin-top:3px;color:#718087}
.brand-logo{display:flex;align-items:center;justify-content:center;gap:4px;font-size:9px;line-height:1;color:var(--green);margin-top:5px;font-weight:900}
.brand-logo b{width:17px;height:17px;display:grid;place-items:center;border-radius:50%;background:var(--green);color:#fff;font-size:10px}
.search-wrap{display:none!important}

.hero-inner{min-height:300px}
.hero-copy{max-width:57%}
.hero-copy .btn{display:none!important} /* إزالة زر/كلمة تصفح المنتجات من وسط البانر */
.hero-visual{min-width:39%;height:225px}
.hero-slider{width:min(235px,32vw);height:225px;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 14px 38px rgba(17,55,55,.08);position:relative}
.hero-slider .slide{position:absolute;inset:0;opacity:0;transition:opacity .7s ease}
.hero-slider .slide.active{opacity:1}
.hero-slider img{width:100%;height:100%;object-fit:cover;display:block}
.slider-arrows{position:absolute;inset:0;display:flex;align-items:center;justify-content:space-between;padding:0 5px;pointer-events:none}
.slider-arrows button{pointer-events:auto;width:28px;height:28px;border:0;border-radius:50%;background:#ffffffd9;color:#F808080;font-size:22px;line-height:20px}
.hero-dots{display:none}

.category-card .cat-icon{font-size:29px}

.usd-price{display:block;color:#FC8A36;font-weight:900}
.yer-price{display:block;font-size:8px;color:#FC8A36;font-weight:600;margin-top:1px}
.rate-note{font-size:9px;color:#FC8A36;background:#FC8A36;border-radius:7px;padding:6px 8px;margin:8px 0 12px;text-align:center}
.summary strong{font-size:15px;text-align:right}

@media(max-width:600px){
  .header-row{height:72px}
  .brand{top:6px;max-width:55%}
  .brand strong{font-size:20px}
  .brand small{font-size:6px}
  .brand-logo{font-size:8px;margin-top:4px}
  .brand-logo b{width:15px;height:15px;font-size:9px}
  .hero-inner{min-height:265px}
  .hero-copy{max-width:60%;padding:18px 0}
  .hero-copy .btn{display:none!important}
  .hero h1{font-size:34px;margin-bottom:8px}
  .hero p{font-size:10px;line-height:1.65}
  .hero-visual{min-width:40%;height:190px}
  .hero-slider{width:125px;height:190px;border-radius:14px}
  .slider-arrows button{width:24px;height:24px;font-size:18px}
  .category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:601px) and (max-width:900px){
  .hero-inner{min-height:300px}
  .hero-slider{width:200px;height:215px}
}

/* ===== v5: compact mobile header + horizontal advertising banner + horizontal order steps ===== */
nav.open{display:block!important}
.menu-btn{position:relative;border:0;background:transparent;padding:7px;display:flex;flex-direction:column;justify-content:center;gap:5px;z-index:3}
.menu-btn span{display:block;width:29px;height:3px;border-radius:3px;background:var(--dark);transition:.2s}
.menu-btn[aria-expanded="true"] span:nth-child(1){transform:translateY(8px) rotate(45deg)}
.menu-btn[aria-expanded="true"] span:nth-child(2){opacity:0}
.menu-btn[aria-expanded="true"] span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}

.brand{top:4px}
.brand strong{font-size:25px}
.brand small{font-size:8px;margin-top:2px}
.brand-logo{font-size:12px;margin-top:6px;gap:5px}
.brand-logo b{width:23px;height:23px;font-size:13px}
.header-row{min-height:78px}
nav{background:#fff}
.nav-inner{padding-bottom:5px}

.hero{background:#f4faf9;padding-top:10px}
.hero-banner-wrap{width:min(1180px,calc(100% - 30px));margin:auto}
.hero-slider{position:relative;width:100%;height:clamp(120px,20vw,230px);border-radius:16px;overflow:hidden;background:#e8f2f1;box-shadow:0 8px 25px rgba(17,55,55,.07)}
.hero-slider .slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .7s ease,visibility .7s ease}
.hero-slider .slide.active{opacity:1;visibility:visible}
.hero-slider img{width:100%;height:100%;display:block;object-fit:cover}
.hero-slider .slide img[src=""]{display:none}
.dots{padding:8px 0 5px;display:flex;justify-content:center;gap:7px}
.dots button{width:7px;height:7px;padding:0;border:0;border-radius:50%;background:#808080}
.dots button.on{width:9px;height:9px;background:#FC8A36}
.slider-arrows{display:none!important}

.steps{padding:22px 0 28px;background:#fff}
.steps-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.step-card{border:1px solid var(--line);border-radius:15px;background:#fff;padding:12px 8px;text-align:center;min-width:0;box-shadow:0 5px 18px rgba(20,50,50,.035)}
.step-icon{width:36px;height:36px;border-radius:50%;margin:0 auto 6px;background:#FC8A36;color:#FAFAFA;display:grid;place-items:center}
.step-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.step-card b{display:block;font-size:8px;color:#808080;margin-bottom:1px}
.step-card h3{font-size:11px;margin:0;line-height:1.35}
.step-card p{font-size:7px;color:var(--muted);margin:3px 0 0;line-height:1.4}

@media(max-width:600px){
  .header-row{height:86px;min-height:86px}
  .brand{top:5px}
  .brand strong{font-size:24px}
  .brand small{font-size:7px}
  .brand-logo{font-size:11px;margin-top:6px}
  .brand-logo b{width:22px;height:22px;font-size:12px}
  .cart{padding:6px 9px}
  .menu-btn{width:48px;height:48px}
  nav.open{box-shadow:0 8px 16px rgba(0,0,0,.06)}
  .nav-inner{gap:18px;padding:0 15px 8px}
  .nav a{font-size:11px}
  .hero{padding-top:8px}
  .hero-banner-wrap{width:calc(100% - 20px)}
  .hero-slider{height:150px;border-radius:13px}
  .steps{padding:18px 0 25px}
  .steps-grid{gap:6px}
  .step-card{padding:10px 4px;min-height:112px}
  .step-icon{width:32px;height:32px}
  .step-icon svg{width:18px;height:18px}
  .step-card h3{font-size:10px}
  .step-card p{font-size:6.5px}
}
@media(max-width:360px){
  .brand strong{font-size:22px}
  .brand-logo{font-size:10px}
  .brand-logo b{width:20px;height:20px}
  .hero-slider{height:132px}
  .step-card h3{font-size:9px}
}

/* ===== Footer refinement: Why Hanbola integrated into footer ===== */
.site-footer{
  background:#111c25;
  color:#d7e1e3;
  margin-top:0;
}
.site-footer .footer-main{
  padding:30px 0 24px;
  text-align:center;
}
.footer-brand strong{
  display:block;
  color:#fff;
  font-size:30px;
  line-height:1.1;
  font-weight:900;
}
.footer-brand strong span{color:var(--green)}
.footer-brand p{
  margin:8px 0 22px;
  font-size:11px;
  color:#b9c7ca;
}
.footer-benefits{
  border-top:1px solid rgba(255,255,255,.10);
  padding-top:20px;
}
.footer-benefits h3{
  color:#fff;
  margin:0 0 14px;
  font-size:16px;
}
.footer-benefit-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:9px;
  max-width:850px;
  margin:auto;
}
.footer-benefit{
  min-height:68px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.035);
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:4px;
  font-size:9px;
}
.benefit-icon{
  width:25px;
  height:25px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(11,117,110,.20);
  color:#5fc9c0;
  font-size:13px;
  font-weight:900;
}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.12);
}
.footer-bottom-inner{
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  font-size:9px;
  color:#9eafb3;
  direction:ltr;
}
.footer-bottom-inner span:last-child{direction:ltr}

@media(max-width:600px){
  .site-footer .footer-main{padding:27px 0 20px}
  .footer-brand strong{font-size:27px}
  .footer-brand p{font-size:10px;margin:7px 0 18px}
  .footer-benefits{padding-top:17px}
  .footer-benefits h3{font-size:15px;margin-bottom:11px}
  .footer-benefit-grid{
    grid-template-columns:repeat(2,1fr);
    gap:8px;
  }
  .footer-benefit{min-height:62px;font-size:8px}
  .footer-bottom-inner{
    min-height:58px;
    flex-direction:column;
    justify-content:center;
    gap:4px;
    font-size:8px;
  }
}

/* ===== v5.2 final refinements ===== */

/* Header branding */
.brand{padding:0!important}
.brand small,.brand-logo{display:none!important}

/* Standalone logo between the store name and the banner */
.brand-mark-wrap{
  height:78px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
}
.brand-mark{
  width:58px;
  height:58px;
  border-radius:50%;
  background:#34474d;
  border:4px solid #e8eeee;
  box-shadow:0 5px 16px rgba(20,40,45,.12);
  display:grid;
  place-items:center;
}
.brand-mark span{
  width:38px;
  height:38px;
  border-radius:50%;
  display:grid;
  place-items:center;
  border:2px solid #76c9c2;
  color:#fff;
  font-size:21px;
  font-weight:900;
}

/* Professional vertical menu that does not push page content sideways */
.site-header{overflow:visible}
#mainNav{
  position:relative;
}
#mainNav.open{
  display:block;
}
#mainNav .nav-inner{
  position:relative;
}
@media(max-width:900px){
  #mainNav.open .nav-inner{
    position:absolute;
    top:0;
    right:15px;
    width:min(190px,calc(100vw - 30px));
    background:#fff;
    border:1px solid var(--line);
    border-radius:13px;
    box-shadow:0 14px 35px rgba(15,35,40,.14);
    padding:7px;
    display:flex;
    flex-direction:column;
    gap:2px;
    z-index:80;
  }
  #mainNav.open .nav-inner a{
    display:block;
    padding:9px 11px;
    border:0;
    border-radius:8px;
    font-size:11px;
  }
  #mainNav.open .nav-inner a:hover,
  #mainNav.open .nav-inner a.active{
    background:#eef8f7;
    color:var(--green);
  }
}

/* Cart pages fill the viewport and keep footer at the bottom */
body:has(.cart-layout), body:has(#cartLayout){
  min-height:100vh;
  display:flex;
  flex-direction:column;
}
body:has(.cart-layout) .site-header,
body:has(#cartLayout) .site-header{flex:none}
body:has(.cart-layout) .page,
body:has(#cartLayout) .page{
  flex:1;
  width:100%;
  min-height:0;
}
body:has(.cart-layout) .site-footer,
body:has(#cartLayout) .site-footer{
  margin-top:auto;
}

/* Cart uses YER only */
.cart-yar-price{
  display:block;
  color:#FC8A36;
  font-size:12px;
  font-weight:900;
  white-space:nowrap;
}

/* Better mobile logo spacing */
@media(max-width:600px){
  .brand-mark-wrap{height:72px}
  .brand-mark{width:55px;height:55px}
  .brand-mark span{width:36px;height:36px;font-size:20px}
}

/* ===== v5.3: compact header logo + universal menu ===== */
.brand{padding:0!important;top:4px!important}
.brand strong{display:block;line-height:1}
.brand i{display:block;line-height:7px;font-size:12px;margin-top:1px}
.header-logo{
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  margin:2px auto 0;
  border-radius:50%;
  background:#34474d;
  border:2px solid #76c9c2;
  color:#fff;
  font-size:15px;
  font-weight:900;
  box-shadow:0 2px 7px rgba(20,40,45,.16);
}
#mainNav{position:relative;z-index:100}
#mainNav.open{display:block!important}
@media(max-width:900px){
  #mainNav.open .nav-inner{
    position:absolute;
    top:5px;
    right:15px;
    width:min(200px,calc(100vw - 30px));
    background:#fff;
    border:1px solid var(--line);
    border-radius:13px;
    box-shadow:0 14px 35px rgba(15,35,40,.16);
    padding:7px;
    display:flex;
    flex-direction:column;
    gap:2px;
    z-index:120;
  }
  #mainNav.open .nav-inner a{
    display:block;
    padding:10px 12px;
    border:0;
    border-radius:8px;
    font-size:11px;
  }
  #mainNav.open .nav-inner a.active,
  #mainNav.open .nav-inner a:hover{background:#eef8f7;color:var(--green)}
}
@media(max-width:600px){
  .header-row{height:72px}
  .brand{top:4px!important}
  .brand strong{font-size:20px}
  .header-logo{width:28px;height:28px;font-size:15px}
}

/* ===== v5.4 requested updates ===== */

/* Remove the green dot between store name and logo */
.brand i{display:none!important}

/* Category cards: image slots supplied externally in /images */
.category-card{justify-content:flex-end;padding:10px}
.cat-image{
  width:100%;
  height:86px;
  border-radius:10px;
  overflow:hidden;
  background:#e8f3f2;
  display:grid;
  place-items:center;
  margin-bottom:6px;
}
.cat-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.cat-image.image-missing::after{
  content:"صورة القسم";
  color:#809094;
  font-size:9px;
}
.category-card h3{margin:2px 0}
.category-card span{margin-top:1px}

/* Social section in footer */
.footer-social{
  border-top:1px solid rgba(255,255,255,.10);
  padding-top:18px;
  margin-top:18px;
}
.footer-social h3{
  color:#fff;
  margin:0 0 12px;
  font-size:15px;
}
.social-links{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
}
.social-links a{
  min-width:105px;
  height:42px;
  border:1px solid rgba(255,255,255,.11);
  background:rgba(255,255,255,.035);
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  color:#dce7e8;
  font-size:9px;
}
.social-links a span{
  width:25px;height:25px;border-radius:50%;
  display:grid;place-items:center;
  background:rgba(11,117,110,.22);
  color:#71cec7;
  font-size:17px;
}
@media(max-width:600px){
  .cat-image{height:78px}
  .social-links{gap:8px}
  .social-links a{min-width:110px}
}

/* v5.4 final: hide any legacy brand dot */
.brand i{display:none!important}

/* v5.5: logo vertically centered between store name and banner */
.header-logo{
  transform:translateY(4px);
}

/* ===== v5.6 final requested refinements ===== */
.header-logo{
  transform:translateY(7px);
  overflow:hidden;
  position:relative;
}
.header-logo img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  position:absolute;
  inset:0;
}
.header-logo b{
  position:relative;
  z-index:1;
  color:#fff;
}
.header-logo:has(img[style*="display: none"]) b{display:grid;place-items:center;width:100%;height:100%}

/* White, clean footer icons */
.footer-benefit .benefit-icon,
.social-links a span{
  color:#fff!important;
}
.footer-benefit .benefit-icon{
  background:rgba(255,255,255,.10)!important;
}
.social-links a span{
  background:rgba(255,255,255,.10)!important;
}

/* ===== v5.7: footer icons only ===== */
.site-footer .benefit-icon svg,
.site-footer .social-links a span svg{
  width:16px;
  height:16px;
  display:block;
  fill:none;
  stroke:#fff;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.site-footer .benefit-icon{
  color:#fff!important;
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.12);
}
.site-footer .social-links a span{
  color:#fff!important;
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.12);
}
.site-footer .benefit-icon,
.site-footer .social-links a span{
  box-shadow:0 2px 8px rgba(0,0,0,.10);
}

/* ===== v5.8: footer icon refinement only ===== */
.site-footer .benefit-icon,
.site-footer .social-links a span{
  color:#fff!important;
  background:rgba(255,255,255,.07)!important;
  border:1px solid rgba(255,255,255,.16);
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.site-footer .benefit-icon svg,
.site-footer .social-links a span svg{
  width:20px;
  height:20px;
  display:block;
  fill:none;
  stroke:#fff;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.site-footer .social-links a span svg rect,
.site-footer .social-links a span svg circle{
  stroke:#fff;
}
.site-footer .social-links a span svg circle[fill="currentColor"]{
  fill:#fff;
  stroke:none;
}

.header-logo{
    display:block;
    width:140px;
    height:55px;
    margin:2px auto 0;
    border-radius:0;
    background:transparent;
    border:0;
    box-shadow:none;
    position:relative;
}

.header-logo img{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
    position:absolute;
    inset:0;
}

/* =========================================================
   حنبولة | لوحة التحكم المركزية بالألوان
   ========================================================= */

:root{

  /* =========================
     01 - ألوان الموقع العامة
     ========================= */
  --hb-bg: #ffffff;
  --hb-text: #34474d;
  --hb-text-light: #6b7b80;
  --hb-heading: #34474d;
  --hb-border: #e5eeee;

  /* =========================
     02 - الهوية الرئيسية
     ========================= */
  --hb-primary: #34474d;
  --hb-primary-light: #76c9c2;
  --hb-primary-dark: #26363b;

  /* =========================
     03 - الهيدر
     ========================= */
  --hb-header-bg: #ffffff;
  --hb-header-text: #34474d;
  --hb-menu-color: #34474d;
  --hb-cart-color: #34474d;
  --hb-cart-count-bg: #2f9f96;
  --hb-cart-count-text: #ffffff;

  /* =========================
     04 - البانر
     ========================= */
  --hb-banner-bg: #F5F5F5;
  --hb-banner-overlay: rgba(0,0,0,0);

  /* =========================
     05 - كروت الأقسام
     ========================= */
  --hb-category-bg: #F0F0F0;
  --hb-category-name: #000000;
  --hb-category-border: #FC8A36;
  --hb-category-hover: #808080;

  /* =========================
     06 - كروت المنتجات
     ========================= */
  --hb-product-bg: #ffffff;
  --hb-product-name: #34474d;
  --hb-product-description: #6b7b80;
  --hb-product-border: #e5eeee;

  /* =========================
     07 - الأسعار
     ========================= */

  /* سعر الدولار */
  --hb-usd-price: #FC8A36;

  /* سعر الريال اليمني */
  --hb-yer-price: #FC8A36;

  /* السعر القديم إن وجد */
  --hb-price-old: #FC8A36;

  /* رمز / اسم العملة */
  --hb-currency: #FC8A36;

  /* =========================
     08 - الأزرار
     ========================= */
  --hb-button-bg: #808080;
  --hb-button-text: #ffffff;

  --hb-button-hover: #FC8A36;
  --hb-button-hover-text: #ffffff;

  --hb-button-active: #FC8A36;
  --hb-button-active-text: #ffffff;

  /* =========================
     09 - الروابط
     ========================= */
  --hb-link: #2f9f96;
  --hb-link-hover: #34474d;

  /* =========================
     10 - السلة
     ========================= */
  --hb-cart-bg: #ffffff;
  --hb-cart-text: #34474d;
  --hb-cart-border: #e5eeee;
  --hb-cart-total: #2f9f96;

  /* =========================
     11 - النوافذ والتنبيهات
     ========================= */
  --hb-success: #2f9f96;
  --hb-error: #d9534f;
  --hb-warning: #e0a800;
  --hb-info: #3b82a0;

  /* =========================
     12 - القائمة المنسدلة
     ========================= */
  --hb-menu-bg: #ffffff;
  --hb-menu-text: #34474d;
  --hb-menu-hover: #f4faf9;
  --hb-menu-border: #e5eeee;

  /* =========================
     13 - الفوتر
     ========================= */
  --hb-footer-bg: #4a4a4a;
  --hb-footer-heading: #ffffff;
  --hb-footer-text: #ffffff;
  --hb-footer-link: #ffffff;
  --hb-footer-link-hover: #ffffff;

  /* =========================
     14 - أيقونات التواصل
     ========================= */
  --hb-icon: #FC8A36;
  --hb-icon-hover: #ffffff;

  /* =========================
     15 - الصور
     ========================= */
  --hb-image-bg: #e8f3f2;

  /* =========================
     16 - الظلال
     ========================= */
  --hb-shadow: rgba(20,40,45,.10);
  --hb-shadow-hover: rgba(20,40,45,.18);

  /* =========================
     17 - تأثيرات الحركة
     ========================= */
  --hb-transition: .25s;
}


/* =========================================================
   تطبيق الألوان
   ========================================================= */

/* الموقع */
body{
  background:var(--hb-bg);
  color:var(--hb-text);
}


/* الهيدر */
.site-header{
  background:var(--hb-header-bg);
}

.brand strong{
  color:var(--hb-header-text);
}

.menu-btn{
  color:var(--hb-menu-color);
}

.cart{
  color:var(--hb-cart-color);
}


/* البانر */
.hero{
  background:var(--hb-banner-bg);
}


/* صور كروت الأقسام */
.cat-image{
  background:var(--hb-image-bg);
}


/* كروت الأقسام */
.category-card{
  background:var(--hb-category-bg);
  border-color:var(--hb-category-border);
  transition:
    background-color var(--hb-transition) ease,
    border-color var(--hb-transition) ease,
    transform var(--hb-transition) ease;
}

.category-card:hover{
  background:var(--hb-category-hover);
}

.category-card .cat-name{
  color:var(--hb-category-name);
}


/* كروت المنتجات */
.product-card{
  background:var(--hb-product-bg);
  border-color:var(--hb-product-border);
  transition:
    background-color var(--hb-transition) ease,
    border-color var(--hb-transition) ease,
    transform var(--hb-transition) ease,
    box-shadow var(--hb-transition) ease;
}

.product-card .product-name{
  color:var(--hb-product-name);
}

.product-card p{
  color:var(--hb-product-description);
}


/* =========================================================
   الأسعار
   ========================================================= */

/* سعر الدولار */
.product-card .usd-price{
  color:var(--hb-usd-price);
}

/* سعر الريال اليمني */
.product-card .yer-price{
  color:var(--hb-yer-price);
}

/* السعر القديم */
.product-card .old-price{
  color:var(--hb-price-old);
}

/* العملة */
.product-card .currency{
  color:var(--hb-currency);
}


/* =========================================================
   الأزرار
   ========================================================= */

.product-card .btn,
.product-card button,
.category-card .btn,
.category-card button{
  background:var(--hb-button-bg);
  color:var(--hb-button-text);

  transition:
    background-color var(--hb-transition) ease,
    color var(--hb-transition) ease,
    transform var(--hb-transition) ease,
    box-shadow var(--hb-transition) ease;
}


/* عند المرور */
.product-card .btn:hover,
.product-card button:hover,
.category-card .btn:hover,
.category-card button:hover{
  background:var(--hb-button-hover);
  color:var(--hb-button-hover-text);
}


/* عند الضغط */
.product-card .btn:active,
.product-card button:active,
.category-card .btn:active,
.category-card button:active{
  background:var(--hb-button-active);
  color:var(--hb-button-active-text);
  transform:scale(.96);
}


/* =========================================================
   الروابط
   ========================================================= */

a{
  transition:color var(--hb-transition) ease;
}

a:hover{
  color:var(--hb-link-hover);
}


/* =========================================================
   القائمة
   ========================================================= */

#mainNav{
  background:var(--hb-menu-bg);
}

#mainNav a{
  color:var(--hb-menu-text);
}

#mainNav a:hover{
  background:var(--hb-menu-hover);
  color:var(--hb-link);
}


/* =========================================================
   الفوتر
   ========================================================= */

.site-footer{
  background:var(--hb-footer-bg);
  color:var(--hb-footer-text);
}

.site-footer h3,
.site-footer h4{
  color:var(--hb-footer-heading);
}

.site-footer a{
  color:var(--hb-footer-link);
}

.site-footer a:hover{
  color:var(--hb-footer-link-hover);
}


/* =========================================================
   الصور
   ========================================================= */

.product-image{
  background:var(--hb-image-bg);
}


/* =========================================================
   نهاية لوحة الألوان
   ========================================================= */

/* =====================================================
   حنبولة | أيقونة السلة
   ===================================================== */

.cart{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}

.cart-icon{
  width:27px;
  height:27px;
  fill:none;
  stroke:var(--hb-cart-color, #34474d);
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
  transition:
    transform .2s ease,
    stroke .2s ease;
}

/* عند لمس/الضغط على السلة */
.cart:active .cart-icon{
  transform:scale(.88);
}

/* عداد السلة */
#cartCount{
  position:absolute;
  top:-7px;
  right:-8px;
  min-width:17px;
  height:17px;
  padding:0 4px;
  border-radius:50%;
  background:var(--hb-cart-count-bg, #FC8A36);
  color:var(--hb-cart-count-text, #ffffff);
  font-size:10px;
  line-height:17px;
  text-align:center;
  font-weight:800;
}

/* لون رقم عداد السلة */
#cartCount{
  background:#FC8A36;
  color:#ffffff;
}

.header-row{
  direction:rtl;
  position:relative;
}

.menu-btn{
  position:absolute;
  top:50%;
  right:15px;
  transform:translateY(-50%);
  width:42px;
  height:42px;
  border:0;
  background:transparent;
  padding:7px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:5px;
  z-index:200;
}

.cart{
  position:absolute;
  top:50%;
  left:15px;
  transform:translateY(-50%);
  z-index:200;
}

.brand{
  position:absolute;
  left:50%;
  top:4px;
  transform:translateX(-50%);
}

#mainNav.open .nav-inner{
  top:30px;
}
