/* فایل CSS سفارشی قالب Herfehgostar: کدهای توسعه‌ای خود را اینجا قرار دهید. */

/* v1.0.3 - Yekan Bakh FaNum force for header/account/cart/floating buttons + circular floating icons */
body.hrg-theme .hrg-header-actions,
body.hrg-theme .hrg-header-actions a,
body.hrg-theme .hrg-header-actions button,
body.hrg-theme .hrg-header-actions .mm-nikano-btn,
body.hrg-theme .hrg-header-actions .hrg-cart-link,
body.hrg-theme .hrg-header-actions .hrg-cart-count,
body.hrg-theme .hrg-header-actions .hrg-phone,
body.hrg-theme .woocommerce-MyAccount-navigation,
body.hrg-theme .woocommerce-MyAccount-navigation a,
body.hrg-theme .hrg-account-dashboard,
body.hrg-theme .hrg-account-dashboard a,
body.hrg-theme .hrg-account-cards a,
body.hrg-theme .hrg-floating,
body.hrg-theme .hrg-floating a,
body.hrg-theme .hrg-floating b,
body.hrg-theme .hrg-floating span,
body.hrg-theme .mm-nikano-btn {
    font-family: var(--hrg-font-family) !important;
}

body.hrg-theme .hrg-header-actions .mm-nikano-btn,
body.hrg-theme .hrg-header-actions .hrg-cart-link,
body.hrg-theme .hrg-header-actions .hrg-phone {
    font-weight:500 !important;
    line-height: 1.4 !important;
}

.hrg-floating {
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 14px;
    direction: rtl;
}

.hrg-floating-left { left: 22px; }
.hrg-floating-right { right: 22px; }

.hrg-floating-btn {
    position: relative;
    width: 62px;
    height: 62px;
    min-width: 62px;
    min-height: 62px;
    padding: 0 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    background: var(--float-color, var(--hrg-primary)) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 25px rgba(78, 86, 192, 0.35) !important;
    text-decoration: none !important;
    overflow: visible;
    transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease;
    animation: hrgFloatAttention 2.6s ease-in-out infinite;
}

.hrg-floating-btn::before {
    content: "";
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    border: 2px solid currentColor;
    opacity: .36;
    animation: hrgFloatPulse 2.2s ease-out infinite;
    pointer-events: none;
}

.hrg-floating-btn:hover {
    background: var(--float-hover, var(--hrg-secondary)) !important;
    color: #ffffff !important;
    transform: scale(1.08);
    box-shadow: 0 14px 34px rgba(78, 86, 192, 0.42) !important;
}

.hrg-floating-icon {
    width: 100%;
    height: 100%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    font-size: 27px;
    position: relative;
    z-index: 2;
}

.hrg-floating-icon svg {
    width: 30px;
    height: 30px;
    display: block;
    fill: currentColor;
}

.hrg-floating-btn b {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    background: #111827;
    color: #ffffff;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
    line-height: 1.4;
    font-weight:500;
    box-shadow: 0 10px 24px rgba(17, 24, 39, .22);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.hrg-floating-right .hrg-floating-btn b {
    right: 74px;
    transform: translate(8px, -50%);
}

.hrg-floating-left .hrg-floating-btn b {
    left: 74px;
    transform: translate(-8px, -50%);
}

.hrg-floating-btn:hover b {
    opacity: 1;
    visibility: visible;
}

.hrg-floating-right .hrg-floating-btn:hover b,
.hrg-floating-left .hrg-floating-btn:hover b {
    transform: translate(0, -50%);
}

@keyframes hrgFloatAttention {
    0%, 100% { transform: rotate(0deg) scale(1); }
    8% { transform: rotate(-7deg) scale(1.04); }
    16% { transform: rotate(7deg) scale(1.04); }
    24% { transform: rotate(-4deg) scale(1.03); }
    32% { transform: rotate(4deg) scale(1.03); }
    40% { transform: rotate(0deg) scale(1); }
}

@keyframes hrgFloatPulse {
    0% { opacity: .62; transform: scale(.9); }
    70% { opacity: 0; transform: scale(1.35); }
    100% { opacity: 0; transform: scale(1.35); }
}

@media (max-width: 1024px) {
    .hrg-floating-left { left: 18px; }
    .hrg-floating-right { right: 18px; }
    .hrg-floating-btn {
        width: 58px;
        height: 58px;
        min-width: 58px;
        min-height: 58px;
    }
    .hrg-floating-icon svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 767px) {
    .hrg-floating-left { left: 14px; }
    .hrg-floating-right { right: 14px; }
    .hrg-floating {
        gap: 11px;
    }
    .hrg-floating-btn {
        width: 54px;
        height: 54px;
        min-width: 54px;
        min-height: 54px;
    }
    .hrg-floating-icon svg {
        width: 26px;
        height: 26px;
    }
    .hrg-floating-btn b {
        display: none;
    }
}

/* Herfehgostar product page similar to the provided TosanTechno product layout */
.single-product .hrg-single-product{padding-top:18px}
.hrg-product-page{font-family:var(--hrg-font-family)!important}
.hrg-product-top-notice{margin:-18px calc(50% - 50vw) 22px;padding:10px 24px;background:var(--hrg-product-notice-bg,#f7a600);color:var(--hrg-product-notice-color,#fff);font-weight:500;font-size:20px;line-height:1.5;text-align:right}
.hrg-product-titlebar{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px;padding:4px 0 12px;border-bottom:1px solid var(--hrg-border)}
.hrg-product-titlebar h1{font-size:clamp(22px,2.1vw,32px);line-height:1.65;margin:0;color:var(--hrg-heading);font-weight:500}
.hrg-product-meta-line{display:flex;align-items:center;gap:10px 16px;flex-wrap:wrap;margin-top:8px;color:#64748b;font-size:13px;font-weight:500}
.hrg-product-stock{display:inline-flex;align-items:center;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:500}
.hrg-product-stock.is-instock{background:#e7f8ef;color:#078348}
.hrg-product-stock.is-outstock{background:#fee2e2;color:#b91c1c}
.hrg-product-actions-mini{display:flex;gap:8px;align-items:center;flex-shrink:0}
.hrg-product-mini-btn{width:38px;height:38px;border:1px solid var(--hrg-border);border-radius:50%;background:#fff;color:#475569!important;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;box-shadow:0 8px 18px rgba(15,23,42,.06);cursor:pointer;font-family:var(--hrg-font-family)!important;font-weight:500}
.hrg-product-mini-btn:hover{color:#fff!important;background:var(--hrg-primary);border-color:var(--hrg-primary)}
.hrg-product-main-grid{display:grid;grid-template-columns:minmax(240px,300px) minmax(300px,1fr) minmax(280px,340px);grid-template-areas:"summary gallery buy";gap:22px;align-items:start;margin-bottom:24px}
.hrg-product-summary-panel{grid-area:summary;background:#fff;border:1px solid var(--hrg-border);border-radius:22px;padding:20px;box-shadow:0 14px 34px rgba(15,23,42,.06)}
.hrg-product-gallery-panel{grid-area:gallery;position:relative;background:#fff;border:1px solid var(--hrg-border);border-radius:22px;padding:20px;box-shadow:0 14px 34px rgba(15,23,42,.06);min-width:0}
.hrg-product-buybox{grid-area:buy;background:#fff;border:1px solid var(--hrg-border);border-radius:22px;padding:16px;box-shadow:0 16px 42px rgba(15,23,42,.08);position:sticky;top:96px;z-index:5}
.hrg-product-summary-panel h2,.hrg-product-buybox h2{font-size:18px;margin:0 0 16px;font-weight:500;color:var(--hrg-heading)}
.hrg-product-summary-panel .woocommerce-product-rating{margin:0 0 12px;font-size:13px}
.hrg-product-spec-list{display:flex;flex-direction:column;gap:8px;list-style:none;padding:0;margin:0}
.hrg-product-spec-list li{display:grid;grid-template-columns:22px minmax(80px,.8fr) minmax(90px,1fr);gap:8px;align-items:start;background:#f8fafc;border:1px solid #eef2f7;border-radius:13px;padding:10px 12px;color:#334155;font-size:13px}
.hrg-product-spec-list li span{color:#64748b;font-weight:500}
.hrg-product-spec-list li strong{color:#0f172a;font-weight:500;text-align:left;line-height:1.8}
.hrg-product-icon{width:22px;height:22px;fill:currentColor;flex:0 0 auto}
.hrg-product-spec-list .hrg-product-icon{color:var(--hrg-primary);margin-top:2px}
.hrg-more-specs{display:inline-flex;align-items:center;justify-content:center;margin-top:14px;color:var(--hrg-primary)!important;font-weight:500;text-decoration:none}
.hrg-more-specs:after{content:"↓";margin-right:7px}
.hrg-product-gallery-panel .onsale{position:absolute;top:18px;right:18px;z-index:6;background:#ef4444;color:#fff;border-radius:999px;padding:6px 12px;font-weight:500;font-size:12px;min-height:0;line-height:1.4}
.hrg-product-gallery-panel div.product div.images,.hrg-product-gallery-panel .woocommerce-product-gallery,.hrg-product-gallery-panel .images{float:none!important;width:100%!important;margin:0!important;opacity:1!important}
.hrg-product-gallery-panel .woocommerce-product-gallery__wrapper{margin:0!important}
.hrg-product-gallery-panel .woocommerce-product-gallery__image{display:flex!important;align-items:center;justify-content:center;background:linear-gradient(180deg,#fff,#f8fafc);border-radius:20px;min-height:360px;overflow:hidden}
.hrg-product-gallery-panel .woocommerce-product-gallery__image img{max-height:380px;width:auto!important;max-width:100%;object-fit:contain;margin:auto;display:block}
.hrg-product-gallery-panel .flex-control-thumbs{display:flex;align-items:center;justify-content:center;gap:10px;margin:14px 0 0!important;padding:0!important;list-style:none!important;overflow:auto}
.hrg-product-gallery-panel .flex-control-thumbs li{width:62px!important;float:none!important;border:1px solid var(--hrg-border);border-radius:14px;overflow:hidden;background:#fff;padding:4px;flex:0 0 62px}
.hrg-product-gallery-panel .flex-control-thumbs img{width:100%!important;height:52px!important;object-fit:contain;opacity:.65;border-radius:10px}
.hrg-product-gallery-panel .flex-control-thumbs img.flex-active{opacity:1}
.hrg-installment-box{display:flex;align-items:center;gap:10px;background:#e8fff4;border:1px solid #b7f2d2;color:#067647;border-radius:16px;padding:12px;margin-bottom:14px;font-size:13px}
.hrg-installment-dot{width:10px;height:10px;background:#12b76a;border-radius:50%;box-shadow:0 0 0 5px rgba(18,183,106,.14)}
.hrg-buybox-services{display:grid;grid-template-columns:1fr;gap:8px;margin-bottom:14px}
.hrg-buybox-services div{display:flex;align-items:center;gap:8px;background:#f8fafc;border:1px solid #eef2f7;border-radius:13px;padding:10px;color:#334155;font-size:13px;font-weight:500}
.hrg-buybox-services .hrg-product-icon{color:var(--hrg-primary);width:20px;height:20px}
.hrg-buybox-price{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px dashed #e5e7eb;border-bottom:1px dashed #e5e7eb;padding:15px 0;margin:12px 0;color:#64748b;font-weight:500}
.hrg-buybox-price .price{font-size:20px;font-weight:500;color:#0f172a;text-align:left}
.hrg-buybox-price del{color:#94a3b8;font-size:13px;margin-left:7px}
.hrg-buybox-price ins{text-decoration:none;color:var(--hrg-primary)}
.hrg-buybox-cart form.cart{display:flex;gap:10px;flex-wrap:wrap;margin:0!important}
.hrg-buybox-cart .quantity{display:inline-flex;align-items:center;justify-content:center;gap:0;max-width:none;height:48px;border:1px solid var(--hrg-border);border-radius:14px;background:#fff;overflow:hidden}
.hrg-buybox-cart .qty{width:58px!important;height:46px!important;border:0!important;border-radius:0!important;padding:0!important;text-align:center;font-weight:500;background:#fff!important;box-shadow:none!important}
.hrg-buybox-cart .hrg-product-qty-btn{width:42px;height:48px;border:0;background:#f8fafc;color:#111827;font-family:var(--hrg-font-family)!important;font-size:20px;font-weight:500;line-height:1;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:.2s}
.hrg-buybox-cart .hrg-product-qty-btn:hover{background:var(--hrg-soft);color:var(--hrg-primary)}
.hrg-buybox-cart .single_add_to_cart_button,.hrg-buybox-cart button.button{flex:1 1 170px;min-height:48px;border-radius:14px!important;background:var(--hrg-primary)!important;color:#fff!important;font-family:var(--hrg-font-family)!important;font-weight:500!important;box-shadow:0 12px 24px rgba(78,86,192,.24)!important}
.hrg-buybox-cart .single_add_to_cart_button:hover,.hrg-buybox-cart button.button:hover{background:var(--hrg-secondary)!important}
.hrg-buybox-cart .variations{width:100%;margin-bottom:10px;border:0!important}
.hrg-buybox-cart .variations tr{display:flex;flex-direction:column;gap:7px;margin-bottom:10px}
.hrg-buybox-cart .variations td,.hrg-buybox-cart .variations th{display:block;border:0!important;padding:0!important;background:transparent!important}
.hrg-buybox-cart select{width:100%;border:1px solid var(--hrg-border);border-radius:13px;padding:11px;background:#fff}
.hrg-product-contact-btn{margin-top:10px;display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--hrg-primary);border-radius:14px;color:var(--hrg-primary)!important;background:#fff;text-decoration:none;padding:12px;font-weight:500}
.hrg-product-contact-btn:hover{background:var(--hrg-soft);color:var(--hrg-primary)!important}
.hrg-product-contact-btn .hrg-product-icon{width:20px;height:20px}
.hrg-buybox-note{margin:12px 0 0;color:#64748b;font-size:12px;line-height:1.9;text-align:center}
.hrg-product-service-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0 22px}
.hrg-product-service-card{display:flex;align-items:center;justify-content:center;gap:10px;background:#fff;border:1px solid var(--hrg-border);border-radius:18px;padding:15px;box-shadow:0 10px 28px rgba(15,23,42,.04);color:#334155;font-weight:500;text-align:center}
.hrg-product-service-card .hrg-product-icon{color:var(--hrg-primary)}
.hrg-product-sticky-tabs{position:sticky;top:74px;z-index:10;display:flex;align-items:center;gap:8px;background:rgba(255,255,255,.92);backdrop-filter:blur(12px);border:1px solid var(--hrg-border);border-radius:18px;padding:8px;margin:14px 0 18px;box-shadow:0 12px 32px rgba(15,23,42,.05);overflow:auto}
.hrg-product-sticky-tabs a{display:inline-flex;white-space:nowrap;border-radius:12px;padding:10px 14px;color:#334155!important;text-decoration:none;font-weight:500}
.hrg-product-sticky-tabs a:hover{background:var(--hrg-soft);color:var(--hrg-primary)!important}
.hrg-product-content-sections{display:flex;flex-direction:column;gap:22px}
.hrg-product-content-box{background:#fff;border:1px solid var(--hrg-border);border-radius:22px;padding:24px;box-shadow:0 12px 34px rgba(15,23,42,.05);scroll-margin-top:120px}
.hrg-product-content-box h2{font-size:22px;margin:0 0 18px;font-weight:500;color:var(--hrg-heading)}
.hrg-product-spec-table{display:flex;flex-direction:column;gap:8px}
.hrg-spec-row{display:grid;grid-template-columns:260px minmax(0,1fr);gap:10px;align-items:stretch}
.hrg-spec-name,.hrg-spec-value{border-radius:12px;padding:13px 15px;line-height:1.9}
.hrg-spec-name{background:#f1f5f9;color:#475569;font-weight:500}
.hrg-spec-value{background:#f8fafc;color:#0f172a;font-weight:500}
.hrg-product-description{color:#334155;line-height:2.25;font-size:15px}
.hrg-product-description p{margin:0 0 14px}
.hrg-product-reviews-box .hrg-comments{padding:0;background:transparent;border:0;box-shadow:none}
.hrg-product-reviews-box #comments h2:first-child{display:none}
.hrg-comments ol{list-style:none;margin:0;padding:0}
.hrg-comments li.comment{background:#f8fafc;border:1px solid #eef2f7;border-radius:18px;padding:16px;margin-bottom:12px}
.hrg-comments .comment-author{font-weight:500;color:#0f172a}
.hrg-comments .comment-metadata{font-size:12px;color:#64748b;margin:4px 0 10px}
.hrg-comments .comment-form{display:grid;gap:12px;background:#f8fafc;border:1px solid #eef2f7;border-radius:18px;padding:18px;margin-top:18px}
.hrg-comments input,.hrg-comments textarea{border:1px solid var(--hrg-border);border-radius:12px;padding:12px;background:#fff}
.hrg-comments .submit{background:var(--hrg-primary);color:#fff;border:0;border-radius:12px;padding:12px 18px;font-weight:500;cursor:pointer}
.hrg-related-products{margin-top:28px;scroll-margin-top:120px}
.hrg-related-products>h2{font-size:24px;margin:0 0 20px;color:var(--hrg-heading);font-weight:500}
@media (max-width:1180px){.hrg-product-main-grid{grid-template-columns:1fr 1fr;grid-template-areas:"gallery buy" "summary summary"}.hrg-product-buybox{top:88px}.hrg-product-service-row{grid-template-columns:repeat(2,1fr)}}
@media (max-width:782px){.hrg-product-top-notice{font-size:16px;margin-top:-10px}.hrg-product-titlebar{flex-direction:column}.hrg-product-main-grid{grid-template-columns:1fr;grid-template-areas:"gallery" "buy" "summary"}.hrg-product-buybox{position:static}.hrg-product-gallery-panel .woocommerce-product-gallery__image{min-height:280px}.hrg-product-gallery-panel .woocommerce-product-gallery__image img{max-height:300px}.hrg-product-sticky-tabs{top:0;border-radius:14px}.hrg-spec-row{grid-template-columns:1fr}.hrg-spec-name{padding-bottom:6px}.hrg-spec-value{padding-top:6px}.hrg-product-content-box{padding:18px}.hrg-product-service-row{grid-template-columns:1fr 1fr;gap:10px}.hrg-product-service-card{padding:12px;font-size:13px}.hrg-product-spec-list li{grid-template-columns:22px 1fr}.hrg-product-spec-list li strong{grid-column:2;text-align:right}}
@media (max-width:480px){.hrg-product-service-row{grid-template-columns:1fr}.hrg-product-gallery-panel,.hrg-product-summary-panel,.hrg-product-buybox{padding:14px;border-radius:18px}.hrg-buybox-price{align-items:flex-start;flex-direction:column}.hrg-buybox-price .price{text-align:right}.hrg-product-sticky-tabs a{padding:9px 12px;font-size:13px}}


/* Herfehgostar cart page inspired by the provided reference */
.woocommerce-cart .hrg-cart-page{padding:10px 0 30px}
.woocommerce-cart .hrg-cart-page-head{margin:0 0 24px}
.woocommerce-cart .hrg-cart-page-head h1{margin:0;font-size:clamp(28px,2.4vw,40px);font-weight:500;color:var(--hrg-heading)}
.woocommerce-cart .hrg-cart-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,350px);grid-template-areas:"summary items";gap:28px;align-items:start;direction:ltr}
.woocommerce-cart .hrg-cart-summary-column{grid-area:summary;position:sticky;top:98px;direction:rtl}
.woocommerce-cart .hrg-cart-summary-box,.woocommerce-cart .hrg-cart-card,.woocommerce-cart .hrg-cart-coupon,.woocommerce-cart .cart-collaterals .cross-sells,.woocommerce-cart .cart-collaterals .cart_totals{background:#fff;border:1px solid var(--hrg-border);border-radius:22px;box-shadow:0 12px 32px rgba(15,23,42,.05)}
.woocommerce-cart .hrg-cart-summary-box{padding:22px}
.woocommerce-cart .hrg-cart-summary-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 0;color:#334155;font-weight:500}
.woocommerce-cart .hrg-cart-summary-row strong{font-size:20px;font-weight:500;color:var(--hrg-heading)}
.woocommerce-cart .hrg-cart-summary-row-total{padding-top:18px;margin-top:10px;border-top:1px solid var(--hrg-border)}
.woocommerce-cart .hrg-cart-summary-note{margin:4px 0 0;color:#64748b;font-size:12px;line-height:1.8}
.woocommerce-cart .hrg-cart-checkout-btn{display:flex!important;align-items:center;justify-content:center;width:100%;min-height:58px;margin-top:22px;border-radius:16px!important;background:#0057A8!important;border-color:#0057A8!important;color:#fff!important;font-size:20px!important;font-weight:500!important;font-family:var(--hrg-font-family)!important;box-shadow:0 14px 34px rgba(0,87,168,.22)!important}
.woocommerce-cart .hrg-cart-checkout-btn:hover{background:#0b67bf!important;border-color:#0b67bf!important}
.woocommerce-cart .hrg-cart-items-list{display:flex;flex-direction:column;gap:18px}
.woocommerce-cart .hrg-cart-card{padding:0;overflow:hidden}
.woocommerce-cart .hrg-cart-card-main{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px;padding:26px}
.woocommerce-cart .hrg-cart-thumb{display:flex;align-items:center;justify-content:center;background:#fff;min-height:260px;padding:8px}
.woocommerce-cart .hrg-cart-thumb img{max-width:180px;width:auto;height:auto;object-fit:contain}
.woocommerce-cart .hrg-cart-content{display:flex;flex-direction:column;justify-content:flex-start}
.woocommerce-cart .hrg-cart-product-title{margin:0 0 14px;font-size:clamp(22px,1.8vw,32px);line-height:1.7;font-weight:500;color:var(--hrg-heading)}
.woocommerce-cart .hrg-cart-product-title a{color:inherit!important;text-decoration:none}
.woocommerce-cart .hrg-cart-services{display:flex;flex-direction:column;gap:10px;margin:0 0 16px;padding:0;list-style:none;color:#2563eb;font-size:15px;font-weight:500}
.woocommerce-cart .hrg-cart-services li{position:relative;padding-right:28px;line-height:1.8}
.woocommerce-cart .hrg-cart-services li::before{content:"";position:absolute;right:0;top:7px;width:16px;height:16px;border-radius:50%;background:#dbeafe}
.woocommerce-cart .hrg-cart-services li::after{content:"✓";position:absolute;right:4px;top:1px;font-size:12px;color:#2563eb;font-weight:500}
.woocommerce-cart .hrg-cart-card-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 22px;border-top:1px solid var(--hrg-border);background:#fafafa}
.woocommerce-cart .hrg-cart-qty-controls{display:flex;align-items:center;gap:10px}
.woocommerce-cart .hrg-qty-btn,.woocommerce-cart .hrg-cart-remove,.woocommerce-cart .hrg-cart-qty-input .qty{height:48px;border:1px solid var(--hrg-border);border-radius:12px;background:#fff;color:#111827;font-family:var(--hrg-font-family)!important;font-weight:500}
.woocommerce-cart .hrg-qty-btn{width:48px;display:inline-flex;align-items:center;justify-content:center;font-size:28px;line-height:1;cursor:pointer;transition:.2s}
.woocommerce-cart .hrg-qty-btn:hover{background:var(--hrg-soft);border-color:var(--hrg-primary);color:var(--hrg-primary)}
.woocommerce-cart .hrg-cart-remove{width:48px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important;font-size:20px}
.woocommerce-cart .hrg-cart-remove:hover{background:#fee2e2;border-color:#fca5a5;color:#b91c1c}
.woocommerce-cart .hrg-cart-qty-input .quantity{display:block}
.woocommerce-cart .hrg-cart-qty-input .qty{width:76px!important;text-align:center;padding:0 8px}
.woocommerce-cart .hrg-cart-price-block{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}
.woocommerce-cart .hrg-cart-price-unit{font-size:15px;color:#64748b;font-weight:500}
.woocommerce-cart .hrg-cart-price-total{font-size:32px;color:#111827;font-weight:500;line-height:1.2}
.woocommerce-cart .hrg-cart-form-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:18px}
.woocommerce-cart .hrg-cart-coupon{display:flex;align-items:center;gap:12px;padding:14px 16px;flex-wrap:wrap}
.woocommerce-cart .hrg-cart-coupon .input-text{min-width:220px;height:48px;border:1px solid var(--hrg-border);border-radius:14px;padding:0 16px;font-family:var(--hrg-font-family)!important}
.woocommerce-cart .hrg-cart-coupon .button,.woocommerce-cart .hrg-hidden-update{height:48px;border-radius:14px!important;padding:0 20px;font-family:var(--hrg-font-family)!important;font-weight:500!important}
.woocommerce-cart .hrg-hidden-update{background:#fff!important;color:var(--hrg-primary)!important;border:1px solid var(--hrg-primary)!important}
.woocommerce-cart .hrg-hidden-update:hover{background:var(--hrg-soft)!important}
.woocommerce-cart .hrg-cart-collaterals{margin-top:22px}
.woocommerce-cart .cart-collaterals{width:100%}
.woocommerce-cart .cross-sells>h2,.woocommerce-cart .cart_totals>h2{margin:0;padding:22px 22px 0;font-size:22px;font-weight:500}
.woocommerce-cart .cross-sells ul.products{padding:0 22px 22px}
.woocommerce-cart .cart_totals{padding:0 22px 22px}
.woocommerce-cart .cart_totals table{border:0!important}
.woocommerce-cart .cart_totals table th,.woocommerce-cart .cart_totals table td{padding:14px 0!important;border-bottom:1px solid var(--hrg-border)!important;background:transparent!important}
.woocommerce-cart .cart_totals .wc-proceed-to-checkout{padding-bottom:0!important}
.woocommerce-cart .cart_totals .checkout-button{width:100%;border-radius:16px!important;background:#0057A8!important;color:#fff!important;font-family:var(--hrg-font-family)!important}
@media (max-width:1100px){.woocommerce-cart .hrg-cart-layout{grid-template-columns:1fr;grid-template-areas:"summary" "items"}.woocommerce-cart .hrg-cart-summary-column{position:static;order:0}.woocommerce-cart .hrg-cart-card-main{grid-template-columns:180px minmax(0,1fr)}.woocommerce-cart .hrg-cart-thumb{min-height:200px}.woocommerce-cart .hrg-cart-thumb img{max-width:145px}}
@media (max-width:767px){.woocommerce-cart .hrg-cart-page-head h1{font-size:30px}.woocommerce-cart .hrg-cart-card-main{grid-template-columns:1fr;padding:20px}.woocommerce-cart .hrg-cart-thumb{min-height:unset;padding-top:0}.woocommerce-cart .hrg-cart-thumb img{max-width:150px}.woocommerce-cart .hrg-cart-card-footer{flex-direction:column;align-items:stretch}.woocommerce-cart .hrg-cart-qty-controls{justify-content:space-between}.woocommerce-cart .hrg-cart-qty-input{flex:1}.woocommerce-cart .hrg-cart-qty-input .qty{width:100%!important}.woocommerce-cart .hrg-cart-price-block{width:100%;justify-content:space-between;align-items:center}.woocommerce-cart .hrg-cart-price-total{font-size:26px}.woocommerce-cart .hrg-cart-coupon,.woocommerce-cart .hrg-cart-form-tools{flex-direction:column;align-items:stretch}.woocommerce-cart .hrg-cart-coupon .input-text,.woocommerce-cart .hrg-cart-coupon .button,.woocommerce-cart .hrg-hidden-update{width:100%}}


/* v1.0.6 fixes: cart columns, product feature rows, stock labels and WooCommerce notices */
.woocommerce-cart .hrg-cart-layout{grid-template-columns:minmax(0,1fr) minmax(280px,350px);grid-template-areas:"summary items";direction:ltr}
.woocommerce-cart .hrg-cart-items-column{grid-area:items;direction:rtl}
.woocommerce-cart .hrg-cart-summary-column{grid-area:summary;direction:rtl}
.woocommerce-cart .hrg-cart-services li{display:flex;align-items:flex-start;gap:8px;flex-wrap:wrap;color:#2563eb}
.woocommerce-cart .hrg-cart-services li span{font-weight:500;color:#2563eb}
.woocommerce-cart .hrg-cart-services li strong{font-weight:500;color:#1d4ed8}
.woocommerce-cart .hrg-cart-services li strong p{display:inline;margin:0}
.woocommerce-cart .hrg-cart-services li strong a{color:inherit!important;text-decoration:none!important}
.hrg-product-stock.is-backorder{background:#fff7ed;color:#c2410c}
.hrg-product-mini-btn .hrg-product-icon{width:22px;height:22px;fill:currentColor}
.woocommerce-notices-wrapper{margin:18px 0;clear:both}
.woocommerce-notices-wrapper:empty{display:none}
.woocommerce-message,.woocommerce-info,.woocommerce-error{font-family:var(--hrg-font-family)!important;position:relative;margin:0 0 18px!important;padding:18px 22px!important;border:1px solid transparent!important;border-radius:18px!important;box-shadow:0 12px 34px rgba(15,23,42,.07)!important;line-height:2!important;font-weight:500!important;list-style:none!important;overflow:hidden;background:#fff!important;color:#111827!important;border-top:0!important}
.woocommerce-message{background:#ecfdf5!important;border-color:#86efac!important;color:#064e3b!important}
.woocommerce-info{background:#eff6ff!important;border-color:#93c5fd!important;color:#1e3a8a!important}
.woocommerce-error{background:#fef2f2!important;border-color:#fca5a5!important;color:#991b1b!important}
.woocommerce-message::before,.woocommerce-info::before,.woocommerce-error::before{position:static!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:28px!important;height:28px!important;margin-left:10px!important;border-radius:50%!important;font-size:15px!important;line-height:1!important;font-family:Arial,sans-serif!important;font-weight:500!important}
.woocommerce-message::before{content:"✓"!important;background:#bbf7d0!important;color:#047857!important}
.woocommerce-info::before{content:"i"!important;background:#bfdbfe!important;color:#1d4ed8!important}
.woocommerce-error::before{content:"!"!important;background:#fecaca!important;color:#b91c1c!important}
.woocommerce-message .button,.woocommerce-info .button,.woocommerce-error .button{float:left!important;margin:0 12px 0 0!important;border-radius:12px!important;background:var(--hrg-primary)!important;color:#fff!important;border:0!important;padding:8px 14px!important;font-family:var(--hrg-font-family)!important;font-weight:500!important;text-decoration:none!important;line-height:1.8!important}
.woocommerce-message .button:hover,.woocommerce-info .button:hover,.woocommerce-error .button:hover{background:var(--hrg-secondary)!important;color:#fff!important}
@media (max-width:1100px){.woocommerce-cart .hrg-cart-layout{grid-template-columns:1fr;grid-template-areas:"summary" "items";direction:rtl}.woocommerce-cart .hrg-cart-summary-column{order:0}.woocommerce-cart .hrg-cart-items-column{order:1}}
@media (max-width:767px){.woocommerce-message .button,.woocommerce-info .button,.woocommerce-error .button{float:none!important;display:flex!important;justify-content:center;margin:12px 0 0!important;width:100%}}


/* v1.0.8 - Cart column position fixed without reversing column widths */
.woocommerce-cart .hrg-cart-layout{
    grid-template-columns:minmax(280px,350px) minmax(0,1fr) !important;
    grid-template-areas:"summary items" !important;
    direction:ltr !important;
}
.woocommerce-cart .hrg-cart-summary-column{
    grid-area:summary !important;
    width:100% !important;
    max-width:350px !important;
    justify-self:stretch !important;
    direction:rtl !important;
}
.woocommerce-cart .hrg-cart-items-column{
    grid-area:items !important;
    width:100% !important;
    min-width:0 !important;
    direction:rtl !important;
}
@media (max-width:1100px){
    .woocommerce-cart .hrg-cart-layout{
        grid-template-columns:1fr !important;
        grid-template-areas:"summary" "items" !important;
        direction:rtl !important;
    }
    .woocommerce-cart .hrg-cart-summary-column{
        max-width:none !important;
        position:static !important;
        order:0 !important;
    }
    .woocommerce-cart .hrg-cart-items-column{
        order:1 !important;
    }
}

/* v1.0.9 - Professional shop archive and functional WooCommerce filters */
.woocommerce-shop .hrg-shop-archive-page,
.tax-product_cat .hrg-shop-archive-page,
.tax-product_tag .hrg-shop-archive-page,
.post-type-archive-product .hrg-shop-archive-page{padding-top:36px}
.hrg-shop-archive-head{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-bottom:22px}
.hrg-shop-archive-head h1{margin:0;font-size:clamp(28px,3vw,42px);font-weight:500;color:var(--hrg-heading)}
.hrg-shop-archive-layout{direction:ltr;display:grid;grid-template-columns:minmax(0,1fr) 286px;grid-template-areas:"products sidebar";gap:24px;align-items:start}
.hrg-shop-products-column{direction:rtl;grid-area:products;min-width:0}
.hrg-shop-sidebar{direction:rtl;grid-area:sidebar;position:sticky;top:96px;align-self:start}
.hrg-shop-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;padding:12px 16px;background:#f3faff;border:1px solid #e3f1ff;border-radius:14px;box-shadow:0 8px 20px rgba(15,23,42,.035)}
.hrg-shop-result-count{color:#64748b;font-size:13px;font-weight:500;white-space:nowrap}
.hrg-shop-result-count .woocommerce-result-count{margin:0!important;float:none!important}
.hrg-shop-order-tabs{display:flex;align-items:center;gap:5px;overflow:auto;margin-right:auto}
.hrg-shop-order-tabs a{white-space:nowrap;color:#64748b!important;border-radius:10px;padding:7px 9px;font-size:13px;font-weight:500;text-decoration:none!important}
.hrg-shop-order-tabs a.is-active,.hrg-shop-order-tabs a:hover{background:#fff;color:var(--hrg-primary)!important;box-shadow:0 5px 14px rgba(15,23,42,.055)}
.hrg-mobile-filter-toggle{display:none;align-items:center;justify-content:center;gap:7px;border:1px solid var(--hrg-border)!important;background:#fff!important;color:var(--hrg-heading)!important;border-radius:12px!important;box-shadow:none!important;min-height:40px;font-family:var(--hrg-font-family)!important;font-weight:500!important}
.hrg-mobile-filter-toggle b{min-width:20px;height:20px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--hrg-primary);color:#fff;font-size:12px}
.hrg-shop-sidebar .hrg-shop-filters{display:block!important;margin:0!important;padding:0!important;background:#fff!important;border:1px solid var(--hrg-border)!important;border-radius:18px!important;box-shadow:0 12px 32px rgba(15,23,42,.055)!important;overflow:hidden;position:static!important;width:auto!important;transform:none!important;right:auto!important;top:auto!important;bottom:auto!important;z-index:auto!important}
.hrg-shop-sidebar .hrg-filter-head{display:flex;align-items:center;justify-content:space-between;padding:18px 18px 14px;border-bottom:1px solid var(--hrg-border);background:#fff}
.hrg-shop-sidebar .hrg-filter-head strong{display:inline-flex;align-items:center;gap:8px;font-size:17px;font-weight:500;color:var(--hrg-heading)}
.hrg-shop-sidebar .hrg-filter-head strong::before{content:"☷";font-size:18px;color:#334155}
.hrg-filter-close{display:none;background:transparent!important;color:#111827!important;box-shadow:none!important;padding:0!important;width:34px;height:34px;border-radius:50%!important;font-size:24px!important;line-height:1!important}
.hrg-filter-section{padding:16px 18px;border-bottom:1px solid #edf2f7}
.hrg-filter-section:last-of-type{border-bottom:0}
.hrg-filter-section h3,.hrg-filter-label{display:block;margin:0 0 12px;color:#334155;font-size:14px;font-weight:500;line-height:1.8}
.hrg-filter-search-section input[type=search],.hrg-price-fields input{width:100%;height:42px;border:1px solid #e5edf5!important;border-radius:12px!important;background:#fff!important;padding:0 12px;font-family:var(--hrg-font-family)!important;font-size:13px;font-weight:500;color:#334155;box-shadow:none!important}
.hrg-filter-search-section input[type=search]:focus,.hrg-price-fields input:focus{outline:0;border-color:var(--hrg-primary)!important;box-shadow:0 0 0 3px rgba(78,86,192,.10)!important}
.hrg-price-fields{display:grid;grid-template-columns:1fr;gap:10px}
.hrg-price-fields label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:500;color:#64748b}
.hrg-price-line{position:relative;height:26px;margin-top:6px}
.hrg-price-line::before{content:"";position:absolute;left:0;right:0;top:12px;height:4px;border-radius:99px;background:#dbeafe}
.hrg-price-line span{position:absolute;left:9%;right:9%;top:7px;height:14px;border-radius:99px;background:#0b66bd}
.hrg-filter-chips{display:flex;align-items:flex-start;gap:7px;flex-wrap:wrap}
.hrg-filter-chip{cursor:pointer;display:inline-flex;max-width:100%}
.hrg-filter-chip input{position:absolute;opacity:0;pointer-events:none}
.hrg-filter-chip span{display:inline-flex;align-items:center;justify-content:center;min-height:29px;border:1px solid #e5edf5;border-radius:999px;background:#fff;padding:4px 9px;color:#64748b;font-size:12px;font-weight:500;line-height:1.6;transition:.16s;white-space:normal;text-align:center}
.hrg-filter-chip input:checked+span,.hrg-filter-chip:hover span{border-color:var(--hrg-primary);background:#eff6ff;color:var(--hrg-primary)}
.hrg-rating-filter-chips .hrg-filter-chip span{color:#f59e0b;letter-spacing:1px}
.hrg-filter-actions{display:flex;flex-direction:column;gap:10px;padding:18px;background:#fafcff;border-top:1px solid var(--hrg-border)}
.hrg-filter-submit{width:100%;min-height:44px;font-family:var(--hrg-font-family)!important;font-weight:500!important}
.hrg-filter-reset{display:flex;align-items:center;justify-content:center;width:100%;min-height:40px;border-radius:12px;background:#fff;border:1px solid var(--hrg-border);color:#64748b!important;font-weight:500;text-decoration:none!important}
.hrg-filter-reset:hover{color:var(--hrg-primary)!important;border-color:var(--hrg-primary)}
.hrg-shop-archive-page ul.products,.hrg-shop-archive-page .hrg-shop-grid{grid-template-columns:repeat(var(--hrg-products-desktop,4),minmax(0,1fr));gap:24px}
.hrg-shop-archive-page .hrg-product-card{border:1px solid #e9eef5!important;border-radius:16px!important;box-shadow:0 9px 24px rgba(15,23,42,.035)!important;background:#fff!important;padding:18px!important;min-height:336px;transition:.2s;overflow:hidden}
.hrg-shop-archive-page .hrg-product-card:hover{border-color:#dbeafe!important;box-shadow:0 16px 34px rgba(15,23,42,.08)!important;transform:translateY(-2px)}
.hrg-shop-archive-page .hrg-product-thumb{background:#fff!important;border-radius:14px!important;aspect-ratio:1/1;margin-bottom:8px}
.hrg-shop-archive-page .hrg-product-thumb img{object-fit:contain;max-width:92%;max-height:92%;margin:auto}
.hrg-shop-archive-page .hrg-product-card h2{font-size:15px;line-height:1.75;text-align:center;font-weight:500;color:#111827;margin:8px 0 4px;min-height:52px}
.hrg-shop-archive-page .hrg-product-cat{display:block;text-align:center;font-size:12px;color:#64748b;line-height:1.7;min-height:20px}
.hrg-shop-archive-page .hrg-product-card-specs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:4px 0 2px;color:#94a3b8;direction:ltr}
.hrg-shop-archive-page .hrg-product-card-specs span{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:0;text-align:center}
.hrg-shop-archive-page .hrg-product-card-specs small{display:block;width:16px;height:10px;border:1px solid #dce4ee;border-radius:2px;text-indent:-999px;overflow:hidden;position:relative}
.hrg-shop-archive-page .hrg-product-card-specs small::after{content:"";position:absolute;inset:2px;background:#eef2f7;border-radius:1px}
.hrg-shop-archive-page .hrg-product-card-specs b{font-size:10px;font-weight:500;color:#64748b;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.hrg-shop-archive-page .hrg-product-card-footer{margin-top:auto;padding-top:8px;min-height:32px;align-items:center}
.hrg-shop-archive-page .hrg-product-card-footer .price{font-size:14px;font-weight:500;color:#111827}
.hrg-shop-archive-page .hrg-product-rating{display:inline-flex;align-items:center;gap:3px;border-radius:6px;background:#fff7e6;color:#a16207;padding:3px 6px;font-size:11px;font-weight:500;white-space:nowrap}
.hrg-shop-archive-page .hrg-product-rating b{color:#f59e0b;font-size:12px;line-height:1}
.hrg-shop-archive-page .hrg-stock.out{display:block;width:100%;text-align:center;color:#111827;font-size:14px;font-weight:500;margin-top:6px}
.hrg-shop-archive-page .hrg-card-add-to-cart{display:none}
.hrg-shop-archive-page .hrg-sale-badge{top:12px;left:12px;right:auto;background:#fff1f2;color:#e11d48;border-radius:8px;font-size:13px;font-weight:500;padding:5px 8px}
.hrg-shop-archive-page .woocommerce-pagination{margin-top:32px;text-align:center}
.hrg-shop-archive-page .woocommerce-pagination ul{border:0!important;display:inline-flex;gap:6px;justify-content:center;flex-wrap:wrap}
.hrg-shop-archive-page .woocommerce-pagination ul li{border:0!important}
.hrg-shop-archive-page .woocommerce-pagination a,.hrg-shop-archive-page .woocommerce-pagination span{min-width:34px;height:34px;display:flex!important;align-items:center;justify-content:center;border:1px solid #dbeafe!important;border-radius:8px!important;background:#fff!important;color:#64748b!important;font-weight:500!important}
.hrg-shop-archive-page .woocommerce-pagination span.current,.hrg-shop-archive-page .woocommerce-pagination a:hover{background:#eff6ff!important;color:var(--hrg-primary)!important;border-color:var(--hrg-primary)!important}
body.hrg-filter-open{overflow:hidden}
.hrg-filter-mobile-overlay{display:none;position:fixed;inset:0;background:rgba(15,23,42,.46);z-index:178}
body.hrg-filter-open .hrg-filter-mobile-overlay{display:block}
@media (max-width:1200px){.hrg-shop-archive-layout{grid-template-columns:minmax(0,1fr) 270px;gap:18px}.hrg-shop-archive-page ul.products,.hrg-shop-archive-page .hrg-shop-grid{gap:18px}}
@media (max-width:1024px){.hrg-shop-archive-layout{display:block;direction:rtl}.hrg-shop-sidebar{position:static}.hrg-shop-sidebar .hrg-shop-filters{position:fixed!important;top:0!important;bottom:0!important;right:-340px!important;width:330px!important;max-width:88vw!important;z-index:180!important;border-radius:0!important;overflow:auto;transition:right .25s ease!important}.hrg-shop-sidebar .hrg-shop-filters.is-open{right:0!important}.hrg-filter-close,.hrg-mobile-filter-toggle{display:inline-flex!important}.hrg-shop-topbar{align-items:flex-start;flex-wrap:wrap}.hrg-shop-result-count{order:3;width:100%}.hrg-shop-order-tabs{order:2;max-width:calc(100% - 110px)}.hrg-shop-archive-page ul.products,.hrg-shop-archive-page .hrg-shop-grid{grid-template-columns:repeat(var(--hrg-products-tablet,3),minmax(0,1fr))}}
@media (max-width:640px){.hrg-shop-archive-page ul.products,.hrg-shop-archive-page .hrg-shop-grid{grid-template-columns:repeat(var(--hrg-products-mobile,2),minmax(0,1fr));gap:12px}.hrg-shop-archive-page .hrg-product-card{padding:12px!important;min-height:280px}.hrg-shop-archive-page .hrg-product-card h2{font-size:13px;min-height:46px}.hrg-shop-archive-page .hrg-product-card-specs{grid-template-columns:repeat(3,minmax(0,1fr))}.hrg-shop-archive-page .hrg-product-card-specs span:nth-child(n+4){display:none}.hrg-shop-archive-page .hrg-product-card-footer{flex-direction:column;align-items:flex-start;gap:5px}.hrg-shop-topbar{padding:10px}.hrg-shop-order-tabs{max-width:100%;order:3}.hrg-shop-result-count{display:none}}


/* v1.0.10 - Product card width fix everywhere: override WooCommerce float/width rules */
.woocommerce ul.products,
.woocommerce-page ul.products,
ul.products.hrg-shop-grid,
ul.products.products,
.products,
.hrg-shop-grid {
    display: grid !important;
    grid-template-columns: repeat(var(--hrg-products-desktop, 4), minmax(220px, 1fr)) !important;
    gap: var(--hrg-gap, 24px) !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    align-items: stretch !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after,
ul.products::before,
ul.products::after {
    content: none !important;
    display: none !important;
}

.woocommerce ul.products li.product.hrg-product-card,
.woocommerce-page ul.products li.product.hrg-product-card,
ul.products li.product.hrg-product-card,
.products li.product.hrg-product-card,
.hrg-shop-grid li.product.hrg-product-card,
.hrg-product-card {
    float: none !important;
    clear: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
}

.woocommerce ul.products li.first,
.woocommerce ul.products li.last,
.woocommerce-page ul.products li.first,
.woocommerce-page ul.products li.last {
    clear: none !important;
}

.hrg-product-thumb-link,
.hrg-product-card .woocommerce-loop-product__title a {
    display: block !important;
    color: inherit !important;
    text-decoration: none !important;
}

.hrg-product-card .hrg-product-cat a {
    color: inherit !important;
    text-decoration: none !important;
}

.hrg-product-card .hrg-product-cat a:hover,
.hrg-product-card .woocommerce-loop-product__title a:hover {
    color: var(--hrg-primary) !important;
}

.hrg-product-card .hrg-card-add-to-cart {
    margin-top: 12px !important;
}

/* Shop/archive page keeps 4 wide cards on desktop while respecting sidebar width */
.hrg-shop-archive-page ul.products,
.hrg-shop-archive-page .hrg-shop-grid,
.woocommerce .hrg-shop-archive-page ul.products {
    grid-template-columns: repeat(var(--hrg-products-desktop, 4), minmax(190px, 1fr)) !important;
}

@media (max-width: 1200px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    .products,
    .hrg-shop-grid,
    .hrg-shop-archive-page ul.products,
    .hrg-shop-archive-page .hrg-shop-grid {
        grid-template-columns: repeat(var(--hrg-products-tablet, 3), minmax(190px, 1fr)) !important;
    }
}

@media (max-width: 767px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    .products,
    .hrg-shop-grid,
    .hrg-shop-archive-page ul.products,
    .hrg-shop-archive-page .hrg-shop-grid {
        grid-template-columns: repeat(var(--hrg-products-mobile, 2), minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
}

@media (max-width: 420px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    .products,
    .hrg-shop-grid,
    .hrg-shop-archive-page ul.products,
    .hrg-shop-archive-page .hrg-shop-grid {
        grid-template-columns: 1fr !important;
    }
}


/* v1.0.12 side cart and font weight cap */
body.hrg-theme strong,body.hrg-theme b,body.hrg-theme h1,body.hrg-theme h2,body.hrg-theme h3,body.hrg-theme h4,body.hrg-theme h5,body.hrg-theme h6,body.hrg-theme th,body.hrg-theme label,body.hrg-theme .button,body.hrg-theme .hrg-btn,body.hrg-theme .price,body.hrg-theme .woocommerce-Price-amount{font-weight:500!important}
.hrg-side-cart,.hrg-side-cart-right,.hrg-side-cart-left{left:-460px!important;right:auto!important;width:min(430px,92vw);background:#fff;border-radius:0 28px 28px 0;box-shadow:22px 0 70px rgba(15,23,42,.18);overflow:hidden}
.hrg-side-cart.is-open,.hrg-side-cart.is-open.hrg-side-cart-right,.hrg-side-cart.is-open.hrg-side-cart-left{left:0!important;right:auto!important}
.hrg-side-cart-head{padding:20px 22px;background:linear-gradient(135deg,var(--hrg-primary),var(--hrg-secondary));color:#fff;border-bottom:0}
.hrg-side-cart-head strong{color:#fff;font-size:20px;font-weight:500!important}
.hrg-side-cart-close{width:38px;height:38px;border-radius:50%!important;background:rgba(255,255,255,.16)!important;color:#fff!important;font-weight:500!important;line-height:1;padding:0!important}
.hrg-side-cart-close:hover{background:rgba(255,255,255,.24)!important;transform:none!important}
.hrg-side-cart-content{padding:18px;background:#f8fafc;overflow:auto;flex:1}
.hrg-side-cart-content .woocommerce-mini-cart{display:flex;flex-direction:column;gap:12px;margin:0!important;padding:0!important;list-style:none!important}
.hrg-side-cart-content .woocommerce-mini-cart-item,.hrg-side-cart-content .mini_cart_item{position:relative;display:grid!important;grid-template-columns:82px minmax(0,1fr);gap:12px;align-items:center;background:#fff;border:1px solid #e5edf5;border-radius:18px;padding:14px 14px 14px 48px!important;box-shadow:0 10px 28px rgba(15,23,42,.05)}
.hrg-side-cart-content .woocommerce-mini-cart-item a:not(.remove),.hrg-side-cart-content .mini_cart_item a:not(.remove){display:contents;color:#111827!important;text-decoration:none!important;font-size:14px;line-height:1.8;font-weight:500!important}
.hrg-side-cart-content .woocommerce-mini-cart-item img,.hrg-side-cart-content .mini_cart_item img{grid-column:1;width:82px!important;height:82px!important;object-fit:contain;border-radius:14px;background:#f8fafc;margin:0!important;float:none!important}
.hrg-side-cart-content .woocommerce-mini-cart-item .quantity,.hrg-side-cart-content .mini_cart_item .quantity{grid-column:2;display:block;margin-top:8px;color:#64748b;font-size:13px;font-weight:400!important}
.hrg-side-cart-content .woocommerce-mini-cart-item .amount,.hrg-side-cart-content .mini_cart_item .amount{color:var(--hrg-primary);font-weight:500!important}
.hrg-side-cart-content .remove_from_cart_button,.hrg-side-cart-content a.remove{position:absolute!important;top:14px!important;left:14px!important;right:auto!important;width:28px!important;height:28px!important;border-radius:50%!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#fee2e2!important;color:#b91c1c!important;font-size:18px!important;line-height:1!important;text-decoration:none!important;font-weight:500!important}
.hrg-side-cart-content .remove_from_cart_button:hover,.hrg-side-cart-content a.remove:hover{background:#ef4444!important;color:#fff!important}
.hrg-side-cart-content .woocommerce-mini-cart__total{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0 12px!important;padding:16px 18px!important;background:#fff;border:1px solid #e5edf5;border-radius:18px;color:#111827;font-size:16px;font-weight:500!important}
.hrg-side-cart-content .woocommerce-mini-cart__total strong{font-weight:500!important}
.hrg-side-cart-content .woocommerce-mini-cart__buttons{display:grid;grid-template-columns:1fr;gap:10px;margin:0!important}
.hrg-side-cart-content .woocommerce-mini-cart__buttons a{width:100%;min-height:48px;border-radius:14px!important;font-family:var(--hrg-font-family)!important;font-weight:500!important;box-shadow:none!important}
.hrg-side-cart-content .woocommerce-mini-cart__buttons .checkout{background:var(--hrg-primary)!important;color:#fff!important}
.hrg-side-cart-content .woocommerce-mini-cart__empty-message{margin:0;padding:28px 20px;text-align:center;background:#fff;border:1px dashed #cbd5e1;border-radius:18px;color:#64748b;font-weight:400!important}
@media(max-width:640px){.hrg-side-cart,.hrg-side-cart-right,.hrg-side-cart-left{width:min(390px,94vw);border-radius:0 22px 22px 0}}


/* v1.0.13 - home/product cards redesign: full-card link, no add-to-cart, configurable bottom gradient */
.woocommerce ul.products li.product.hrg-product-card,
.woocommerce-page ul.products li.product.hrg-product-card,
ul.products li.product.hrg-product-card,
.products li.product.hrg-product-card,
.hrg-shop-grid li.product.hrg-product-card,
.hrg-product-card{
    position:relative!important;
    min-height:520px!important;
    padding:0!important;
    border:1px solid #edf1f6!important;
    border-radius:0!important;
    background:#fff!important;
    box-shadow:0 18px 42px rgba(15,23,42,.045)!important;
    overflow:hidden!important;
    transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease!important;
}
.woocommerce ul.products li.product.hrg-product-card:hover,
.woocommerce-page ul.products li.product.hrg-product-card:hover,
ul.products li.product.hrg-product-card:hover,
.products li.product.hrg-product-card:hover,
.hrg-shop-grid li.product.hrg-product-card:hover,
.hrg-product-card:hover{
    transform:translateY(-4px)!important;
    border-color:#e2e8f0!important;
    box-shadow:0 24px 54px rgba(15,23,42,.09)!important;
}
.hrg-product-card .hrg-product-card-link{
    position:relative;
    z-index:1;
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    height:100%!important;
    min-height:inherit!important;
    padding:24px 24px 0!important;
    color:inherit!important;
    text-decoration:none!important;
    overflow:hidden;
}
.hrg-product-card.hrg-card-gradient-on::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:34%;
    z-index:0;
    background:linear-gradient(0deg,var(--hrg-product-card-gradient,#fff0df) 0%,rgba(255,255,255,0) 100%);
    pointer-events:none;
}
.hrg-product-card .hrg-product-thumb{
    width:100%!important;
    height:230px!important;
    aspect-ratio:auto!important;
    background:#fff!important;
    border-radius:0!important;
    margin:0 0 20px!important;
    padding:0!important;
    overflow:visible!important;
}
.hrg-product-card .hrg-product-thumb img{
    width:100%!important;
    height:100%!important;
    max-height:230px!important;
    object-fit:contain!important;
    object-position:center!important;
}
.hrg-product-card .hrg-product-card-specs{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:10px!important;
    margin:0 0 22px!important;
    direction:ltr!important;
    color:#4b5563!important;
}
.hrg-product-card .hrg-product-card-specs span{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:flex-start!important;
    min-width:0!important;
    text-align:center!important;
    gap:7px!important;
}
.hrg-product-card .hrg-product-card-specs small{
    position:relative!important;
    display:block!important;
    width:28px!important;
    height:22px!important;
    border:2px solid #d8dde4!important;
    border-radius:5px!important;
    text-indent:-999px!important;
    overflow:hidden!important;
    margin:0 auto!important;
    background:transparent!important;
}
.hrg-product-card .hrg-product-card-specs small::before,
.hrg-product-card .hrg-product-card-specs small::after{
    content:"";
    position:absolute;
    background:#d8dde4;
}
.hrg-product-card .hrg-product-card-specs small::before{left:5px;right:5px;top:5px;height:2px;border-radius:2px}
.hrg-product-card .hrg-product-card-specs small::after{left:7px;right:7px;bottom:5px;height:2px;border-radius:2px}
.hrg-product-card .hrg-product-card-specs b{
    display:block!important;
    max-width:100%!important;
    color:#374151!important;
    font-size:15px!important;
    line-height:1.5!important;
    font-weight:400!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
}
.hrg-product-card .hrg-product-card-title-wrap{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    min-height:120px!important;
    margin:0 0 18px!important;
}
.hrg-product-card .hrg-product-cat{
    display:block!important;
    color:#707982!important;
    font-size:20px!important;
    line-height:1.8!important;
    font-weight:400!important;
    margin:0!important;
}
.hrg-product-card .woocommerce-loop-product__title{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:4px!important;
    margin:0!important;
    min-height:0!important;
    color:#111827!important;
    text-align:center!important;
    font-size:22px!important;
    line-height:1.55!important;
    font-weight:500!important;
}
.hrg-product-card .hrg-product-name-prefix{
    display:block!important;
    color:#707982!important;
    font-size:20px!important;
    line-height:1.7!important;
    font-weight:400!important;
}
.hrg-product-card .hrg-product-model-name{
    display:block!important;
    color:#050505!important;
    font-size:24px!important;
    line-height:1.45!important;
    font-weight:500!important;
    direction:ltr!important;
    text-align:center!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
}
.hrg-product-card .hrg-product-card-footer{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
    margin:auto -24px 0!important;
    min-height:88px!important;
    padding:22px 24px!important;
    position:relative!important;
    z-index:2!important;
}
.hrg-product-card .hrg-product-card-footer .price,
.hrg-product-card .price{
    color:#050505!important;
    font-size:22px!important;
    line-height:1.4!important;
    font-weight:500!important;
    text-align:right!important;
}
.hrg-product-card .price .amount,
.hrg-product-card .woocommerce-Price-amount{
    font-size:inherit!important;
    font-weight:500!important;
    color:inherit!important;
}
.hrg-product-card .woocommerce-Price-currencySymbol{
    font-size:15px!important;
    font-weight:400!important;
    margin-inline-start:3px!important;
}
.hrg-product-card .hrg-product-rating{
    flex:0 0 auto!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    min-width:54px!important;
    height:42px!important;
    padding:0 10px!important;
    border-radius:10px!important;
    background:#fff2d9!important;
    color:#222!important;
    font-size:17px!important;
    line-height:1!important;
    font-weight:500!important;
}
.hrg-product-card .hrg-product-rating b{color:#ffae1a!important;font-weight:500!important}
.hrg-product-card .hrg-card-add-to-cart{display:none!important}
.hrg-product-card .hrg-sale-badge{z-index:3;font-weight:500!important}
.hrg-products-section ul.products,
.hrg-products-section .products,
.hrg-products-section .hrg-shop-grid{
    grid-template-columns:repeat(var(--hrg-products-desktop,4),minmax(250px,1fr))!important;
}
@media (max-width:1200px){
    .hrg-products-section ul.products,
    .hrg-products-section .products,
    .hrg-products-section .hrg-shop-grid,
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    .products,
    .hrg-shop-grid{
        grid-template-columns:repeat(var(--hrg-products-tablet,3),minmax(230px,1fr))!important;
    }
    .hrg-product-card .hrg-product-card-link{padding:20px 18px 0!important}
    .hrg-product-card .hrg-product-card-footer{margin:auto -18px 0!important;padding:18px!important}
}
@media (max-width:767px){
    .hrg-product-card{min-height:430px!important}
    .hrg-product-card .hrg-product-thumb{height:170px!important;margin-bottom:14px!important}
    .hrg-product-card .hrg-product-card-specs{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important;margin-bottom:14px!important}
    .hrg-product-card .hrg-product-card-specs small{width:22px!important;height:18px!important;border-width:1px!important}
    .hrg-product-card .hrg-product-card-specs b{font-size:12px!important}
    .hrg-product-card .hrg-product-cat,.hrg-product-card .hrg-product-name-prefix{font-size:15px!important}
    .hrg-product-card .woocommerce-loop-product__title,.hrg-product-card .hrg-product-model-name{font-size:17px!important}
    .hrg-product-card .hrg-product-card-title-wrap{min-height:92px!important;margin-bottom:10px!important}
    .hrg-product-card .price{font-size:16px!important}
    .hrg-product-card .hrg-product-card-footer{min-height:72px!important}
    .hrg-product-card .hrg-product-rating{min-width:44px;height:34px;font-size:13px!important}
}
@media (max-width:420px){
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    .products,
    .hrg-shop-grid,
    .hrg-shop-archive-page ul.products,
    .hrg-shop-archive-page .hrg-shop-grid{grid-template-columns:1fr!important}
}


/* v1.0.14 - product card specs settings + compact typography */
.hrg-product-card .hrg-product-cat{display:none!important}
.hrg-product-card .hrg-product-name-prefix,
.hrg-product-card .hrg-product-model-name{
    font-size:15px!important;
    line-height:1.65!important;
    font-weight:500!important;
}
.hrg-product-card .woocommerce-loop-product__title{font-size:15px!important;line-height:1.65!important;font-weight:500!important}
.hrg-product-card .hrg-product-card-title-wrap{min-height:88px!important;margin-bottom:10px!important}
.hrg-product-card .hrg-product-card-footer{
    justify-content:center!important;
    text-align:center!important;
    font-size:15px!important;
    gap:10px!important;
}
.hrg-product-card .hrg-product-card-footer .price,
.hrg-product-card .price,
.hrg-product-card .price .amount,
.hrg-product-card .woocommerce-Price-amount{
    font-size:15px!important;
    text-align:center!important;
    font-weight:500!important;
}
.hrg-product-card .woocommerce-Price-currencySymbol{font-size:13px!important}
.hrg-product-card .hrg-product-card-specs small.hrg-card-spec-icon{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:26px!important;
    height:24px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    text-indent:0!important;
    overflow:visible!important;
    margin:0 auto!important;
    color:#c8ced7!important;
}
.hrg-product-card .hrg-product-card-specs small.hrg-card-spec-icon::before,
.hrg-product-card .hrg-product-card-specs small.hrg-card-spec-icon::after{display:none!important;content:none!important}
.hrg-product-card .hrg-product-card-specs small.hrg-card-spec-icon svg{display:block;width:24px;height:24px;fill:currentColor}
.hrg-product-card .hrg-product-card-specs small.hrg-card-spec-icon em{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.hrg-product-card .hrg-product-card-specs b{font-size:14px!important;font-weight:500!important}
@media (max-width:767px){
    .hrg-product-card .hrg-product-name-prefix,
    .hrg-product-card .hrg-product-model-name,
    .hrg-product-card .woocommerce-loop-product__title,
    .hrg-product-card .hrg-product-card-footer,
    .hrg-product-card .hrg-product-card-footer .price,
    .hrg-product-card .price{font-size:15px!important}
}

/* v1.0.15 - Herfehgostar latest posts slider + blog archive */
.hrg-home-blog-section,
.hrg-latest-posts-wrap,
.hrg-blog-main,
.hrg-blog-page,
.hrg-blog-page *{box-sizing:border-box}
.hrg-blog-section-head h2{font-weight:500!important}
.hrg-latest-posts-wrap{direction:rtl;width:100%;position:relative;background:transparent!important}
.hrg-latest-posts-viewport{width:100%;overflow:hidden;padding:8px 2px 18px;cursor:grab;user-select:none;touch-action:pan-y;background:transparent!important}
.hrg-latest-posts-viewport.is-dragging{cursor:grabbing}
.hrg-latest-posts-track{display:flex;gap:24px;transition:transform .42s ease;will-change:transform;background:transparent!important}
.hrg-latest-posts-track.no-transition{transition:none}
.hrg-post-slide{flex:0 0 calc((100% - 72px) / 4);min-width:0;display:flex}
.hrg-home-post-card,
.hrg-all-posts-card{width:100%;height:545px;min-height:545px;max-height:545px;border-radius:24px;overflow:hidden;border:1px solid rgba(220,226,235,.85);box-shadow:none;transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease}
.hrg-home-post-card{background:#fff;display:flex;flex-direction:column}
.hrg-home-post-card:hover,
.hrg-all-posts-card:hover{transform:translateY(-4px);box-shadow:0 8px 20px rgba(78,86,192,.10);border-color:rgba(78,86,192,.24)}
.hrg-home-post-card-image{position:relative;width:100%;height:235px;min-height:235px;max-height:235px;overflow:hidden;background:#f4f6fb;display:block;text-decoration:none}
.hrg-home-post-card-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .42s ease;pointer-events:none}
.hrg-home-post-card:hover .hrg-home-post-card-image img{transform:scale(1.045)}
.hrg-blog-card-cat{position:absolute;top:14px;right:14px;background:#fff;color:#142033;padding:8px 16px;border-radius:999px;font-size:13px;font-weight:500;box-shadow:0 5px 16px rgba(0,0,0,.08);z-index:2}
.hrg-home-post-card-body{padding:22px 24px 20px;display:flex;flex-direction:column;flex:1;min-height:0}
.hrg-blog-meta{min-height:24px;display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;color:#8ca0bd;font-size:13px;font-weight:400;margin-bottom:12px;overflow:hidden}
.hrg-blog-meta span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;line-height:1.6}
.hrg-blog-meta svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:0 0 15px}
.hrg-home-post-card-title{margin:0;text-align:center;font-size:19px!important;line-height:1.65!important;font-weight:500!important;color:#17243a;height:64px;max-height:64px;overflow:hidden}
.hrg-home-post-card-title a{color:inherit;text-decoration:none;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hrg-home-post-card-title a:hover{color:var(--hrg-primary)}
.hrg-home-post-card-excerpt{margin:16px 0 0;text-align:center;color:#5f7190;font-size:15px;line-height:1.9;font-weight:400;height:58px;max-height:58px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hrg-home-post-card-footer{margin-top:auto;padding-top:20px;border-top:1px solid #eef2f7}
.hrg-blog-read-more{display:flex;align-items:center;justify-content:flex-start;gap:12px;color:#111a2c;font-size:15px;font-weight:500;text-decoration:none;transition:.25s ease}
.hrg-blog-read-icon{width:38px;height:38px;border-radius:50%;background:#f6f8fb;display:inline-flex;align-items:center;justify-content:center;color:#111a2c;transition:.28s ease;flex:0 0 38px}
.hrg-blog-read-icon svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:2}
.hrg-blog-read-more:hover{color:var(--hrg-primary)}
.hrg-blog-read-more:hover .hrg-blog-read-icon{background:var(--hrg-primary);color:#fff}
.hrg-all-posts-card{text-decoration:none;display:flex;align-items:center;justify-content:center;padding:28px;text-align:center;position:relative;background:radial-gradient(circle at 20% 18%, rgba(255,255,255,.28), transparent 30%),radial-gradient(circle at 85% 75%, rgba(255,255,255,.20), transparent 28%),linear-gradient(135deg,var(--hrg-primary) 0%,var(--hrg-secondary) 100%);border:1px solid rgba(255,255,255,.18)}
.hrg-all-posts-card:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(135deg,rgba(255,255,255,.05) 0 1px,transparent 1px 18px);pointer-events:none}
.hrg-all-posts-card>*{position:relative;z-index:2}
.hrg-all-posts-icon{width:70px;height:70px;border-radius:22px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.22);color:#fff;display:inline-flex;align-items:center;justify-content:center;margin-bottom:18px}
.hrg-all-posts-icon svg{width:34px;height:34px;stroke:currentColor;fill:none;stroke-width:1.8}
.hrg-all-posts-card h3{margin:0 0 12px;color:#fff;font-size:20px;line-height:1.6;font-weight:500}
.hrg-all-posts-card p{margin:0 0 22px;color:rgba(255,255,255,.78);font-size:15px;line-height:1.9;font-weight:400}
.hrg-all-posts-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 26px;border-radius:999px;background:#fff;color:var(--hrg-primary);font-size:15px;font-weight:500}
.hrg-posts-nav{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:6px;background:transparent!important}
.hrg-posts-nav button{width:46px;height:46px;border-radius:50%;border:none;background:#fff;color:#17243a;box-shadow:0 5px 16px rgba(78,86,192,.10);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:.25s ease}
.hrg-posts-nav button:hover{background:var(--hrg-primary);color:#fff}
.hrg-posts-nav button:disabled{opacity:.45;cursor:not-allowed}
.hrg-posts-nav button[data-hrg-posts-prev] svg{transform:rotate(180deg)}
.hrg-posts-nav svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:2}
.hrg-post-error{width:100%;text-align:center;padding:35px;background:#fff;border-radius:20px;color:#5f7190;font-weight:400}
.hrg-blog-main{width:100%;background:transparent!important;direction:rtl}
.hrg-blog-page{width:100%;padding:54px 18px 70px;background:transparent!important}
.hrg-blog-shell{width:100%;max-width:1120px;margin:0 auto;background:rgba(255,255,255,.78);border:1px solid rgba(233,237,245,.92);border-radius:36px;overflow:hidden;box-shadow:0 18px 60px rgba(16,24,40,.08)}
.hrg-blog-hero{position:relative;padding:64px 48px 50px;text-align:center;background:radial-gradient(circle at 12% 10%, color-mix(in srgb,var(--hrg-blog-primary,#4E56C0) 10%, transparent), transparent 28%),radial-gradient(circle at 92% 8%, color-mix(in srgb,var(--hrg-blog-accent,#FDCFFA) 38%, transparent), transparent 26%),linear-gradient(135deg,rgba(255,255,255,.96),rgba(255,255,255,.76));border-bottom:1px solid #eef2f7}
.hrg-blog-kicker{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:0 14px;border-radius:999px;background:color-mix(in srgb,var(--hrg-blog-accent,#FDCFFA) 44%, #fff);color:var(--hrg-blog-primary,#4E56C0);font-size:12px;font-weight:500;margin-bottom:18px}
.hrg-blog-hero h1{margin:0 0 16px;color:#1f2a44;font-size:clamp(32px,5vw,54px);line-height:1.35;font-weight:500!important}
.hrg-blog-hero p{max-width:720px;margin:0 auto 30px;color:#667085;font-size:16px;line-height:2;font-weight:400}
.hrg-blog-search{width:100%;max-width:560px;min-height:56px;margin:0 auto;display:flex;align-items:center;gap:10px;padding:6px;border-radius:16px;background:#fff;border:1px solid #e5eaf3;box-shadow:0 8px 24px rgba(16,24,40,.06);direction:ltr}
.hrg-blog-search button{height:44px;min-width:78px;border:none;border-radius:13px;background:var(--hrg-blog-primary,#4E56C0);color:#fff;font-size:13px;font-weight:500;font-family:inherit;cursor:pointer;transition:.25s ease}
.hrg-blog-search button:hover{transform:translateY(-1px);box-shadow:0 8px 18px color-mix(in srgb,var(--hrg-blog-primary,#4E56C0) 22%, transparent)}
.hrg-blog-search-field{flex:1;height:44px;display:flex;align-items:center;gap:9px;direction:rtl;padding:0 10px}
.hrg-blog-search-field svg{width:18px;height:18px;stroke:#98a2b3;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:0 0 18px}
.hrg-blog-search-field input{width:100%;height:100%;border:none;outline:none;background:transparent;color:#1f2a44;font-size:14px;font-weight:400;font-family:inherit}
.hrg-blog-search-field input::placeholder{color:#a8b0bf}
.hrg-blog-cats{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;padding:24px 26px;border-bottom:1px solid #eef2f7;background:rgba(255,255,255,.70)}
.hrg-blog-cats span{color:#667085;font-size:13px;font-weight:400}
.hrg-blog-cats a{min-height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:0 16px;background:#fff;border:1px solid #e9edf5;color:#526174;text-decoration:none;font-size:13px;font-weight:400;transition:.25s ease}
.hrg-blog-cats a:hover{color:var(--hrg-blog-primary,#4E56C0);border-color:color-mix(in srgb,var(--hrg-blog-primary,#4E56C0) 34%, #fff)}
.hrg-blog-cats a.active{background:var(--hrg-blog-primary,#4E56C0);color:#fff;border-color:var(--hrg-blog-primary,#4E56C0)}
.hrg-blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;padding:38px 40px 44px}
.hrg-blog-card{height:100%;min-height:520px;display:flex;flex-direction:column;background:#fff;border:1px solid #e9edf5;border-radius:24px;overflow:hidden;box-shadow:none;transition:.28s ease}
.hrg-blog-card:hover{transform:translateY(-4px);border-color:color-mix(in srgb,var(--hrg-blog-primary,#4E56C0) 34%, #fff);box-shadow:0 10px 24px rgba(16,24,40,.06)}
.hrg-blog-card-image{position:relative;display:block;width:100%;height:210px;overflow:hidden;background:radial-gradient(circle at 30% 20%, color-mix(in srgb,var(--hrg-blog-primary,#4E56C0) 12%, transparent), transparent 34%),#f4f7fb;text-decoration:none}
.hrg-blog-card-image img{width:100%;height:100%;object-fit:cover;display:block;transition:.4s ease}
.hrg-blog-card:hover .hrg-blog-card-image img{transform:scale(1.045)}
.hrg-blog-no-image{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:var(--hrg-blog-primary,#4E56C0);font-size:18px;font-weight:500;text-align:center;padding:22px}
.hrg-blog-card-body{display:flex;flex-direction:column;flex:1;padding:22px 22px 20px}
.hrg-blog-card-title{margin:0;min-height:68px;text-align:center;color:#1f2a44;font-size:18px!important;font-weight:500!important;line-height:1.65!important;overflow:hidden}
.hrg-blog-card-title a{color:inherit;text-decoration:none;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hrg-blog-card-title a:hover{color:var(--hrg-blog-primary,#4E56C0)}
.hrg-blog-card-excerpt{margin:16px 0 0;min-height:82px;color:#667085;text-align:center;font-size:14px;font-weight:400;line-height:1.95;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.hrg-blog-card-footer{margin-top:auto;padding-top:18px;border-top:1px solid #eef2f7}
.hrg-blog-empty{margin:38px 40px 44px;padding:34px;border-radius:24px;text-align:center;background:#fff;border:1px solid #e9edf5;color:#667085;font-size:15px;font-weight:400}
.hrg-blog-pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px;padding:0 40px 48px}
.hrg-blog-pagination .page-numbers{min-width:42px;height:42px;border-radius:13px;display:inline-flex;align-items:center;justify-content:center;padding:0 12px;background:#fff;border:1px solid #e9edf5;color:#526174;text-decoration:none;font-size:13px;font-weight:400;transition:.25s ease}
.hrg-blog-pagination .page-numbers:hover{color:var(--hrg-blog-primary,#4E56C0);border-color:color-mix(in srgb,var(--hrg-blog-primary,#4E56C0) 34%, #fff)}
.hrg-blog-pagination .page-numbers.current{background:var(--hrg-blog-primary,#4E56C0);border-color:var(--hrg-blog-primary,#4E56C0);color:#fff}
.hrg-blog-pagination .prev,.hrg-blog-pagination .next{gap:7px;min-width:76px}
.hrg-blog-pagination svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2}
@supports not (background:color-mix(in srgb,#fff 50%,#000)){.hrg-blog-hero{background:linear-gradient(135deg,#fff,#faf7ff)}.hrg-blog-kicker{background:#fff1fb}.hrg-blog-search button:hover{box-shadow:0 8px 18px rgba(78,86,192,.18)}}
@media (max-width:1100px){.hrg-blog-shell{max-width:940px}.hrg-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hrg-latest-posts-track{gap:20px}.hrg-post-slide{flex:0 0 calc((100% - 20px) / 2)}.hrg-home-post-card,.hrg-all-posts-card{height:510px;min-height:510px;max-height:510px}.hrg-home-post-card-image{height:225px;min-height:225px;max-height:225px}.hrg-home-post-card-title{font-size:18px!important;height:60px;max-height:60px}}
@media (max-width:767px){.hrg-blog-page{padding:28px 12px 44px}.hrg-blog-shell{border-radius:24px}.hrg-blog-hero{padding:38px 18px 34px}.hrg-blog-hero h1{font-size:30px}.hrg-blog-hero p{font-size:14px;line-height:2}.hrg-blog-search{height:auto;flex-direction:column-reverse;align-items:stretch;border-radius:18px;padding:9px}.hrg-blog-search button{width:100%}.hrg-blog-cats{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding:18px 14px}.hrg-blog-cats a,.hrg-blog-cats span{white-space:nowrap}.hrg-blog-grid{grid-template-columns:1fr;gap:18px;padding:26px 16px 34px}.hrg-blog-card{min-height:500px;border-radius:22px}.hrg-blog-card-image{height:220px}.hrg-blog-card-title{font-size:17px!important}.hrg-blog-pagination{padding:0 16px 36px}.hrg-latest-posts-track{gap:14px}.hrg-post-slide{flex:0 0 84%}.hrg-home-post-card,.hrg-all-posts-card{height:485px;min-height:485px;max-height:485px;border-radius:20px}.hrg-home-post-card-image{height:205px;min-height:205px;max-height:205px}.hrg-home-post-card-body{padding:18px}.hrg-home-post-card-title{font-size:17px!important;height:58px;max-height:58px}.hrg-home-post-card-excerpt{font-size:14px;height:54px;max-height:54px}.hrg-posts-nav button{width:42px;height:42px}}

/* v1.0.16 - latest products carousel on home page */
.hrg-home-products-slider-section,
.hrg-latest-products-wrap{
    direction:rtl;
    width:100%;
    position:relative;
    background:transparent!important;
}
.hrg-latest-products-viewport{
    width:100%;
    overflow:hidden;
    padding:8px 2px 18px;
    cursor:grab;
    user-select:none;
    touch-action:pan-y;
    background:transparent!important;
}
.hrg-latest-products-viewport.is-dragging{cursor:grabbing}
.woocommerce ul.products.hrg-latest-products-track,
.woocommerce-page ul.products.hrg-latest-products-track,
ul.products.hrg-latest-products-track,
.products.hrg-latest-products-track{
    display:flex!important;
    grid-template-columns:none!important;
    gap:24px!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    list-style:none!important;
    align-items:stretch!important;
    transition:transform .42s ease;
    will-change:transform;
    background:transparent!important;
}
ul.products.hrg-latest-products-track.no-transition,
.products.hrg-latest-products-track.no-transition{transition:none!important}
.woocommerce ul.products.hrg-latest-products-track li.product.hrg-product-card,
.woocommerce-page ul.products.hrg-latest-products-track li.product.hrg-product-card,
ul.products.hrg-latest-products-track li.product.hrg-product-card,
.products.hrg-latest-products-track li.product.hrg-product-card{
    flex:0 0 calc((100% - 72px) / 4)!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
}
.hrg-home-all-products-card{
    background:linear-gradient(135deg,var(--hrg-primary),var(--hrg-secondary))!important;
    border:1px solid rgba(255,255,255,.18)!important;
    overflow:hidden!important;
}
.hrg-home-all-products-card:before{
    content:"";
    position:absolute;
    inset:0;
    background:radial-gradient(circle at 18% 20%,rgba(255,255,255,.22),transparent 30%),radial-gradient(circle at 85% 78%,rgba(255,255,255,.14),transparent 28%),repeating-linear-gradient(135deg,rgba(255,255,255,.05) 0 1px,transparent 1px 18px);
    pointer-events:none;
    z-index:0;
}
.hrg-home-all-products-card:after{display:none!important;content:none!important}
.hrg-home-all-products-link{
    position:relative;
    z-index:1;
    width:100%;
    min-height:inherit;
    display:flex!important;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:14px;
    padding:34px 26px!important;
    color:#fff!important;
    text-align:center;
    text-decoration:none!important;
}
.hrg-home-all-products-icon{
    width:72px;
    height:72px;
    border-radius:24px;
    background:rgba(255,255,255,.16);
    border:1px solid rgba(255,255,255,.22);
    color:#fff;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}
.hrg-home-all-products-icon svg{width:34px;height:34px;stroke:currentColor;fill:none;stroke-width:1.8}
.hrg-home-all-products-card strong{
    color:#fff!important;
    font-size:20px!important;
    line-height:1.7!important;
    font-weight:500!important;
}
.hrg-home-all-products-card p{
    margin:0;
    color:rgba(255,255,255,.80)!important;
    font-size:15px!important;
    line-height:1.9!important;
    font-weight:400!important;
}
.hrg-home-all-products-btn{
    min-height:46px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0 26px;
    border-radius:999px;
    background:#fff;
    color:var(--hrg-primary);
    font-size:15px;
    font-weight:500!important;
}
.hrg-products-nav button:nth-child(1) svg{transform:none}
.hrg-products-nav button:nth-child(2) svg{transform:none}
.hrg-product-error{
    width:100%;
    padding:32px;
    text-align:center;
    background:#fff;
    border:1px solid #e9edf5;
    border-radius:20px;
    color:#64748b;
    font-weight:400!important;
}
@media (max-width:1100px){
    .woocommerce ul.products.hrg-latest-products-track,
    .woocommerce-page ul.products.hrg-latest-products-track,
    ul.products.hrg-latest-products-track,
    .products.hrg-latest-products-track{gap:20px!important}
    .woocommerce ul.products.hrg-latest-products-track li.product.hrg-product-card,
    .woocommerce-page ul.products.hrg-latest-products-track li.product.hrg-product-card,
    ul.products.hrg-latest-products-track li.product.hrg-product-card,
    .products.hrg-latest-products-track li.product.hrg-product-card{flex:0 0 calc((100% - 20px) / 2)!important}
}
@media (max-width:767px){
    .woocommerce ul.products.hrg-latest-products-track,
    .woocommerce-page ul.products.hrg-latest-products-track,
    ul.products.hrg-latest-products-track,
    .products.hrg-latest-products-track{gap:14px!important}
    .woocommerce ul.products.hrg-latest-products-track li.product.hrg-product-card,
    .woocommerce-page ul.products.hrg-latest-products-track li.product.hrg-product-card,
    ul.products.hrg-latest-products-track li.product.hrg-product-card,
    .products.hrg-latest-products-track li.product.hrg-product-card{flex:0 0 84%!important}
}

/* Herfehgostar no-title page template */
.hrg-page-no-title-section .hrg-page-no-title{
    margin:0;
}
.hrg-page-no-title-section .hrg-page-no-title .hrg-entry{
    margin-top:0;
}
