html {scroll-behavior:smooth}
body {background:var(--body);font-family:var(--theme-font);color:var(--ink)}
button,input,select,textarea {font:inherit}
a {color:inherit;text-decoration:none}
a:hover {color:var(--wine)}
button,[data-href] {cursor:pointer}
:focus-visible {outline:2px solid var(--wine);outline-offset:3px}
.screen-reader-text {position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.bistmart-site-header {
    --bm-header-max:1320px;
    --bm-header-border:#ededed;
    --bm-header-muted:#777;
    --bm-header-bg:#fff;
    width:100%;
    position:relative;
    z-index:100;
    direction:rtl;
    background:#fff;
    color:#222;
}

.bistmart-site-header *,
.bistmart-site-header *::before,
.bistmart-site-header *::after {
    box-sizing:border-box
}

.bm-header-notice {
    width:100%;
    background:var(--ink);
    color:#fff;
}

.bm-header-notice-inner {
    width:min(calc(100% - 48px),var(--bm-header-max));
    min-height:38px;
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:7px 0;
    color:#fff;
    text-align:center;
    font-size:24px;
    font-weight:500;
    line-height:1.6;
}

.bm-header-main-shell {
    width:100%;
    background:#fff;
    border-bottom:1px solid var(--bm-header-border)
}

.bm-header-main {
    width:min(calc(100% - 48px),var(--bm-header-max));
    height:72px;
    margin:0 auto;
    display:grid;
    grid-template-columns:170px max-content minmax(20px,1fr) 365px max-content;
    grid-template-areas:"logo categories spacer search actions";
    gap:22px;
    align-items:center;
}

.bm-header-logo {
    grid-area:logo;
    width:170px;
    height:48px;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    overflow:hidden;
    line-height:0;
    direction:rtl
}

.bm-header-logo:hover {
    color:inherit
}

.bm-header-logo-image {
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:170px!important;
    max-height:48px!important;
    object-fit:contain!important;
    object-position:left center!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important
}

.bm-header-logo-text {
    font-size:25px;
    font-weight:700;
    line-height:1;
    white-space:nowrap
}

.bm-header-categories {
    grid-area:categories;
    height:100%;
    display:flex;
    align-items:center;
    direction:rtl
}

.bm-header-category-list {
    height:100%;
    display:flex;
    align-items:center;
    gap:2px;
    list-style:none;
    padding:0;
    margin:0
}

.bm-header-category-list > li {
    height:100%;
    position:relative;
    display:flex;
    align-items:center;
    list-style:none;
    padding:0;
    margin:0
}

.bm-header-category-list > li > a {
    position:relative;
    height:100%;
    display:flex;
    align-items:center;
    padding:0 12px;
    color:#333;
    font-size:16px!important;
    font-weight:500;
    line-height:1;
    white-space:nowrap
}

.bm-header-category-list > li.current-menu-item > a,
.bm-header-category-list > li.current-menu-ancestor > a,
.bm-header-category-list > li.current-menu-parent > a {
    font-weight:700
}

.bm-header-category-list > li > a:hover {
    color:#111
}

.bm-header-category-list > li.current-menu-item > a::after,
.bm-header-category-list > li.current-menu-ancestor > a::after,
.bm-header-category-list > li.current-menu-parent > a::after {
    content:"";
    position:absolute;
    height:3px;
    right:8px;
    left:8px;
    bottom:0;
    border-radius:10px 10px 0 0;
    background:#111
}

.bm-header-category-list .sub-menu {
    position:absolute;
    top:calc(100% - 1px);
    right:0;
    z-index:500;
    min-width:190px;
    margin:0;
    padding:8px;
    list-style:none;
    background:#fff;
    border:1px solid #eee;
    border-radius:0 0 10px 10px;
    box-shadow:0 14px 35px rgba(0,0,0,.08);
    opacity:0;
    visibility:hidden;
    transform:translateY(6px);
    transition:.18s ease
}

.bm-header-category-list li:hover > .sub-menu {
    opacity:1;
    visibility:visible;
    transform:translateY(0)
}

.bm-header-category-list .sub-menu li {
    display:block;
    list-style:none;
    margin:0;
    padding:0
}

.bm-header-category-list .sub-menu a {
    display:block;
    padding:9px 10px;
    border-radius:6px;
    color:#444;
    font-size:12px!important;
    font-weight:500;
    white-space:nowrap
}

.bm-header-category-list .sub-menu a:hover {
    background:#f7f7f7;
    color:#111
}

.bm-header-flex-space {
    grid-area:spacer;
    min-width:0
}

.bm-header-search {
    grid-area:search;
    width:365px;
    margin:0;
    direction:rtl
}

.bm-header-search-inner {
    width:100%;
    height:44px;
    display:flex;
    align-items:center;
    background:#f6f6f6;
    border:1px solid transparent;
    border-radius:8px;
    overflow:hidden;
    transition:border-color .2s ease,background .2s ease
}

.bm-header-search-inner:focus-within {
    background:#fff;
    border-color:#ddd
}

.bm-header-search input[type=search] {
    flex:1;
    min-width:0;
    width:100%;
    height:100%;
    margin:0;
    padding:0 16px 0 4px;
    border:0!important;
    outline:0!important;
    box-shadow:none!important;
    background:transparent!important;
    color:#333;
    font-family:inherit;
    font-size:12px!important;
    text-align:right
}

.bm-header-search input[type=search]::placeholder {
    color:#929292;
    opacity:1
}

.bm-header-search-icon {
    width:42px;
    height:42px;
    flex:0 0 42px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#999
}

.bm-header-search-icon svg {
    width:20px;
    height:20px;
    display:block
}

.bm-header-actions {
    grid-area:actions;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:5px;
    direction:rtl
}

.bm-header-account {
    height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:0 13px;
    border:1px solid #e8e8e8;
    border-radius:4px;
    background:#fff;
    color:#222;
    font-size:12px!important;
    font-weight:600;
    white-space:nowrap
}

.bm-header-account:hover {
    color:#111;
    background:#fafafa
}

.bm-header-account svg {
    width:20px;
    height:20px;
    display:block
}

.bm-header-action {
    position:relative;
    width:42px;
    height:42px;
    flex:0 0 42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    color:#111
}

.bm-header-action:hover {
    color:#111;
    background:#f7f7f7
}

.bm-header-action svg {
    display:block;
    width:23px;
    height:23px
}

.bm-header-cart-count {
    position:absolute;
    top:1px;
    right:0;
    min-width:16px;
    height:16px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 4px;
    border-radius:20px;
    background:var(--wine);
    color:#fff;
    font-size:9px;
    font-weight:700;
    line-height:1
}

.bm-header-secondary-shell {
    width:100%;
    background:#fff;
    border-bottom:1px solid var(--bm-header-border)
}

.bm-header-secondary {
    width:min(calc(100% - 48px),var(--bm-header-max));
    height:44px;
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    overflow:hidden
}

.bm-header-secondary-list {
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:0;
    margin:0;
    padding:0;
    list-style:none
}

.bm-header-secondary-list > li {
    display:flex;
    align-items:center;
    list-style:none;
    margin:0;
    padding:0
}

.bm-header-secondary-list > li > a {
    height:44px;
    display:flex;
    align-items:center;
    padding:0 14px;
    color:#555;
    font-size:14px!important;
    font-weight:500;
    line-height:1;
    white-space:nowrap
}

.bm-header-secondary-list > li > a:hover {
    color:#111
}

.bm-header-menu-toggle {
    display:none;
    width:40px;
    height:40px;
    align-items:center;
    justify-content:center;
    padding:0;
    border:0;
    border-radius:7px;
    background:#f6f6f6;
    color:#111
}

.bm-header-menu-toggle svg {
    width:21px;
    height:21px;
    display:block
}

.bm-mobile-menu {
    display:none
}

.bistmart-site-footer .footer-logo {display:inline-block}
.bistmart-site-footer .bistmart-footer-copy {font-size:14px;color:#C9C3BB;max-width:260px;margin-top:4px}
.bistmart-site-footer .footer-link,.bistmart-site-footer li a {display:block;color:#C5C0B8;font-size:14px;padding:3px 0}
.bistmart-site-footer li {list-style:none}
.bistmart-site-footer ul {list-style:none;padding:0;margin:0}
.bistmart-site-footer a:hover {color:#fff}
.bistmart-site-footer .footer-badge {display:inline-flex;gap:7px;align-items:center}

.bistmart-image-fallback {
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:100%;
    min-height:180px;
    font-weight:700;
    color:var(--muted);
    letter-spacing:.12em;
    background:#fff
}

.product-card {
    min-width:0
}

.product-card-media {
    display:block;
    position:relative;
    width:100%;
    overflow:hidden;
    background:#fff!important;
    isolation:isolate
}

.product-card-media::before,
.product-card-media::after {
    content:none!important;
    display:none!important
}

.product-card-media .product-card-image-wrap {
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    aspect-ratio:4 / 3;
    overflow:hidden;
    background:#fff!important
}

.product-card-media img,
.product-card-media .product-card-image {
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    max-height:100%!important;
    object-fit:contain!important;
    object-position:center center!important;
    background:#fff!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    transform:none!important;
    translate:none!important;
    scale:1!important;
    filter:none!important;
    opacity:1!important;
    clip-path:none!important;
    mask:none!important;
    -webkit-mask:none!important
}

.product-card-media:hover img,
.product-card-media:focus img {
    transform:none!important;
    scale:1!important
}

.product-card .product-title {
    display:block;
    color:var(--ink);
    line-height:1.6
}

.product-card .product-title:hover {
    color:var(--wine)
}

.product-card .product-price-main del {
    color:var(--muted);
    font-size:.78em;
    margin-inline-start:6px
}

.product-card .product-price-main ins {
    text-decoration:none
}

.product-card .product-actions {
    display:flex;
    width:100%;
    gap:8px
}

.product-card .product-actions .btn {
    cursor:pointer
}

.product-card .product-actions .btn:only-child {
    width:100%;
    justify-content:center
}

.bistmart-empty {grid-column:1/-1;border:1px dashed var(--border);padding:30px;border-radius:16px;color:var(--muted);text-align:center;background:var(--ivory)}

.section[data-layout="two"] .grid-3,
.section[data-layout="two"] .grid-4,
.section[data-layout="two"] .grid-5 {
    grid-template-columns:repeat(2,minmax(0,1fr))
}

.section[data-layout="three"] .grid-3,
.section[data-layout="three"] .grid-4,
.section[data-layout="three"] .grid-5 {
    grid-template-columns:repeat(3,minmax(0,1fr))
}

.section[data-layout="four"] .grid-3,
.section[data-layout="four"] .grid-4,
.section[data-layout="four"] .grid-5 {
    grid-template-columns:repeat(4,minmax(0,1fr))
}

.bistmart-empty a {color:var(--wine)}

.bistmart-catalog-intro .breadcrumb,
.bistmart-pdp .breadcrumb,
.bistmart-cart .breadcrumb {
    margin-bottom:16px
}

.bistmart-plp-controls {margin-top:16px}
.bistmart-plp-controls .plp-header-main {align-items:center}
.bistmart-plp-controls .active-filters-row {flex:1;min-width:0}
.bistmart-plp-controls .plp-controls form {margin:0}
.bistmart-filter-heading {justify-content:space-between;align-items:center;margin-bottom:4px}
.bistmart-filter-heading .filter-section-title {margin:0}
.bistmart-filter-close {display:none;width:36px;height:36px;padding:0;border:1px solid var(--border);border-radius:50%;background:#fff;color:var(--ink);font-size:20px;line-height:1}
.bistmart-filter-form {position:sticky;top:16px;background:var(--paper);border:1px solid var(--border);border-radius:20px;padding:16px 16px 18px;align-self:start;box-shadow:0 10px 35px rgba(18,18,18,.045)}
.bistmart-filter-form .filter-group {padding:0 0 14px;margin:0 0 14px;border:0;border-bottom:1px solid #EFE9E1}
.bistmart-filter-form .filter-group:first-of-type {padding-top:14px}
.bistmart-filter-form .filter-section-title {margin-bottom:6px;font-size:13px;font-weight:600}
.bistmart-filter-form .checkbox-row {margin:0 0 6px;cursor:pointer}
.bistmart-filter-form .checkbox-row:last-child {margin-bottom:0}
.bistmart-check-label {display:flex;align-items:center;gap:6px;min-width:0}
.bistmart-filter-form .checkbox-input {appearance:none;display:grid;place-content:center;flex:0 0 14px;margin:0;cursor:pointer}
.bistmart-filter-form .checkbox-input::before {content:"";width:8px;height:8px;border-radius:2px;transform:scale(0);background:var(--ink);transition:transform .12s ease}
.bistmart-filter-form .checkbox-input:checked::before {transform:scale(1)}
.bistmart-filter-form .filter-chip {position:relative;cursor:pointer;user-select:none}
.bistmart-filter-form .filter-chip input {position:absolute;opacity:0;pointer-events:none}
.bistmart-filter-form .filter-chip:has(input:checked) {background:var(--ink);color:#fff;border-color:var(--ink)}
.bistmart-filter-scroll {max-height:150px;overflow:auto;padding-inline-end:3px;scrollbar-width:thin}
.bistmart-brand-search {margin-bottom:8px}
.bistmart-brand-search .input-control {min-height:38px}
.bistmart-term-count {font-size:11px;color:#8F8880}
.bistmart-range-control {position:relative;height:18px;margin:2px 0}
.bistmart-range-control .slider-track {position:absolute;right:0;left:0;top:7px;overflow:visible}
.bistmart-range-control .slider-fill {right:var(--range-start,0%);left:var(--range-end,0%)}
.bistmart-range-control input[type="range"] {position:absolute;inset:0;width:100%;height:18px;margin:0;background:transparent;pointer-events:none;appearance:none;-webkit-appearance:none}
.bistmart-range-control input[type="range"]::-webkit-slider-runnable-track {height:4px;background:transparent}
.bistmart-range-control input[type="range"]::-webkit-slider-thumb {width:16px;height:16px;margin-top:-6px;border-radius:50%;border:2px solid var(--ink);background:#fff;pointer-events:auto;cursor:grab;appearance:none;-webkit-appearance:none}
.bistmart-range-control input[type="range"]::-moz-range-track {height:4px;background:transparent}
.bistmart-range-control input[type="range"]::-moz-range-thumb {width:12px;height:12px;border-radius:50%;border:2px solid var(--ink);background:#fff;pointer-events:auto;cursor:grab}
.bistmart-price-slider .slider-labels b {font-weight:500}
.bistmart-filter-form > .btn-full {display:flex;width:100%;margin-top:6px}

.bistmart-product-grid.is-list {
    grid-template-columns:1fr
}

.bistmart-product-grid.is-list .product-card {
    display:grid;
    grid-template-columns:180px minmax(0,1fr)
}

.bistmart-product-grid.is-list .product-card-media {
    height:100%;
    background:#fff!important
}

.bistmart-product-grid.is-list .product-card-media .product-card-image-wrap {
    height:100%;
    min-height:180px;
    aspect-ratio:auto;
    background:#fff!important
}

.bistmart-catalog-results {min-width:0}
.bistmart-catalog-results .section {margin-bottom:0}

.bistmart-pagination ul {display:flex;justify-content:center;gap:8px;list-style:none;padding:20px 0 0}
.bistmart-pagination a,.bistmart-pagination span {display:grid;place-items:center;min-width:38px;height:38px;border:1px solid var(--border);border-radius:10px}
.bistmart-pagination .current {background:var(--ink);color:#fff}

.bistmart-pdp .pdp-gallery-main-inner img {
    width:100%;
    height:100%;
    object-fit:contain
}

.bistmart-pdp .pdp-thumb {
    border:1px solid var(--border);
    overflow:hidden;
    cursor:pointer
}

.bistmart-pdp .pdp-thumb img {
    width:100%;
    height:100%;
    object-fit:cover
}

.bistmart-pdp .pdp-thumb-active {border-color:var(--wine)}
.bistmart-pdp .pdp-price-main del {color:var(--muted);font-size:.66em}
.bistmart-pdp .pdp-price-main ins {text-decoration:none}
.bistmart-price-card .pdp-price-row {margin-top:0}
.bistmart-price-card .pdp-price-main del {margin-inline-start:8px}
.bistmart-installment {margin-top:8px}
.bistmart-short-description p {margin:0;line-height:1.8;font-size:14px;color:var(--muted)}
.bistmart-purchase-card {scroll-margin-top:24px}
.bistmart-purchase-card .cart {width:100%;margin:4px 0 0}
.bistmart-purchase-card .variations_form {display:block}
.bistmart-purchase-card .single_variation_wrap {display:grid;gap:10px}
.bistmart-purchase-card .woocommerce-variation-add-to-cart {display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.bistmart-pdp-sticky {display:none}
.bistmart-pdp .cart {display:flex;align-items:center;gap:10px;flex-wrap:wrap}

.woocommerce .bistmart-pdp .single_add_to_cart_button,
.bistmart-pdp .single_add_to_cart_button {
    background:var(--ink)!important;
    color:#fff!important;
    border:0;
    border-radius:12px;
    padding:12px 24px;
    cursor:pointer
}

.bistmart-pdp .quantity input,
.woocommerce-cart-form .quantity input {
    max-width:72px;
    height:40px;
    border:1px solid var(--border);
    border-radius:10px;
    text-align:center;
    background:var(--paper)
}

.bistmart-pdp .variations {width:100%;margin-bottom:12px}
.bistmart-pdp .variations td {padding:6px}
.bistmart-pdp .variations select {border:1px solid var(--border);border-radius:10px;padding:8px;background:var(--paper)}
.bistmart-product-description table {width:100%;border-collapse:collapse}
.bistmart-product-description td,.bistmart-product-description th {padding:12px;border-bottom:1px solid var(--border)}
.bistmart-pdp-details .grid-3 > * {min-width:0}
.bistmart-pdp-details .tab-list {display:flex;flex-wrap:wrap;gap:4px}
.bistmart-pdp-details .tab {cursor:pointer;text-decoration:none}
.bistmart-pdp-details .tab-panel {line-height:1.9}
.bistmart-detail-title {font-size:16px}
.bistmart-pdp-details .woocommerce-product-attributes {width:100%;border-collapse:collapse;font-size:14px}
.bistmart-pdp-details .woocommerce-product-attributes th,.bistmart-pdp-details .woocommerce-product-attributes td {padding:9px;border-bottom:1px solid var(--border);text-align:right}
.bistmart-pdp-details .woocommerce-product-attributes p {margin:0}
.bistmart-pdp-details details summary {cursor:pointer;list-style:none}
.bistmart-pdp-details details summary::-webkit-details-marker {display:none}
.bistmart-pdp-details details[open] .accordion-icon {transform:rotate(45deg)}

/* PDP: keep WooCommerce data/behaviour while matching the static specimen. */
.bistmart-pdp .pdp-gallery-main-inner {position:absolute;inset:0;width:auto;height:auto;transform:none;display:flex;align-items:center;justify-content:center;padding:18px}
.bistmart-pdp .pdp-gallery-main-inner img {display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;margin:0;border:0;box-shadow:none}
.bistmart-pdp .pdp-gallery-main {background:linear-gradient(145deg,#F0ECE6,#D6C5B2)}
.bistmart-pdp .pdp-gallery-thumb-row {overflow-x:auto;scrollbar-width:thin}
.bistmart-pdp .pdp-thumb {padding:5px;cursor:pointer;flex:1 0 70px}
.bistmart-pdp .pdp-thumb-active {border-color:var(--ink)}
.bistmart-pdp .pdp-thumb img {display:block;width:100%;height:100%;object-fit:contain;border-radius:9px}
.bistmart-pdp .pdp-title {font-size:20px;line-height:1.65;color:var(--ink);margin:0 0 4px}
.bistmart-pdp .star-rating {display:inline-block;margin-inline-end:5px}
.bistmart-pdp .bistmart-product-form {display:flex;flex-direction:column;align-items:stretch;gap:12px;width:100%;margin:0}
.bistmart-pdp .has-variation-ui .bistmart-native-variations {position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
.bistmart-variants-card,.bistmart-quantity-card,.bistmart-cta-card {width:100%}
.bistmart-variant-group .variant-group-title,.bistmart-quantity-card .variant-group-title {margin:0}
.bistmart-selected-option {font-size:12px;color:#8A847E}
.bistmart-size-guide {margin-inline-start:auto}
.bistmart-option-grid {display:flex;flex-wrap:wrap;gap:8px}
.bistmart-variants-card button {cursor:pointer}
.bistmart-variants-card button.is-disabled,.bistmart-variants-card button:disabled {cursor:not-allowed;opacity:.55}
.bistmart-variants-card .reset_variations {display:inline-flex!important;width:max-content;margin-top:2px;font-size:11px;color:#817a73;text-decoration:underline;text-underline-offset:3px}
.bistmart-product-form .single_variation_wrap {display:flex;flex-direction:column;gap:12px}
.bistmart-product-form .woocommerce-variation-add-to-cart {display:flex;flex-direction:column;align-items:stretch;gap:12px}
.bistmart-product-form .single_variation {display:none!important}
.bistmart-quantity-card .quantity-control .quantity {display:block;margin:0}
.bistmart-quantity-card .quantity-control input.qty {width:38px;max-width:38px;height:30px;padding:0;border:0;border-radius:0;background:#fff;appearance:textfield;text-align:center}
.bistmart-quantity-card .quantity-control input.qty::-webkit-outer-spin-button,.bistmart-quantity-card .quantity-control input.qty::-webkit-inner-spin-button {appearance:none;margin:0}
.bistmart-low-stock {margin-top:10px}
.bistmart-cta-card .row-10 {align-items:stretch}
.bistmart-cta-card .btn {flex:1;cursor:pointer}
.bistmart-cta-card .single_add_to_cart_button {height:50px!important;padding:0 22px!important;border-radius:12px!important}
.bistmart-cta-card .single_add_to_cart_button.disabled,.bistmart-cta-card .btn:disabled {opacity:.48;cursor:not-allowed}
.bistmart-purchase-notes {margin-top:10px;font-size:11px;color:#867F77}
.bistmart-price-card .pdp-price-main ins {text-decoration:none}
.bistmart-price-card .pdp-price-main del {color:#A37F7F;font-size:12px;font-weight:400}
.bistmart-pdp-details .woocommerce-product-attributes {border:1px solid #E1DCD5;border-radius:16px;border-collapse:separate;border-spacing:0;overflow:hidden;background:#fff;font-size:12px}
.bistmart-pdp-details .woocommerce-product-attributes th {width:42%;background:#F7F4EF;font-size:11px;font-weight:600;color:#5E5953}
.bistmart-pdp-details .woocommerce-product-attributes tr:last-child th,.bistmart-pdp-details .woocommerce-product-attributes tr:last-child td {border-bottom:0}
.bistmart-pdp-details details[open] .accordion-icon {transform:none;font-size:0}
.bistmart-pdp-details details[open] .accordion-icon::after {content:"−";font-size:12px}

@media(max-width:600px) {
    .bistmart-pdp .pdp-gallery-main-inner {padding:10px}
    .bistmart-cta-card .row-10 {flex-direction:column}
    .bistmart-size-guide {height:32px;padding-inline:10px}
}

.bistmart-review-layout {display:grid;grid-template-columns:minmax(190px,1fr) minmax(0,2fr);gap:16px}
.bistmart-rating-summary {display:flex;flex-direction:column;align-items:flex-start;gap:8px;align-self:start}
.bistmart-rating-summary strong {font-size:28px}
.bistmart-reviews-content {min-width:0}
.bistmart-reviews-content #reviews {width:100%}
.bistmart-reviews-content ol.commentlist {padding:0;list-style:none}
.bistmart-reviews-content .comment_container {display:flex;gap:10px;padding:12px;border:1px solid var(--border);border-radius:12px;margin-bottom:10px}
.bistmart-reviews-content .comment_container img.avatar {width:42px;height:42px;border-radius:50%}
.bistmart-reviews-content #review_form_wrapper {padding:18px;border:1px solid var(--border);border-radius:16px;background:var(--ivory)}
.bistmart-reviews-content #review_form_wrapper textarea {width:100%;border:1px solid var(--border);border-radius:10px;padding:10px}
.bistmart-reviews-content #review_form_wrapper .submit {border:0;background:var(--ink);color:#fff;border-radius:10px;padding:10px 20px;cursor:pointer}

.bistmart-cart-actions {display:flex;gap:10px;align-items:center;justify-content:space-between;margin:14px 0;flex-wrap:wrap}
.bistmart-cart-actions .coupon-row {display:flex;gap:8px}
.bistmart-cart-actions .input-native {border:1px solid var(--border);border-radius:10px;padding:8px}
.bistmart-coupon-card {margin-top:12px}
.bistmart-coupon-card .coupon-row {align-items:end}
.bistmart-coupon-card .coupon-row .btn {min-height:39px}
.woocommerce-cart-form .qty-control .quantity {margin:0}
.woocommerce-cart-form .qty-control input.qty {width:46px;max-width:46px;border:0;border-radius:0;height:30px;background:transparent;appearance:textfield}
.woocommerce-cart-form .qty-control input.qty::-webkit-outer-spin-button,.woocommerce-cart-form .qty-control input.qty::-webkit-inner-spin-button {appearance:none;margin:0}
.bistmart-shipping-card {margin-top:12px}
.bistmart-shipping-card .shipping-calculator-button {font-weight:700;color:var(--wine);font-size:14px}
.bistmart-shipping-card .shipping-calculator-form {display:grid;gap:8px;margin-top:10px}
.bistmart-shipping-card select,.bistmart-shipping-card input {width:100%;max-width:100%;border:1px solid var(--border);border-radius:10px;padding:8px;background:var(--paper)}
.bistmart-cart-empty {padding:36px 20px}
.bistmart-cart-empty h2 {color:var(--ink);margin:0 0 5px;font-size:18px}
.bistmart-cart-empty p {margin:0 0 16px}
.bistmart-cart-empty .row-10 {justify-content:center;flex-wrap:wrap}
.bistmart-cart-summary {position:sticky;top:16px;margin-bottom:0}
.bistmart-cart-summary .btn-full {display:flex;margin-top:12px}
.bistmart-cart-summary .trust-card {margin-top:16px}
.cart-thumb img {width:100%;height:100%;object-fit:cover}
.cart-title {font-weight:700}
.cart-meta dl {display:flex;gap:8px}
.cart-meta dt,.cart-meta dd {display:inline;margin:0}
.cart-meta dd p {margin:0}

.woocommerce-notices-wrapper:not(:empty),
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
    background:var(--ivory);
    border:1px solid var(--border);
    border-radius:12px;
    padding:12px 16px;
    margin:0 0 16px;
    list-style:none
}

.woocommerce-error {border-color:var(--danger)}
.woocommerce-message {border-color:var(--success)}
.woocommerce-NoticeGroup {grid-column:1/-1}

.checkout-shell .woocommerce-billing-fields__field-wrapper,
.checkout-shell .woocommerce-shipping-fields__field-wrapper,
.checkout-shell .woocommerce-additional-fields__field-wrapper {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px
}

.checkout-shell .form-row,
.woocommerce .checkout-shell .form-row-first,
.woocommerce .checkout-shell .form-row-last {
    float:none;
    width:auto;
    margin:0;
    display:flex;
    flex-direction:column;
    gap:5px
}

.checkout-shell .form-row-wide {grid-column:1/-1}
.checkout-shell .form-row label {font-size:14px;color:var(--muted)}
.checkout-shell .input-text,.checkout-shell select,.checkout-shell textarea {width:100%;border:1px solid var(--border);border-radius:10px;background:var(--ivory);padding:11px;font:inherit;color:var(--ink)}
.checkout-shell textarea {min-height:80px}
.checkout-shell .select2-selection {min-height:44px;border:1px solid var(--border);border-radius:10px;background:var(--ivory)}
.bistmart-checkout-summary {position:sticky;top:16px}
.bistmart-checkout-summary .shop_table {width:100%;border-collapse:collapse;font-size:14px}
.bistmart-checkout-summary .shop_table th,.bistmart-checkout-summary .shop_table td {padding:11px 4px;border-bottom:1px solid var(--border);text-align:right}
.bistmart-checkout-summary .shop_table td:last-child {text-align:left}
.bistmart-checkout-summary .bistmart-review-table tbody td {border:0;text-align:inherit;padding:4px 0}
.bistmart-checkout-summary .bistmart-review-table .bistmart-review-summary td {padding:0 0 12px}
.bistmart-review-table .summary-card {width:100%;box-sizing:border-box}
.bistmart-review-table .summary-product-item {align-items:center;padding:6px 0;border-bottom:1px solid var(--border-soft)}
.bistmart-review-table .summary-product-thumb {flex:0 0 44px;overflow:hidden}
.bistmart-review-table .summary-product-thumb img {display:block;width:100%;height:100%;object-fit:cover}
.bistmart-review-table .summary-product-meta {min-width:0;flex:1}
.bistmart-review-table .summary-product-name {font-weight:700;color:var(--ink);line-height:1.5}
.bistmart-review-table .summary-product-options {font-size:14px;color:var(--muted)}
.bistmart-review-table .summary-product-options dl {margin:0}
.bistmart-review-table .summary-product-options dt,.bistmart-review-table .summary-product-options dd {display:inline;margin:0 3px}
.bistmart-review-table .summary-product-options p {display:inline;margin:0}
.bistmart-review-table .summary-product-price {white-space:nowrap;font-weight:700;font-size:14px}
.bistmart-checkout-summary .bistmart-review-table tfoot tr.order-total {background:var(--ivory);font-weight:700}
.bistmart-checkout-summary #payment {margin-top:20px;border-top:1px solid var(--border);padding-top:16px}
.bistmart-checkout-summary #payment ul {list-style:none;padding:0}
.bistmart-checkout-summary #payment li {padding:10px;border:1px solid var(--border);border-radius:10px;margin:8px 0}
.bistmart-checkout-summary #payment input[type=radio] {accent-color:var(--wine)}
.bistmart-checkout-summary #place_order {width:100%;border:0;border-radius:12px;background:var(--ink);color:#fff;min-height:50px;font-weight:700;cursor:pointer}

.result-shell {max-width:760px;margin:auto}
.result-actions {display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.woocommerce-order {display:grid;gap:20px}
.woocommerce-order .woocommerce-order-details,.woocommerce-order .woocommerce-customer-details {background:var(--paper);border:1px solid var(--border);border-radius:20px;padding:24px}
.woocommerce-order h2 {font-size:20px;margin:0 0 16px}
.woocommerce-order .shop_table {width:100%;border-collapse:collapse}
.woocommerce-order .shop_table th,.woocommerce-order .shop_table td {padding:12px 8px;border-bottom:1px solid var(--border);text-align:right}
.woocommerce-order .shop_table td:last-child,.woocommerce-order .shop_table th:last-child {text-align:left}
.woocommerce-order .woocommerce-columns {display:grid;grid-template-columns:1fr 1fr;gap:16px}
.woocommerce-order .woocommerce-column {float:none!important;width:auto!important;background:var(--ivory);border:1px solid var(--border);border-radius:14px;padding:18px}
.woocommerce-order address {font-style:normal;line-height:1.9}

.bistmart-menu-toggle:hover,
.btn:hover {
    filter:brightness(.94)
}

[hidden] {
    display:none!important
}

@media(max-width:1200px) {
    .bm-header-main {
        width:min(calc(100% - 32px),var(--bm-header-max));
        grid-template-columns:140px max-content minmax(10px,1fr) 285px max-content;
        gap:12px
    }

    .bm-header-logo {
        width:140px
    }

    .bm-header-logo-image {
        max-width:140px!important
    }

    .bm-header-category-list > li > a {
        padding-inline:8px
    }

    .bm-header-search {
        width:285px
    }

    .bm-header-secondary {
        width:min(calc(100% - 32px),var(--bm-header-max))
    }
}

/* 2026 storefront refinements: full-width shell, sticky header and richer home modules. */
.page-shell {
    width:100%;
    max-width:none;
    margin:0;
    padding:30px 30px 84px
}

.bistmart-site-header {
    position:sticky;
    top:10px;
    z-index:1000;
    margin-bottom:24px;
    border-radius:18px;
    isolation:isolate;
    transition:box-shadow .25s ease,transform .25s ease
}

.bistmart-site-header.is-scrolled {
    box-shadow:0 16px 45px rgba(18,18,18,.14)
}

.bm-header-notice {border-radius:18px 18px 0 0;overflow:hidden}
.bm-header-secondary-shell {border-radius:0 0 18px 18px}
.bm-header-notice-inner,
.bm-header-main,
.bm-header-secondary {
    width:100%;
    max-width:none
}

.bm-header-notice-inner {min-height:38px;padding:5px 18px;font-size:14px}
.bm-header-notice-messages {position:relative;display:grid;place-items:center;width:100%;min-height:25px;overflow:hidden}
.bm-header-notice-message {grid-area:1/1;opacity:0;transform:translateY(9px);transition:opacity .38s ease,transform .38s ease;pointer-events:none}
.bm-header-notice-message.is-active {opacity:1;transform:translateY(0)}
.bm-header-notice-media {display:block;width:auto;max-width:100%;height:28px;object-fit:contain}

.bist-hero-picture {position:absolute;inset:0;display:block;z-index:1;background:#111}
.bist-hero-picture img {display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.bist-hero-visual.has-custom-image > :not(.bist-hero-picture) {display:none}

section[data-name="Home Quick Categories"] .grid-4 {
    grid-template-columns:repeat(4,minmax(0,1fr))
}

.bistmart-category-card-with-image {
    display:grid;
    grid-template-columns:minmax(92px,40%) minmax(0,1fr);
    grid-template-rows:auto 1fr;
    gap:8px 13px;
    min-height:168px;
    padding:10px;
    direction:ltr;
    overflow:hidden;
    transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease
}

.bistmart-category-card-with-image:hover {
    transform:translateY(-3px);
    border-color:#cfc7bd;
    box-shadow:0 12px 28px rgba(18,18,18,.08)
}

.bistmart-category-card-with-image > * {direction:rtl;min-width:0}
.bistmart-category-card-with-image > div:not(.bistmart-category-card-media) {grid-column:2}
.bistmart-category-card-with-image .category-chip-row {align-self:end}
.bistmart-category-card-media {
    grid-column:1;
    grid-row:1 / span 2;
    min-height:146px;
    border-radius:13px;
    overflow:hidden;
    background:#fff;
    border:1px solid var(--border-soft)
}
.bistmart-category-card-media img {display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.bistmart-category-card-media.is-placeholder {display:grid;place-items:center;background:linear-gradient(145deg,#f7f2eb,#e2d5c7);color:rgba(18,18,18,.22);font-size:42px;font-weight:700}

.bistmart-campaign-banners {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
    min-width:0
}

.bistmart-campaign-banner {
    position:relative;
    display:block;
    min-width:0;
    aspect-ratio:3 / 4;
    overflow:hidden;
    border-radius:20px;
    background:#191816;
    color:#fff;
    box-shadow:0 16px 36px rgba(18,18,18,.13)
}
.bistmart-campaign-banner picture,
.bistmart-campaign-banner img {display:block;width:100%;height:100%}
.bistmart-campaign-banner img {object-fit:contain;object-position:center;transition:transform .45s cubic-bezier(.22,1,.36,1)}
.bistmart-campaign-banner:hover img {transform:scale(1.025)}
.bistmart-campaign-title {position:absolute;right:14px;left:14px;bottom:13px;z-index:2;padding:9px 11px;border-radius:11px;background:rgba(18,18,18,.62);backdrop-filter:blur(9px);font-size:13px;font-weight:700;text-align:center}
.bistmart-campaign-banner.is-placeholder {display:flex;align-items:center;justify-content:center;background:linear-gradient(155deg,#a32132,#2a1216)}
.bistmart-campaign-banner-2.is-placeholder {background:linear-gradient(155deg,#292724,#756b61)}
.bistmart-campaign-mark {font-size:clamp(18px,2.2vw,34px);font-weight:700;letter-spacing:.12em;opacity:.88;transform:rotate(-90deg)}

.bm-mobile-bottom-nav {display:none}
.bm-drawer-heading button svg {width:18px;height:18px;display:block;margin:auto}

@media(max-width:1100px) {
    section[data-name="Home Quick Categories"] .grid-4 {grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:980px) {
    .page-shell {padding:16px 16px 96px}
    .bistmart-site-header {top:6px;margin-bottom:18px}
    .bm-header-main {width:100%}
    .bm-header-notice-inner {width:100%}
    .bm-mobile-bottom-nav {
        position:fixed;
        right:12px;
        left:12px;
        bottom:max(10px,env(safe-area-inset-bottom));
        z-index:1050;
        display:grid;
        grid-template-columns:repeat(4,minmax(0,1fr));
        min-height:68px;
        padding:7px;
        border:1px solid rgba(225,220,213,.9);
        border-radius:21px;
        background:rgba(255,255,255,.94);
        box-shadow:0 15px 45px rgba(18,18,18,.2);
        backdrop-filter:blur(18px)
    }
    .bm-mobile-bottom-item {
        position:relative;
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        gap:4px;
        min-width:0;
        min-height:52px;
        margin:0;
        padding:4px;
        border:0;
        border-radius:15px;
        background:transparent;
        color:#706a63;
        font-size:10px;
        font-weight:600;
        line-height:1.2;
        transition:background .2s ease,color .2s ease,transform .2s ease
    }
    .bm-mobile-bottom-item svg {display:block;width:23px;height:23px}
    .bm-mobile-bottom-item:is(:hover,:focus-visible,.is-active) {background:var(--ivory);color:var(--wine)}
    .bm-mobile-bottom-item:active {transform:scale(.96)}
    .bm-mobile-bottom-icon {position:relative;display:block}
    .bm-mobile-bottom-nav .header-cart-badge {position:absolute;top:-5px;right:-9px;display:grid;place-items:center;min-width:17px;height:17px;padding:0 4px;border:2px solid #fff;border-radius:999px;background:var(--wine);color:#fff;font-size:9px;line-height:1}
    body {padding-bottom:calc(78px + env(safe-area-inset-bottom))}
}

@media(max-width:650px) {
    .page-shell {padding:12px 12px 96px}
    section[data-name="Home Quick Categories"] .grid-4 {grid-template-columns:1fr}
    .bistmart-category-card-with-image {grid-template-columns:minmax(105px,38%) minmax(0,1fr);min-height:158px}
    .bistmart-category-card-media {min-height:136px}
    .bistmart-campaign-banners {grid-template-columns:1fr;gap:12px}
    .bistmart-campaign-banner {aspect-ratio:16 / 7;border-radius:16px}
    .bistmart-campaign-banner img {object-fit:contain}
    .bistmart-campaign-title {right:10px;left:10px;bottom:9px;font-size:11px;padding:7px 9px}
    .bist-hero-visual.has-custom-image {min-height:0}
    .bist-hero-picture img {object-fit:contain}
}

@media(prefers-reduced-motion:reduce) {
    .bm-header-notice-message,.bistmart-category-card-with-image,.bistmart-campaign-banner img,.bistmart-site-header {transition:none!important}
}

@media(max-width:980px) {
    .bm-header-main {
        width:calc(100% - 28px);
        height:auto;
        min-height:68px;
        padding:10px 0;
        grid-template-columns:130px minmax(0,1fr) max-content;
        grid-template-areas:
            "logo spacer actions"
            "search search search";
        gap:8px 12px
    }

    .bm-header-logo {
        width:130px;
        height:43px
    }

    .bm-header-logo-image {
        max-width:130px!important;
        max-height:43px!important
    }

    .bm-header-categories {
        display:none
    }

    .bm-header-search {
        width:100%
    }

    .bm-header-actions {
        direction:rtl
    }

    .bm-header-menu-toggle {
        display:flex
    }

    .bm-header-secondary-shell {
        display:none
    }

    .bm-mobile-menu {
        position:absolute;
        top:100%;
        right:14px;
        left:14px;
        z-index:1000;
        display:none;
        padding:12px;
        background:#fff;
        border:1px solid #e8e8e8;
        border-radius:12px;
        box-shadow:0 18px 45px rgba(0,0,0,.12)
    }

    .bm-mobile-menu.is-open {
        display:block
    }

    .bm-mobile-menu-list,
    .bm-mobile-menu-secondary {
        display:flex;
        flex-direction:column;
        gap:2px;
        margin:0;
        padding:0;
        list-style:none
    }

    .bm-mobile-menu-secondary {
        margin-top:10px;
        padding-top:10px;
        border-top:1px solid #eee
    }

    .bm-mobile-menu li {
        width:100%;
        display:block;
        list-style:none;
        margin:0;
        padding:0
    }

    .bm-mobile-menu a {
        display:flex;
        width:100%;
        align-items:center;
        padding:10px 12px;
        border-radius:7px;
        color:#333;
        font-size:13px;
        font-weight:500
    }

    .bm-mobile-menu a:hover {
        background:#f6f6f6;
        color:#111
    }

    .bm-mobile-menu .sub-menu {
        position:static;
        display:block;
        visibility:visible;
        opacity:1;
        transform:none;
        margin:0;
        padding:0 14px 5px 0;
        list-style:none;
        border:0;
        box-shadow:none
    }

    .bistmart-review-layout {grid-template-columns:1fr}
    .bistmart-catalog-results {width:100%}
    .bistmart-filter-form {display:none}
    .bistmart-filter-form.is-open {display:block;position:fixed;z-index:1001;right:12px;left:12px;top:8vh;max-height:84vh;overflow:auto;box-shadow:0 0 0 100vmax #0008}
    .bistmart-filter-close {display:grid;place-items:center}
    .bistmart-cart-summary,.bistmart-checkout-summary {position:static}
    .woocommerce-order .woocommerce-columns {grid-template-columns:1fr}
    .section[data-name="Home Max Discount + Campaign"] .grid-2 > * {min-width:0}
    .section[data-name="Home Max Discount + Campaign"] .product-row {grid-auto-columns:minmax(150px,1fr)}
}

@media(max-width:600px) {
	
	.bm-header-notice-inner {
		width:calc(100% - 24px);
		min-height:34px;
		padding:6px 0;
		font-size:12px;
	}
	
    .bm-header-main {
        width:calc(100% - 22px);
        grid-template-columns:105px minmax(0,1fr) max-content;
        gap:7px
    }

    .bm-header-logo {
        width:105px;
        height:39px
    }

    .bm-header-logo-image {
        max-width:105px!important;
        max-height:39px!important
    }

    .bm-header-account {
        width:38px;
        height:38px;
        padding:0;
        border:0;
        border-radius:50%
    }

    .bm-header-account span {
        display:none
    }

    .bm-header-account svg {
        width:21px;
        height:21px
    }

    .bm-header-action {
        width:36px;
        height:36px;
        flex-basis:36px
    }

    .bm-header-action svg {
        width:20px;
        height:20px
    }

    .bm-header-menu-toggle {
        width:36px;
        height:36px
    }

    .bm-header-search-inner {
        height:40px
    }

    .bm-header-search input[type=search] {
        font-size:11px!important
    }

    .product-card-media .product-card-image-wrap {
        aspect-ratio:1 / 1;
        background:#fff!important
    }

    .bistmart-pdp-sticky {display:block}
    .bistmart-pdp-sticky .pdp-sticky-price {min-width:0}
    .bistmart-pdp-sticky .pdp-sticky-label {max-width:195px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
    .bistmart-pdp-sticky .pdp-sticky-price-main del {display:none}
    body.single-product {padding-bottom:75px}
    .bistmart-home .section-header {flex-direction:column;align-items:stretch}
    .bistmart-home .section-header > * {min-width:0;max-width:100%}
    .bistmart-home .section-header .btn {white-space:normal;max-width:100%;height:auto;min-height:36px}

    .checkout-shell .woocommerce-billing-fields__field-wrapper,
    .checkout-shell .woocommerce-shipping-fields__field-wrapper,
    .checkout-shell .woocommerce-additional-fields__field-wrapper {
        grid-template-columns:1fr
    }
}

/* Keep the 30px desktop gutter and the compact responsive gutter after legacy breakpoints. */
.bm-header-notice-inner,.bm-header-main,.bm-header-secondary {width:100%;max-width:none}
@media(max-width:980px) {
    .page-shell {padding:16px 16px 96px}
    .bm-header-main {width:100%;grid-template-columns:36px minmax(0,1fr) max-content;grid-template-areas:"toggle logo actions" "search search search"}
}
@media(max-width:650px) {
    .page-shell {padding:12px 12px 96px}
    .bm-header-notice-inner,.bm-header-main {width:100%}
}

/* Full-bleed site header and image-only, full-screen home slider. */
.page-shell {
    --bm-page-gutter:30px;
    padding-top:0
}

header.bistmart-site-header {
    width:calc(100% + (var(--bm-page-gutter) * 2));
    max-width:none;
    margin-inline:calc(var(--bm-page-gutter) * -1);
    top:0;
    border-radius:0;
    box-shadow:none
}

header.bistmart-site-header.is-scrolled {
    box-shadow:0 10px 24px rgba(18,18,18,.09)
}

.bistmart-site-header .bm-header-notice,
.bistmart-site-header .bm-header-secondary-shell {
    border-radius:0
}

.bistmart-home .bistmart-site-header {margin-bottom:0}

.bistmart-home .section-hero {
    box-sizing:border-box;
    position:relative;
    width:calc(100% + (var(--bm-page-gutter) * 2));
    max-width:none;
    margin-top:0;
    margin-inline:calc(var(--bm-page-gutter) * -1);
    padding:0!important;
    border:0;
    border-radius:0;
    box-shadow:none;
    overflow:hidden
}

.bistmart-home .bist-hero-slider,
.bistmart-home .bist-hero-track {
    width:100%;
    height:calc(100svh - var(--bm-header-rendered-height,156px));
    min-height:420px;
    border-radius:0
}

.bistmart-home .bist-hero-slide {
    display:block;
    inset:0;
    min-height:0
}

.bistmart-home .bist-hero-content,
.bistmart-home .bist-hero-number,
.bistmart-home .bist-hero-sticker {
    display:none!important
}

.bistmart-home .bist-hero-visual {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    min-height:0;
    overflow:hidden
}

.bistmart-home .bist-hero-picture {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    background:#111
}

.bistmart-home .bist-hero-picture img {
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center
}

.bistmart-home .bist-hero-visual::after {
    content:"";
    position:absolute;
    inset:0;
    z-index:2;
    background:linear-gradient(0deg,rgba(0,0,0,.26),transparent 30%);
    pointer-events:none
}

.bistmart-home .bist-hero-object {scale:1.5;top:25%;bottom:auto}
.bistmart-home .bist-hero-nav {
    top:50%;
    bottom:auto;
    width:48px;
    height:48px;
    transform:translateY(-50%);
    background:rgba(255,255,255,.14);
    border:1px solid rgba(255,255,255,.45);
    backdrop-filter:blur(12px);
    color:#fff;
    z-index:5
}
.bistmart-home .bist-hero-prev {right:24px;left:auto}
.bistmart-home .bist-hero-next {left:24px;right:auto}
.bistmart-home .bist-hero-footer {
    right:auto;
    left:50%;
    bottom:26px;
    width:auto;
    transform:translateX(-50%);
    justify-content:center;
    z-index:5
}
.bistmart-home .bist-hero-progress {display:none}
.bistmart-home .bist-hero-dots {padding:12px 16px;border-radius:30px;background:rgba(0,0,0,.2);backdrop-filter:blur(12px)}
.bistmart-home .bist-hero-dot {width:9px;height:9px;background:rgba(255,255,255,.5)}
.bistmart-home .bist-hero-dot.is-active {width:30px;background:#fff}

@media(max-width:980px) {
    .page-shell {--bm-page-gutter:16px}
    .bistmart-home .bist-hero-slider,
    .bistmart-home .bist-hero-track {height:calc(100svh - var(--bm-header-rendered-height,161px));min-height:400px}
}

@media(max-width:650px) {
    .page-shell {--bm-page-gutter:12px}
    .bistmart-home .bist-hero-nav {width:40px;height:40px}
    .bistmart-home .bist-hero-prev {right:14px}
    .bistmart-home .bist-hero-next {left:14px}
    .bistmart-home .bist-hero-object {scale:1.1}
}

@media(prefers-reduced-motion:reduce) {
    .bistmart-home .bist-hero-slide,
    .bistmart-home .bist-hero-object {animation:none!important;transition:none!important}
}

/* Product imagery must stay clean: no decorative shapes behind or over photos. */
.product-card-media,
.product-card-media .product-card-image-wrap,
.cart-thumb,
.summary-product-thumb,
.bistmart-pdp .pdp-gallery-main,
.bistmart-pdp .pdp-gallery-main-inner,
.bistmart-pdp .pdp-thumb {
    background:#fff!important
}

.product-card-media::before,
.product-card-media::after,
.product-card-media .product-card-image-wrap::before,
.product-card-media .product-card-image-wrap::after,
.cart-thumb::before,
.cart-thumb::after,
.summary-product-thumb::before,
.summary-product-thumb::after,
.bistmart-pdp .pdp-gallery-main-inner::before,
.bistmart-pdp .pdp-gallery-main-inner::after,
.bistmart-pdp .pdp-thumb::before,
.bistmart-pdp .pdp-thumb::after {
    content:none!important;
    display:none!important;
    background:none!important
}

.cart-thumb img,
.summary-product-thumb img,
.product-card-media img,
.bistmart-pdp .pdp-gallery-main-inner img,
.bistmart-pdp .pdp-thumb img {
    position:relative;
    z-index:1;
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    max-height:100%!important;
    object-fit:contain!important;
    object-position:center!important;
    background:#fff!important;
    opacity:1!important;
    filter:none!important;
    clip-path:none!important;
    mask:none!important;
    -webkit-mask:none!important
}

.bistmart-pdp .pdp-gallery-main-inner {
    border-radius:0!important;
    opacity:1!important
}

/* BistMart 1.2 storefront update. */
.bm-header-search-inner {
    background:#ede8e2;
    border-color:#d8d0c7;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.72)
}
.bm-header-search-inner:focus-within {background:#fff;border-color:var(--wine);box-shadow:0 0 0 3px rgba(163,33,50,.1)}
.bm-header-search-icon {color:#554e48}

.product-card-media,.product-card-media .product-card-image-wrap {background:#fff!important}
.product-card-media {height:auto!important;aspect-ratio:1 / 1!important;overflow:hidden}
.product-card-media .product-card-image-wrap {width:100%;height:100%;aspect-ratio:auto!important;min-height:0}
.product-card-media img,.product-card-media .product-card-image {object-fit:contain!important;object-position:center!important;background:#fff!important}
.bistmart-product-grid.is-list .product-card-media {height:100%!important;aspect-ratio:auto!important}
.bistmart-product-grid.is-list .product-card-media .product-card-image-wrap {height:100%;aspect-ratio:auto!important}
.product-card .product-price-main {font-size:18px;font-weight:800;line-height:1.8;color:var(--ink)}
.product-card .woocommerce-Price-currencySymbol {font-size:.78em;font-weight:700;margin-inline-start:3px}
.product-card {border-color:#ddd5cc;background:#fff;box-shadow:0 8px 26px rgba(18,18,18,.045)}
.category-card {background:#fff;border-color:#ded7cf}
.section-ivory {background:#f5f0ea}
.bistmart-home .page-shell > .section:nth-of-type(4n+2):not(.section-hero) {background:#f8f4ef}

.bistmart-inline-banner {margin:22px 0 34px;overflow:hidden;border-radius:22px;background:#23181b;box-shadow:0 16px 40px rgba(18,18,18,.12)}
.bistmart-inline-banner > a {position:relative;display:block;min-height:clamp(190px,24vw,330px);overflow:hidden;color:#fff}
.bistmart-inline-banner picture,.bistmart-inline-banner img {position:absolute;inset:0;display:block;width:100%;height:100%}
.bistmart-inline-banner img {object-fit:cover;object-position:center}
.bistmart-inline-banner > a::before {content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(18,18,18,.12),rgba(18,18,18,.78))}
.bistmart-inline-banner-copy {position:relative;z-index:2;display:flex;min-height:inherit;width:min(48%,560px);padding:clamp(26px,5vw,64px);flex-direction:column;align-items:flex-start;justify-content:center;gap:10px}
.bistmart-inline-banner-copy strong {font-size:clamp(26px,4vw,50px);line-height:1.25}
.bistmart-inline-banner-copy > span {font-size:clamp(13px,1.6vw,18px);line-height:1.9;color:rgba(255,255,255,.82)}
.bistmart-inline-banner-copy b {display:inline-flex;margin-top:8px;padding:10px 16px;border:1px solid rgba(255,255,255,.5);border-radius:999px;background:rgba(255,255,255,.12);font-size:13px}
.bistmart-inline-banner-2 {background:#253a36}
.bistmart-inline-banner-3 {background:#6f1723}

/* Promotional banners follow the supplied reference: four equal tiles in one row. */
.bistmart-home-banner-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:22px 0 36px}
.bistmart-home-banner-card {position:relative;display:block;min-width:0;aspect-ratio:5 / 3;overflow:hidden;border-radius:18px;background:linear-gradient(135deg,#efe4d8,#a32132);box-shadow:0 10px 28px rgba(18,18,18,.09)}
.bistmart-home-banner-card:nth-child(2) {background:linear-gradient(135deg,#eadccf,#d58434)}
.bistmart-home-banner-card:nth-child(3) {background:linear-gradient(135deg,#d9e6e5,#27706a)}
.bistmart-home-banner-card:nth-child(4) {background:linear-gradient(135deg,#efe4dd,#711824)}
.bistmart-home-banner-card picture,.bistmart-home-banner-card img {display:block;width:100%;height:100%}
.bistmart-home-banner-card img {object-fit:cover;object-position:center;transition:transform .35s ease}
.bistmart-home-banner-card:hover img {transform:scale(1.025)}
.bistmart-home-banner-card > span {position:absolute;right:14px;bottom:12px;left:14px;padding:8px 10px;border-radius:10px;background:rgba(18,18,18,.68);color:#fff;text-align:center;font-size:13px;font-weight:700;backdrop-filter:blur(8px)}
.bistmart-home-banner-card.has-image > span {display:none}

.bistmart-amazing-offer {padding:0!important;background:transparent!important;overflow:hidden}
.bistmart-amazing-shell {display:grid;grid-template-columns:190px minmax(0,1fr);min-width:0;overflow:hidden;border-radius:22px;background:#a32132;padding:16px;gap:12px;direction:rtl}
.bistmart-amazing-intro {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:18px 10px;color:#fff;text-align:center}
.bistmart-amazing-percent {font-size:64px;font-weight:800;line-height:.9}
.bistmart-amazing-intro strong {font-size:20px;line-height:1.5}
.bistmart-amazing-intro > span:not(.bistmart-amazing-percent) {font-size:12px;color:rgba(255,255,255,.78)}
.bistmart-amazing-intro a {margin-top:8px;padding:8px 13px;border-radius:999px;background:#fff;color:var(--ink);font-size:12px;font-weight:700}
.bistmart-amazing-products {display:flex;min-width:0;gap:3px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;padding-bottom:3px}
.bistmart-amazing-products .product-card {flex:0 0 min(220px,31%);border:0;border-radius:0;scroll-snap-align:start;box-shadow:none}
.bistmart-amazing-products .product-card:first-child {border-radius:0 14px 14px 0}
.bistmart-amazing-products .product-card:last-child {border-radius:14px 0 0 14px}
.bistmart-amazing-products .product-card-body {padding:9px 10px 11px}
.bistmart-amazing-products .product-title {font-size:12px}
.bistmart-amazing-products .product-price-main {font-size:14px}
.bistmart-amazing-products .btn {min-height:34px;font-size:11px!important}
.bistmart-amazing-empty {display:grid;place-items:center;min-height:330px;padding:24px;border-radius:14px;background:#fff;color:var(--muted);text-align:center}

.bistmart-collection-banner {padding:0!important;overflow:hidden}
.bistmart-collection-banner > a {position:relative;display:block;min-height:clamp(300px,36vw,500px);overflow:hidden;border-radius:22px;background:linear-gradient(125deg,#e4d5c6,#8c2635);color:#fff}
.bistmart-collection-banner picture,.bistmart-collection-banner picture img {position:absolute;inset:0;display:block;width:100%;height:100%}
.bistmart-collection-banner picture img {object-fit:cover}
.bistmart-collection-banner > a::after {content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(18,18,18,.06),rgba(18,18,18,.72))}
.bistmart-collection-banner-copy {position:relative;z-index:1;display:flex;width:min(52%,620px);min-height:inherit;padding:clamp(30px,6vw,76px);flex-direction:column;align-items:flex-start;justify-content:center;gap:12px}
.bistmart-collection-banner-copy strong {font-size:clamp(28px,4vw,52px);line-height:1.25}
.bistmart-collection-banner-copy > span:not(.section-badge) {font-size:clamp(14px,1.6vw,18px);line-height:2;color:rgba(255,255,255,.84)}
.bistmart-collection-banner-copy b {margin-top:8px;padding:11px 18px;border-radius:999px;background:#fff;color:var(--ink);font-size:13px}

/* The use-case section is three image banners, preserving the original three-column footprint. */
.bistmart-collection-banners {overflow:hidden}
.bistmart-collection-banner-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.bistmart-collection-banner-card {position:relative;display:block;min-width:0;aspect-ratio:16 / 9;overflow:hidden;border-radius:20px;background:linear-gradient(145deg,#e8ddd2,#9e3140);box-shadow:0 12px 30px rgba(18,18,18,.09)}
.bistmart-collection-banner-card:nth-child(2) {background:linear-gradient(145deg,#dedbd3,#554f49)}
.bistmart-collection-banner-card:nth-child(3) {background:linear-gradient(145deg,#d5e3e0,#2f6660)}
.bistmart-collection-banner-card picture,.bistmart-collection-banner-card img {display:block;width:100%;height:100%}
.bistmart-collection-banner-card img {object-fit:cover;object-position:center;transition:transform .4s ease}
.bistmart-collection-banner-card:hover img {transform:scale(1.025)}
.bistmart-collection-banner-card > span {position:absolute;right:14px;bottom:14px;left:14px;padding:10px 12px;border-radius:12px;background:rgba(18,18,18,.68);color:#fff;text-align:center;font-size:15px;font-weight:700;backdrop-filter:blur(8px)}
.bistmart-collection-banner-card.has-image > span {display:none}

section[data-name="Home Max Discount + Campaign"] > .grid-2 {grid-template-columns:1fr}
section[data-name="Home Max Discount + Campaign"] .product-row {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:row;grid-auto-columns:auto;gap:14px;overflow:visible}
section[data-name="Home Max Discount + Campaign"] .product-row .product-card {width:auto;min-width:0}
section[data-name="Home Max Discount + Campaign"] .bistmart-campaign-banners {grid-template-columns:repeat(2,minmax(0,1fr))}
section[data-name="Home Max Discount + Campaign"] .bistmart-campaign-banner {aspect-ratio:16 / 6;border-radius:18px}
section[data-name="Home Max Discount + Campaign"] .bistmart-campaign-banner img {object-fit:cover}
.bistmart-campaign-mark {transform:none}

.bistmart-popular-showcase {overflow:hidden}
.bistmart-rail-block + .bistmart-rail-block {margin-top:28px}
.bistmart-rail-heading {display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.bistmart-rail-heading > strong {font-size:16px}
.bistmart-rail-controls {display:flex;gap:7px}
.bistmart-rail-controls button {display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid var(--border);border-radius:50%;background:#fff;color:var(--ink);font-size:18px}
.bistmart-scroll-rail {display:flex;gap:14px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#c9c0b7 transparent;padding:2px 2px 12px}
.bistmart-scroll-rail > * {scroll-snap-align:start;flex:0 0 auto}
.bistmart-popular-category {width:170px;display:flex;flex-direction:column;align-items:center;gap:7px;text-align:center}
.bistmart-popular-category-image {display:grid;place-items:center;width:132px;height:132px;overflow:hidden;border:1px solid var(--border-soft);border-radius:50%;background:#fff}
.bistmart-popular-category-image img {width:100%;height:100%;object-fit:contain}
.bistmart-popular-category-image b {font-size:42px;color:#d4cbc2}
.bistmart-popular-category strong {font-size:14px}
.bistmart-popular-category small,.bistmart-brand-rail small {color:var(--muted);font-size:11px}
.bistmart-brand-rail > a {display:flex;width:180px;min-height:82px;padding:16px;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px solid var(--border);border-radius:16px;background:#fff}
.bistmart-brand-rail > a:hover {border-color:var(--wine);color:var(--wine)}

.bistmart-service-strip {padding-block:30px!important}
.bistmart-service-grid {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}
.bistmart-service-item {display:flex;min-width:0;flex-direction:column;align-items:center;text-align:center;gap:6px}
.bistmart-service-icon {display:grid;place-items:center;width:54px;height:54px;margin-bottom:3px;border-radius:50%;background:#fff;color:var(--wine);box-shadow:0 7px 22px rgba(18,18,18,.08)}
.bistmart-service-icon svg {width:28px;height:28px;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}
.bistmart-service-item strong {font-size:14px}
.bistmart-service-item > span:last-child {font-size:11px;line-height:1.7;color:var(--muted)}

section[data-name="Home Editorial"] .section-body {grid-template-columns:repeat(4,minmax(0,1fr))}
.bistmart-mag-card {padding:0;overflow:hidden;background:#fff}
.bistmart-mag-image {display:grid;place-items:center;width:100%;aspect-ratio:4 / 3;overflow:hidden;background:linear-gradient(145deg,#e8ddd2,#bb9e82);color:#fff;font-weight:800;letter-spacing:.12em}
.bistmart-mag-image img {display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.bistmart-mag-card:hover .bistmart-mag-image img {transform:scale(1.04)}
.bistmart-mag-card .editorial-tag,.bistmart-mag-card .editorial-title,.bistmart-mag-card .editorial-meta {margin-inline:16px}
.bistmart-mag-card .editorial-tag {margin-top:14px}
.bistmart-mag-card .editorial-meta {margin-bottom:16px}

.bistmart-back-to-top {position:fixed;left:24px;bottom:24px;z-index:1080;display:grid;place-items:center;width:48px;height:48px;padding:0;border:1px solid rgba(255,255,255,.25);border-radius:50%;background:var(--ink);color:#fff;box-shadow:0 12px 32px rgba(18,18,18,.24);opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .2s ease,transform .2s ease,visibility .2s}
.bistmart-back-to-top.is-visible {opacity:1;visibility:visible;transform:translateY(0)}
.bistmart-back-to-top svg {width:24px;height:24px}

@media(min-width:981px) {
    .bm-header-category-list > li > .sub-menu,.bm-header-secondary-list > li > .sub-menu {width:min(1180px,calc(100vw - 60px));grid-template-columns:repeat(3,minmax(170px,1fr));max-height:none;overflow:visible;direction:rtl}
    .bm-header-category-list > li > .sub-menu.has-category-art,.bm-header-secondary-list > li > .sub-menu.has-category-art {padding-left:374px;min-height:360px}
    .bm-mega-promos {position:absolute;top:22px;bottom:22px;left:22px;width:330px;display:grid!important;grid-template-rows:repeat(2,minmax(0,1fr));gap:12px}
    .bm-mega-promos > a {display:block!important;min-height:0!important;padding:0!important;overflow:hidden;border:0!important;border-radius:14px!important;background:#f4eee7}
    .bm-mega-promos img {display:block;width:100%;height:100%;object-fit:cover;object-position:center}
    .bm-mega-promos > a:only-child {grid-row:1 / -1}
}


/* BistMart 1.3.3: contained, scrollbar-free, fluid homepage carousels. */
.bm-home-carousel {
    min-width:0;
    max-width:100%;
}
@media(min-width:981px) {
    .bm-home-carousel:is(.bm-carousel-desktop,.bm-carousel-both) {overflow:hidden}
}
@media(max-width:980px) {
    .bm-home-carousel:is(.bm-carousel-mobile,.bm-carousel-both) {overflow:hidden}
}
.bm-home-carousel .section-body,
.bm-home-carousel .stack-16,
.bm-home-carousel .grid-2,
.bm-home-carousel .grid-2 > * {
    min-width:0;
    max-width:100%;
}
.bm-home-carousel .bm-home-carousel-track {
    box-sizing:border-box;
    width:100%;
    max-width:100%;
    min-width:0;
}
.bm-home-carousel-controls {
    display:flex;
    align-items:center;
    gap:7px;
    flex:0 0 auto;
    margin-inline-start:auto;
    direction:rtl;
}
.bm-home-carousel-controls[hidden] {display:none!important}
.bm-home-carousel-arrow {
    display:grid;
    place-items:center;
    width:36px;
    height:36px;
    min-width:36px;
    padding:0;
    border:1px solid var(--border);
    border-radius:50%;
    background:#fff;
    color:var(--ink);
    cursor:pointer;
    font:700 19px/1 var(--theme-font,Tahoma,sans-serif);
    transition:background .18s ease,border-color .18s ease,opacity .18s ease;
}
.bm-home-carousel-arrow:hover:not(:disabled),
.bm-home-carousel-arrow:focus-visible {border-color:var(--wine);background:var(--ivory);color:var(--wine)}
.bm-home-carousel-arrow:disabled {opacity:.32;cursor:default}

@media(min-width:981px) {
    .bm-home-carousel:is(.bm-carousel-desktop,.bm-carousel-both) .bm-home-carousel-track {
        --bm-carousel-gap:14px;
        display:flex!important;
        grid-template-columns:none!important;
        grid-auto-flow:unset!important;
        gap:var(--bm-carousel-gap)!important;
        overflow-x:auto!important;
        overflow-y:hidden!important;
        padding:2px 0 3px!important;
        scroll-snap-type:x mandatory;
        scroll-padding-inline:1px;
        overscroll-behavior-x:contain;
        scrollbar-width:none!important;
        -ms-overflow-style:none;
        -webkit-overflow-scrolling:touch;
    }
    .bm-home-carousel:is(.bm-carousel-desktop,.bm-carousel-both) .bm-home-carousel-track > :is(.product-card,.bistmart-mag-card) {
        box-sizing:border-box;
        flex:0 0 calc(var(--bm-carousel-desktop-card-percent,25%) - var(--bm-carousel-desktop-gap-offset,10.5px))!important;
        width:calc(var(--bm-carousel-desktop-card-percent,25%) - var(--bm-carousel-desktop-gap-offset,10.5px))!important;
        max-width:100%;
        min-width:0!important;
        scroll-snap-align:start;
    }
}
@media(max-width:980px) {
    .bm-home-carousel:is(.bm-carousel-mobile,.bm-carousel-both) .bm-home-carousel-track {
        --bm-carousel-gap:12px;
        --bm-carousel-mobile-card-percent:45.4545%;
        --bm-carousel-mobile-gap-offset:6.5455px;
        display:flex!important;
        grid-template-columns:none!important;
        grid-auto-flow:unset!important;
        gap:var(--bm-carousel-gap)!important;
        overflow-x:auto!important;
        overflow-y:hidden!important;
        padding:2px 0 3px!important;
        scroll-snap-type:x mandatory;
        scroll-padding-inline:1px;
        overscroll-behavior-x:contain;
        -webkit-overflow-scrolling:touch;
        scrollbar-width:none!important;
        -ms-overflow-style:none;
        -webkit-mask-image:linear-gradient(to left,#000 0,#000 calc(100% - 32px),rgba(0,0,0,.6) calc(100% - 12px),transparent 100%);
        mask-image:linear-gradient(to left,#000 0,#000 calc(100% - 32px),rgba(0,0,0,.6) calc(100% - 12px),transparent 100%);
    }
    .bm-home-carousel:is(.bm-carousel-mobile,.bm-carousel-both) .bm-home-carousel-track > :is(.product-card,.bistmart-mag-card) {
        box-sizing:border-box;
        flex:0 0 calc(var(--bm-carousel-mobile-card-percent) - var(--bm-carousel-mobile-gap-offset))!important;
        width:calc(var(--bm-carousel-mobile-card-percent) - var(--bm-carousel-mobile-gap-offset))!important;
        max-width:100%;
        min-width:0!important;
        scroll-snap-align:start;
    }
}
@media(max-width:650px) {
    .bm-home-carousel:is(.bm-carousel-mobile,.bm-carousel-both) .bm-home-carousel-track {--bm-carousel-mobile-card-percent:80%;--bm-carousel-mobile-gap-offset:2.4px}
    .bm-home-carousel-controls {gap:5px}
    .bm-home-carousel-arrow {width:32px;height:32px;min-width:32px}
}
.bm-home-carousel .bm-home-carousel-track::-webkit-scrollbar {display:none!important;width:0!important;height:0!important}
@media(max-width:980px) {
    .product-card-media {aspect-ratio:1 / 1!important}
    .bistmart-home-banner-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
    .bistmart-amazing-shell {grid-template-columns:145px minmax(0,1fr)}
    .bistmart-amazing-products .product-card {flex-basis:210px}
    section[data-name="Home Max Discount + Campaign"].bm-carousel-grid .product-row,
    section[data-name="Home Max Discount + Campaign"].bm-carousel-desktop .product-row {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row;gap:12px;overflow:visible}
    section[data-name="Home Editorial"].bm-carousel-grid .section-body,
    section[data-name="Home Editorial"].bm-carousel-desktop .section-body {display:grid;grid-template-columns:1fr;overflow:visible}
    .bistmart-service-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
    .bistmart-back-to-top {left:18px;bottom:96px}
}

@media(max-width:650px) {
    section[data-name="Home Max Discount + Campaign"].bm-carousel-grid .product-row,
    section[data-name="Home Max Discount + Campaign"].bm-carousel-desktop .product-row {grid-template-columns:1fr}
    .bistmart-amazing-shell {display:block;padding:12px;border-radius:16px}
    .bistmart-amazing-intro {min-height:120px;padding:10px;display:grid;grid-template-columns:auto 1fr auto;text-align:right}
    .bistmart-amazing-percent {font-size:46px;grid-row:1 / span 2}
    .bistmart-amazing-intro strong {font-size:17px}
    .bistmart-amazing-intro > span:not(.bistmart-amazing-percent) {grid-column:2}
    .bistmart-amazing-intro a {grid-column:3;grid-row:1 / span 2;margin:0}
    .bistmart-amazing-products .product-card {flex-basis:min(68vw,230px)}
    .bistmart-home-banner-grid {gap:9px;margin:14px 0 24px}
    .bistmart-home-banner-card {border-radius:13px}
    .bistmart-collection-banner-grid {grid-template-columns:1fr;gap:12px}
    .bistmart-collection-banner-card {aspect-ratio:16 / 9;border-radius:15px}
    .bistmart-inline-banner {margin:16px 0 24px;border-radius:16px}
    .bistmart-inline-banner > a {min-height:280px}
    .bistmart-inline-banner-copy,.bistmart-collection-banner-copy {width:100%;padding:26px;justify-content:flex-end}
    .bistmart-inline-banner > a::before,.bistmart-collection-banner > a::after {background:linear-gradient(0deg,rgba(18,18,18,.8),rgba(18,18,18,.08) 75%)}
    .bistmart-collection-banner > a {min-height:390px;border-radius:16px}
    section[data-name="Home Max Discount + Campaign"] .bistmart-campaign-banners {grid-template-columns:1fr}
    section[data-name="Home Max Discount + Campaign"] .bistmart-campaign-banner {aspect-ratio:16 / 7}
    .bistmart-service-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}
    .bistmart-service-item:last-child {grid-column:1/-1}
    .bistmart-popular-category {width:134px}
    .bistmart-popular-category-image {width:105px;height:105px}
    .bistmart-rail-controls {display:none}
    .product-card .product-price-main {font-size:16px}
}

/* Keep the single-product featured image centered on first paint and image changes. */
.bistmart-pdp #bistmart-main-image,
.bistmart-pdp .bistmart-main-image {
    object-position:50% 50%!important;
    transform-origin:50% 50%;
    --pan-x:0px;
    --pan-y:0px
}

/* Faraiand / Paliz: one native WooCommerce purchasing form, no hidden inputs. */
.bistmart-pdp .bistmart-native-cart {width:100%;min-width:0}
.bistmart-pdp .bistmart-native-cart form.variations_form {display:block;width:100%;margin:0}
.bistmart-pdp .bistmart-native-cart table.variations {display:table;width:100%;border-collapse:separate;border-spacing:0 12px;table-layout:auto}
.bistmart-pdp .bistmart-native-cart table.variations tr {display:table-row}
.bistmart-pdp .bistmart-native-cart table.variations th,
.bistmart-pdp .bistmart-native-cart table.variations td {display:table-cell;vertical-align:middle;text-align:right;padding:4px 8px;border:0}
.bistmart-pdp .bistmart-native-cart table.variations th.label {min-width:60px;font-weight:650}
.bistmart-pdp .bistmart-native-cart table.variations td.value {width:100%}
.bistmart-pdp .bistmart-native-cart table.variations select {position:static!important;clip:auto!important;display:block!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;appearance:auto!important;width:100%!important;max-width:100%!important;min-height:47px;padding:8px 12px;border:1px solid #c7c7c7;border-radius:12px;background:#fff;color:#222;font-size:15px;white-space:normal}
.bistmart-pdp .bistmart-native-cart .reset_variations {display:inline-block!important;position:static!important;opacity:1!important;visibility:visible!important;margin-top:8px;font-size:12px}
.bistmart-pdp .bistmart-native-cart .single_variation_wrap {display:block!important}
.bistmart-pdp .bistmart-native-cart .woocommerce-variation.single_variation {display:block!important}
.bistmart-pdp .bistmart-native-cart .woocommerce-variation-add-to-cart {display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:14px}
.bistmart-pdp .bistmart-native-cart .woocommerce-variation-add-to-cart .quantity {display:block}
.bistmart-pdp .bistmart-native-cart button.single_add_to_cart_button {min-height:48px;flex:1;min-width:160px;cursor:pointer}
.bistmart-pdp .bistmart-native-cart .woocommerce-variation-add-to-cart-disabled button.single_add_to_cart_button {cursor:not-allowed}
@media(max-width:520px) {.bistmart-pdp .bistmart-native-cart table.variations th.label {min-width:55px}.bistmart-pdp .bistmart-native-cart table.variations td.value {max-width:275px}}

/* Paliz CM simple-product choice controls; keep selectors clickable on mobile. */
.bistmart-pdp .fpz-simple-options .fpz-color-choices{display:flex!important;flex-wrap:wrap;align-items:center;gap:12px}
.bistmart-pdp .fpz-simple-options .fpz-color-choice{display:inline-flex!important;align-items:center;flex-direction:column;cursor:pointer;gap:6px;min-width:44px}
.bistmart-pdp .fpz-simple-options .fpz-swatch{display:inline-block!important;width:36px;height:36px;border-radius:50%;background:var(--fpz-color,#eee);border:2px solid #fff;box-shadow:0 0 0 1px #aaa;box-sizing:border-box}
.bistmart-pdp .fpz-simple-options .fpz-color-choice input:checked + .fpz-swatch{box-shadow:0 0 0 3px #009ca8}
.bistmart-pdp .fpz-simple-options .fpz-size-choices{display:flex!important;flex-wrap:wrap;gap:8px}
.bistmart-pdp .fpz-simple-options .fpz-size-choice input:checked + span{background:#183b40;color:#fff}
.bistmart-pdp .fpz-simple-options .fpz-choice-field{display:block;width:100%;margin:0;padding:0;border:0}


/* BistMart 1.3: one accessible full-width product details tab panel. */
.bistmart-detail-tabs {width:100%;min-width:0;gap:16px}
.bistmart-detail-tabs .tab-list {display:flex;flex-wrap:wrap;gap:8px;border-bottom:1px solid var(--border);padding-bottom:12px}
.bistmart-detail-tabs .tab {font-family:inherit;font-weight:600;font-size:13px;line-height:1.7;cursor:pointer;transition:background .2s ease,color .2s ease,border-color .2s ease}
.bistmart-detail-tabs .tab:focus-visible {outline:3px solid var(--wine);outline-offset:3px}
.bistmart-detail-tabs .bistmart-detail-panel {width:100%;box-sizing:border-box;min-height:100px;padding:22px;border-radius:16px;line-height:1.9}
.bistmart-detail-tabs .bistmart-detail-panel[hidden] {display:none!important}
.bistmart-detail-tabs .bistmart-review-layout {margin:0}
.bistmart-detail-tabs .bistmart-product-faq {max-width:none}
.bistmart-variation-notice:not([hidden]) {display:flex;align-items:center;gap:10px;margin:12px 0;padding:13px 16px;background:#FFF5F1;border:1px solid #DCA99C;border-right:4px solid var(--wine);border-radius:12px;color:#772434;font-size:13px;line-height:1.8;font-weight:600;box-shadow:0 8px 20px rgba(163,33,50,.06)}
.bistmart-variation-notice:not([hidden])::before {content:'!';display:grid;place-items:center;flex:none;width:22px;height:22px;border-radius:50%;background:var(--wine);color:#fff;font-weight:800}
.bistmart-variation-notice:focus {outline:none}
@media(max-width:600px) {.bistmart-detail-tabs .bistmart-detail-panel {padding:14px}.bistmart-detail-tabs .tab {font-size:12px;padding:7px 12px}}

/* BistMart 1.3 corrective: shared notice for both WC variations and Paliz simple options. */
#bistmart-purchase .bistmart-variation-notice[hidden] {display:none!important}
#bistmart-purchase select[aria-invalid="true"] {border-color:#ac2742!important;box-shadow:0 0 0 2px rgba(172,39,66,.13)}
#bistmart-purchase .fpz-choice-field input[aria-invalid="true"] + span {outline:2px solid #ac2742;outline-offset:3px}

/* PDP Size Guide — intentional, compact placement above selection and cart. */
.bistmart-pdp .bistmart-pdp-size-guide {display:flex;align-items:center;min-width:0;margin:0}
.bistmart-pdp .bistmart-pdp-size-guide .faraiand-sg__trigger {display:inline-flex!important;align-items:center;justify-content:center;min-height:40px;padding:8px 16px;border:1px solid var(--border)!important;border-radius:11px!important;background:var(--paper,#fff)!important;color:var(--ink,#121212)!important;font-family:inherit;font-size:13px;font-weight:700;line-height:1.6;cursor:pointer;box-shadow:none}
.bistmart-pdp .bistmart-pdp-size-guide .faraiand-sg__trigger:hover {border-color:var(--wine,#A32132)!important;color:var(--wine,#A32132)!important}
.bistmart-pdp .bistmart-pdp-size-guide .faraiand-sg__trigger:focus-visible {outline:2px solid var(--wine,#A32132);outline-offset:3px}
.bistmart-pdp .bistmart-sg-diagnostic {padding:12px 15px;border:1px solid #e7c77f;background:#fff8e8;border-radius:10px;font-size:12px;line-height:1.9;color:#573f13}


/* 1.3.7 — contextual facet search and responsive header suggestions */
.bm-facet-search {position:relative;margin:8px 0 10px}
.bm-facet-search-input {display:block;width:100%;height:38px;padding:6px 12px 6px 30px;box-sizing:border-box;border:1px solid var(--border,#e7dfd8);border-radius:10px;background:#fff;color:var(--ink,#222);font-size:12px;outline:none;transition:border-color .18s,box-shadow .18s}
.bm-facet-search-input:focus {border-color:var(--wine,#a32132);box-shadow:0 0 0 3px rgba(163,33,50,.08)}
.bm-facet-search-input::placeholder {color:#8e8580}
.bm-facet-search-symbol {position:absolute;left:10px;top:6px;color:#887d77;font-size:22px;line-height:26px;pointer-events:none}
.bm-facet-empty {margin:5px 0 9px;font-size:11px;color:var(--muted,#777)}
.bistmart-filter-form [data-filter-label][hidden] {display:none!important}
.bm-shoe-size-slider {margin:12px 0 16px;padding:12px 13px 10px;border:1px solid #ebe3dd;border-radius:14px;background:#fff;min-width:0}
.bm-shoe-size-heading,.bm-shoe-size-limits {display:flex;justify-content:space-between;align-items:center;gap:10px}
.bm-shoe-size-heading {font-size:12px;color:#74685f;margin-bottom:12px}
.bm-shoe-size-heading strong {color:var(--wine,#a32132);font-size:14px}
.bm-shoe-size-limits {margin-top:5px;font-size:11px;color:#867c76;direction:ltr}
.bm-shoe-size-slider input[type=range] {display:block;width:100%;height:18px;margin:0;accent-color:var(--wine,#a32132);cursor:grab;touch-action:pan-y;direction:ltr}
.bm-shoe-size-slider input[type=range]:active {cursor:grabbing}
.bm-header-search {position:relative;z-index:20}
.bm-search-suggestions {position:absolute;z-index:1500;top:calc(100% + 8px);right:0;width:min(430px,calc(100vw - 24px));max-height:min(64vh,500px);overflow-y:auto;overscroll-behavior:contain;direction:rtl;text-align:right;background:#fff;border:1px solid #e7ddd6;border-radius:16px;box-shadow:0 18px 48px rgba(29,15,19,.18);padding:15px;scrollbar-width:thin}
.bm-search-suggestions[hidden] {display:none!important}
.bm-search-suggestions section + section {padding-top:13px;margin-top:12px;border-top:1px solid #f0e9e3}
.bm-search-suggestions h3 {margin:0 0 9px;color:#5c4a43;font-size:12px;font-weight:700}
.bm-suggest-chips {display:flex;flex-wrap:wrap;gap:7px}
.bm-suggest-chip {display:inline-flex;align-items:center;min-height:28px;max-width:100%;padding:4px 10px;border-radius:999px;background:#f7f1ed;border:1px solid #f0e3dc;color:#51413d;font-size:11px;line-height:1.5;transition:background .15s,color .15s}
.bm-suggest-chip:hover,.bm-suggest-chip:focus-visible {background:var(--wine,#a32132);color:#fff}
.bm-suggest-product {display:flex;align-items:center;gap:11px;min-height:58px;padding:6px;border-radius:10px;color:var(--ink,#222)}
.bm-suggest-product:hover,.bm-suggest-product:focus-visible {background:#faf4f1;color:var(--wine,#a32132)}
.bm-suggest-product img {flex:0 0 52px;width:52px;height:52px;object-fit:contain;border:1px solid #f1ece8;border-radius:9px;background:#fff}
.bm-suggest-product-text {min-width:0;display:flex;flex-direction:column;gap:3px}
.bm-suggest-product-name {font-size:12px;line-height:1.7;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.bm-suggest-product-text small {font-size:11px;color:#806a64}
.bm-suggest-message {margin:0;padding:12px 4px;color:#766961;font-size:12px}
@media(max-width:980px) {.bm-search-suggestions {width:100%;max-width:100%;top:calc(100% + 5px);max-height:55vh;padding:12px} }


/* 1.3.8 — simple archive sidebar, single size control and lean suggestions */
/* Specificity also overrides the sticky .sidebar-desktop rule in reference-plp.css. */
.bistmart-filter-form.sidebar-desktop {position:static;top:auto;align-self:start}
/* JS creates the slider first; keep option checkboxes in FormData, not in view. */
.bistmart-filter-form .bm-has-size-slider [data-size-options] {display:none!important}
.bm-shoe-size-slider input[type=range] {
  appearance:none;-webkit-appearance:none;height:22px;
  background:transparent;outline-offset:5px;
}
.bm-shoe-size-slider input[type=range]::-webkit-slider-runnable-track {
  height:6px;border:0;border-radius:99px;
  background:linear-gradient(to right,var(--wine,#a32132) 0%,var(--wine,#a32132) var(--shoe-position,0%),#e6dcd5 var(--shoe-position,0%),#e6dcd5 100%);
}
.bm-shoe-size-slider input[type=range]::-webkit-slider-thumb {
  appearance:none;-webkit-appearance:none;width:20px;height:20px;margin-top:-7px;
  background:#fff;border:3px solid var(--wine,#a32132);border-radius:50%;box-shadow:0 1px 5px #0002;
}
.bm-shoe-size-slider input[type=range]::-moz-range-track {height:6px;border-radius:99px;background:#e6dcd5}
.bm-shoe-size-slider input[type=range]::-moz-range-progress {height:6px;border-radius:99px;background:var(--wine,#a32132)}
.bm-shoe-size-slider input[type=range]::-moz-range-thumb {width:15px;height:15px;background:#fff;border:3px solid var(--wine,#a32132);border-radius:50%;box-shadow:0 1px 5px #0002}
.bm-suggest-product-text {min-width:0;flex:1}
.bm-suggest-product-category {display:block;font-size:11px;color:#81716b;line-height:1.4}
.bm-suggest-swatches {display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin-top:2px}
.bm-suggest-swatch {display:inline-block;width:11px;height:11px;flex:0 0 11px;border-radius:50%;border:1px solid rgba(30,25,25,.22);box-shadow:0 0 0 1px rgba(255,255,255,.9)}


/* 1.3.9 — full-screen LEFT mobile filter sheet, independent scrolling and collapsed facets.
   Only the mobile breakpoint is touched: desktop sidebar remains as in 1.3.8. */
.bm-filter-footer > .btn-full {display:flex;width:100%;margin-top:6px}
.bm-filter-scroll-body {display:contents}
.bm-filter-accordion-toggle,.bm-filter-active-summary {display:none}
@media (max-width: 992px) {
  html.bm-filter-page-locked {overflow:hidden!important;overscroll-behavior:none}
  body.bm-filter-page-locked {position:fixed!important;left:0;right:0;width:100%;overflow:hidden!important;overscroll-behavior:none}
  .bistmart-catalog .bistmart-filter-form.sidebar-desktop {
    display:flex!important;position:fixed!important;z-index:2200;
    inset:0;inset-inline:0;top:0!important;left:0!important;right:0!important;
    width:100%;max-width:none;min-width:0;height:100vh;height:100dvh;
    max-height:none;margin:0;padding:0;border:0;border-radius:0;
    background:var(--paper,#fff);box-shadow:0 0 40px #241d2220;
    flex-direction:column;align-items:stretch;overflow:hidden;
    transform:translate3d(-101%,0,0);opacity:1;visibility:hidden;pointer-events:none;
    transition:transform .32s cubic-bezier(.22,1,.36,1), visibility 0s linear .32s;
    overscroll-behavior:contain;
  }
  .bistmart-catalog .bistmart-filter-form.sidebar-desktop.is-open {
    transform:translate3d(0,0,0);visibility:visible;pointer-events:auto;
    transition:transform .32s cubic-bezier(.22,1,.36,1), visibility 0s;
  }
  .bistmart-filter-form .bistmart-filter-heading {
    display:flex;justify-content:space-between;align-items:center;flex:0 0 auto;
    margin:0;padding:calc(14px + env(safe-area-inset-top,0px)) 18px 14px;
    border-bottom:1px solid #efe7e1;background:var(--paper,#fff);min-height:67px;box-sizing:border-box;
  }
  .bistmart-filter-form .bistmart-filter-heading .filter-section-title {font-size:17px;font-weight:750;margin:0}
  .bistmart-filter-form .bistmart-filter-close {display:grid;place-items:center;width:39px;height:39px;font-size:24px;flex:0 0 39px}
  .bistmart-filter-form .bm-filter-scroll-body {
    display:block;flex:1 1 auto;min-height:0;padding:14px 16px 22px;
    overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;scrollbar-width:thin;touch-action:pan-y;
  }
  .bistmart-filter-form .bm-filter-footer {
    flex:0 0 auto;padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));
    border-top:1px solid #eee4dd;background:var(--paper,#fff);box-shadow:0 -8px 20px #1a131005;
  }
  .bistmart-filter-form .bm-filter-footer > .btn-full {margin:0;min-height:45px;justify-content:center;border-radius:12px;font-size:14px;background:var(--ink,#24201e);color:#fff;border-color:var(--ink,#24201e)}
  .bistmart-filter-form .filter-group {
    margin:0 0 10px;padding:0!important;border:1px solid #eae1db!important;
    background:#fff;border-radius:14px;overflow:hidden;
  }
  .bistmart-filter-form .filter-group > h3.filter-section-title {display:none}
  .bistmart-filter-form .bm-filter-accordion-toggle {
    display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;
    padding:16px 15px;min-height:53px;border:0;background:transparent;
    color:var(--ink,#262020);font:inherit;font-size:14px;font-weight:700;text-align:right;cursor:pointer;
  }
  .bistmart-filter-form .bm-filter-chevron {
    display:block;flex:0 0 9px;width:9px;height:9px;border-left:1.8px solid #887b74;
    border-bottom:1.8px solid #887b74;transform:rotate(-45deg);transition:transform .18s ease;
  }
  .bistmart-filter-form .bm-filter-expanded .bm-filter-chevron {transform:rotate(135deg)}
  .bistmart-filter-form .bm-filter-active-summary {
    display:flex;gap:6px;flex-wrap:wrap;padding:0 14px 12px;
  }
  .bistmart-filter-form .bm-filter-active-summary[hidden] {display:none!important}
  .bistmart-filter-form .bm-filter-selected-chip {
    display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:5px 9px;
    border:1px solid #ead7d5;border-radius:999px;background:#fbf4f2;
    color:var(--wine,#a32132);font:inherit;font-size:11px;font-weight:600;
    line-height:1.7;cursor:pointer;word-break:break-word;
  }
  .bistmart-filter-form .bm-filter-selected-chip:active {background:#f1e0df}
  .bistmart-filter-form .bm-filter-chip-cross {font-size:16px;line-height:1;font-weight:400}
  .bistmart-filter-form .bm-filter-accordion-panel {padding:0 15px 16px}
  .bistmart-filter-form .bm-filter-accordion-panel[hidden] {display:none!important}
  .bistmart-filter-form .bm-filter-expanded .bm-filter-accordion-toggle {color:var(--wine,#a32132)}
  /* One scroll container only. Each facet flows naturally, even for long category/color lists. */
  .bistmart-filter-form .bistmart-filter-scroll {max-height:none!important;overflow:visible!important;padding-inline-end:0}
  .bistmart-filter-form .bm-shoe-size-slider {min-width:0}
  .bistmart-filter-form .bm-shoe-size-slider input[type=range],
  .bistmart-filter-form .bistmart-range-control input[type=range] {touch-action:none}
}
@media (max-width: 992px) and (prefers-reduced-motion:reduce) {
  .bistmart-catalog .bistmart-filter-form.sidebar-desktop {transition:none}
}

/* BistMart 1.3.11: opt-in additional product grids/carousels, isolated from existing rows. */
.bm-home-extra{min-width:0;max-width:100%}
.bm-home-extra .section-header{align-items:center;min-width:0}
.bm-home-extra-heading{min-width:0;flex:1}
.bm-home-extra-heading .section-badge{margin-bottom:9px}
.bm-home-extra-header-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;justify-content:flex-end}
.bm-home-extra .bm-home-carousel-track{display:grid;grid-template-columns:repeat(var(--bm-extra-grid-columns,4),minmax(0,1fr));gap:14px;min-width:0;max-width:100%;width:100%}
@media(max-width:980px){.bm-home-extra .bm-home-carousel-track{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}}
@media(max-width:650px){.bm-home-extra .bm-home-carousel-track{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.bm-home-extra-header-actions{justify-content:flex-start}.bm-home-extra .section-header{gap:12px}}
