.smfh{
  --blue:#0879d9;
  --dark:#082e61;
  --light:#f3f8ff;
  --text:#172033;
  --smfh-font-body:Tahoma,Arial,sans-serif;
  --smfh-font-heading:inherit;
  --smfh-font-menu:inherit;
  --smfh-font-button:inherit;
  --smfh-products-columns:4;
  font-family:var(--smfh-font-body);
  color:var(--text);
  background:#fff;
  line-height:1.8;
}
.smfh *{box-sizing:border-box}
.smfh a{text-decoration:none;color:inherit}
.smfh img{max-width:100%;display:block}
.smfh h1,.smfh h2,.smfh h3,.smfh h4,.smfh h5,.smfh h6{font-family:var(--smfh-font-heading,inherit)}
.smfh .smfh-btn{font-family:var(--smfh-font-button,inherit)}
.smfh .smfh-nav,.smfh .smfh-nav a,.smfh .smfh-nav li{font-family:var(--smfh-font-menu,inherit)}
.smfh-container{width:min(1180px,calc(100% - 32px));margin-inline:auto}

.smfh-header{background:#fff;position:relative;z-index:5}
.smfh-header-inner{min-height:92px;display:grid;grid-template-columns:220px 1fr auto;align-items:center;gap:24px}
.smfh-logo img{max-height:68px;max-width:210px;object-fit:contain}
.smfh-logo strong{font-size:28px;color:var(--blue)}
.smfh-nav{display:flex;align-items:center;justify-content:center;gap:28px;font-size:14px;margin:0;padding:0}
.smfh-nav li{list-style:none;margin:0;padding:0}
.smfh-nav li a{display:inline-flex;align-items:center}
.smfh-actions{display:flex;gap:18px;font-size:22px;direction:ltr}

/* Hero: image left, text right exactly like reference */
.smfh-hero{
  min-height:430px;
  border-radius:20px;
  background:#eef6ff;
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(380px,.9fr);
  align-items:center;
  gap:10px;
  padding:34px 38px;
  margin-bottom:22px;
  overflow:hidden;
  direction:ltr;
}
.smfh-hero-media{
  align-self:end;
  justify-self:start;
  width:100%;
  max-width:650px;
}
.smfh-hero-media picture{
  display:block;
  width:100%;
}
.smfh-hero-media img{
  width:100%;
  height:auto;
  object-fit:contain;
  object-position:left bottom;
}
.smfh-hero-placeholder{
  min-height:250px;
  border:2px dashed #c9d8ea;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#8ca0b5;
  background:#f7fbff;
}
.smfh-hero-copy{
  direction:rtl;
  text-align:right;
  width:100%;
  max-width:460px;
  justify-self:end;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  padding-inline-start:10px;
}
.smfh-hero-copy h1{
  width:100%;
  margin:0 0 14px;
  font-size:clamp(36px,4.4vw,64px);
  line-height:1.3;
  color:#0d4189;
  text-align:right;
}
.smfh-hero-copy p{
  width:100%;
  margin:0 0 28px;
  font-size:20px;
  color:#2b3950;
  text-align:right;
}
.smfh-buttons{
  width:100%;
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  direction:rtl;
}
.smfh-btn{padding:12px 28px;border-radius:999px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;min-width:160px}
.smfh-btn-primary{background:var(--blue);color:#fff!important}
.smfh-btn-light{background:#fff;box-shadow:0 8px 24px rgba(0,0,0,.06)}

.smfh-categories{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-block:18px 28px}
.smfh-category{border:1px solid #e7edf4;border-radius:14px;padding:22px;position:relative;min-height:250px;box-shadow:0 5px 24px rgba(7,45,91,.04);transition:.2s;background:#fff}
.smfh-category:hover{transform:translateY(-4px);box-shadow:0 10px 30px rgba(7,45,91,.1)}
.smfh-category-image{height:115px;display:flex;align-items:center;justify-content:center;color:#9aa8b7}
.smfh-category-image img{height:100%;width:100%;object-fit:contain}
.smfh-category h3{margin:12px 0 0;font-size:18px;text-align:right}
.smfh-category p{font-size:13px;color:#6d7785;margin:3px 0;text-align:right}
.smfh-arrow{position:absolute;left:18px;bottom:16px;width:30px;height:30px;border-radius:50%;background:#f0f6fc;color:var(--blue);display:grid;place-items:center}

.smfh-benefits{background:#f1f7ff;margin-block:26px}
.smfh-benefits-grid{display:grid;grid-template-columns:repeat(4,1fr);padding-block:20px}
.smfh-benefits-grid>div{display:grid;grid-template-columns:auto 1fr;column-gap:12px;align-items:center;padding:8px 24px;border-left:1px solid #dce9f7}
.smfh-benefits-grid>div:last-child{border-left:0}
.smfh-benefits b{grid-row:1/3;font-size:30px;color:var(--blue)}
.smfh-benefits strong{font-size:15px}.smfh-benefits span{font-size:12px;color:#758193}

.smfh-products{padding-block:36px}
.smfh-section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:16px}
.smfh-section-head h2{font-size:28px;margin:0;border-bottom:3px solid var(--blue);padding-bottom:8px;text-align:right}.smfh-section-head a{font-size:14px;color:var(--blue)}
.smfh .woocommerce ul.products{display:grid!important;grid-template-columns:repeat(var(--smfh-products-columns,4),minmax(0,1fr));gap:18px;margin:0!important}
.smfh .woocommerce ul.products:before,.smfh .woocommerce ul.products:after{display:none}
.smfh .woocommerce ul.products li.product{width:auto!important;margin:0!important;float:none!important;border:1px solid #e7edf4;border-radius:14px;padding:18px;box-shadow:0 5px 24px rgba(7,45,91,.04);background:#fff}
.smfh .woocommerce ul.products li.product img{height:210px;object-fit:contain}
.smfh .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:16px;line-height:1.8;min-height:58px;color:#1f2b3a;text-align:right}
.smfh .woocommerce ul.products li.product .price{color:var(--blue);font-weight:700}.smfh .woocommerce ul.products li.product .button{border-radius:999px;background:#edf6ff;color:var(--blue);padding:9px 16px}
.smfh-empty{border:2px dashed #cbd8e7;border-radius:14px;padding:50px;text-align:center;color:#6f7c8d;background:#f8fbff}

.smfh-newsletter{min-height:120px;border-radius:14px;background:#f3f8ff left center/cover no-repeat;margin-block:30px;display:flex;align-items:center;justify-content:space-between;padding:28px 44px;gap:24px}
.smfh-newsletter h2{margin:0;font-size:22px;text-align:right}.smfh-newsletter p{margin:4px 0 0;color:#667385;text-align:right}
.smfh-newsletter form{display:flex;min-width:min(420px,100%)}
.smfh-newsletter input{border:0;background:#fff;padding:13px 18px;flex:1;border-radius:0 999px 999px 0;outline:none}
.smfh-newsletter button{border:0;background:var(--blue);color:#fff;padding:13px 28px;border-radius:999px 0 0 999px;cursor:pointer}

.smfh-footer{background:var(--dark);color:#fff;margin-top:18px}.smfh-footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.2fr;gap:48px;padding-block:52px}
.smfh-footer img{max-height:70px;max-width:220px;filter:brightness(0) invert(1);margin-bottom:14px}.smfh-footer h3{margin-top:0}.smfh-footer-grid>div:not(:first-child){display:flex;flex-direction:column;gap:9px}.smfh-footer p,.smfh-footer a,.smfh-footer span{font-size:13px;color:#dbe8f7}.smfh-social{display:flex;gap:14px}.smfh-copyright{border-top:1px solid rgba(255,255,255,.12);text-align:center;padding:14px;font-size:12px;color:#c9d8e9}

.smfh-standalone-page{margin:0}.smfh-standalone-page .smfh{min-height:100vh}

@media(max-width:980px){
  .smfh-header-inner{grid-template-columns:1fr auto}
  .smfh-nav{grid-column:1/-1;order:3;overflow:auto;justify-content:flex-start;padding-bottom:14px}
  .smfh-hero{grid-template-columns:1fr;gap:22px;padding:24px;min-height:auto}
  .smfh-hero-media{order:2;max-width:100%;justify-self:stretch}
  .smfh-hero-copy{order:1;max-width:100%;justify-self:stretch;align-items:flex-end}
  .smfh-categories{grid-template-columns:repeat(2,1fr)}
  .smfh-benefits-grid{grid-template-columns:repeat(2,1fr)}
  .smfh-footer-grid{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:640px){
  .smfh-container{width:min(100% - 20px,1180px)}
  .smfh-header-inner{min-height:72px}.smfh-logo img{max-height:52px}.smfh-actions{gap:10px}.smfh-nav{gap:18px}
  .smfh-hero{padding:18px;border-radius:16px}
  .smfh-hero-media picture,.smfh-hero-media img{width:100%}
  .smfh-hero-media img{max-height:none;object-fit:contain;object-position:center bottom}
  .smfh-hero-copy h1{font-size:32px}
  .smfh-hero-copy p{font-size:16px}
  .smfh-buttons{justify-content:flex-end}
  .smfh-btn{min-width:unset;padding:11px 20px}
  .smfh-categories{grid-template-columns:1fr 1fr;gap:10px}.smfh-category{padding:14px;min-height:215px}.smfh-category-image{height:90px}
  .smfh-benefits-grid{grid-template-columns:1fr}.smfh-benefits-grid>div{border-left:0;border-bottom:1px solid #dce9f7}.smfh-benefits-grid>div:last-child{border-bottom:0}
  .smfh .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}.smfh .woocommerce ul.products li.product{padding:10px}.smfh .woocommerce ul.products li.product img{height:130px}
  .smfh-newsletter{flex-direction:column;align-items:stretch;padding:24px 18px}.smfh-newsletter form{min-width:0}
  .smfh-footer-grid{grid-template-columns:1fr;gap:28px}
  .smfh-section-head{align-items:flex-start;flex-direction:column}.smfh-section-head h2{font-size:22px}
}
