﻿@font-face {
    font-family: 'BNazanin';
    src: url('/fonts/BNazanin.woff2') format('woff2'), url('/fonts/BNazanin.woff') format('woff'), url('/fonts/BNazanin.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


/* ===== DK Mega Menu (FINAL) ===== */
.dk-mega, .dk-mega * {
    box-sizing: border-box;
}

.dk-wrap {
    position: relative;
}

/* بسته/باز شدن با کلاس dk-open */
.dk-mega {
    position: absolute; /* برای اینکه به trigger بچسبد و نپرد */
    top: 100%;
    margin-top: -2px; /* overlap برای حذف شکاف */
    z-index: 9999999;
    /* چسبیدن به لبه راست صفحه */
    right: 10px;
    width: min(1200px, 95vw);
    height: min(560px, calc(100vh - 120px));
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 22px 60px rgba(0,0,0,0.20);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    pointer-events: none;
    transition: .18s ease;
    font-size: 13px;
}

/* اگر منوی شما داخل container وسط‌چین است و به لبه راست نمی‌چسبد،
   این rule منو را به راست صفحه می‌کشد (Pixel-perfect) */
.dk-wrap .dk-mega {
    /* فاصله کانتینر از راست صفحه را خنثی کن */
    margin-right: 0;
}

/* باز شدن */
.dk-wrap.dk-open .dk-mega {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* پل نامرئی برای جلوگیری از پرش هنگام رفتن موس به داخل منو */
.dk-wrap::after {
    content: "";
    position: absolute;
    right: 0;
    top: 100%;
    width: 100%;
    height: 12px;
    background: transparent;
}

/* ===== Layout Fix (Right/Left stable) ===== */
.dk-mega-inner {
    height: 100%;
    display: flex;
    flex-direction: row;
    direction: ltr; /* layout پایدار */
    gap: 14px;
    padding: 14px;
}

/* راست: والدها */
.dk-parents {
    order: 2; /* همیشه راست */
    direction: rtl;
    flex: 0 0 290px;
    width: 290px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 10px;
    overflow-y: auto;
}

/* چپ: پنل */
.dk-panel {
    order: 1; /* همیشه چپ */
    direction: rtl;
    flex: 1 1 auto;
    min-width: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px;
    overflow-y: auto;
}

/* لینک همه دسته‌بندی‌ها */
.dk-allcats {
    display: block;
    padding: 10px 12px;
    margin-bottom: 6px;
    border-radius: 10px;
    font-weight: 800;
    color: #111827;
    text-decoration: none;
}

    .dk-allcats:hover {
        background: rgba(34,197,94,0.12);
        color: #16a34a;
    }

/* آیتم والد */
.dk-parent-item {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    user-select: none;
    color: #111827;
    background: transparent;
    border: 0;
    font: inherit;
    text-align: right;
    text-decoration: none;
}

    .dk-parent-item:hover,
    .dk-parent-item.is-active {
        background: rgba(34,197,94,0.12);
        color: #16a34a;
    }

.dk-parent-link {
    cursor: pointer;
}

.dk-mega.dk-mega-simple,
.dk-mega.dk-leaf-mode {
    width: min(360px, 92vw);
    height: auto;
}

.dk-mega-simple .dk-mega-inner,
.dk-leaf-mode .dk-mega-inner {
    height: auto;
    min-height: 0;
}

.dk-mega-simple .dk-parents,
.dk-leaf-mode .dk-parents {
    width: 100%;
    flex-basis: 100%;
    max-height: min(520px, calc(100vh - 140px));
}

.dk-leaf-mode .dk-panel {
    display: none;
}

/* پنل‌ها */
.dk-panel-section {
    display: none;
}

    .dk-panel-section.is-active {
        display: block;
    }

/* عنوان پنل */
.dk-panel-title {
    display: block;
    font-weight: 800;
    margin: 4px 0 12px;
    color: #111827;
    text-decoration: none;
}

    .dk-panel-title:hover {
        color: #16a34a;
    }

/* شبکه زیر دسته‌ها */
.dk-children-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 10px;
}

/* لینک زیر دسته */
.dk-child-link {
    display: block;
    padding: 8px 10px;
    border-radius: 10px;
    background: #f9fafb;
    border: 1px solid #eef2f7;
    color: #374151;
    text-decoration: none;
    line-height: 1.6;
    transition: .12s ease;
}

    .dk-child-link:hover {
        background: rgba(34,197,94,0.10);
        border-color: rgba(34,197,94,0.25);
        color: #16a34a;
    }

/* اسکرول بار */
.dk-parents::-webkit-scrollbar,
.dk-panel::-webkit-scrollbar {
    width: 8px;
}

.dk-parents::-webkit-scrollbar-thumb,
.dk-panel::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 10px;
}

/* Responsive */
@media (max-width:1024px) {
    .dk-children-grid {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }

    .dk-parents {
        flex-basis: 260px;
        width: 260px;
    }
}

@media (max-width:768px) {
    .dk-mega-inner {
        flex-direction: column;
        direction: rtl;
    }

    .dk-parents {
        order: 1;
        width: 100%;
        flex-basis: auto;
        max-height: 220px;
    }

    .dk-panel {
        order: 2;
        max-height: 360px;
    }

    .dk-children-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    /* در موبایل دیگه margin-right لازم نیست */
    .dk-wrap .dk-mega {
        margin-right: 0;
        width: 95vw;
    }
}

/* Cart and checkout: shared storefront styles. */
.checkout-page{--checkout-accent:#15803d;--checkout-line:#e4e9e7;--checkout-muted:#68756f;padding-block:28px 64px;color:#22332b}.checkout-page *{box-sizing:border-box}.checkout-page .hidden{display:none!important}.checkout-page-heading{margin:28px 0 24px}.checkout-page-heading h1{font-size:26px;font-weight:700;margin-bottom:8px}.checkout-page-heading p,.checkout-muted{font-size:13px;color:var(--checkout-muted);line-height:1.9}.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:24px;align-items:start}.checkout-panel{background:#fff;border:1px solid var(--checkout-line);border-radius:16px;padding:24px;box-shadow:0 3px 12px #163a2410;min-width:0}.checkout-panel-heading{display:flex;align-items:center;gap:10px;margin-bottom:18px}.checkout-panel-heading h2{font-size:17px;font-weight:700;margin:0}.checkout-step-number{display:grid;place-items:center;flex-shrink:0;width:30px;height:30px;background:#edf8f0;color:var(--checkout-accent);border-radius:10px;font-weight:700}.checkout-text-button{margin-inline-start:auto;border:0;background:transparent;color:var(--checkout-accent);font-size:13px;cursor:pointer;padding:8px}.checkout-address-cards{display:grid;gap:12px;margin-top:18px}.checkout-address-card{position:relative;border:1px solid var(--checkout-line);border-radius:12px;padding:18px;transition:border-color .15s,background .15s}.checkout-address-card.selected{border-color:var(--checkout-accent);background:#f5fbf7}.checkout-address-choice{display:flex;align-items:flex-start;gap:12px;cursor:pointer}.checkout-address-choice input{width:18px;height:18px;margin-top:4px;accent-color:var(--checkout-accent);flex-shrink:0}.checkout-address-copy{display:grid;gap:8px;min-width:0;line-height:1.8;overflow-wrap:anywhere;padding-inline-end:52px}.checkout-address-copy strong{font-size:14px}.checkout-address-copy span{font-size:13px}.checkout-address-copy small{color:var(--checkout-muted);font-size:12px}.checkout-address-edit{position:absolute;inset-inline-end:14px;top:15px;border:0;background:transparent;color:var(--checkout-accent);font-size:12px;padding:8px;cursor:pointer}.checkout-address-editor{margin-top:22px;border-top:1px solid var(--checkout-line);padding-top:22px}.checkout-address-editor h3{font-size:16px;font-weight:700}.checkout-required{margin:8px 0 20px}.checkout-address-form{width:100%;min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.checkout-field{display:flex;flex-direction:column;gap:7px;min-width:0}.checkout-field-wide,.checkout-form-actions{grid-column:1/-1}.checkout-field label{font-size:13px;margin:0}.checkout-page .tailwind-input{width:100%;min-height:46px;border:1px solid #d5ded9;border-radius:9px;padding:10px 12px;background:#fff;color:#22332b;font:inherit;font-size:14px;outline:none}.checkout-page .tailwind-input:focus{border-color:var(--checkout-accent);box-shadow:0 0 0 3px #15803d14}.checkout-page textarea.tailwind-input{min-height:84px;resize:vertical}.checkout-page .address-field-error{border-color:#dc2626!important}.checkout-form-actions{display:flex;gap:12px;align-items:center;padding-top:6px}.checkout-primary,.checkout-secondary{border-radius:10px;padding:13px 20px;font:inherit;font-size:14px;font-weight:600;cursor:pointer;border:1px solid transparent;line-height:1.6}.checkout-primary{background:var(--checkout-accent);color:#fff}.checkout-primary:hover{background:#116b33}.checkout-secondary{background:#fff;border-color:var(--checkout-line);color:#53645a}.checkout-page button:focus-visible,.checkout-page summary:focus-visible{outline:3px solid #86c99b;outline-offset:3px}.checkout-page button:disabled{opacity:.55;cursor:wait}.checkout-sidebar{position:sticky;top:120px;min-width:0}.checkout-sidebar-content{display:grid;gap:18px}.checkout-delivery-options{display:grid;gap:9px}.checkout-page .delivery-btn{display:flex;align-items:center;text-align:start;gap:9px;border:1px solid var(--checkout-line);border-radius:10px;background:#fff;color:#45574c;padding:12px;font:inherit;font-size:12px;width:100%;cursor:pointer;line-height:1.8}.checkout-page .delivery-btn.active{background:#f0f9f3;border-color:var(--checkout-accent);color:#166534}.checkout-delivery-indicator{width:15px;height:15px;border:1px solid #b5c3ba;border-radius:50%;flex-shrink:0}.active .checkout-delivery-indicator{border:4px solid var(--checkout-accent)}.delivery-btn strong{margin-inline-start:auto;white-space:nowrap;font-size:12px}.checkout-page small{font-weight:400}.checkout-shipping-notice{margin-top:16px;color:var(--checkout-muted);font-size:12px;line-height:1.9}.checkout-shipping-notice summary{cursor:pointer;color:#54695b}.checkout-shipping-notice p{margin-top:10px}.checkout-notice{font-size:12px;line-height:1.9;background:#fff8e8;color:#825e1a;border-radius:8px;padding:10px;margin-top:12px}.checkout-price-list{display:grid;gap:17px;font-size:13px;margin:22px 0}.checkout-price-list>div{display:flex;justify-content:space-between;align-items:center;gap:12px}.checkout-price-list dt{color:var(--checkout-muted)}.checkout-price-list dd{margin:0;white-space:nowrap;font-weight:600}.checkout-discount dd{color:var(--checkout-accent)}.checkout-price-list .checkout-payable{border-top:1px solid var(--checkout-line);padding-top:20px}.checkout-payable dd{font-size:18px;color:var(--checkout-accent)}.checkout-payable small{font-size:11px}.checkout-gateway{display:flex;align-items:center;justify-content:space-between;color:var(--checkout-muted);font-size:12px;margin:16px 0}.checkout-gateway img{object-fit:contain}.checkout-pay-button{width:100%}.checkout-payment-hint{font-size:12px;color:#b45309;line-height:1.8;margin-top:10px}
@media(min-width:1200px){.checkout-layout{grid-template-columns:minmax(0,1fr) 390px}}
@media(max-width:900px){.checkout-layout{grid-template-columns:minmax(0,1fr)}.checkout-sidebar{position:static}.checkout-panel{padding:20px}.checkout-sidebar-content{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}}
@media(max-width:600px){.checkout-page{padding-block:20px 36px}.checkout-page-heading{margin:20px 0}.checkout-page-heading h1{font-size:22px}.checkout-layout{gap:16px}.checkout-panel{padding:18px;border-radius:12px}.checkout-sidebar-content{grid-template-columns:1fr;gap:16px}.checkout-panel-heading{flex-wrap:wrap;gap:8px}.checkout-panel-heading h2{font-size:16px}.checkout-text-button{font-size:12px}.checkout-address-form{grid-template-columns:1fr;gap:16px}.checkout-address-card{padding:14px}.checkout-address-copy{padding-inline-end:38px}.checkout-address-edit{inset-inline-end:8px;top:11px}.checkout-form-actions{flex-wrap:wrap}.checkout-primary{flex:1}.checkout-price-list .checkout-payable{align-items:flex-start}.checkout-payable dd{font-size:17px}}
.dark .checkout-page{color:#e4ebe7;--checkout-line:#46564c;--checkout-muted:#b4c3b9;--checkout-accent:#258d4c}.dark .checkout-panel,.dark .checkout-page .tailwind-input,.dark .checkout-secondary,.dark .checkout-page .delivery-btn{background:#28372f;color:#e4ebe7}.dark .checkout-address-card.selected,.dark .checkout-page .delivery-btn.active{background:#203e2a;color:#c1e9ce}.dark .checkout-step-number{background:#254b32;color:#9be0b2}.dark .checkout-shipping-notice summary{color:#b4c3b9}

.checkout-address-cards:empty{display:none}.checkout-address-cards:empty~.checkout-address-editor{margin-top:20px;padding-top:0;border-top:0}


.cart-breadcrumb{display:flex;align-items:center;gap:12px;font-size:12px;color:var(--checkout-muted)}.cart-breadcrumb a:hover{color:var(--checkout-accent)}.cart-page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.cart-page-heading h1{margin:0}.cart-continue{color:var(--checkout-accent);font-size:13px;display:flex;align-items:center;gap:10px}.cart-items-panel{padding-bottom:8px}.cart-items-heading{justify-content:space-between;padding-bottom:18px;border-bottom:1px solid var(--checkout-line);margin:0}.cart-count{background:#f1f5f2;color:#64756b;border-radius:20px;padding:5px 12px;font-size:12px;white-space:nowrap}.cart-item{display:grid;grid-template-columns:116px minmax(0,1fr);gap:18px;padding:24px 0;border-bottom:1px solid var(--checkout-line);align-items:start}.cart-item:last-child{border-bottom:0}.cart-item-image{display:grid;place-items:center;background:#fafcfb;border:1px solid #f0f3f1;border-radius:12px;overflow:hidden;padding:8px;aspect-ratio:1}.cart-item-image img{width:100%;height:100%;max-height:116px;object-fit:contain;mix-blend-mode:multiply}.cart-item-info{min-width:0}.cart-item-info h3{font-size:14px;line-height:1.9;font-weight:600;margin:0 0 8px;overflow-wrap:anywhere}.cart-item-info h3 a:hover{color:var(--checkout-accent)}.cart-item-category,.cart-item-variant,.cart-quantity-rule{font-size:12px;color:var(--checkout-muted);line-height:1.9;margin:6px 0}.cart-item-variant{display:inline-block;background:#f2f5f3;padding:3px 9px;border-radius:6px;color:#51665a}.cart-quantity-rule{color:#8a682b}.cart-item-actions{display:flex;align-items:center;gap:18px;margin-top:18px;flex-wrap:wrap}.cart-quantity-control{display:flex;align-items:center;border:1px solid #d5e0d9;border-radius:9px;overflow:hidden;direction:rtl;height:40px;background:#fff}.cart-quantity-control button{border:0;background:transparent;color:var(--checkout-accent);width:36px;height:38px;display:grid;place-items:center;font-size:21px;cursor:pointer}.cart-quantity-control button:hover:not(:disabled){background:#edf8f0}.cart-quantity-control button:disabled{opacity:.3;cursor:default}.cart-page .cart-quantity{width:45px;min-width:0;height:36px;border:0;border-inline:1px solid #edf1ee;background:transparent;text-align:center;padding:0 3px;color:#263c2e;font:inherit;font-size:14px;direction:ltr;appearance:textfield;-moz-appearance:textfield}.cart-quantity::-webkit-inner-spin-button,.cart-quantity::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.cart-page .cart-quantity:focus-visible{outline:2px solid #15803d;outline-offset:-2px}.cart-remove{border:0;background:transparent;color:#7a8780;font:inherit;font-size:12px;cursor:pointer;display:flex;align-items:center;gap:5px;padding:8px 0}.cart-remove:hover{color:#dc2626}.cart-item-pricing{grid-column:2;display:flex;align-items:center;gap:8px 14px;flex-wrap:wrap;min-width:0}.cart-item-pricing strong{font-size:17px;font-weight:700;color:#254d34;white-space:nowrap}.cart-item-pricing strong small{font-size:11px;color:var(--checkout-muted)}.cart-item-pricing del{font-size:12px;color:#9aa69f;text-decoration:line-through}.cart-unit-price{font-size:11px;line-height:1.9;color:var(--checkout-muted);width:100%}.cart-unit-price{order:2}.cart-details{order:1;font-size:12px;color:var(--checkout-accent);margin-inline-start:auto;display:flex;align-items:center;gap:8px}.cart-summary-panel .checkout-panel-heading{padding-bottom:18px;border-bottom:1px solid var(--checkout-line)}.cart-summary-panel .checkout-price-list{margin:24px 0 14px}.cart-summary-panel .checkout-price-list>div{flex-wrap:wrap}.cart-summary-panel .checkout-payable dd{margin-inline-start:auto}.cart-shipping-hint{font-size:12px;line-height:1.9;color:var(--checkout-muted);margin:0 0 20px}.cart-discount{border-top:1px solid var(--checkout-line);padding-block:16px;margin-bottom:6px;font-size:13px}.cart-discount summary{display:flex;justify-content:space-between;align-items:center;gap:12px;cursor:pointer;color:#52675a;list-style:none;padding:4px 0}.cart-discount summary::-webkit-details-marker{display:none}.cart-discount summary span{font-size:20px;transition:transform .15s}.cart-discount[open] summary span{transform:rotate(45deg)}.cart-discount form{margin-top:14px}.cart-discount label{display:block;font-size:12px;color:var(--checkout-muted);margin-bottom:8px}.cart-discount-input{display:flex;gap:8px}.cart-discount-input input{width:100%;min-width:0;height:44px;border:1px solid #d5ded9;border-radius:8px;padding:8px 12px;background:transparent;font:inherit;font-size:13px;outline:none}.cart-discount-input input:focus{border-color:var(--checkout-accent);box-shadow:0 0 0 3px #15803d14}.cart-discount-input button{height:44px;padding:8px 15px;border:1px solid #cfe4d5;border-radius:8px;background:#f0f8f2;color:var(--checkout-accent);font:inherit;font-size:13px;cursor:pointer}.cart-checkout-link{display:flex;justify-content:center;align-items:center;gap:12px;width:100%;text-align:center}.cart-empty{grid-column:1/-1;min-height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:16px;padding:40px 20px}.cart-empty-icon{display:grid;place-items:center;width:92px;height:92px;border-radius:50%;background:#edf8f0;color:var(--checkout-accent)}.cart-empty h2{font-size:21px;font-weight:700}.cart-empty p{font-size:13px;color:var(--checkout-muted);line-height:1.9}.cart-empty .checkout-primary{margin-top:8px;min-width:190px}
@media(min-width:1200px){.cart-item{grid-template-columns:132px minmax(0,1fr);gap:18px 24px}.cart-item-image{grid-row:1/3}.cart-item-image img{max-height:132px}.cart-item-pricing{margin-top:0}}
@media(max-width:600px){.cart-page-heading{align-items:flex-start}.cart-continue{font-size:11px;padding-top:5px}.cart-page-heading h1{font-size:21px}.cart-item{grid-template-columns:80px minmax(0,1fr);gap:12px;padding:20px 0}.cart-item-image{padding:5px;border-radius:9px}.cart-item-info h3{font-size:13px;line-height:1.9}.cart-item-actions{gap:12px;margin-top:14px}.cart-item-pricing{grid-column:1/-1;margin-top:2px;padding-top:10px;border-top:1px dashed var(--checkout-line)}.cart-item-pricing strong{font-size:16px}.cart-item-pricing .cart-details{order:2}.cart-unit-price{order:3}.cart-count{padding:4px 10px}.cart-empty .checkout-primary{flex:0}.cart-empty h2{font-size:19px}}
.dark .cart-count,.dark .cart-item-variant{background:#354a3c;color:#c1d6c8}.dark .cart-item-image{background:#fff;border-color:#fff}.dark .cart-item-pricing strong{color:#b4e8c4}.dark .cart-quantity-control{background:#28372f;border-color:#52665a}.dark .cart-page .cart-quantity{color:#e4ebe7;border-color:#46564c}.dark .cart-discount summary{color:#b4c3b9}.dark .cart-discount-input button{background:#254b32;border-color:#46564c;color:#b4e8c4}.dark .cart-empty-icon{background:#254b32;color:#9be0b2}


/* Cart and checkout layout; selectors are limited to purchase-content. */
main.purchase-content {
    padding-top: 128px;
    padding-bottom: 36px;
}
.purchase-content > .checkout-page {
    --checkout-accent: var(--purchase-brand, #15803d);
    --purchase-soft: var(--purchase-brand-soft, #f0f9f3);
    margin: 0;
    padding: 0;
    width: 100%;
    min-width: 0;
}
.purchase-content .checkout-page-heading { margin: 14px 0 16px; }
.purchase-content .checkout-page-heading h1 { font-size: 23px; margin: 0; line-height: 1.6; }
.purchase-content .checkout-page-heading p { margin: 4px 0 0; }
.purchase-content .checkout-layout { gap: 18px; margin-top: 0; }
.purchase-content .checkout-panel { padding: 18px; border-radius: 12px; }
.purchase-content .checkout-panel-heading { margin-bottom: 12px; }
.purchase-content .checkout-panel-heading h2 { font-size: 16px; }
.purchase-content .checkout-step-number { width: 27px; height: 27px; border-radius: 8px; background: var(--purchase-soft); }
.purchase-content .checkout-address-cards { margin-top: 12px; gap: 10px; }
.purchase-content .checkout-address-card { padding: 14px; }
.purchase-content .checkout-address-editor { margin-top: 14px; padding-top: 14px; }
.purchase-content .checkout-address-cards:empty ~ .checkout-address-editor { margin-top: 12px; padding-top: 0; }
.purchase-content .checkout-required { margin: 5px 0 12px; font-size: 12px; }
.purchase-content #kt_formAddress.checkout-address-form { gap: 12px 16px; align-items: start; }
.purchase-content #kt_formAddress > .checkout-field { grid-column: auto; gap: 5px; margin: 0; padding: 0; }
.purchase-content #kt_formAddress > .checkout-field-wide,
.purchase-content #kt_formAddress > .checkout-form-actions { grid-column: 1 / -1; }
.purchase-content #kt_formAddress .checkout-field label { margin: 0; font-size: 12px; line-height: 1.7; }
.purchase-content #kt_formAddress .tailwind-input {
    height: 42px;
    min-height: 42px;
    margin: 0;
    padding: 8px 10px;
    font-size: 13px;
    line-height: 1.7;
    box-shadow: none;
}
.purchase-content #kt_formAddress textarea.tailwind-input { height: 70px; min-height: 70px; }
.purchase-content #kt_formAddress .tailwind-input:focus { padding: 8px 10px; border-color: var(--checkout-accent); }
.purchase-content .checkout-primary { padding: 11px 16px; }
.purchase-content .checkout-primary:hover { background: var(--purchase-brand-hover, #116b33); }
.purchase-content .checkout-address-card.selected,
.purchase-content .delivery-btn.active { background: var(--purchase-soft); color: var(--checkout-accent); }
.purchase-content .checkout-sidebar { top: 128px; }
.purchase-content .checkout-sidebar-content { gap: 14px; }
.purchase-content .checkout-delivery-options { gap: 7px; }
.purchase-content .delivery-btn { padding: 9px 10px; min-height: 42px; }
.purchase-content .checkout-shipping-notice { margin-top: 10px; }
.purchase-content .checkout-price-list { gap: 12px; margin: 16px 0; }
.purchase-content .checkout-price-list .checkout-payable { padding-top: 14px; }
.purchase-content .checkout-gateway { margin: 12px 0; }

/* More specific than the old theme rules targeting rowBagItem and quantity IDs. */
.purchase-content #shoppingCart.cart-layout { gap: 18px; }
.purchase-content #shoppingCart .cart-items-panel { padding-bottom: 4px; }
.purchase-content #shoppingCart .cart-items-heading { margin: 0; padding-bottom: 12px; }
.purchase-content #shoppingCart .cart-item { padding-block: 16px; gap: 12px 16px; }
.purchase-content #shoppingCart .cart-item-image { padding: 6px; }
.purchase-content #shoppingCart .cart-item-image img { width: 100%; height: 100%; max-height: 100%; margin: 0; }
.purchase-content #shoppingCart .cart-item-info { width: auto; gap: 0; }
.purchase-content #shoppingCart .cart-item-info h3 { margin-bottom: 4px; font-size: 13px; }
.purchase-content #shoppingCart .cart-item-category,
.purchase-content #shoppingCart .cart-item-variant,
.purchase-content #shoppingCart .cart-quantity-rule { margin: 4px 0; }
.purchase-content #shoppingCart .cart-item-actions { gap: 14px; margin-top: 10px; }
.purchase-content #shoppingCart .cart-quantity-control { height: 36px; }
.purchase-content #shoppingCart .cart-quantity-control button { box-sizing: border-box; padding: 0; width: 32px; height: 34px; }
.purchase-content #shoppingCart .cart-quantity { width: 40px; height: 34px; margin: 0; padding: 0 3px; }
.purchase-content #shoppingCart .cart-remove { box-sizing: border-box; padding: 5px 0; }
.purchase-content #shoppingCart #paymentDetailDiv.cart-summary { width: auto; margin: 0; padding: 0; border: 0; background: transparent !important; }
.purchase-content .cart-summary-panel .checkout-panel-heading { padding-bottom: 12px; margin: 0; }
.purchase-content .cart-summary-panel .checkout-price-list { margin: 16px 0 10px; }
.purchase-content .cart-shipping-hint { margin-bottom: 12px; }
.purchase-content .cart-discount { padding-block: 10px; }
.purchase-content .cart-item-variant { background: var(--purchase-soft); }

@media (min-width: 1100px) {
    .purchase-content #shoppingCart .cart-item { grid-template-columns: 96px minmax(0, 1fr) 170px; align-items: center; }
    .purchase-content #shoppingCart .cart-item-image { grid-row: 1; }
    .purchase-content #shoppingCart .cart-item-pricing { grid-column: 3; grid-row: 1; flex-direction: column; align-items: flex-end; gap: 6px; }
    .purchase-content #shoppingCart .cart-unit-price { text-align: end; }
    .purchase-content #shoppingCart .cart-details { order: 3; margin-top: 4px; }
}
@media (max-width: 900px) {
    .purchase-content .checkout-sidebar { position: static; }
    .purchase-content #shoppingCart .cart-item-image { grid-row: auto; }
}
@media (max-width: 767px) {
    main.purchase-content { padding-top: 80px; padding-bottom: 24px; }
}
@media (max-width: 600px) {
    .purchase-content .checkout-page-heading { margin: 10px 0 12px; }
    .purchase-content .checkout-page-heading h1 { font-size: 20px; }
    .purchase-content .checkout-panel { padding: 14px; }
    .purchase-content .checkout-layout,
    .purchase-content #shoppingCart.cart-layout { gap: 12px; }
    .purchase-content #kt_formAddress.checkout-address-form { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .purchase-content #shoppingCart .cart-item { grid-template-columns: 72px minmax(0, 1fr); padding-block: 14px; gap: 10px; }
    .purchase-content #shoppingCart .cart-item-pricing { grid-column: 1 / -1; }
}
.dark .purchase-content > .checkout-page { --purchase-soft: #253e32; }

/* Public pages and customer forms share the outer checkout container gutters.
   Nested containers must not add another breakpoint width or horizontal inset. */
.storefront-content :is(main.container, section.container, div.container),
body.font-Dana > main.container :is(main.container, section.container, div.container) {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    padding-inline: 0;
    box-sizing: border-box;
}

/* Keep item totals consistent with the storefront action color. */
.purchase-content #shoppingCart .cart-item-pricing strong { color: var(--checkout-accent); }

/* Catalog search, product buying controls and customer order tracking. */
.catalog-search-form{position:relative}.catalog-suggestions{position:absolute;inset-inline:0;top:100%;margin-top:5px;max-height:320px;overflow:auto;list-style:none;padding:6px;border:1px solid #dce3e0;border-radius:10px;background:white;color:#24372c;box-shadow:0 10px 24px #172b201a;z-index:110;min-width:240px}.catalog-suggestions[hidden]{display:none}.catalog-suggestions a{display:block;padding:11px 12px;font-size:13px;line-height:1.9;border-radius:6px}.catalog-suggestions a:hover,.catalog-suggestions a:focus-visible{background:var(--purchase-brand-soft,#edf8f0);outline:2px solid var(--purchase-brand,#15803d)}
.catalog-filter-toggle{display:none}.catalog-price-filter{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%;margin-block:14px}.catalog-price-filter label{font-size:12px;grid-column:1/-1}.catalog-price-filter input{grid-column:1/-1;border:1px solid #d3ddd7;border-radius:8px;min-width:0;width:100%;padding:9px;background:transparent}.catalog-price-filter button{padding:9px 16px;border-radius:8px;background:var(--purchase-brand,#15803d);color:white}.catalog-price-filter [role=alert]{grid-column:1/-1;font-size:12px;color:#b91c1c}
.product-detail-page .product-purchase{scroll-margin-top:130px;top:120px}.product-purchase-facts{display:grid;gap:10px;font-size:13px}.product-purchase-facts>div{display:flex;justify-content:space-between;gap:12px}.product-purchase-facts dt{color:#69796f}.product-purchase-facts dd{margin:0}.product-purchase-help{font-size:12px;line-height:1.9;color:#65756b}.product-quantity-control{display:flex;align-items:center;justify-content:space-between;border:1px solid #d3ddd7;border-radius:9px;min-height:44px}.product-quantity-control button{padding:8px 16px;font-size:20px;color:var(--purchase-brand,#15803d)}.product-quantity-control input{width:65px;min-width:0;text-align:center;background:transparent;direction:ltr;appearance:textfield}.product-quantity-control input::-webkit-inner-spin-button{appearance:none}.product-mobile-purchase{display:none}.product-image-dialog{margin:auto;padding:16px;max-width:94vw;width:900px;max-height:92vh;border:0;border-radius:14px;background:white}.product-image-dialog::backdrop{background:#000b}.product-image-dialog img{width:100%;max-height:80vh;object-fit:contain}.product-image-close{display:block;margin-inline-start:auto;padding:4px 12px;font-size:27px}.porduct-details-slider img[role=button]{cursor:zoom-in}
.customer-orders{min-width:0;width:100%}.customer-orders h1{font-size:23px;margin-bottom:16px}.customer-orders>label{display:block;font-size:13px;margin-bottom:7px}.customer-orders>input{width:100%;max-width:460px;padding:12px;border:1px solid #d3ddd7;border-radius:9px;background:white;color:#203629;margin-bottom:18px}.customer-order{border:1px solid #dde5e0;background:white;color:#23372b;padding:20px;border-radius:12px;margin-bottom:16px}.customer-order[hidden]{display:none}.customer-order-heading{display:flex;flex-wrap:wrap;gap:12px;align-items:center;font-size:13px}.customer-order-heading h2{font-size:16px;font-weight:600}.customer-order-heading strong{margin-inline-start:auto;color:var(--purchase-brand,#15803d)}.customer-order-heading .order-cancelled{color:#b91c1c}.order-notice{margin:16px 0;padding:12px;background:#fff8e9;color:#8c6419;border-radius:8px;font-size:13px}.order-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;list-style:none;margin:24px 0;padding:0}.order-progress li{display:flex;align-items:center;gap:7px;font-size:12px;color:#7c887f;border-bottom:3px solid #e6ece8;padding-bottom:12px}.order-progress li>span{display:grid;place-items:center;min-width:24px;height:24px;border-radius:50%;background:#edf1ee}.order-progress li.is-complete{color:var(--purchase-brand,#15803d);border-color:var(--purchase-brand,#15803d)}.customer-order-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;font-size:13px}.customer-order-facts>div{display:flex;gap:8px;flex-wrap:wrap}.customer-order-facts dt{color:#77867b}.customer-order-facts dd{margin:0;overflow-wrap:anywhere}.customer-order-details{margin-top:18px;border-top:1px solid #e2e8e4;padding-top:14px}.customer-order-details summary{cursor:pointer;color:var(--purchase-brand,#15803d);font-size:13px}.customer-order-address{padding-block:14px;font-size:13px;line-height:1.9}.customer-order-address span{margin-inline:12px}.customer-order-details ul{list-style:none;padding:0}.customer-order-details li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;padding:12px 0;font-size:13px;border-top:1px solid #edf1ee}
@media(max-width:1023px){.catalog-filter-toggle{display:block;padding:12px;border:1px solid #d6e0d9;background:white;border-radius:9px;color:var(--purchase-brand,#15803d)}.catalog-page #catalogFilters:not(.is-open){display:none}.catalog-page #catalogFilters{width:100%;position:static}.product-mobile-purchase{display:block;position:fixed;bottom:14px;left:50%;right:auto;transform:translateX(-50%);z-index:35;padding:12px 24px;min-height:46px;background:var(--purchase-brand,#15803d);color:white;border-radius:12px;box-shadow:0 3px 14px #0003;white-space:nowrap}.product-detail-page{padding-bottom:80px}.product-detail-page .product-purchase{position:static;width:100%}.product-detail-page .porduct-details-slider .swiper-slide img{height:300px}}
@media(max-width:600px){.customer-order{padding:14px}.customer-order-facts{grid-template-columns:1fr}.order-progress{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.catalog-suggestions{min-width:0}.product-detail-page .porduct-details-slider .swiper-slide img{height:260px}}
.dark .catalog-suggestions,.dark .customer-order,.dark .customer-orders>input,.dark .catalog-filter-toggle{background:#28372f;color:#e3ebe6;border-color:#485b4e}.dark .product-purchase-help,.dark .product-purchase-facts dt,.dark .customer-order-facts dt{color:#b5c5bb}.dark .product-image-dialog{background:#28372f;color:white}

.catalog-suggestion-empty{padding:12px;font-size:12px;color:#6b786f;line-height:1.9}
/* Editorial category cards: consistent photography, clear labels and a compact first row. */
.home-categories{margin-block:28px}.home-categories-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.home-categories-heading h2{font-size:23px;font-weight:600;line-height:1.6}.home-categories-heading>a{font-size:13px;color:var(--purchase-brand,#15803d);white-space:nowrap}.home-category-grid{display:grid;grid-template-columns:repeat(var(--home-category-columns,6),minmax(0,1fr));gap:16px}.home-category-item{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid #e1e7e3;border-radius:14px;overflow:hidden;text-align:start;color:#293a30;transition:border-color .15s,box-shadow .15s;text-decoration:none}.home-category-image{display:block;width:100%;aspect-ratio:4/3;background:#f6f7f6;overflow:hidden;padding:0}.home-category-image img{display:block;width:100%;height:100%;object-fit:cover}.home-category-item>span:last-child{display:flex;align-items:center;min-height:56px;padding:12px 14px;font-size:14px;font-weight:600;line-height:1.8;overflow-wrap:anywhere}.home-category-item:hover{border-color:var(--purchase-brand,#15803d);box-shadow:0 4px 14px #223a2910}.home-category-item:focus-visible{outline:2px solid var(--purchase-brand,#15803d);outline-offset:3px}
@media(max-width:1099px){.home-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.home-categories-heading h2{font-size:21px}}
@media(max-width:600px){.home-categories{margin-block:20px}.home-category-grid{gap:10px}.home-category-item{border-radius:10px}.home-category-image{aspect-ratio:1}.home-category-item>span:last-child{min-height:52px;padding:8px;font-size:12px}.home-categories-heading{margin-bottom:14px;gap:10px}.home-categories-heading h2{font-size:18px}.home-categories-heading>a{font-size:11px}}
.dark .home-category-item{background:#28372f;border-color:#485b4e;color:#e2ebe5}.dark .home-category-image{background:#233329}

/* Search lives inside the fixed storefront header on desktop and mobile. */
.storefront-header>.storefront-desktop-nav{padding-block:12px}.storefront-header .storefront-header-inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,720px) auto;grid-template-areas:"brand search actions";align-items:center;gap:10px 24px}.storefront-header-brand{grid-area:brand;min-width:0}.storefront-header-brand h2{font-size:clamp(17px,1.4vw,25px);line-height:1.6;overflow-wrap:anywhere}.storefront-header-brand img{flex-shrink:0}.storefront-header-actions{grid-area:actions;white-space:nowrap}.storefront-header-inner>ul{grid-area:menu;margin:0!important;justify-content:center;gap:28px;padding-block:4px}.storefront-header-search{grid-area:search;display:flex;align-items:center;gap:9px;min-width:0;position:relative;padding:2px 12px;border:1px solid #d5dfd9;border-radius:10px;background:#f5f7f6;color:#53675b}.storefront-header-search>svg{flex-shrink:0}.storefront-header-search input{width:100%;min-width:0;height:32px;border:0!important;box-shadow:none!important;padding:4px!important;outline:none;background:transparent!important;color:#223a2a;font:inherit;font-size:12px}.storefront-header-search:focus-within{border-color:var(--purchase-brand,#15803d)}.storefront-header-search .catalog-suggestions{min-width:0}.storefront-mobile-search-wrap{display:none}.storefront-header-inner>.storefront-header-search{display:flex}
body:has(>.storefront-header)>main.container{padding-top:calc(var(--storefront-header-height,130px) + 16px)!important}body:has(>.storefront-header) .purchase-content .checkout-sidebar{top:calc(var(--storefront-header-height,130px) + 16px)}
@media(max-width:1023px) and (min-width:768px){.storefront-header .storefront-header-inner{grid-template-columns:minmax(0,1fr) minmax(220px,380px) auto;gap:8px 12px}.storefront-header-brand h2{font-size:16px}.storefront-header-brand img{width:32px;height:32px}.storefront-header-inner>ul{gap:22px;font-size:13px}.storefront-header-actions{font-size:12px}.storefront-header-search>svg{display:none}}
@media(max-width:767px){.storefront-mobile-search-wrap{display:block;padding:0 12px 10px;background:white;border-bottom:1px solid #e1e7e3}.storefront-mobile-search{width:100%}.storefront-header>nav.md\:hidden>a{min-width:0;max-width:70%}.storefront-header>nav.md\:hidden>a h2{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body:has(>.storefront-header)>main.container{padding-top:calc(var(--storefront-header-height,128px) + 12px)!important}}
.dark .storefront-header-search{background:#24352b;border-color:#485b4e}.dark .storefront-header-search input{color:#e2ebe5}.dark .storefront-mobile-search-wrap{background:#27272a;border-color:#485b4e}

.dark .home-category-image{background:#28372f}.dark .home-category-item{color:#e2ebe5}

/* Dedicated navigation strip below the logo/search/account row. */
.storefront-header>.storefront-menu-bar{border-top:1px solid #edf0ee;border-bottom:1px solid #dfe5e1;box-shadow:0 3px 8px #1c302309}.storefront-menu-bar>.container>ul{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap;gap:0 32px;margin:0!important;padding:0;min-height:46px}.storefront-menu-bar>.container>ul>li{padding-block:11px;font-size:14px}.storefront-menu-bar>.container>ul>li>a{white-space:nowrap}.storefront-menu-bar .dk-mega{top:100%}.dark .storefront-header>.storefront-menu-bar{border-color:#485b4e}
@media(min-width:768px) and (max-width:1023px){.storefront-menu-bar>.container>ul{gap:0 24px;min-height:42px}.storefront-menu-bar>.container>ul>li{font-size:13px;padding-block:10px}}

.storefront-header>.storefront-menu-bar{display:block}@media(max-width:767px){.storefront-header>.storefront-menu-bar{display:none}}

/* Keep the dropdown inside the menu container, independent of its trigger width. */
.storefront-menu-bar>.container{position:relative}
.storefront-menu-bar .dk-wrap{position:static}
.storefront-menu-bar .dk-wrap::after{display:none}
.storefront-menu-bar .dk-trigger{border:0;background:transparent;color:inherit;font:inherit;padding:0}
.storefront-menu-bar .dk-mega{right:0;left:auto;margin-right:0;width:min(1200px,100%);height:min(560px,calc(100dvh - var(--storefront-header-height,150px) - 12px));max-height:calc(100dvh - var(--storefront-header-height,150px) - 12px)}
.storefront-menu-bar .dk-mega-simple,.storefront-menu-bar .dk-leaf-mode{width:min(360px,100%);height:auto}
.storefront-menu-bar .dk-mega-simple .dk-parents,.storefront-menu-bar .dk-leaf-mode .dk-parents{max-height:calc(100dvh - var(--storefront-header-height,150px) - 42px)}
.storefront-menu-bar .dk-parents,.storefront-menu-bar .dk-panel{min-height:0;overscroll-behavior:contain}
@media(min-width:768px) and (max-width:900px){.storefront-menu-bar .dk-mega-inner{flex-direction:row;direction:ltr}.storefront-menu-bar .dk-parents{order:2;width:220px;flex:0 0 220px;max-height:none}.storefront-menu-bar .dk-panel{order:1;max-height:none}.storefront-menu-bar .dk-children-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.catalog-suggestions a{display:flex;align-items:center;gap:12px;min-height:66px;text-decoration:none}
.catalog-suggestion-image{display:block;flex:0 0 48px;width:48px;height:48px;object-fit:contain;background:white;border:1px solid #e8ede9;border-radius:8px}
.catalog-suggestions a>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;min-width:0}
body:has(>.storefront-header)>main.storefront-home{padding-top:var(--storefront-header-height,150px)!important}
.storefront-home>.home-hero:first-of-type,.storefront-home>.home-hero:first-of-type>.mySwiper{margin-top:0!important}

/* Compact, consistent content start below the fixed header. */
body:has(>.storefront-header)>main.storefront-content:not(.storefront-home){padding-top:calc(var(--storefront-header-height,150px) + 12px)!important}
.storefront-content:not(.storefront-home)>:is(main,section,div):first-of-type{margin-top:0!important}
.storefront-content :is(main,section,div):has(>.storefront-breadcrumb){padding-top:0!important;margin-top:0!important}
.storefront-content .storefront-breadcrumb{margin-top:0!important;margin-bottom:18px;padding-block:4px;font-size:12px;line-height:1.9}
.storefront-breadcrumb ul{flex-wrap:wrap;font-size:12px!important;row-gap:6px}
.storefront-breadcrumb+*{margin-top:0!important}

/* Shared product cards on the homepage, categories and search results. */
.storefront-product-card.product-card{position:relative;display:flex;flex-direction:column;height:auto;min-width:0;padding:12px!important;background:#fff;border:1px solid #e4e9e6;border-radius:14px;box-shadow:none!important;overflow:hidden;text-align:start}
.storefront-product-card .product-card-image{display:grid;place-items:center;aspect-ratio:1;width:100%;overflow:hidden;margin:0 0 12px;background:#fff;border-radius:9px}
.storefront-product-card .product-card-image img{width:100%!important;height:100%!important;max-height:250px;object-fit:contain!important;margin:0!important;transition:transform .2s}
.storefront-product-card:hover .product-card-image img{transform:scale(1.03)}
.product-card-badges{position:absolute;top:20px;inset-inline:20px;display:flex;align-items:start;justify-content:space-between;gap:8px;pointer-events:none}
.product-card-discount,.product-card-pack{padding:4px 8px;border-radius:6px;font-size:11px;line-height:1.7;background:var(--purchase-brand,#15803d);color:#fff}
.product-card-pack{margin-inline-start:auto;background:#f3f5f4;color:#56645b;max-width:75%}
.product-card-content{display:flex;flex-direction:column;flex:1;min-width:0}
.storefront-product-card .product-card-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:48px;font-size:13px;font-weight:600;line-height:24px;color:inherit;margin:0}
.product-card-options{display:flex;align-items:center;gap:5px;flex-wrap:wrap;min-height:0;margin-block:4px}.product-card-options:not(:has(>span)){display:none}
.product-card-options span{font-size:10px;padding:2px 6px;border:1px solid #e3e9e5;border-radius:5px;color:#68776e}
.product-card-price{display:flex;flex-direction:column;justify-content:end;align-items:flex-end;min-height:48px;margin-top:auto;margin-bottom:10px}
.product-card-old-price{height:20px;font-size:11px;color:#89968e}
.product-card-old-price del{text-decoration:line-through}
.product-card-price strong{font-size:17px;font-weight:700;color:var(--purchase-brand,#15803d);white-space:nowrap;line-height:1.8}
.product-card-price small{font-size:10px;font-weight:400}
.product-card-unavailable{font-size:12px;color:#8b716e;line-height:2}
.product-card-actions{display:flex;align-items:center;gap:8px}
.storefront-product-card .product-card-buy{display:flex;align-items:center;justify-content:center;flex:1;min-width:0;min-height:40px;padding:8px 4px!important;border-radius:8px!important;background:var(--purchase-brand-soft,#edf8f0)!important;color:var(--purchase-brand,#15803d)!important;border:1px solid transparent;font:inherit;font-size:12px;line-height:1.6;text-decoration:none}
.storefront-product-card .product-card-buy:hover{border-color:var(--purchase-brand,#15803d)}
.storefront-product-card .product-card-buy:disabled{background:#f4f5f4!important;color:#9aa39d!important;cursor:default}
.storefront-product-card .product-card-favorite{display:grid;place-items:center;flex:0 0 38px;width:38px;height:40px;padding:0!important;border:1px solid #e1e7e3;border-radius:8px!important;background:transparent!important;color:#6b7b71!important}
.catalog-product-grid{gap:16px!important;align-items:stretch}
.catalog-product-grid>.storefront-product-card{width:auto!important}

/* Filter panel and product results keep independent widths. */
.catalog-layout{display:grid;grid-template-columns:280px minmax(0,1fr);align-items:start;gap:20px}
.catalog-results{min-width:0}
.catalog-page #catalogFilters{width:100%;padding:18px;border:1px solid #e4e9e6;border-radius:14px;box-shadow:none;gap:0;position:static;max-height:none;overflow:visible;font-size:13px}
.catalog-price-filter{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-block:20px}
.catalog-price-field label{display:block;font-size:11px;margin-bottom:7px;line-height:1.8}
.catalog-price-field input{height:40px;direction:ltr;text-align:center;padding:6px;font-size:12px}
.catalog-price-filter button{grid-column:1/-1;min-height:38px;font-size:12px}
.catalog-filter-group{width:100%;border-top:1px solid #e9edea}
.catalog-filter-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;list-style:none;padding:15px 0;cursor:pointer;font-size:13px}
.catalog-filter-heading::-webkit-details-marker{display:none}
.catalog-filter-group[open]>.catalog-filter-heading svg{transform:rotate(-90deg)}
.catalog-filter-options{max-height:220px;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:auto;scrollbar-width:thin;scrollbar-color:#b9c5be transparent;scrollbar-gutter:stable;margin:0!important;padding:4px 0 12px 8px!important}
.catalog-filter-options::-webkit-scrollbar{width:5px}
.catalog-filter-options::-webkit-scrollbar-track{background:transparent}
.catalog-filter-options::-webkit-scrollbar-thumb{background:#b9c5be;border-radius:10px}
.catalog-filter-options::-webkit-scrollbar-thumb:hover{background:#8c9f93}
.catalog-filter-options::-webkit-scrollbar-button{display:none;width:0;height:0}
.catalog-filter-options:focus-visible{outline:2px solid var(--purchase-brand,#15803d);outline-offset:3px}
.dark .catalog-filter-options{scrollbar-color:#63796b transparent}
.dark .catalog-filter-options::-webkit-scrollbar-thumb{background:#63796b}
.catalog-filter-options li{display:flex;align-items:center;gap:8px;padding:6px 0!important;font-size:12px;line-height:1.8}
.catalog-filter-options li label{cursor:pointer}
.catalog-filter-options input{accent-color:var(--purchase-brand,#15803d)}
.catalog-sort{display:flex;align-items:center;flex-wrap:wrap;gap:10px 20px;min-height:54px;padding:10px 14px;border:1px solid #e4e9e6;border-radius:12px;font-size:13px}
.catalog-sort ul{flex-wrap:wrap;gap:4px 12px}.catalog-sort .sort-btn{font-size:12px!important;padding:5px 8px;line-height:1.7}
.catalog-sort .sort-btn.text-green-500{color:var(--purchase-brand,#15803d);background:var(--purchase-brand-soft,#edf8f0)}
@media(max-width:1279px) and (min-width:1024px){.catalog-layout{grid-template-columns:250px minmax(0,1fr);gap:16px}}
@media(max-width:1023px){.catalog-layout{grid-template-columns:minmax(0,1fr);gap:14px}.catalog-page #catalogFilters{position:static;max-height:none}.catalog-filter-toggle{text-align:start;min-height:42px;padding:10px 14px}.catalog-product-grid{gap:12px!important}}
@media(max-width:600px){.storefront-product-card.product-card{padding:9px!important;border-radius:11px}.product-card-badges{top:14px;inset-inline:14px}.storefront-product-card .product-card-title{font-size:12px;line-height:22px;min-height:44px}.product-card-price strong{font-size:14px}.product-card-options span{font-size:9px}.storefront-product-card .product-card-buy{font-size:10px;min-height:38px}.product-card-actions{gap:5px}.storefront-product-card .product-card-favorite{flex-basis:30px;width:30px;height:38px}.catalog-sort{gap:8px;padding:10px}.catalog-sort h2{font-size:12px}.catalog-sort .sort-btn{font-size:11px!important}.catalog-product-grid{gap:10px!important}}
.dark .storefront-product-card.product-card,.dark .catalog-page #catalogFilters{background:#28372f;border-color:#485b4e}.dark .catalog-filter-group,.dark .catalog-sort{border-color:#485b4e}.dark .product-card-pack,.dark .product-card-options span{background:#304438;color:#c5d1c9;border-color:#485b4e}.dark .product-card-old-price{color:#a7b6ac}

/* Reset older theme selectors that assumed a different card structure. */
.storefront-product-card.product-card>.product-card-image{height:clamp(150px,15vw,200px);aspect-ratio:auto;padding:0;flex-shrink:0;margin-bottom:8px}
.storefront-product-card.product-card>.product-card-image img{max-width:100%;max-height:250px}
.storefront-product-card.product-card>.product-card-badges{padding:0;margin:0;min-width:0}
.storefront-product-card.product-card>.product-card-content{align-items:stretch;justify-content:flex-start;flex-wrap:nowrap;gap:0;padding:0;margin:0;border:0;background:transparent}
.storefront-product-card.product-card>.product-card-content>div{flex-shrink:1}
.storefront-product-card.product-card>.product-card-content>.product-card-actions{gap:8px}
.storefront-product-card.product-card .product-card-buy{width:auto;height:auto}
.storefront-product-card.product-card .product-card-favorite svg{width:19px;height:19px}
/* Themes retain their colors while cards share the same structure and sizing. */
.storefront-content .storefront-product-card.product-card{height:auto!important;min-height:0!important;max-height:none!important;justify-content:flex-start!important;overflow:hidden!important}
.storefront-content .storefront-product-card.product-card>.product-card-content{align-items:stretch!important;flex-direction:column!important;flex-wrap:nowrap!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important}
.storefront-content .storefront-product-card.product-card .product-card-image img{height:100%!important;min-height:0!important;max-height:250px!important;max-width:100%!important}

/* Product gallery styles shared across storefront themes. */

    .porduct-details-slider .swiper-slide img {
        display: block;
        width: 100%;
        height: 400px;
        object-fit: contain;
    }

    .product-details-thumbs {
        width: 100%;
        margin-top: 12px;
        padding: 2px;
        overflow: hidden;
    }

        .product-details-thumbs .swiper-slide {
            box-sizing: border-box;
            height: 72px;
            padding: 4px;
            overflow: hidden;
            border: 1px solid #e5e7eb;
            border-radius: 10px;
            background-color: #fff;
            cursor: pointer;
            opacity: .55;
            transition: opacity .2s ease, border-color .2s ease, box-shadow .2s ease;
        }

            .product-details-thumbs .swiper-slide-thumb-active,
            .product-details-thumbs .swiper-slide:hover {
                border-color: #22c55e;
                box-shadow: 0 0 0 2px rgba(34, 197, 94, .15);
                opacity: 1;
            }

            .product-details-thumbs .swiper-slide img {
                display: block;
                width: 100%;
                height: 100%;
                border-radius: 6px;
                object-fit: contain;
            }

    .dark .product-details-thumbs .swiper-slide {
        border-color: rgba(255, 255, 255, .15);
        background-color: #3f3f46;
    }



    .porduct-details-slider {
        width: 100%;
        max-width: 500px;
        margin: auto;
        position: relative;
    }


        .porduct-details-slider .swiper-button-next::after,
        .porduct-details-slider .swiper-button-prev::after {
            display: none;
        }


        .porduct-details-slider .swiper-button-next,
        .porduct-details-slider .swiper-button-prev {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.9);
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

            .porduct-details-slider .swiper-button-next:hover,
            .porduct-details-slider .swiper-button-prev:hover {
                background: #fff;
                transform: scale(1.1);
            }


            .porduct-details-slider .swiper-button-next::before,
            .porduct-details-slider .swiper-button-prev::before {
                content: '';
                width: 9px;
                height: 9px;
                border-right: 2px solid currentColor;
                border-bottom: 2px solid currentColor;
                border-radius: 1px;
            }

            .porduct-details-slider .swiper-button-next::before {
                transform: translateX(-2px) rotate(-45deg);
            }
            .porduct-details-slider .swiper-button-prev::before {
                transform: translateX(2px) rotate(135deg);
            }
            .porduct-details-slider.swiper-rtl .swiper-button-next::before {
                transform: translateX(2px) rotate(135deg);
            }
            .porduct-details-slider.swiper-rtl .swiper-button-prev::before {
                transform: translateX(-2px) rotate(-45deg);
            }
            .porduct-details-slider :is(.swiper-button-next, .swiper-button-prev):focus-visible {
                outline: 2px solid currentColor;
                outline-offset: 3px;
            }

    @media (max-width: 639px) {
        .porduct-details-slider .swiper-slide img {
            height: 300px;
        }
    }


/* Product overview: gallery and options beside a compact purchase panel. */
.storefront-content .product-detail-page .product-overview{display:grid;grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:20px;margin-top:0}
.product-overview-main,.product-detail-page .product-purchase,.product-details-content{min-width:0;background:#fff;border:1px solid #e3e9e5;border-radius:14px;padding:22px;box-shadow:none}
.product-gallery-info{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}
.product-gallery{display:flex;flex-direction:column;gap:12px;min-width:0}
.product-info{display:flex;flex-direction:column;gap:14px;min-width:0}
.product-info h1{font-size:22px;line-height:1.9;overflow-wrap:anywhere;font-weight:600}
.product-info>div:has(>svg){font-size:12px;line-height:1.9;color:#728078}
.product-info a{color:var(--purchase-brand,#15803d)}
.product-detail-page .porduct-details-slider{width:100%;max-width:100%;min-width:0;background:white;border-radius:12px;overflow:hidden}
.product-detail-page .porduct-details-slider .swiper-slide img{height:340px;max-width:100%;object-fit:contain;padding:8px}
.product-detail-page .porduct-details-slider .swiper-button-next,.product-detail-page .porduct-details-slider .swiper-button-prev{width:34px;height:34px;box-shadow:none;border:1px solid #e4e9e6}
.product-detail-page .product-details-thumbs{margin-top:0}
.product-detail-page .product-details-thumbs .swiper-slide{height:64px;opacity:.75}
.product-detail-page .product-details-thumbs .swiper-slide-thumb-active{border-color:var(--purchase-brand,#15803d);box-shadow:none;opacity:1}
.product-variant-group{padding-top:10px;border-top:1px solid #edf0ee;font-size:13px}
.product-detail-page .attribute-btn{border:1px solid #dce5df;background:transparent;color:inherit;padding:9px 14px;border-radius:8px;min-height:40px}
.product-detail-page .attribute-btn[aria-pressed=true]{border-color:var(--purchase-brand,#15803d)!important;background:var(--purchase-brand-soft,#edf8f0)!important;color:var(--purchase-brand,#15803d)!important;box-shadow:0 0 0 1px var(--purchase-brand,#15803d)}
.product-key-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.product-key-facts>div{border-radius:8px;background:#f6f8f6;padding:10px;font-size:11px;line-height:1.9;overflow-wrap:anywhere}
.product-detail-page .product-purchase{display:flex;flex-direction:column;gap:16px;width:100%;position:sticky;top:calc(var(--storefront-header-height,150px) + 12px);scroll-margin-top:calc(var(--storefront-header-height,150px) + 16px)}
.product-purchase-price{display:flex;flex-direction:column;align-items:flex-end;gap:5px;border-bottom:1px solid #e5ebe7;padding-bottom:16px}
.product-purchase-price>p{font-size:22px;color:var(--purchase-brand,#15803d)!important}
.product-purchase-price del{font-size:12px;color:#8b978f}
.product-purchase-facts{font-size:12px;line-height:1.8}
.product-purchase-help{margin:0;font-size:11px}
.product-purchase-total{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;padding:12px 0;border-top:1px solid #e5ebe7;line-height:1.9}
.product-purchase-total p:last-child{font-weight:600}
.product-detail-page .btn-addtocart{min-height:46px;background:var(--purchase-brand,#15803d)!important;color:white!important;border-radius:9px;box-shadow:none;font-size:13px}
.product-detail-page .product-details-content{display:flex;flex-direction:column;gap:24px;margin-top:20px}
.product-details-content>div{margin:0}
.product-description h2{font-size:20px;line-height:1.8;margin-bottom:12px}
.product-description-body{font-size:14px;line-height:2.1;overflow-wrap:anywhere;color:#53645a}
.product-description-body img{max-width:100%;height:auto}.product-description-body table{max-width:100%}
.product-details-content dl>div{padding-block:12px}
.dark .product-overview-main,.dark .product-detail-page .product-purchase,.dark .product-details-content{background:#28372f;border-color:#485b4e}.dark .product-key-facts>div{background:#304438}.dark .product-description-body{color:#d0dcd4}
@media(max-width:1279px){.storefront-content .product-detail-page .product-overview{grid-template-columns:minmax(0,1fr) 270px;gap:16px}.product-gallery-info{gap:16px}.product-info h1{font-size:19px}.product-overview-main,.product-detail-page .product-purchase,.product-details-content{padding:16px}.product-detail-page .porduct-details-slider .swiper-slide img{height:290px}}
@media(max-width:1023px){.storefront-content .product-detail-page .product-overview{grid-template-columns:minmax(0,1fr)}.product-detail-page .product-purchase{position:static}.product-purchase-price{align-items:flex-start}.product-detail-page .porduct-details-slider .swiper-slide img{height:320px}}
@media(max-width:600px){.product-gallery-info{grid-template-columns:minmax(0,1fr);gap:20px}.product-info h1{font-size:18px}.product-detail-page .porduct-details-slider .swiper-slide img{height:280px}.product-detail-page .product-details-thumbs .swiper-slide{height:58px}.product-description-body{font-size:13px}.product-details-content{gap:18px}.product-details-content>div:first-child{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.product-details-content>div:first-child>span{grid-column:auto;font-size:11px}}

.storefront-header .storefront-header-search>.storefront-search-icon{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;padding:0;border:0;border-radius:7px;background:transparent;color:inherit;cursor:pointer;touch-action:manipulation}
.storefront-header .storefront-mobile-search>.storefront-search-icon{flex-basis:40px;width:40px;height:40px}
.storefront-search-icon:focus-visible{outline:2px solid var(--purchase-brand,#15803d);outline-offset:1px}
.storefront-header .storefront-mobile-search{padding-block:0;gap:4px}
.storefront-mobile-search .catalog-suggestions{max-height:min(320px,50dvh);overscroll-behavior:contain}
@media(max-width:767px){.storefront-header .storefront-mobile-search input{font-size:16px}.storefront-mobile-search input::placeholder{font-size:12px}}

/* Shared listing pagination: products, articles and packages. */
.storefront-pagination{width:100%;display:flex;flex-direction:column;align-items:center;gap:12px;padding:12px 0 20px}
.storefront-pagination-status{margin:0;color:#738078;font-size:12px}
.storefront-pagination-list{display:flex;align-items:center;justify-content:center;gap:6px;list-style:none;padding:0;margin:0;direction:rtl}
.storefront-pagination-list>li{display:flex;align-items:center;justify-content:center;flex-shrink:0}
.storefront-pagination-list :is(a,button,.storefront-page-current){display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 10px;border:1px solid #dfe6e2;border-radius:10px;background:#fff;color:#40534a;font-size:14px;line-height:1;text-decoration:none;transition:background .15s,border-color .15s;cursor:pointer}
.storefront-pagination-list :is(a,button):hover{background:var(--purchase-brand-soft,#edf8f0);border-color:var(--purchase-brand,#15803d);color:var(--purchase-brand,#15803d)}
.storefront-pagination-list .storefront-page-current{background:var(--purchase-brand,#15803d);border-color:var(--purchase-brand,#15803d);color:#fff;font-weight:700;cursor:default}
.storefront-pagination-list button:disabled{opacity:.35;cursor:default;pointer-events:none}
.storefront-pagination-list :is(a,button):focus-visible{outline:2px solid var(--purchase-brand,#15803d);outline-offset:3px}
.storefront-page-gap{width:16px;color:#8b978f}
.storefront-page-chevron{width:8px;height:8px;border-top:2px solid currentColor;border-right:2px solid currentColor}
.storefront-page-chevron.is-previous{transform:rotate(45deg);margin-left:3px}.storefront-page-chevron.is-next{transform:rotate(-135deg);margin-right:3px}
.dark .storefront-pagination-list :is(a,button){background:#28372f;border-color:#485b4e;color:#e2ebe5}
@media(max-width:480px){.storefront-pagination-list{gap:4px}.storefront-pagination-list :is(a,button,.storefront-page-current){min-width:32px;height:36px;padding:0 6px;font-size:12px;border-radius:8px}.storefront-page-gap{width:12px}}

.storefront-pagination-error{font-size:12px;color:#b91c1c;text-align:center}.storefront-pagination-error[hidden]{display:none}
