/*
Theme Name: Hovida Commerce
Author: Hovida UI
Description: Premium RTL WooCommerce storefront inspired by the supplied Hovida visual direction.
Version: 2.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: hovida
*/
:root{--cream:#f5f0e7;--paper:#fbf7ef;--green:#1f332b;--green2:#2a4037;--gold:#c49b58;--gold2:#e7c982;--ink:#20241f;--muted:#766f62;--line:#e1d7c8;--shadow:0 10px 30px rgba(28,25,18,.08);--radius:12px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:Vazirmatn,Vazir,Tahoma,Arial,sans-serif;line-height:1.8}body,button,input{font-family:inherit}a{color:inherit;text-decoration:none}img{display:block;max-width:100%;height:auto}.hv-site{overflow:hidden}.hv-wrap{width:min(1380px,calc(100% - 48px));margin:auto}
.hv-topbar{background:var(--green);color:#f7e7c0;font-size:11px}.hv-topbar__inner{height:34px;display:flex;align-items:center;justify-content:space-between;gap:20px}.hv-topbar b{color:var(--gold);margin:0 8px}
.hv-header{background:rgba(251,248,241,.98);border-bottom:1px solid rgba(196,155,88,.2);position:relative;z-index:50}.hv-header__inner{min-height:78px;display:grid;grid-template-columns:180px 1fr minmax(430px,520px);align-items:center;gap:25px}.hv-brand-wrap{display:flex;align-items:center;gap:8px}.hv-brand img{width:145px;height:58px;object-fit:contain}.hv-brand__fa{font-size:28px;font-weight:900}.hv-nav ul{display:flex;justify-content:center;align-items:center;gap:30px;list-style:none;margin:0;padding:0}.hv-nav li{margin:0}.hv-nav a{display:block;padding:25px 2px 21px;font-size:13px;position:relative}.hv-nav .current-menu-item>a:after{content:"";position:absolute;right:0;left:0;bottom:12px;height:2px;background:var(--gold)}
.hv-tools{display:flex;align-items:center;justify-content:flex-end;gap:10px}.hv-search{height:42px;display:flex;flex:1;max-width:330px;border:1px solid #d7cbb9;border-radius:11px;overflow:hidden;background:#fff}.hv-search input{border:0;outline:0;min-width:0;flex:1;padding:0 14px;font-size:11px;background:transparent}.hv-search button{width:48px;border:0;background:var(--green);color:#fff;display:grid;place-items:center;cursor:pointer}.hv-search svg,.hv-icon-btn svg,.hv-product__cart svg,.hv-floating-cart svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.hv-icon-btn{width:36px;height:36px;border:0;background:transparent;display:grid;place-items:center;cursor:pointer;position:relative;color:#252a25}.hv-cart-count{position:absolute;top:-2px;left:-1px;min-width:17px;height:17px;padding:0 4px;border-radius:20px;background:#e89a2f;color:#fff;font-size:9px;line-height:17px;text-align:center}.hv-menu-toggle{display:none}
.hv-mobile-panel{display:none}
.hv-hero{height:min(520px,40vw);min-height:430px;position:relative;background:var(--green);overflow:hidden}.hv-hero__media{width:100%;height:100%;object-fit:cover;object-position:center}.hv-hero__shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,18,12,.02) 0%,rgba(4,18,12,.12) 48%,rgba(4,18,12,.91) 80%,rgba(4,18,12,.98) 100%)}.hv-hero__content{position:absolute;inset:0;display:flex;align-items:center}.hv-hero__box{width:min(520px,44%);margin-right:3%;margin-left:auto;color:#fff;text-align:right}.hv-hero__eyebrow{font-size:15px;color:var(--gold2);font-weight:700;margin-bottom:3px}.hv-hero h1{font-size:54px;line-height:1.2;margin:0 0 10px;color:#f2db9f;font-weight:900;letter-spacing:-1px}.hv-hero p{font-size:14px;line-height:2;color:#eee7dc;margin:0 0 21px;max-width:470px}.hv-btn{display:inline-flex;align-items:center;gap:18px;padding:12px 24px;background:#e6c77e;color:#162b20;border-radius:28px;font-size:13px;font-weight:800;box-shadow:0 7px 20px rgba(0,0,0,.15);transition:.2s}.hv-btn:hover{transform:translateY(-2px);background:#f1d895}.hv-slider-arrow{position:absolute;z-index:2;top:50%;transform:translateY(-50%);width:42px;height:42px;border-radius:50%;border:1px solid rgba(255,255,255,.45);background:rgba(0,0,0,.16);color:#fff;font-size:28px;cursor:pointer}.hv-slider-arrow--prev{left:18px}.hv-slider-arrow--next{right:18px}.hv-dots{position:absolute;bottom:18px;right:calc(50% - 12px);display:flex;gap:7px;direction:ltr}.hv-dots i,.hv-dots b{width:7px;height:7px;border-radius:50%;border:1px solid #e8c77c;display:block}.hv-dots b{background:#e8c77c}
.hv-category-section{padding:14px 0 25px;background:var(--paper)}.hv-section-minihead,.hv-section__head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 13px}.hv-section-minihead h2,.hv-section__head h2{margin:0;font-size:21px;font-weight:900}.hv-section-minihead h2:before{content:"✦";color:var(--gold);font-size:15px;margin-left:8px}.hv-section-minihead a,.hv-section__head>a{font-size:12px;color:#48483f}.hv-cat-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.hv-cat{min-height:137px;background:#fffdf8;border:1px solid var(--line);border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;transition:.2s;box-shadow:0 3px 10px rgba(35,29,18,.03)}.hv-cat:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:#cbb078}.hv-cat__icon{width:78px;height:78px;border-radius:50%;display:grid;place-items:center;background:#f5efe4;border:1px solid #eadbc2;overflow:hidden;margin-bottom:5px}.hv-cat__icon img{width:76px;height:76px;object-fit:cover}.hv-cat__arrow{position:absolute;left:13px;top:50%;transform:translateY(-50%);width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#f4eee4;color:#8b6835;font-size:20px}.hv-cat strong{font-size:13px}.hv-cat small{font-size:8px;color:#8a7d6b;letter-spacing:1.5px;direction:ltr}.hv-empty{padding:35px;text-align:center;border:1px dashed #d3c5b0;background:#fffdf8}
.hv-section{padding:28px 0}.hv-section__head{margin-bottom:15px}.hv-title-mark{color:var(--gold);font-size:17px;margin-right:5px}.hv-products{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}.hv-product{background:#fffdf8;border:1px solid var(--line);border-radius:9px;overflow:hidden;box-shadow:0 3px 10px rgba(35,29,18,.03);transition:.22s;min-width:0}.hv-product:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.hv-product__media{aspect-ratio:1.28;position:relative;background:#eee5d7;overflow:hidden}.hv-product__media>a{width:100%;height:100%;display:block}.hv-product__media img{width:100%;height:100%;object-fit:cover;transition:.35s}.hv-product:hover .hv-product__media img{transform:scale(1.035)}.hv-badge{position:absolute;right:9px;top:9px;background:#0b5a3b;color:#fff;border-radius:8px;padding:2px 7px;font-size:9px;font-weight:800}.hv-heart{position:absolute;left:8px;top:8px;width:29px;height:29px;border:0;border-radius:50%;background:rgba(255,253,248,.88);font-size:18px;line-height:1;color:#fff;text-shadow:0 1px 2px #222;cursor:pointer}.hv-heart.is-active{color:#b64b38;text-shadow:none}.hv-product__body{padding:10px 11px 13px;position:relative;min-height:76px}.hv-product__body h3{margin:0 0 3px;font-size:13px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-left:32px}.hv-product__price{font-size:12px;font-weight:800}.hv-product__price del{font-size:10px;color:#9a9387;margin-left:4px}.hv-product__price ins{text-decoration:none;color:#2d4c3c}.hv-product__cart{position:absolute;left:10px;bottom:11px;width:31px;height:31px;border-radius:50%;background:#f1eadf;display:grid;place-items:center;color:#183125}.hv-product__cart:hover{background:#e6d4ae}
.hv-promos{padding:0 0 28px}.hv-promo-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:10px}.hv-promo{height:230px;border-radius:9px;overflow:hidden;position:relative;background:var(--green);display:flex;align-items:stretch}.hv-promo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hv-promo:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,21,14,.9) 0%,rgba(4,21,14,.72) 52%,rgba(4,21,14,.1) 100%)}.hv-promo--gift:after{background:linear-gradient(90deg,rgba(250,246,237,.96) 0%,rgba(250,246,237,.82) 50%,rgba(250,246,237,.05) 100%)}.hv-promo>div{position:relative;z-index:2;width:58%;padding:32px 35px}.hv-promo h2{font-size:24px;line-height:1.35;color:#e4c886;margin:0 0 8px}.hv-promo--gift h2{color:#25251f}.hv-promo p{font-size:12px;margin:0 0 10px;color:#eee6d9}.hv-promo--gift p{color:#4c4a43}.hv-promo span{font-size:12px;color:#fff}.hv-promo--gift span{color:#222}.hv-promo--gift>div{margin-right:auto}
.hv-benefits{padding:0 0 30px}.hv-benefits__box{background:var(--green);border-radius:10px;padding:22px 30px;color:#fff;position:relative;overflow:hidden}.hv-benefits__box:before,.hv-benefits__box:after{content:"✦";position:absolute;color:#b88c4a;font-size:55px;opacity:.3}.hv-benefits__box:before{right:15px;top:5px}.hv-benefits__box:after{left:15px;bottom:5px}.hv-benefits__box h2{text-align:center;color:#f0d69b;font-size:22px;margin:0 0 17px}.hv-benefits__grid{display:grid;grid-template-columns:repeat(4,1fr)}.hv-benefits__grid>div{text-align:center;padding:7px 15px;border-left:1px solid rgba(222,190,123,.25)}.hv-benefits__grid>div:last-child{border-left:0}.hv-benefits__grid span{display:block;color:#e1bd73;font-size:26px;line-height:1.1}.hv-benefits__grid strong{display:block;font-size:13px;margin-top:5px}.hv-benefits__grid small{display:block;color:#cfc8b9;font-size:10px}
.hv-footer{background:var(--green);color:#eee7d9}.hv-footer__main{min-height:150px;padding:28px 0;display:grid;grid-template-columns:1fr 1.5fr 1fr;align-items:center;gap:25px}.hv-footer__brand img{width:135px;filter:brightness(0) invert(1);opacity:.92}.hv-footer__brand p{font-size:10px;color:#cfc4b0;margin:3px 0 0}.hv-footer__links{display:flex;justify-content:center;flex-wrap:wrap;gap:22px;font-size:11px}.hv-footer__links a:hover{color:#e3c27c}.hv-footer__social{display:flex;justify-content:flex-end;gap:10px}.hv-footer__social a{width:31px;height:31px;border:1px solid rgba(221,190,124,.5);border-radius:50%;display:grid;place-items:center;color:#e0bd76}.hv-footer__ornament{height:9px;background:repeating-linear-gradient(90deg,transparent 0 12px,rgba(202,161,88,.65) 12px 15px,transparent 15px 28px);border-top:1px solid rgba(203,166,96,.35);opacity:.6}.hv-copy{text-align:center;padding:8px;font-size:9px;color:#aaa18f;border-top:1px solid rgba(255,255,255,.06)}.hv-floating-cart{position:fixed;z-index:60;bottom:18px;left:18px;width:54px;height:54px;border-radius:50%;background:#e58d28;color:#fff;display:grid;place-items:center;box-shadow:0 8px 25px rgba(0,0,0,.22)}.hv-floating-cart span{position:absolute;top:-4px;right:-3px;background:var(--green);width:18px;height:18px;border-radius:50%;font-size:9px;text-align:center;line-height:18px}
.woocommerce .site-main{width:min(1380px,calc(100% - 48px));margin:auto;padding:30px 0}.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,1fr);gap:18px}.woocommerce ul.products li.product{width:auto!important;margin:0!important;background:#fffdf8;border:1px solid var(--line);border-radius:10px;overflow:hidden;padding:0!important}.woocommerce ul.products li.product img{width:100%;margin:0}.woocommerce ul.products li.product .woocommerce-loop-product__title{padding:0 13px;font-size:14px}.woocommerce ul.products li.product .price{padding:0 13px 13px}.woocommerce div.product{background:#fffdf8;padding:20px;border-radius:12px}
@media(max-width:1120px){.hv-header__inner{grid-template-columns:145px 1fr 360px}.hv-nav ul{gap:17px}.hv-products{grid-template-columns:repeat(3,1fr)}.hv-cat-grid{grid-template-columns:repeat(3,1fr)}.hv-cat:nth-child(3n+1),.hv-cat:nth-child(3n+2){border-right:0}.hv-benefits__grid{grid-template-columns:repeat(2,1fr)}.hv-benefits__grid>div:nth-child(2){border-left:0}.woocommerce ul.products{grid-template-columns:repeat(3,1fr)}}
@media(max-width:820px){.hv-wrap{width:min(100% - 28px,650px)}.hv-topbar__inner span:nth-child(2),.hv-topbar__inner span:nth-child(3){display:none}.hv-header__inner{grid-template-columns:auto 1fr auto;min-height:70px}.hv-menu-toggle{display:grid}.hv-brand img{width:120px}.hv-nav{display:none}.hv-tools{gap:4px}.hv-search{max-width:230px}.hv-account,.hv-wish{display:none}.hv-mobile-panel{padding:12px 14px;border-top:1px solid var(--line);background:#fbf8f1}.hv-mobile-panel.is-open{display:block}.hv-mobile-panel ul{list-style:none;margin:8px 0 0;padding:0}.hv-mobile-panel li{border-bottom:1px solid #e7ddce}.hv-mobile-panel a{display:block;padding:10px;font-size:13px}.hv-mobile-search{display:flex;height:40px}.hv-mobile-search input{flex:1;border:1px solid var(--line);border-radius:8px 0 0 8px;padding:0 10px}.hv-mobile-search button{border:0;background:var(--green);color:#fff;padding:0 15px;border-radius:0 8px 8px 0}.hv-hero{height:520px;min-height:0}.hv-hero__shade{background:linear-gradient(180deg,rgba(3,18,12,.05),rgba(3,18,12,.12) 35%,rgba(3,18,12,.95) 100%)}.hv-hero__content{align-items:flex-end;padding-bottom:45px}.hv-hero__box{width:90%;margin:0 auto;text-align:center}.hv-hero h1{font-size:42px}.hv-hero p{margin-inline:auto}.hv-slider-arrow{width:36px;height:36px}.hv-promo-grid{grid-template-columns:1fr}.hv-promo{height:240px}.hv-footer__main{grid-template-columns:1fr;text-align:center}.hv-footer__brand img{margin:auto}.hv-footer__social{justify-content:center}.woocommerce ul.products{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.hv-wrap{width:calc(100% - 20px)}.hv-topbar{display:none}.hv-header__inner{grid-template-columns:auto 1fr auto}.hv-brand{justify-content:center}.hv-brand img{width:108px}.hv-search{width:40px;max-width:40px;border:0;background:transparent}.hv-search input{display:none}.hv-search button{width:40px;height:40px;background:transparent;color:var(--green)}.hv-tools{justify-content:flex-end}.hv-hero{height:470px}.hv-hero h1{font-size:35px}.hv-hero__eyebrow{font-size:13px}.hv-hero p{font-size:12px}.hv-btn{padding:10px 19px}.hv-cat-grid{grid-template-columns:repeat(2,1fr);gap:8px}.hv-cat{min-height:130px}.hv-cat__icon{width:70px;height:70px}.hv-cat__icon img{width:68px;height:68px}.hv-cat strong{font-size:12px}.hv-products{grid-template-columns:repeat(2,1fr);gap:8px}.hv-product__body{padding:9px 8px 12px}.hv-product__body h3{font-size:11px}.hv-product__price{font-size:10px}.hv-badge{font-size:8px}.hv-section{padding:22px 0}.hv-section__head h2,.hv-section-minihead h2{font-size:18px}.hv-promo>div{width:76%;padding:27px 22px}.hv-promo h2{font-size:21px}.hv-benefits__grid{grid-template-columns:repeat(2,1fr)}.hv-benefits__grid>div{border-left:0;border-bottom:1px solid rgba(222,190,123,.2)}.hv-benefits__grid>div:nth-child(odd){border-left:1px solid rgba(222,190,123,.2)}.hv-floating-cart{bottom:13px;left:13px}.woocommerce ul.products{grid-template-columns:repeat(2,1fr)}}


/* Hovida UI refinement 2.1 — muted forest palette + clean mobile hero */
:root{--green:#24352e;--green2:#30443b;--green-soft:#3a4b43;--gold:#b99355;--gold2:#dec58e}
.hv-topbar,.hv-footer,.hv-benefits__box{background:var(--green)}
.hv-search button,.hv-mobile-search button{background:var(--green2)}
.hv-badge{background:#315347}
.hv-cat__arrow{color:#866638}
.hv-product__price ins{color:#315346}
.hv-floating-cart{background:#d99032}
.hv-floating-cart span{background:var(--green)}

/* Keep the hero artwork sharp: the artwork already contains its dark right-side composition. */
.hv-hero__shade{background:linear-gradient(90deg,rgba(6,20,14,0) 0%,rgba(6,20,14,.04) 50%,rgba(6,20,14,.34) 78%,rgba(6,20,14,.48) 100%)}

@media(max-width:820px){
  .hv-wrap{width:min(100% - 24px,720px)}
  .hv-hero{height:420px;min-height:420px;background:#1f332b}
  .hv-hero__media{object-fit:cover;object-position:45% center}
  .hv-hero__shade{background:transparent!important}
  .hv-hero__content{align-items:flex-end;padding:0 0 24px;pointer-events:none}
  .hv-hero__box{width:min(88%,520px);margin:0 auto;text-align:center;pointer-events:auto;text-shadow:0 2px 16px rgba(0,0,0,.72)}
  .hv-hero__eyebrow{font-size:12px;margin-bottom:0}
  .hv-hero h1{font-size:31px;line-height:1.25;margin-bottom:7px;color:#f5dfa8}
  .hv-hero p{font-size:11px;line-height:1.8;margin-bottom:12px;color:#fff}
  .hv-btn{padding:9px 19px;font-size:11px;box-shadow:0 5px 18px rgba(0,0,0,.22)}
  .hv-slider-arrow{width:32px;height:32px;font-size:21px;background:rgba(31,51,43,.42);border-color:rgba(255,255,255,.55)}
  .hv-dots{bottom:10px}
  .hv-cat-grid{grid-template-columns:repeat(3,1fr);gap:8px}
  .hv-cat{min-height:112px;border-radius:10px}
  .hv-cat__icon{width:58px;height:58px}
  .hv-cat__icon img{width:56px;height:56px}
  .hv-cat strong{font-size:11px}
  .hv-cat small{font-size:7px;letter-spacing:1px}
  .hv-products{grid-template-columns:repeat(2,1fr);gap:9px}
  .hv-promo{height:220px}
  .hv-promo:after{background:linear-gradient(90deg,rgba(31,51,43,.78),rgba(31,51,43,.24))}
  .hv-promo--gift:after{background:linear-gradient(90deg,rgba(250,246,237,.82),rgba(250,246,237,.10))}
}
@media(max-width:520px){
  .hv-wrap{width:calc(100% - 16px)}
  .hv-header__inner{min-height:64px}
  .hv-brand img{width:102px}
  .hv-hero{height:405px;min-height:405px}
  .hv-hero__media{object-position:43% center}
  .hv-hero__content{padding-bottom:22px}
  .hv-hero__box{width:92%}
  .hv-hero h1{font-size:28px}
  .hv-hero p{font-size:10.5px;max-width:330px}
  .hv-slider-arrow{top:46%;width:30px;height:30px}
  .hv-slider-arrow--prev{left:8px}.hv-slider-arrow--next{right:8px}
  .hv-category-section{padding-top:10px}
  .hv-cat-grid{gap:6px}
  .hv-cat{min-height:108px;padding:6px 3px}
  .hv-cat__icon{width:55px;height:55px;margin-bottom:3px}
  .hv-cat__icon img{width:53px;height:53px}
  .hv-section{padding:19px 0}
  .hv-section__head h2,.hv-section-minihead h2{font-size:17px}
  .hv-product__media{aspect-ratio:1.18}
  .hv-product__body h3{font-size:10.5px}
  .hv-product__price{font-size:10px}
  .hv-product__cart{width:29px;height:29px}
  .hv-promo-grid{gap:8px}
  .hv-promo{height:205px}
  .hv-promo>div{width:72%;padding:22px 17px}
  .hv-promo h2{font-size:18px}
  .hv-promo p,.hv-promo span{font-size:10px}
  .hv-benefits__box{padding:18px 12px}
  .hv-footer__main{padding:22px 0}
}


/* Hovida 2.2 final UI layer: muted luxury palette + image-first mobile hero + fully editable content */
.hv-topbar,.hv-footer,.hv-benefits__box{background:#24352e!important}
.hv-search button,.hv-mobile-search button{background:#30443b!important}
.hv-badge{background:#3a5147!important}
.hv-floating-cart{background:#d79538!important}
.hv-floating-cart span{background:#24352e!important}
.hv-hero__shade{background:linear-gradient(90deg,rgba(8,18,13,0) 0%,rgba(8,18,13,.02) 54%,rgba(8,18,13,.28) 78%,rgba(8,18,13,.48) 100%)!important}
@media(max-width:820px){
 .hv-hero{height:430px!important;min-height:430px!important;background:#d9c8aa!important}
 .hv-hero__media{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:48% center!important;filter:none!important;opacity:1!important}
 .hv-hero__shade{display:none!important;background:none!important;opacity:0!important}
 .hv-hero__content{background:none!important;align-items:flex-end!important;padding:0 0 22px!important}
 .hv-hero__box{background:none!important;text-shadow:0 2px 12px rgba(0,0,0,.72)!important}
 .hv-hero h1,.hv-hero p,.hv-hero__eyebrow{filter:none!important}
 .hv-slider-arrow{background:rgba(36,53,46,.34)!important}
}
@media(max-width:520px){
 .hv-hero{height:405px!important;min-height:405px!important}
 .hv-hero__media{object-position:46% center!important}
 .hv-hero__content{padding-bottom:20px!important}
 .hv-hero__box{width:91%!important}
 .hv-hero h1{font-size:27px!important}
 .hv-hero p{font-size:10.5px!important;line-height:1.8!important}
}
