/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

/* ***************************************************** */
/* ***************************************************** */
/* *************** Begin: Global settings ************** */
/* ***************************************************** */
/* ***************************************************** */

/* --------------------------------------------- */
/* ---------- define global variables ---------- */
/* --------------------------------------------- */
:root {
    --bs-body-font-family: "Heebo",sans-serif; /* "Open Sans", Helvetica, Arial, sans-serif; */ /* body */
    --secondary-font-family: var(--bs-body-font-family); /* titles */
    --bs-breadcrumb-divider: "›";

    /*
     * Brand palette — neutral defaults (stock theme colors). A per-site child
     * theme overrides --bs-primary / --bs-tertiary (+ their -rgb), and the
     * variants below then follow automatically.
     */
    
    /* REFINA brand */
    --bs-primary: #003D79;
    --bs-primary-rgb: 0, 61, 121;
    --bs-secondary: #0A1528;
    --bs-secondary-rgb: 10, 21, 40;
    --bs-tertiary: #D9DADB;
    --bs-tertiary-rgb: 217, 218, 219;

    /* primary: variant-1 = hover (lighter), variant-2 = active (darker) */
    --bs-primary-variant-1: color-mix(in srgb, var(--bs-primary), white 18%);
    --bs-primary-variant-1-rgb: var(--bs-primary-rgb);
    --bs-primary-variant-2: color-mix(in srgb, var(--bs-primary), black 18%);
    --bs-primary-variant-2-rgb: var(--bs-primary-rgb);
    --bs-primary-variant-3: color-mix(in srgb, var(--bs-primary), white 35%);
    --bs-primary-variant-3-rgb: var(--bs-primary-rgb);
    
    /* secondary: variant-1 = hover (lighter), variant-2 = active (darker) */
    --bs-secondary-variant-1: color-mix(in srgb, var(--bs-secondary), white 18%);
    --bs-secondary-variant-1-rgb: var(--bs-secondary-rgb);
    --bs-secondary-variant-2: color-mix(in srgb, var(--bs-secondary), black 18%);
    --bs-secondary-variant-2-rgb: var(--bs-secondary-rgb);

    /* Tertiary "accent" slot — defaults to Bootstrap's neutral tertiary colour (defined in
       theme.css as --bs-tertiary-color-rgb), so it's always present without per-usage fallbacks.
       Set --bs-tertiary + --bs-tertiary-rgb to a distinct colour for a real third accent. */
    /* --bs-tertiary: rgb(var(--bs-tertiary-color-rgb));
    --bs-tertiary-rgb: var(--bs-tertiary-color-rgb); */
    --bs-tertiary-variant-1: #F4F4F4;
    --bs-tertiary-variant-1-rgb: 244, 244, 244;
    --bs-tertiary-variant-2: #D9D9D9;
    --bs-tertiary-variant-2-rgb: 217, 217, 217;
    --bs-tertiary-variant-3: #333F48;
    --bs-tertiary-variant-3-rgb: 51, 63, 72;

    --bs-tertiary-bg-rgb: var(--bs-tertiary-variant-1-rgb); /* used for .bg-body-tertiary */

    --bs-body-color-rgb: 33, 37, 41;
    --bs-body-color: rgb(var(--bs-body-color-rgb));

    --bs-link-color-rgb: var(--bs-body-color-rgb);
    --bs-link-color: rgb(var(--bs-link-color-rgb));
    --bs-link-hover-color-rgb: var(--bs-primary-rgb);
    --bs-link-hover-color: rgb(var(--bs-link-hover-color-rgb));
    --bs-link-primary-hover-color-rgb: var(--bs-primary-rgb);
    --bs-link-primary-hover-color: rgb(var(--bs-link-primary-hover-color-rgb));

    --bs-heading-color: inherit;

    --form-control-focus-border-color: #86b7fe;
    --form-control-focus-box-shadow-rgb: 217, 217, 217;

    --bs-btn-disabled-color: white;
    --bs-btn-disabled-bg: darkgrey;
    --bs-btn-disabled-border-color: darkgrey;

    /* Custom scrollbar */
    --custom-scrollbar-track-background-color: #f1f1f1;
    --custom-scrollbar-thumb-background-color: rgba(var(--bs-secondary-rgb), .25);
    --custom-scrollbar-thumb-hover-background-color: rgba(var(--bs-secondary-variant-1-rgb), .85);
    --custom-scrollbar-thumb-border-color: var(--custom-scrollbar-thumb-background-color);
    --custom-scrollbar-thumb-hover-border-color: var(--custom-scrollbar-thumb-hover-background-color);
    
    /* Header */
    --header-height: 170px;
    --sticky-header-height: 0;

    --header-background-color: var(--bs-secondary);
    --header-text-color: var(--bs-white);
    --header-hover-color: var(--bs-primary-variant-3);

    --header-bottom-background-color: unset;
    --header-nav-background-color: var(--bs-tertiary);
    --header-search-mobile-background-color: var(--bs-tertiary);

    /* Footer */
    --footer-background-color: var(--bs-secondary);
    --footer-heading-color: var(--bs-white);
    --footer-text-color: var(--bs-white);
    --footer-hover-color: var(--bs-primary-variant-3);

    --bs-alert-link-color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity,1));
    --sticky-zindex: 1020;
    --offcanvas-zindex: 9999999;
    --modal-zindex: var(--offcanvas-zindex);
    --page-loader-zindex: calc(var(--sticky-zindex, 999) + 1);

    /* Available variables */
    /* --bs-blue:#0d6efd;
    --bs-indigo:#6610f2;
    --bs-purple:#6f42c1;
    --bs-pink:#d63384;
    --bs-red:#dc3545;
    --bs-orange:#fd7e14;
    --bs-yellow:#ffc107; */
    --bs-green:#009932;
    --bs-green-rgb:0,153,50;
    /* --bs-teal:#20c997;
    --bs-cyan:#0dcaf0;
    --bs-black:#000;
    --bs-white:#fff;
    --bs-gray:#6c757d;
    --bs-gray-dark:#343a40;
    --bs-gray-100:#f8f9fa;
    --bs-gray-200:#e9ecef;
    --bs-gray-300:#dee2e6;
    --bs-gray-400:#ced4da;
    --bs-gray-500:#adb5bd;
    --bs-gray-600:#6c757d;
    --bs-gray-700:#495057;
    --bs-gray-800:#343a40;
    --bs-gray-900:#212529;
    --bs-primary:#0d6efd;
    --bs-secondary:#6c757d;
    --bs-success:#198754;
    --bs-info:#0dcaf0;
    --bs-warning:#ffc107;
    --bs-danger:#dc3545;
    --bs-light:#f8f9fa;
    --bs-dark:#212529;
    --bs-primary-rgb:13,110,253;
    --bs-secondary-rgb:108,117,125;
    --bs-success-rgb:25,135,84;
    --bs-info-rgb:13,202,240;
    --bs-warning-rgb:255,193,7;
    --bs-danger-rgb:220,53,69;
    --bs-light-rgb:248,249,250;
    --bs-dark-rgb:33,37,41;
    --bs-primary-text-emphasis:#052c65;
    --bs-secondary-text-emphasis:#2b2f32;
    --bs-success-text-emphasis:#0a3622;
    --bs-info-text-emphasis:#055160;
    --bs-warning-text-emphasis:#664d03;
    --bs-danger-text-emphasis:#58151c;
    --bs-light-text-emphasis:#495057;
    --bs-dark-text-emphasis:#495057;
    --bs-primary-bg-subtle:#cfe2ff;
    --bs-secondary-bg-subtle:#e2e3e5;
    --bs-success-bg-subtle:#d1e7dd;
    --bs-info-bg-subtle:#cff4fc;
    --bs-warning-bg-subtle:#fff3cd;
    --bs-danger-bg-subtle:#f8d7da;
    --bs-light-bg-subtle:#fcfcfd;
    --bs-dark-bg-subtle:#ced4da;
    --bs-primary-border-subtle:#9ec5fe;
    --bs-secondary-border-subtle:#c4c8cb;
    --bs-success-border-subtle:#a3cfbb;
    --bs-info-border-subtle:#9eeaf9;
    --bs-warning-border-subtle:#ffe69c;
    --bs-danger-border-subtle:#f1aeb5;
    --bs-light-border-subtle:#e9ecef;
    --bs-dark-border-subtle:#adb5bd;
    --bs-white-rgb:255,255,255;
    --bs-black-rgb:0,0,0;
    --bs-font-sans-serif:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    --bs-font-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
    --bs-gradient:linear-gradient(180deg,hsla(0,0%,100%,.15),hsla(0,0%,100%,0));
    --bs-body-font-size:1rem;
    --bs-body-font-weight:400;
    --bs-body-line-height:1.25;
    --bs-body-bg:#fff;
    --bs-body-bg-rgb:255,255,255;
    --bs-emphasis-color:#000;
    --bs-emphasis-color-rgb:0,0,0;
    --bs-secondary-color:rgba(33,37,41,.75);
    --bs-secondary-color-rgb:33,37,41;
    --bs-secondary-bg:#e9ecef;
    --bs-secondary-bg-rgb:233,236,239;
    --bs-tertiary-color:rgba(33,37,41,.5);
    --bs-tertiary-color-rgb:33,37,41;
    --bs-tertiary-bg:#f8f9fa;
    --bs-tertiary-bg-rgb:248,249,250;
    --bs-heading-color:inherit;
    --bs-link-decoration: underline;
    --bs-code-color:#d63384;
    --bs-highlight-color:#212529;
    --bs-highlight-bg:#fff3cd; */
    --bs-border-width:2px;
    /* --bs-border-style:solid;
    --bs-border-color:#dee2e6;
    --bs-border-color-translucent:rgba(0,0,0,.175); */
    --bs-border-radius:0;
    /* --bs-border-radius-sm:0.25rem;
    --bs-border-radius-lg:0.5rem;
    --bs-border-radius-xl:1rem;
    --bs-border-radius-xxl:2rem;
    --bs-border-radius-2xl:var(--bs-border-radius-xxl);
    --bs-border-radius-pill:50rem;
    --bs-box-shadow:0 0.5rem 1rem rgba(0,0,0,.15);
    --bs-box-shadow-sm:0 0.125rem 0.25rem rgba(0,0,0,.075);
    --bs-box-shadow-lg:0 1rem 3rem rgba(0,0,0,.175);
    --bs-box-shadow-inset:inset 0 1px 2px rgba(0,0,0,.075);
    --bs-focus-ring-width:0.25rem;
    --bs-focus-ring-opacity:0.25;
    --bs-focus-ring-color:rgba(13,110,253,.25);
    --bs-form-valid-color:#198754;
    --bs-form-valid-border-color:#198754;
    --bs-form-invalid-color:#dc3545;
    --bs-form-invalid-border-color:#dc3545; */
}
/* --------------------------------------------- */
/* --------------------------------------------- */
/* --------------------------------------------- */

/* ------------------------------------ */
/* ---------- general rules ----------- */
/* ------------------------------------ */
html {
    font-size: 16px; /* -----> 1rem = 16px */
    scroll-padding-top: calc(var(--sticky-header-height, 0) + var(--sticky-treshold, 1rem));
}
@media (max-width: 767.98px) {
    html {
        font-size: 15px;
    }
}
/* =============================== */
@media (max-width: 991.98px) {
    .container {
        max-width: initial;
    }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .container {
        width: 95%;
        max-width: 95%;
    }
}
@media (min-width: 1200px) {
    .container {
        width: 90%;
        max-width: 90%;
    }
}
/* @media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
} */
@media (min-width: 1920px) {
    .container {
        max-width: 1920px;
    }
}
@media (min-width: 576px) {
    .container--limited-sm {
        max-width: 540px;
    }
}
@media (min-width: 768px) {
    .container--limited-md {
        max-width: 720px;
    }
}
@media (min-width: 992px) {
    .container--limited-lg {
        max-width: 960px;
    }
}
@media (min-width: 1200px) {
    .container--limited-xl {
        max-width: 1140px;
    }
}
@media (min-width: 1400px) {
    .container--limited-xxl {
        max-width: 1320px;
    }
}
.container .container {
    width: 100%;
    max-width: 100%;
    --bs-gutter-x: 0;
}
/* =============================== */
.products.row {
    --bs-gutter-x: 0.75rem;
}
.products.grid {
    --bs-gap: 0.75rem;
}
.products.d-grid {
    grid-template-columns: repeat(var(--item-count), minmax(var(--item-width), 1fr));
    --item-max-width: 100%;
}
@media (max-width: 360.98px) {
    .products {
        --item-count: 1;
    }
}
@media (min-width: 360px) and (max-width: 575.98px) {
    .products {
        --item-count: 2;
    }
}
@media (min-width: 576px) and (max-width: 767.98px) {
    .products {
        --item-count: 3;
    }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .products {
        --item-count: 2;
    }
    .layout-full-width .products {
        --item-count: 4;
    }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .products {
        --item-count: 3;
    }
    .layout-full-width .products {
        --item-count: 4;
    }
}
@media (min-width: 1200px) {
    .products.row {
        --bs-gutter-x: 0.75rem;
    }
    .products.grid {
        --bs-gap: 0.75rem;
    }
    .products {
        --item-count: 4;
    }
    .layout-full-width .products {
        --item-count: 5;
    }
}
/* ************* optional ************** */
@media (min-width: 1400px) {
    .products {
        --item-count: 4;
    }
    .layout-full-width .products {
        --item-count: 5;
    }
}
@media (min-width: 1600px) {
    .layout-full-width .products {
        --item-count: 5;
    }
}
@media (min-width: 1700px) {
    .products {
        --item-count: 4;
    }
}
.products {
    --item-width: calc(100% / var(--item-count, 1));
    --item-max-width: var(--item-width);
}
.product-miniature {
    flex: 0 0 var(--item-width, 100%);
    max-width: var(--item-max-width, 100%);
    width: auto;
}
/* =============================== */
.btn {
    --btn-disabled-color: inherit;
    --btn-disabled-bg: inherit;
    --btn-disabled-border-color: inherit;
    --bs-btn-border-radius: 0;
}
.btn-primary {
    /* --bs-btn-color: #fff; */
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    /* --bs-btn-hover-color: #fff; */
    --bs-btn-hover-bg: var(--bs-primary-variant-1);
    --bs-btn-hover-border-color: var(--bs-primary-variant-1);
    /* --bs-btn-focus-shadow-rgb: 49, 132, 253; */
    /* --bs-btn-active-color: #fff; */
    --bs-btn-active-bg: var(--bs-primary-variant-2);
    --bs-btn-active-border-color: var(--bs-primary-variant-2);
    /* --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); */
    /* --bs-btn-disabled-color: #fff; */
    --bs-btn-disabled-bg: var(--bs-primary);
    --bs-btn-disabled-border-color: var(--bs-primary);
}
.btn-secondary {
    /* --bs-btn-color: #fff; */
    --bs-btn-bg: var(--bs-secondary);
    --bs-btn-border-color: var(--bs-secondary);
    /* --bs-btn-hover-color: #fff; */
    --bs-btn-hover-bg: var(--bs-secondary-variant-1);
    --bs-btn-hover-border-color: var(--bs-secondary-variant-1);
    /* --bs-btn-focus-shadow-rgb: 49, 132, 253; */
    /* --bs-btn-active-color: #fff; */
    --bs-btn-active-bg: var(--bs-secondary-variant-2);
    --bs-btn-active-border-color: var(--bs-secondary-variant-2);
    /* --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); */
    /* --bs-btn-disabled-color: #fff; */
    --bs-btn-disabled-bg: var(--bs-secondary);
    --bs-btn-disabled-border-color: var(--bs-secondary);
}
.btn-outline-primary {
    --bs-btn-color: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    /* --bs-btn-hover-color: #fff; */
    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-hover-border-color: var(--bs-primary);
    /* --bs-btn-focus-shadow-rgb: 13, 110, 253; */
    /* --bs-btn-active-color: #fff; */
    --bs-btn-active-bg: var(--bs-primary);
    --bs-btn-active-border-color: var(--bs-primary);
    /* --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); */
    --bs-btn-disabled-color: var(--bs-primary);
    /* --bs-btn-disabled-bg: transparent; */
    --bs-btn-disabled-border-color: var(--bs-primary);
    /* --bs-gradient: none; */
}
/* Tertiary-accent buttons — used by the products-top filter button (and available as extra variants). */
.btn-tertiary {
    /* --bs-btn-color: #fff; */
    --bs-btn-bg: var(--bs-tertiary);
    --bs-btn-border-color: var(--bs-tertiary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-hover-border-color: var(--bs-primary);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--bs-secondary);
    --bs-btn-active-border-color: var(--bs-secondary);
    /* --bs-btn-disabled-bg: var(--bs-tertiary);
    --bs-btn-disabled-border-color: var(--bs-tertiary); */
}
.btn-tertiary-variant {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--bs-tertiary-variant-3);
    --bs-btn-border-color: var(--bs-tertiary-variant-3);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: color-mix(in srgb, var(--bs-tertiary-variant-3), white 18%);
    --bs-btn-hover-border-color: color-mix(in srgb, var(--bs-tertiary-variant-3), white 18%);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: color-mix(in srgb, var(--bs-tertiary-variant-3), black 18%);
    --bs-btn-active-border-color: color-mix(in srgb, var(--bs-tertiary-variant-3), black 18%);
    /* --bs-btn-disabled-bg: var(--bs-tertiary-variant-3);
    --bs-btn-disabled-border-color: var(--bs-tertiary-variant-3); */
}
.btn-outline-tertiary {
    --bs-btn-color: var(--bs-tertiary);
    --bs-btn-border-color: var(--bs-tertiary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--bs-tertiary);
    --bs-btn-hover-border-color: var(--bs-tertiary);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--bs-tertiary);
    --bs-btn-active-border-color: var(--bs-tertiary);
    --bs-btn-disabled-color: var(--bs-tertiary);
    --bs-btn-disabled-border-color: var(--bs-tertiary);
}
/* Tertiary colour utilities (Bootstrap only generates these for its own theme colours). */
.text-tertiary { --bs-text-opacity: 1; color: rgba(var(--bs-tertiary-rgb), var(--bs-text-opacity)) !important; }
.bg-tertiary { --bs-bg-opacity: 1; background-color: rgba(var(--bs-tertiary-rgb), var(--bs-bg-opacity)) !important; }
.border-tertiary { --bs-border-opacity: 1; border-color: rgba(var(--bs-tertiary-rgb), var(--bs-border-opacity)) !important; }
.text-bg-tertiary { color: #fff !important; background-color: rgba(var(--bs-tertiary-rgb), var(--bs-bg-opacity, 1)) !important; }
.btn-primary-tertiary {
    --bs-btn-hover-bg: var(--bs-tertiary-variant-1);
    --bs-btn-hover-border-color: var(--bs-tertiary-variant-2);
    --bs-btn-active-bg: var(--bs-tertiary-variant-2);
    --bs-btn-active-border-color: var(--bs-tertiary-variant-2);
}
.btn-outline-primary-tertiary {
    --bs-btn-hover-bg: var(--bs-tertiary);
    --bs-btn-hover-border-color: var(--bs-tertiary);
    --bs-btn-active-bg: var(--bs-tertiary);
    --bs-btn-active-border-color: var(--bs-tertiary);
}
.btn-tertiary-primary {
    --bs-btn-hover-bg: var(--bs-primary-variant-1);
    --bs-btn-hover-border-color: var(--bs-primary-variant-2);
    --bs-btn-active-bg: var(--bs-primary-variant-2);
    --bs-btn-active-border-color: var(--bs-primary-variant-2);
}
.btn-outline-tertiary-primary {
    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-hover-border-color: var(--bs-primary);
    --bs-btn-active-bg: var(--bs-primary);
    --bs-btn-active-border-color: var(--bs-primary);
}
.btn-check:disabled + .btn, .btn-check[disabled] + .btn,
.btn.disabled, .btn:disabled, fieldset:disabled .btn {
    filter: grayscale(.75);
    --bs-btn-disabled-opacity: .75;
}
.btn a {
    transition: none;
}
.btn-check + .btn:hover {
    background-color: var(--bs-btn-hover-bg);
    border-color: var(--bs-btn-hover-border-color);
    color: var(--bs-btn-hover-color);
}
/* =============================== */
.link-primary:focus,
.link-primary:hover {
    /* color: rgba(var(--bs-link-primary-hover-color-rgb),var(--bs-link-opacity,1))!important; */
    color: var(--bs-primary-variant-1);
    text-decoration-color: rgba(var(--bs-link-primary-hover-color-rgb), var(--bs-link-underline-opacity,1))!important;
}
/* =============================== */
.alert-link:hover {
    --bs-alert-link-color:  rgba(var(--bs-link-hover-color-rgb), var(--bs-link-underline-opacity,1))!important;
}
/* =============================== */
.bg-tertiary-variant-2 {
    background-color: rgba(var(--bs-tertiary-variant-2-rgb), 1);
}
.bg-tertiary {
    background-color: rgba(var(--bs-tertiary-rgb), var(--bs-bg-opacity, 1));
}
/* =============================== */
.text-bg-green {
    background-color: rgba(var(--bs-green-rgb),var(--bs-bg-opacity,1))!important;
    color: #fff!important;
}
/* =============================== */
.text-bg-tertiary {
    background-color: rgba(var(--bs-tertiary-rgb), var(--bs-bg-opacity, 1)) !important;
    color: rgba(var(--bs-white-rgb),var(--bs-text-opacity, 1)) !important;
}
/* =============================== */
@media (min-width: 1200px) {
    .h1,h1 {
        font-size: 1.9rem;
    }
    .h2,h2 {
        font-size: 1.75rem;
    }
    .h3,h3 {
        font-size: 1.6rem;
    }
    .h4,h4 {
        font-size: 1.45rem;
    }
    .h5,h5 {
        font-size: 1.3rem;
    }
    .h6,h6 {
        font-size: 1.15rem;
    }
}
/* =============================== */
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6,
.section-title {
    font-family: var(--secondary-font-family);
    color: var(--bs-heading-color);
}
/* =============================== */
.rich-text {
    word-break: break-word;
}
.rich-text :is(.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6) {
    color: var(--bs-body-color);
    /* font-weight: 600; */
}
.rich-text :is(.h1, h1) {
    font-size: 1.75rem;
}
.rich-text :is(.h2, h2) {
    font-size: 1.6rem;
}
.rich-text :is(.h3, h3) {
    font-size: 1.45rem;
}
.rich-text :is(.h4, h4) {
    font-size: 1.3rem;
}
.rich-text :is(.h5, h5) {
    font-size: 1.15rem;
}
.rich-text :is(.h6, h6) {
    font-size: 1rem;
}
/* ------------------------------- */
.rich-text a:not(.btn) {
    text-decoration: underline;
    display: inline-block;
}
.rich-text a:not(.btn):hover {
    text-decoration: initial;
}
.rich-text :is(p, ul) {
    font-size: inherit;
}
.rich-text p:last-child {
    margin-bottom: 0;
}
.rich-text :is(li:empty, p:empty) {
    display: none;
}
.rich-text:has(table):not(:has(.table-responsive)) {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
/* =============================== */
/* *** table styles *** */
.table-layout-fixed {
    table-layout: fixed;
}
.table thead th {
    border-bottom-width: 2px;
}
.table .thead-light th {
    color: #495057;
    background-color: #e9ecef;
    border-color: #dee2e6;
}
/* .table-wrapper flattens tbody cells (box-shadow:none), which disables Bootstrap's box-shadow-driven
   row states; re-enable them for opt-in tables inside a wrapper. Striped before hover so hover wins. */
.table-wrapper .table-striped > tbody > tr:nth-of-type(odd) > * {
    box-shadow: inset 0 0 0 9999px var(--bs-table-striped-bg);
}
.table-wrapper .table-striped-even > tbody > tr:nth-of-type(even) > * {
    box-shadow: inset 0 0 0 9999px var(--bs-table-striped-bg);
}
.table-wrapper .table-hover > tbody > tr:hover > * {
    box-shadow: inset 0 0 0 9999px var(--bs-table-hover-bg);
}
/* =============================== */
img {
    max-width: 100%;
    height: auto;
    display: block;

    font-size: 0;
    margin-inline: auto;
}
/* =============================== */
.card {
    --bs-card-border-radius: 0;
    box-shadow: var(--bs-card-box-shadow);
    --bs-card-border-width: 2px;
}
.card-shadow {
    --bs-card-box-shadow: 0 1px 5px -1px rgba(0, 0, 0, 0.13);
}
@media (max-width: 767.98px) {
    .card {
        --bs-card-spacer-y: 0.813rem;
        --bs-card-spacer-x: 0.813rem;
    }
}
.card-body > .row {
    --bs-gutter-x: calc(var(--bs-card-spacer-x) * 2);
}
.card:has(>.card-body>:only-child:empty) {
    display: none;
}
/* flush card: drop the border and zero the card-body padding (spacer vars inherit down to .card-body) — blends into the page */
.card-flush {
    --bs-card-border-width: 0;
    --bs-card-spacer-y: 0;
    --bs-card-spacer-x: 0;
}
/* =============================== */
.collapse, .collapsing { /* prevent content jump during collapse */
    padding-block: 0 !important;
}
/* =============================== */
.form-group, .input-group, .form-control, .form-select  {
    --bs-border-radius: 0;
}
.form-label {
    font-size: 0.875rem;
    /* color: var(--bs-gray-600); */
    color: var(--bs-black);
    font-weight: 700;
}
.form-control::placeholder,
.form-select::placeholder {
    color: var(--bs-gray-500);
    font-weight: inherit;
}
.form-control:-moz-placeholder,
.form-select:-moz-placeholder {
    color: var(--bs-gray-500);
    font-weight: inherit;
}
.form-control::-moz-placeholder,
.form-select::-moz-placeholder {
    color: var(--bs-gray-500);
    font-weight: inherit;
}
.form-control:-ms-input-placeholder,
.form-select:-ms-input-placeholder {
    color: var(--bs-gray-500);
    font-weight: inherit;
}
.form-control::-webkit-input-placeholder,
.form-select::-webkit-input-placeholder {
    color: var(--bs-gray-500);
    font-weight: inherit;
}
.form-control,
.form-select {
    font-size: 16px; /* fix: do not zoom on input focus on iOS */
    border-radius: var(--bs-border-radius);
    padding: .5rem 1rem;
    border-color: var(--bs-tertiary);
}
.form-select {
    padding-right: 2.25rem;
}
.form-select-sm {
    border-radius: var(--bs-border-radius-sm);
    background-position: right .5rem center;
    font-size: .875rem;
    padding: .25rem 1.85rem .25rem .5rem;
}
.input-group .btn {
    border-radius: var(--bs-border-radius);
}
.form-control:focus,
.form-select:focus {
    border-color: var(--form-control-focus-border-color);
    box-shadow: 0 0 0 .25rem rgba(var(--form-control-focus-box-shadow-rgb), .25);
}
.form-check {
    position: relative;
}
.form-check :is(input[type="radio"], input[type="checkbox"], label) {
    cursor: pointer;
}
.form-check-input[type=checkbox] {
    border-radius: 0;
    position: absolute;
    left: 0;
    top: 2px;
    /* top: 0; */
    /* bottom: 0; */
    margin: auto 0;
    --bs-border-width: 1px;
    --bs-border-color: #57585A;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}
.quantity-button input {
    max-width: 3.5rem;
}
/* =============================== */
.dropdown-menu {
    overflow: hidden;
    --bs-dropdown-padding-y: 0;
    box-shadow: var(--bs-dropdown-box-shadow);
    --bs-dropdown-font-size: inherit;
}
.dropdown-divider {
    margin-top: 0;
}
.dropdown-divider ~ .dropdown-divider {
    margin-bottom: 0;
    margin-top: var(--bs-dropdown-divider-margin-y);
}
.dropdown-item:focus, .dropdown-item:hover {
    --bs-dropdown-link-hover-bg: rgba(var(--bs-link-hover-color-rgb), .05);
    --bs-dropdown-link-hover-color: var(--bs-link-hover-color);
}
/* =============================== */
.popover {
    --bs-popover-header-font-size: .875rem;
    --bs-border-width: 1px;
    --bs-popover-min-width: var(--bs-popover-max-width);
    --bs-popover-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, .35);
    min-width: var(--bs-popover-min-width);
    box-shadow: var(--bs-popover-box-shadow);
    cursor: initial;
    position: absolute;
}
/* =============================== */
.pagination {
    --bs-pagination-active-bg: var(--bs-secondary-bg);
    --bs-pagination-active-color: var(--bs-secondary-color);
    --bs-pagination-active-border-color: var(--bs-secondary-bg);
    --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgb(var(--bs-secondary-bg-rgb) / 25%);
    --bs-pagination-hover-bg: #fefefe;
}
.page-link.disabled,
.page-item.disabled > .page-link {
    --bs-pagination-disabled-color: rgba(var(--bs-secondary-color-rgb), .35);
    background-color: var(--bs-pagination-bg);
}
.active > .page-link.disabled {
    background-color: var(--bs-pagination-active-bg);
    border-color: var(--bs-pagination-active-border-color);
    color: var(--bs-pagination-active-color);
}
.pagination-number, .products-selection {
    font-size: 0.875rem;
}
.pagination-number {
    color: var(--bs-gray-700);
}
.products-filter .btn, .products-sort-order, .products-sort-order .btn {
    font-size: inherit;
}
/* =============================== */
.sitemap ul li a {
    color: var(--bs-link-color);
}
.sitemap ul li a:hover {
    color: var(--bs-link-hover-color);
}
/* =============================== */
.quantity-button input {
    z-index: 3;
}
.quantity-button button {
    /* --bs-btn-hover-border-color: #8c8e91; */
    --bs-btn-hover-bg: rgb(211 212 213 / 50%);
}
/* ==================================== */
/* ---------- accordion stuff ---------- */
.accordion {
    --bs-accordion-btn-icon-width: inherit;
}
.accordion-button:after {
    width: 1em;
    height: 1em;
    font-size: var(--bs-accordion-btn-icon-width); /* single knob for both dimensions */
    background-image: none !important;
    background-color: currentColor;
    transition: var(--bs-accordion-btn-icon-transition);
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-position: center;
            mask-position: center;
    -webkit-mask-size: 100% 100%;
            mask-size: 100% 100%;
    -webkit-mask-image: url("../img/icons/ui-sprite.svg#v-chevron-down");
            mask-image: url("../img/icons/ui-sprite.svg#v-chevron-down");
}

.accordion.bordered {
    --bs-accordion-btn-focus-box-shadow: inset 0 calc(var(--bs-accordion-border-width)*-1) 0 var(--bs-accordion-border-color);
    --bs-accordion-border-width: 1px;
    --bs-accordion-btn-padding-y: 1rem;
    --bs-accordion-btn-padding-x: .75rem;
    --bs-accordion-body-padding-x: 1rem;
    --bs-accordion-body-padding-y: 1rem;
}
.accordion.bordered .accordion-button {
    padding: var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);
}
.accordion.bordered .accordion-body {
    padding: var(--bs-accordion-body-padding-y) var(--bs-accordion-body-padding-x);
}

.accordion-plusminus {
    --bs-accordion-btn-icon-width: 1.25rem;
}
.accordion-plusminus .accordion-button::after {
    content: "+";
    text-align: center;
    background-color: transparent !important;
    -webkit-mask-image: none;
            mask-image: none;
}
.accordion-plusminus .accordion-button:not(.collapsed)::after {
    content: "−";
    transform: none;
}
/* ==================================== */
/* ---------- tabs stuff ---------- */
.nav-tabs.bordered {
    --bs-nav-tabs-border-width: 1px;
    --bs-nav-tabs-border-color: var(--bs-border-color);
    --bs-nav-tabs-link-active-border-color: var(--bs-border-color) var(--bs-border-color) transparent;
}
.nav-link {
    min-height: 100%;
}
.nav-link.active {
    --bs-nav-link-font-weight: bold;
}
.pch-tabs--m-scroll .nav-tabs.bordered {
    border-bottom: none;
}
.pch-tabs--m-scroll .nav-tabs.bordered:after {
    content: "";
    position: absolute;
    inset: 0;
    top: unset;
    height: var(--bs-nav-tabs-border-width);
    background: var(--bs-border-color);
}
.pch-tabs--m-scroll .nav-tabs .nav-link {
    margin-bottom: 0;
}
.pch-tabs--m-scroll .nav-tabs .nav-link:not(.active) {
    border-bottom: var(--bs-nav-tabs-border-width) solid var(--bs-border-color);
}
/* =============================== */
/* ---------- carousel stuff ---------- */
.carousel {
    --carousel-navigation-size: 3rem;
    --carousel-navigation-icon-size: calc(var(--carousel-navigation-size) / 2);
    --carousel-navigation-sides-offset: 10px;
    --carousel-navigation-color: var(--bs-black);
    --carousel-navigation-hover-color: rgb(var(--bs-white-rgb));
    --carousel-navigation-border-width: 2px;
    --carousel-navigation-border-color: var(--bs-tertiary);
    --carousel-navigation-bg-rgb: var(--bs-white-rgb);
    --carousel-navigation-bg-opacity: .65;
    --carousel-navigation-hover-bg-rgb: var(--bs-primary-variant-1-rgb);
    --carousel-navigation-hover-bg-opacity: 1;

    --slider-control-radius: 0;

    --carousel-indicator-bg: var(--bs-gray-600);
    --carousel-indicator-hover-bg: rgba(var(--carousel-navigation-hover-bg-rgb), var(--carousel-navigation-hover-bg-opacity));
    --slider-indicator-bg: var(--carousel-indicator-bg);
    --slider-indicator-hover-bg: var(--carousel-indicator-hover-bg);

    overflow: hidden;
}
/* Bootstrap's .carousel.pointer-event allows pan-y only, which kills pinch-zoom on the
   product images; pinch-zoom re-enables it (single-finger swipes still reach Bootstrap) */
.carousel.pointer-event {
    touch-action: pan-y pinch-zoom;
}
@media (max-width: 767.98px) {
    /* Smaller nav buttons on phones; icon-size follows automatically (calc half).
       Keep >= 2.75rem (44px) for tap-target a11y. */
    .carousel {
        --carousel-navigation-size: 2.75rem;
    }
}
.carousel .carousel-control-next,
.carousel .carousel-control-prev {
    opacity: 1;
    height: var(--carousel-navigation-size);
    width: var(--carousel-navigation-size);
    color: var(--carousel-navigation-color);
    background-color: rgba(var(--carousel-navigation-bg-rgb), var(--carousel-navigation-bg-opacity));
    border: var(--carousel-navigation-border-width) solid var(--carousel-navigation-border-color);
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, left .3s ease, right .3s ease;
}
.carousel .carousel-control-prev {
    left: var(--carousel-navigation-sides-offset, 10px);
    right: auto;
}
.carousel .carousel-control-next {
    right: var(--carousel-navigation-sides-offset, 10px);
    left: auto;
}
.carousel .carousel-control-next:hover,
.carousel .carousel-control-prev:hover {
    color: var(--carousel-navigation-hover-color);
    background-color: rgba(var(--carousel-navigation-hover-bg-rgb), var(--carousel-navigation-hover-bg-opacity));
    border-color: var(--bs-primary-variant-1);
}
/* Arrows drawn as masks (shape from ui-sprite.svg #v-chevron-* views), coloured by
   currentColor so they follow the control's `color` (default + hover) like a text
   glyph — no per-state rule, no brightness() hack. */
.carousel .carousel-control-prev-icon,
.carousel .carousel-control-next-icon {
    width: 1em;
    height: 1em;
    font-size: var(--carousel-navigation-icon-size); /* single knob for both dimensions */
    background-image: none;
    background-color: currentColor;
    transition: inherit; /* inherit the control's colour transition so the recolour stays in sync */
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-position: center;
            mask-position: center;
    -webkit-mask-size: 100% 100%;
            mask-size: 100% 100%;
}
.carousel .carousel-control-prev-icon {
    -webkit-mask-image: url("../img/icons/ui-sprite.svg#v-chevron-prev");
            mask-image: url("../img/icons/ui-sprite.svg#v-chevron-prev");
}
.carousel .carousel-control-next-icon {
    -webkit-mask-image: url("../img/icons/ui-sprite.svg#v-chevron-next");
            mask-image: url("../img/icons/ui-sprite.svg#v-chevron-next");
}
.controls-hide-on-touch .carousel-control {
    display: none;
}
@media (pointer: fine) {
    .controls-hide-on-touch .carousel-control {
        display: flex;
    }
    .carousel.controls-on-hover:not(:hover) {
        --carousel-navigation-sides-offset: calc(var(--carousel-navigation-size) * -1 - 2px);
    }
    /* .carousel.controls-on-hover .swiper-button-prev {
        -webkit-transition: left .3s ease;
        transition: left .3s ease;
    }
    .carousel.controls-on-hover .swiper-button-next {
        -webkit-transition: right .3s ease;
        transition: right .3s ease;
    } */
}

.carousel-indicators {
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}
.carousel .carousel-indicators button {
    background-color: var(--carousel-indicator-bg);
    width: 12px;
    height: 12px;
    margin: 7px 6px;
    transition: opacity .15s ease;
}
.carousel .carousel-indicators button.active,
.carousel .carousel-indicators button:hover {
    background-color: var(--carousel-indicator-hover-bg);
    opacity: 1;
}
/* =============================== */
.material-icons,
[class^="icon-"],
[class*=" icon-"] {
    /* font-size: var(--icon-size, 1.5em) !important; */
    font-size: var(--icon-size, 1.5em);
}

/* Masked icons — shape from a mask, colour from currentColor so the icon follows the
   text like a glyph. Counterpart to .svg-icon for contexts that can't carry inline SVG. */
.icon-mask {
    display: inline-block;
    flex-shrink: 0;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask: var(--icon-mask-image, none) no-repeat center / 100% 100%;
            mask: var(--icon-mask-image, none) no-repeat center / 100% 100%;
}
@media (max-width: 767.98px) {
    :root {
        --icon-size: 1.6em;
    }
}
/* ==================================== */
.modal {
    --bs-modal-zindex: var(--modal-zindex, 9999999);
}
.offcanvas, .offcanvas-lg, .offcanvas-md, .offcanvas-sm, .offcanvas-xl, .offcanvas-xs, .offcanvas-xxl {
    --bs-offcanvas-zindex: var(--offcanvas-zindex, 9999999);
}
/* ==================================== */
iframe {
    max-width: 100%;
}
/* ==================================== */
.page-loader {
    z-index: var(--page-loader-zindex, 999);
}
/* ==================================== */
/* ------------------------------------ */
/* ---------- custom classes ---------- */
/* ------------------------------------ */

.text-tertiary {
    --bs-text-opacity: 1;
    color: rgba(var(--bs-tertiary-rgb), var(--bs-text-opacity)) !important;
}
.fw-300 {
    font-weight: 300;
}
.fw-400 {
    font-weight: 400;
}
.fw-500 {
    font-weight: 500;
}
.fw-600 {
    font-weight: 600;
}
.fw-700 {
    font-weight: 700;
}
.fw-inherit {
    font-weight: inherit !important;
}
/* =============================== */
.fs-1 {
    font-size: calc(1.375rem + 1.5vw) !important;
}
.fs-2 {
    font-size: calc(1.325rem + .9vw) !important;
}
.fs-3 {
    font-size: calc(1.3rem + .6vw) !important;
}
.fs-4 {
    font-size: calc(1.275rem + .3vw) !important;
}
.fs-5 {
    font-size: 1.25rem !important;
}
.fs-6 {
    font-size: 1rem !important;
}
.fs-7 {
    font-size: 0.938rem !important;
}
.fs-8 {
    font-size: 0.875rem !important;
}
.fs-9 {
    font-size: 0.813rem !important;
}
.fs-10 {
    font-size: 0.75rem !important;
}
.fs-11 {
    font-size: 0.688rem !important;
}
.fs-12 {
    font-size: 0.625rem !important;
}
@media (min-width: 1200px) {
    .fs-1 {
        font-size: 2.5rem !important;
    }
    .fs-2 {
        font-size: 2rem !important;
    }
    .fs-3 {
        font-size: 1.75rem !important;
    }
    .fs-4 {
        font-size: 1.5rem !important;
    }
}
@media (min-width: 768px) {
    .fs-md-5 {
        font-size: 1.25rem !important;
    }
}
.fs-inherit {
    font-size: inherit !important;
}
/* =============================== */
.line-height-0 {
    line-height: 0;
}
.line-height-1 {
    line-height: 1;
}
.line-height-1-25 {
    line-height: 1.25;
}
.line-height-1-5 {
    line-height: 1.5;
}
.line-height-initial {
    line-height: initial;
}
.line-clamp {
    display: -webkit-box;
    -webkit-line-clamp: var(--line-clamp, 1);
    line-clamp: var(--line-clamp, 1);
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 2px 0;
}
.line-clamp-2 {
    --line-clamp: 2;
}
.line-clamp-3 {
    --line-clamp: 3;
}
.line-clamp-4 {
    --line-clamp: 4;
}
/* =============================== */
.min-lines {
    min-height: calc(var(--lines, 1) * 1lh);
}
.min-lines-2 {
    --lines: 2;
}
.min-lines-3 {
    --lines: 3;
}
.min-lines-4 {
    --lines: 4;
}
/* =============================== */
.color-inherit {
    color: inherit !important;
}
/* =============================== */
.text-decoration-underline-hover:hover {
    text-decoration: underline !important;
}
.text-decoration-none-hover:hover {
    text-decoration: none !important;
}
/* =============================== */
.cursor-pointer {
    cursor: pointer;
}
.dragging {
    cursor: grab;
}
/* =============================== */
.no-gutters {
    margin-inline: 0;
    padding-inline: 0;
}
.no-gutters > .col,
.no-gutters > [class*="col-"] {
    padding-inline: 0;
}
/* =============================== */
.m-2-5 {
    margin: .75rem !important;
}
.mt-2-5, .my-2-5 {
    margin-top: .75rem !important;
}
.mb-2-5, .my-2-5 {
    margin-bottom: .75rem !important;
}
.me-2-5, .mx-2-5 {
    margin-right: .75rem !important;
}
.ms-2-5, .mx-2-5 {
    margin-left: .75rem !important;
}
/* ------------------------------------ */
.p-2-5 {
    padding: .75rem !important;
}
.pt-2-5, .py-2-5 {
    padding-top: .75rem !important;
}
.pb-2-5, .py-2-5 {
    padding-bottom: .75rem !important;
}
.pe-2-5, .px-2-5 {
    padding-right: .75rem !important;
}
.ps-2-5, .px-2-5 {
    padding-left: .75rem !important;
}
/* ------------------------------------ */
.p-1-5 {
    padding: .375rem !important;
}
.pt-1-5, .py-1-5 {
    padding-top: .375rem !important;
}
.pb-1-5, .py-1-5 {
    padding-bottom: .375rem !important;
}
.pe-1-5, .px-1-5 {
    padding-right: .375rem !important;
}
.ps-1-5, .px-1-5 {
    padding-left: .375rem !important;
}
/* ------------------------------------ */
.row-gap-2-5 {
    row-gap: .75rem!important;
}
.g-2-5, .gx-2-5 {
    --bs-gutter-x: 0.75rem;
}
/* ------------------------------------ */
.gap-0-5 {
    gap: 0.125rem;
}
/* ------------------------------------ */
/* max-width % steps (Bootstrap only ships mw-100). */
.mw-25 { max-width: 25% !important; }
.mw-50 { max-width: 50% !important; }
.mw-75 { max-width: 75% !important; }
/* =============================== */
.d--none {
    display: none;
}
@media (min-width: 768px) {
    *[id^="_mobile_"]:empty {
        display: none !important;
    }
    .visible--mobile {
        display: none;
    }
}
@media (max-width: 767.98px) {
    .visible--desktop {
        display: none;
    }
    *[id^="_desktop_"]:empty {
        display: none !important;
    }
}
/* =============================== */
/* Position `auto` utilities (Bootstrap ships the 0/50/100 steps but not auto). */
.top-auto { top: auto !important; }
.bottom-auto { bottom: auto !important; }
.start-auto { left: auto !important; }
.end-auto { right: auto !important; }

.inset-0 {
    inset: 0;
}
.position-initial {
    position: initial !important;
}
.start-initial {
    left: initial;
}
@media (min-width: 992px) {
    .position-lg-relative {
        position: relative;
    }
}
[class*="sticky-"] {
    z-index: var(--sticky-zindex);
}
/* =============================== */
.justify-content-safe-center {
    justify-content: safe center !important;
}
.justify-self-start {
    justify-self: start !important;
}
.justify-self-center {
    justify-self: center !important;
}
.justify-self-end {
    justify-self: end !important;
}
.justify-self-stretch {
    justify-self: stretch !important;
}
/* =============================== */
.overflow-initial {
    overflow: initial !important;
}
.overflow-on-touch {
    padding: 0 !important;
}
/* Touch devices: turn a flex row into a single-row horizontal scroll strip
   (no wrapping). No effect on mouse/desktop, where it wraps normally. */
@media (pointer: coarse) {
    .overflow-on-touch {
        flex-wrap: nowrap;
        overflow: auto;
    }
}
/* =============================== */
#wrapper .sticky-top {
    position: sticky;
    top: calc(var(--sticky-header-height, 0) + var(--sticky-treshold, 1rem));
    z-index: initial;
}
#wrapper .sticky-md-top {
    top: calc(var(--sticky-header-height, 0) + var(--sticky-treshold, 1rem));
}
/* =============================== */
.aspect-ratio-1x1 {
    aspect-ratio: 1/1;
}
.aspect-ratio {
    aspect-ratio: var(--aspect-ratio);
}
/* =============================== */
.min-height-unset {
    min-height: unset;
}
/* =============================== */
/* border-style utilities — Bootstrap ships only width/colour, not style */
.border-solid {
    border-style: solid !important;
}
.border-dashed {
    border-style: dashed !important;
}
.border-dotted {
    border-style: dotted !important;
}
@media (min-width: 768px) {
    .border-bottom-md-0 {
        border-bottom: 0 !important;
    }
    .border-bottom-md-1 {
        border-bottom: 1px !important;
    }
}
@media (max-width: 767.98px) {
    .border-bottom-md-down-0 {
        border-bottom: 0 !important;
    }
}
/* =============================== */
/* object-position utilities — Bootstrap ships object-fit but not object-position */
.object-position-top {
    object-position: top !important;
}
.object-position-bottom {
    object-position: bottom !important;
}
.object-position-center {
    object-position: center !important;
}
.object-position-left {
    object-position: left !important;
}
.object-position-right {
    object-position: right !important;
}
/* =============================== */
.svg-icon {
    display: inline-block;
    stroke-width: 0;
    stroke: currentColor;
    fill: currentColor;
    flex-shrink: 0;
    max-width: 100%;
    max-height: 100%;
    /* optional - size based on font size */
    width: 1em;
    height: 1em;
}
.svg-icon-stroke {
    fill: none;
    stroke-width: revert; /* stroke sprites */
}
/* =============================== */
/* custom img effects */
.img-hover-effect img {
    transition: all 0.7s ease;
}
.img-hover-effect img:hover {
    filter: contrast(1.25);
}
/* --------------------------------- */
.img-zoom-effect img,
.img-zoom-effect-self img {
    transition: all 0.7s ease;
    -webkit-transform: scale(1);
    transform: scale(1);
}
/* container hover: zoom when anything in the container is hovered (works under a stretched-link) */
.img-zoom-effect:hover img {
    -webkit-transform: scale(1.12);
    transform: scale(1.12);
}
/* self hover: zoom only when the image itself is hovered (blocked by a stretched-link overlay) */
.img-zoom-effect-self img:hover {
    -webkit-transform: scale(1.12);
    transform: scale(1.12);
}
.img-zoom-effect:has(>img),
.img-zoom-effect :has(>img),
.img-zoom-effect-self:has(>img),
.img-zoom-effect-self :has(>img) {
    display: block;
    overflow: hidden;
}
/* --------------------------------- */
.img-grayscale-effect img,
.img-grayscale-effect-self img {
    transition: filter 0.15s ease;
    filter: grayscale(100%);
}
/* container hover: colorize when anything in the container is hovered (works under a stretched-link) */
.img-grayscale-effect:hover img {
    filter: grayscale(0);
}
/* self hover: colorize only when the image itself is hovered (blocked by a stretched-link overlay) */
.img-grayscale-effect-self img:hover {
    filter: grayscale(0);
}
/* =============================== */
.zoom-effect {
    transition: all 0.3s ease;
    -webkit-transform: scale(1);
    transform: scale(1);
}
.zoom-effect:hover {
    -webkit-transform: scale(1.35);
    transform: scale(1.35);
}
/* =============================== */
.grid-auto-columns {
    grid-template-columns: repeat(auto-fill, minmax(min(max(var(--column-preferred-width, 100%), var(--column-min-width, 50px)), 100%), 1fr));
}
:has(>.grid-auto-columns-ultimate) {
    container-type: inline-size;
}
.grid-auto-columns-ultimate {
    --column-min-width: 175px;
    --column-max-width: calc(calc(var(--column-min-width) * 2) - 1px); /* 2 ---> double as min width*/
    /* --column-preferred-width: var(--item-width); */
    /* --column-preferred-width: calc(var(--column-max-width) * 0.6); */

    /* preferred = calc([slope] * 100vw + [intercept]) */
    /* slope = (maxSize - minSize) / (maxWidth - minWidth) * 100 */
    /* intercept = minSize - slope * (minWidth / 100) */

    --container-max-width: 1900px;
    --container-min-width: calc(var(--column-min-width) * 2);
    --column-ideal-width: calc(var(--column-max-width) * 0.75);
    --column-slope-top: calc(var(--column-ideal-width) - var(--column-min-width));
    --column-slope-bottom: calc(var(--container-max-width) - var(--container-min-width));
    --column-slope: calc(var(--column-slope-top) / var(--column-slope-bottom) * 100);

    --itercept: calc(var(--column-min-width) - calc(var(--column-slope) * var(--container-min-width) / 100));
    --column-preferred-width-calculated: calc(var(--column-slope) * 1cqw + var(--itercept));
    --column-preferred-width: var(--item-width, var(--column-preferred-width-calculated));

    grid-template-columns: repeat(auto-fill, minmax(clamp(var(--column-min-width), var(--column-preferred-width), var(--column-max-width)), 1fr));

    --target-floor-number: calc(100cqw / (clamp(var(--column-min-width), var(--column-preferred-width), var(--column-max-width))));
    /* Chrome + Edge + Opera only */ /* ===> Firefox rejects calc(<length> / <length>), so it refuses to compute your value therefore the --target-floor-number cannot be calculated */
}
.grid-equal-rows {
    grid-auto-rows: 1fr; /* Makes all rows the same height */
}
/* Container-query context: lets descendants respond to THIS element's width, not the viewport */
.container-inline-size {
    container-type: inline-size;
}
/* Stacked (1 column) until the query container reaches 25rem, then one row of
   --grid-fit-cols (default: fill + auto-width). Needs a .container-inline-size ancestor;
   assumes display:grid (d-grid/.grid); pair with .grid-equal-rows for equal heights. */
.grid-fit {
    grid-template-columns: 1fr;
}
@container (min-width: 25rem) {
    .grid-fit {
        grid-template-columns: var(--grid-fit-cols, 1fr auto);
    }
}
/* Auto-fit responsive columns (RAM pattern): as many ~14rem+ columns as fit, else fewer / wrap.
   --grid-cols overrides the whole template (only whole-value var — a var() INSIDE the auto-fit
   minmax breaks track counting). Assumes display:grid. */
.grid-auto-fit {
    grid-template-columns: var(--grid-cols, repeat(auto-fit, minmax(min(var(--grid-col-min-width, 20rem), var(--grid-col-max-width, 100%)), 1fr)))
}
.grid-overflow-x {
    /* --target-floor-number: 0; */
    /*
        --floor: true floor of --target-floor-number
        Works for integers and decimals.
        Adds a tiny epsilon (0.00001) to ensure integers count correctly.
        Uses clamp(0, …, 1) with a large multiplier (9999) for full step.
    */
    --floor: max(1, calc(
        clamp(0, (var(--target-floor-number) - 0 + 0.00001) * 99999, 1) +
        clamp(0, (var(--target-floor-number) - 1 + 0.00001) * 99999, 1) +
        clamp(0, (var(--target-floor-number) - 2 + 0.00001) * 99999, 1) +
        clamp(0, (var(--target-floor-number) - 3 + 0.00001) * 99999, 1) +
        clamp(0, (var(--target-floor-number) - 4 + 0.00001) * 99999, 1) +
        clamp(0, (var(--target-floor-number) - 5 + 0.00001) * 99999, 1) +
        clamp(0, (var(--target-floor-number) - 6 + 0.00001) * 99999, 1) +
        clamp(0, (var(--target-floor-number) - 7 + 0.00001) * 99999, 1) +
        clamp(0, (var(--target-floor-number) - 8 + 0.00001) * 99999, 1) +
        clamp(0, (var(--target-floor-number) - 9 + 0.00001) * 99999, 1) +
        clamp(0, (var(--target-floor-number) - 10 + 0.00001) * 99999, 1) +
        clamp(0, (var(--target-floor-number) - 11 + 0.00001) * 99999, 1) +
        clamp(0, (var(--target-floor-number) - 12 + 0.00001) * 99999, 1) +
        clamp(0, (var(--target-floor-number) - 13 + 0.00001) * 99999, 1) +
        clamp(0, (var(--target-floor-number) - 14 + 0.00001) * 99999, 1) +
        clamp(0, (var(--target-floor-number) - 15 + 0.00001) * 99999, 1) +
        clamp(0, (var(--target-floor-number) - 16 + 0.00001) * 99999, 1) +
        clamp(0, (var(--target-floor-number) - 17 + 0.00001) * 99999, 1) +
        clamp(0, (var(--target-floor-number) - 18 + 0.00001) * 99999, 1) +
        clamp(0, (var(--target-floor-number) - 19 + 0.00001) * 99999, 1) +
        clamp(0, (var(--target-floor-number) - 20 + 0.00001) * 99999, 1)
        - 1
    ));

    --grid-item-count-calculated: var(--floor);
    --grid-item-count: var(--item-count, var(--grid-item-count-calculated));
    --grid-item-width-calculated: calc(100% / var(--grid-item-count, 1));
    --grid-item-width: var(--item-width, var(--grid-item-width-calculated));
    overflow-x: auto;
    grid-auto-flow: column;
    grid-auto-columns: calc(var(--grid-item-width) - var(--scroll-hint-offset, 0px));
    grid-template-columns: unset !important;
    /* If --total-items > --item-count, return 0; else, return 1; */
    --is-scrollbar-visible: clamp(0, calc((var(--total-items) - var(--grid-item-count)) * var(--grid-item-count)), 1);
}
.grid-scroll-hint {
    /* Show a partial next item to visually hint that the section is scrollable, 
    but only when the total number of items exceeds the visible ones without trimming widths */

    /* if A > B then C else D ===> clamp(D, calc((A - B) * largeNumber), C) */
    /* If --item-count > --total-items, return 0; else, return --item-count */
    /* --overflow-item-cut: clamp(0, calc((var(--total-items) - var(--item-count)) * var(--item-count)), var(--item-count)); */
    
    /* Conditionally cut from each item to visually hint horizontal scroll */
    /* (show part of the next item by trimming each item) */
    --should-show-scroll-hint: var(--is-scrollbar-visible);
    
    /* How much to trim from each item to hint scrolling */
    /* --scroll-hint-width: 20px; */
    --scroll-hint-width-treshold: 5%;
    --scroll-hint-width: calc((var(--bs-gutter-x) / 2 + var(--scroll-hint-width-treshold)) / var(--grid-item-count));
    
    /* Effective cut per item, only applied if scroll hint is needed */
    --scroll-hint-offset: calc(var(--should-show-scroll-hint) * var(--scroll-hint-width));
}
/* =============================== */
.decorated-list li > :first-child {
    position: relative;
    padding-left: 16px;
}
.decorated-list li > :first-child:before {
    content: "›";
    position: absolute;
    left: 0;
    transition: left 0.3s ease-in-out;
}
.decorated-list li > :first-child:hover:before {
    left: 4px;
}
/* =============================== */
/* list-group: primary-coloured .active item — CSS vars inherit from the wrapper to the item */
.list-group-active-primary {
    --bs-list-group-bg: transparent;
    --bs-list-group-action-hover-color: var(--bs-primary);
    --bs-list-group-active-color: var(--bs-primary);
    --bs-list-group-active-bg: transparent;
    --bs-list-group-active-border-color: var(--bs-list-group-border-color);
}
.list-group-flush > .list-group-item {
    border-width: 0 0 var(--bs-list-group-border-width) !important;
}
.list-group-flush > .list-group-item:last-child {
    border-bottom-width: 0 !important;
}
.list-group {
    --bs-list-group-border-width: 1px;
}
/* =============================== */
.description-container {
    font-size: 1rem;
}
/* =============================== */
/* *** custom scrollbar *** */
/* Styles for desktop or precise input devices */
@media (pointer: fine) {
    .custom-scrollbar,
    .custom-scrollbar-container {
        --custom-scrollbar-width: 6px;
        --custom-scrollbar-height: 6px;
        --custom-scrollbar-track-background-color: inherit;
        --custom-scrollbar-track-border-radius: 10px;
        --custom-scrollbar-thumb-background-color: inherit;
        --custom-scrollbar-thumb-border-radius: 10px;
        --custom-scrollbar-thumb-hover-background-color: inherit;
        --custom-scrollbar-thumb-border-width: 0;
        --custom-scrollbar-thumb-border-color: inherit;
        --custom-scrollbar-thumb-hover-border-color: inherit;
    }
    /* [class*=overflow-]:not(.overflow-hidden, .overflow-y-hidden, .overflow-initial, [class*=overflow-x]),
    .custom-scrollbar-container.overflow-y-auto {
        padding-right: var(--custom-scrollbar-width);
    } */
    /* [class*=overflow-]:not(.overflow-hidden, .overflow-x-hidden, .overflow-initial, [class*=overflow-y]),
    .custom-scrollbar-container.overflow-x-auto { */
        /* padding-bottom: var(--custom-scrollbar-height); */
        /* padding-bottom: calc((1 - var(--is-scrollbar-visible, 1)) * var(--custom-scrollbar-height)) */
    /* } */
    /* Customize the entire scrollbar */
    .custom-scrollbar ::-webkit-scrollbar,
    .custom-scrollbar-container::-webkit-scrollbar {
        width: var(--custom-scrollbar-width);  /* Vertical scrollbar width */
        height: var(--custom-scrollbar-height); /* Horizontal scrollbar height */
    }
    /* Customize the scrollbar track (background area) */
    .custom-scrollbar ::-webkit-scrollbar-track,
    .custom-scrollbar-container::-webkit-scrollbar-track {
        background-color: var(--custom-scrollbar-track-background-color);
        border-radius: var(--custom-scrollbar-track-border-radius);
    }
    /* Customize the scrollbar thumb (draggable part) */
    .custom-scrollbar ::-webkit-scrollbar-thumb,
    .custom-scrollbar-container::-webkit-scrollbar-thumb {
        background-color: var(--custom-scrollbar-thumb-background-color);
        border-radius: var(--custom-scrollbar-thumb-border-radius);
        border: var(--custom-scrollbar-thumb-border-width) solid var(--custom-scrollbar-thumb-border-color);
    }
    /* Customize the scrollbar thumb when hovered */
    /* .custom-scrollbar :has(>[class*=overflow-]:not(.overflow-hidden, .overflow-x-hidden, .overflow-y-hidden, .overflow-initial)):hover ::-webkit-scrollbar-thumb, */
    /* :hover > .custom-scrollbar-container::-webkit-scrollbar-thumb, */
    .custom-scrollbar :hover > ::-webkit-scrollbar-thumb,
    :has(>.custom-scrollbar-container):hover ::-webkit-scrollbar-thumb {
        background-color: var(--custom-scrollbar-thumb-hover-background-color);
        border-color: var(--custom-scrollbar-thumb-hover-border-color);
    }
    /* Optional: Style the scrollbar buttons (usually at ends) */
    .custom-scrollbar ::-webkit-scrollbar-button,
    .custom-scrollbar-container::-webkit-scrollbar-button {
        display: none;
    }
}
/* ------------------------------------ */
/* ----------- custom stuff ----------- */
/* ------------------------------------ */
/* CSS for touch devices: */
/* @media (pointer: coarse) {} */
/* Truly touch-only device: */
/* @media (pointer: coarse) and (hover: none) {} */
/* Styles for desktop or precise input devices */
/* @media (pointer: fine) {} */

/* Hide affordances that swipe replaces (e.g. slider arrows) on coarse-pointer/touch devices.
   !important overrides Bootstrap display utilities (.d-flex) carried by the same element. */
@media (pointer: coarse) {
    .hide-on-touch {
        display: none !important;
    }
}

.text-warning {
    color: var(--bs-orange) !important;
}
.text-bg-success {
    background-color: RGBA(var(--bs-green-rgb), var(--bs-bg-opacity, 1)) !important;
}

.bg-primary-gradient {
    background: linear-gradient(90deg, rgba(var(--bs-primary-rgb), var(--bs-bg-opacity)), rgba(var(--bs-primary-variant-1-rgb), var(--bs-bg-opacity))) !important;
}
/* ***************************************************** */
/* ***************************************************** */
/* **************** End: Global settings *************** */
/* ***************************************************** */
/* ***************************************************** */



/* ***************************************************** */
/* **************** Begin: Header settings ************* */
/* ***************************************************** */
.header {
    --header-bg: var(--header-background-color);
    --header-color: var(--header-text-color);
    --header-top-color: white;
    --header-hover-color: inherit;

    --header-banner-background-color: unset;
    --header-top-background-color: rgba(var(--bs-primary-rgb), 1);
    --header-bottom-background-color: inherit; /* unset; */
    --header-nav-background-color: inherit; /* unset; */
    --header-search-mobile-background-color: inherit; /* unset; */

    --bs-border-color: var(--bs-gray-200); /* var(--header-text-color); */
    --bs-border-width: 1px;

    z-index: calc(var(--sticky-zindex) + 1);

    color: var(--header-color);
    font-size: .875rem;
}
.header:has([class*="offcanvas"].show) {
    z-index: var(--offcanvas-zindex, 9999999);
}
/* Sticky-header scroll shadow — fades in over the first bit of scroll.
   Scroll-driven (no JS); silently no-ops where animation-timeline is unsupported. */
@supports (animation-timeline: scroll()) {
    .sticky-header {
        animation-name: sticky-header-shadow;
        animation-fill-mode: both;
        animation-timeline: scroll(root block);
        animation-range: 0 64px;
    }
    @keyframes sticky-header-shadow {
        /* `from` mirrors both layers as transparent so the list interpolates smoothly —
           box-shadow only animates between equal-length layer lists. */
        from { box-shadow: 0px 3px 6px transparent, 0px 3px 6px transparent; }
        to   { box-shadow: rgba(0, 0, 0, 0.1) 0px 3px 6px, rgba(0, 0, 0, 0.15) 0px 3px 6px; }
    }
}
/* =============================== */
.header__banner {
    background: var(--header-banner-background-color);
}
.header-top {
    color: var(--header-top-color);
    background: var(--header-top-background-color);
    --header-top-border-bottom: 0;
    border-bottom: var(--header-top-border-bottom);
    font-size: clamp(0.75rem, calc(0.760rem + 0.3205vw), 1rem);
}
.header-top .container {
    padding-left: calc(var(--bs-gutter-x) * .5);
    padding-right: calc(var(--bs-gutter-x) * .5);
}
.header-bottom {
    background: var(--header-bottom-background-color);
    --header-bottom-border-bottom: 0;
}
.header-nav {
    --header-color: #57585A;
    --header-hover-color: var(--bs-link-hover-color);
    --bs-border-width: 0;
    --header-nav-border-bottom: var(--bs-border-width) solid var(--bs-border-color);
    border-bottom: var(--header-nav-border-bottom);
    background: var(--header-nav-background-color);
}
@media (max-width: 991.98px) {
    .header-nav {
        --bs-border-width: 0;
    }
}
#mobile-search__container {
    background: var(--header-search-mobile-background-color);
}
/* =============================== */
.header-block {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-block__action-btn {
    --header-block-spacing-x: 0.75rem;
    --header-block-spacing-y: 0.75rem;
    --bs-btn-active-border-color: transparent;
    gap: 0.25rem;
    position: relative;
}
@media (max-width: 767.98px) {
    .header-block__action-btn {
        --header-block-spacing-x: 0.438rem;
    }
    .header-block__action-btn:has(.header-block__badge) {
        padding-right: 0.625rem;
    }
}
.header-block__icon {
    margin: 0;
    --icon-size: 1.3em;
}
.header-block__badge {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 5px;
    right: 1px;
    height: 17px;
    min-width: 17px;
    max-width: calc(100% - 1px);
    box-shadow: 0 0 0 1px var(--header-bg);
    font-weight: 500;
    font-size: .65rem;
    line-height: 1;
    color: var(--bs-white);
    background: rgba(var(--bs-primary-rgb), 1);
}
.header-block__badge-text {
    line-height: normal;
}
@media (min-width: 992px) {
    .header-block:has(.header-block__title) .header-block__action-btn:has(.header-block__badge) {
        column-gap: 0;
    }
    .header-block:has(.header-block__title) .header-block__icon-container:has(.header-block__badge) {
        position: relative;
        padding-right: var(--header-block-spacing-x);
    }
    .header-block:has(.header-block__title) .header-block__badge {
        top: calc((var(--header-block-spacing-y) - 2px) * -1);
    }
}
/* =============================== */
.header-block .header-block__action-btn {
    color: var(--header-color);
}
.header-block .header-block__action-btn:focus,
.header-block .header-block__action-btn:hover,
.header-block .header-block__action-btn.dropdown-toggle.show,
.header a:not(.dropdown-item):not(.list-group-item):not(.btn):hover {
    color: var(--header-hover-color);
}
.header a:not(.dropdown-item):not(.list-group-item):not(.btn) i {
    color: inherit !important;
}
/* =============================== */
#header .counter-container {
    gap: 1;
}
.header-top__right>:not(:last-child) {
    margin: 0;
}
.header-top__left:not(:has(*:not(:empty))),
.header-top__right:not(:has(*:not(:empty))) {
    display: none;
}
.header-top .header-block__action-btn {
    --header-block-spacing-x: 0;
    --header-block-spacing-y: 0;
}
.header .form-select {
    font-size: inherit;
    width: auto;
    padding-block: 0;
    /* background-color: inherit;
    color: inherit; */
}
@media (max-width: 1199.98px) {
    #header .logo {
        max-height: 50px;
    }
    .header-block__title {
        font-size: .875em;
    }
}
/* =============================== */
.breadcrumb__wrapper {
    /* background: var(--bs-body-bg);
    margin-bottom: 0rem; */
    margin-bottom: 1.5rem;
}
.breadcrumb {
    gap: 0.25rem 0;
    /* padding: 0.95rem 0; */
}
.breadcrumb a {
    line-height: inherit;
    color: inherit;
}
.breadcrumb a:hover {
    color: var(--bs-link-hover-color);
}
/* ============================================ */
/* custom header rules: *********************** */
/* ============================================ */
/* ... */
/* ***************************************************** */
/* **************** End: Header settings *************** */
/* ***************************************************** */



/* ***************************************************** */
/* **************** Begin: Footer settings ************* */
/* ***************************************************** */
.page-footer:not(:has(*)),
.page-footer:empty {
    display: none;
}
/* =============================== */
#footer {
    --footer-background-color: inherit;
    --footer-text-color: inherit;
    --footer-hover-color: inherit;
    --footer-heading-color: inherit;
    --bs-border-color: transparent;
    --footer-before-background-color: unset;
    --footer-main-top-background-color: unset;
    --footer-main-middle-background-color: unset;
    --footer-main-bottom-background-color: unset;
    --grid-col-min-width: 12rem;
}
.footer__before {
    background: var(--footer-before-background-color);
}
.footer__main__top {
    background: var(--footer-main-top-background-color);
}
/* Footer columns are flex children of the .footer__main__top row — tune their relative
   widths per breakpoint with `flex: <grow> 0 0`. ps_linklist blocks get a
   `.footer__block-<title>` class (title lowercased + spaces stripped; see linkblock.tpl);
   other blocks carry their own class. Example:
     @media (min-width: 992px) {
       .footer__block-<title-a>     { flex: 1.75 0 0; }
       .footer__block-<title-b>     { flex: 1.5 0 0; }
       .footer__block.block-contact { flex: 2 0 0; }
     }
     @media (min-width: 1200px) {
       .footer__block.block-contact { flex: 1.65 0 0; }
     } */
.footer__main__middle {
    background: var(--footer-main-middle-background-color);
}
.footer__main__bottom {
    --bs-border-color: var(--footer-text-color);
    background: var(--footer-main-bottom-background-color);
}
/* =============================== */
.footer__block.accordion {
    --bs-accordion-btn-color: var(--footer-heading-color);
    --bs-accordion-btn-bg: transparent;
    --bs-accordion-active-color: var(--footer-heading-color);
    --bs-accordion-active-bg: transparent;
    --bs-accordion-btn-focus-box-shadow: none;
}
#footer .footer__block:has([aria-expanded="true"]) {
    --footer-heading-color: var(--footer-hover-color);
    --bs-border-color: var(--footer-hover-color);
} 
#footer .collapse:not(.show) {
    display: none;
}
/* =============================== */
#footer .section-title {
    color: inherit;
}
#footer .section-title a {
    color: var(--bs-link-color);
}
#footer .section-title a:hover {
    color: var(--bs-link-hover-color);
}
/* =============================== */
.footer .footer__block__title {
    color: var(--footer-heading-color);
}
.footer a.footer__block__title:hover {
    --footer-heading-color: var(--footer-hover-color);
}
#footer .footer__block__content-list a {
    display: inline-block;
    line-height: initial;
    padding-block: 0;
    margin-block: .15rem;
}
#footer .footer__block__toggle i {
    color: var(--footer-text-color);
}
/* =============================== */
.footer a {
    color: var(--footer-text-color);
}
.footer a:hover {
    color: var(--footer-hover-color);
}
#footer .footer-bottom-right:empty {
    display: none !important;
}
.footer .copyright {
    color: var(--footer-text-color);
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .footer .footer__main .row {
        --bs-gutter-x: .75rem;
    }
    .footer .footer__main {
        font-size: 13px;
    }
    .footer .footer__block__title {
        font-size: 0.875rem;
    }
}
/* =============================== */
/* ***************************************************** */
/* **************** End: Footer settings *************** */
/* ***************************************************** */


/* ********************************************************* */
/* ***************** Begin: Product listing **************** */
/* ********************************************************* */
#content-wrapper,
.wrapper__side-column {
    padding-bottom: 4rem;
}
@media (max-width: 767.98px) {
    .wrapper__side-column {
        padding-bottom: 0;
    }
}
.layout-left-column #left-column {
    padding-right: calc(var(--bs-gutter-x) * 0.5);
}
.left-block:is(:last-child, :has(+ .offcanvas:last-child)) {
    --left-block-border-bottom: none;
}
/* =============================== */
 /* *** subcategories *** */
@media (max-width: 391.98px) {
    #subcategories {
        --item-count: 1;
    }
}
@media (min-width: 392px) and (max-width: 581.98px) {
    #subcategories {
        --item-count: 2;
    }
}
@media (min-width: 582px) and (max-width: 771.98px) {
    #subcategories {
        --item-count: 3;
    }
}
@media (min-width: 772px) and (max-width: 961.98px) {
    #subcategories {
        --item-count: 4;
    }
}
@media (min-width: 962px) {
    #subcategories {
        --item-count: 5;
    }
}
#subcategories {
    /* --item-count: 5; */
    /* --item-width: calc(100% / var(--item-count, 1)); */
    --gap: var(--bs-gutter-x, 1rem);
    --item-width: calc((100% - calc((var(--item-count) - 1) * var(--gap))) / var(--item-count));
    --column-preferred-width: var(--item-width);
    --column-min-width: 190px;
}
/* .subcategory__wrapper {
    flex: 0 0 var(--item-width, 100%);
    max-width: var(--item-width, 100%);
}
#subcategories.d-grid .subcategory__wrapper {
    --item-width: 100%;
} */
.subcategory__image {
    max-width: min(calc(var(--iw) * 1px), 100%);
    aspect-ratio: var(--iw) / var(--ih);
}
#subcategories .subcategory {
    min-height: 2.5rem;
    border-radius: var(--bs-card-border-radius);
    border: var(--bs-card-border-width) solid var(--bs-card-border-color);
}
/* =============================== */
/*  *** grid view / list view *** */
.g-l-v-btn:not(.active) {
    opacity: .25;
}
.g-l-v-btn.active {
    color: inherit;
}
/* =============================== */
.product-ratings-container .rating-stars {
    letter-spacing: 1px;
    color: var(--bs-black);
    transition: inherit;
}
.product-ratings-container .rating-stars:before {
    content: attr(data-rate-empty);
    display: inline-block;
    color: inherit;
}
.product-ratings-container .rating-stars:after {
    content: attr(data-rate-full);
    position: absolute;
    inset: 0;
    white-space: nowrap;
    overflow: hidden;
    width: calc(var(--data-grade) * 20%);
}
.product-ratings-container.btn:hover .rating-stars {
    color: inherit;
}
/* =============================== */
.product-flag.badge {
    min-width: 40px;
    box-shadow: 0 0 3px;
    width: min-content;
}
.product-flag.badge.rounded-circle {
    max-width: 60px;
    text-wrap: initial;
}
/* =============================== */
.product-miniature .card:hover {
    filter: none;
    box-shadow: 0 4px calc(var(--bs-gutter-x) * .5) rgba(0, 0, 0, .1);
}
.product-miniature .product-flags {
    left: calc(var(--bs-card-border-width) * -1);
    top: calc(var(--bs-card-border-width) * -1);
}
.product-miniature .product-miniature__infos {
    z-index: 1;
}
.product-miniature .product-miniature__prices {
    gap: 5px;
}
.product-miniature .product-miniature__regular-price {
    font-size: .85em;
}
.product-miniature .product-miniature__price {
    margin: 0 !important;
}
/* the button's wrapper becomes the query container */
.product-miniature .product-actions__add-to-cart-container {
    container-type: inline-size;
}

/* base: single-line reveal (your version) */
.product-miniature .add-to-cart:not(.disabled):not([disabled]) .btn-cart__label {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: max-width .3s ease, opacity .25s ease;
}
.product-miniature .add-to-cart:not(.disabled):not([disabled]):hover .btn-cart__label,
.product-miniature .add-to-cart:not(.disabled):not([disabled]):focus-visible .btn-cart__label {
    max-width: min(100%, 12rem);
    opacity: 1;
}

/* narrow button → let the label wrap instead of being forced onto one line */
@container (max-width: 160px) {
    .product-miniature .add-to-cart:not(.disabled):not([disabled]) .btn-cart__label {
        white-space: normal;
    }
}

.product-miniature__quickview:hover {
    --bs-bg-opacity: 1;
}
.product-actions__add-to-cart-container :is(.btn, .btn-cart-icon__container),
.product-actions__add-to-cart-container :is(.btn, .btn-cart__label) {
    padding-block: 3px;
}
/* =============================== */
/* =============================== */
/* =============================== */



/* ********************************************************* */
/* ***************** End: Product listing ****************** */
/* ********************************************************* */

/* **************************************************** */
/* ***************** Begin: Home page ***************** */
/* **************************************************** */
body#index #content-wrapper {
    padding-bottom: 0;
}
/* **************************************************** */
/* ***************** End: Home page ******************* */
/* **************************************************** */

/* **************************************************** */
/* ***************** Begin: My account **************** */
/* **************************************************** */
.account-menu .account-menu--signout {
    background: var(--bs-gray-100);
}
.customer-link .link-item{
    align-items:center;
}
/* **************************************************** */
/* ***************** End: My account ****************** */
/* **************************************************** */


/* **************************************************** */
/* ********** Begin: CSS fixes for Lighthouse ********* */
/* **************************************************** */

/* Reserved for Core Web Vitals / Lighthouse patches (CLS, LCP, render-blocking) — empty by default; add per-site fixes here when an audit flags them. */
/* @media ((width: 412px) and (min-height: 823px)) or ((width: 1350px) and (min-height: 940px)) {} */

/* **************************************************** */
/* *********** End: CSS fixes for Lighthouse ********** */
/* **************************************************** */




/* **************************************************** */
/* ------------------- custom stuff ------------------- */
/* **************************************************** */

.popover {
    --bs-popover-header-bg: var(--bs-tertiary);
    --bs-popover-header-color: var(--bs-white);
}
.popover-header {
    text-align: center;
}
.user-help-popover {
    min-width: max-content;
}
/* =============================== */
/* =============================== */
/* =============================== */

/* *** amazzing filter *** */
.has-compact-filter #amazzing_filter .btn-holder {
    background: white;
    box-shadow: 0 1px 5px;
    padding-block: 5px 15px;
}

/* *** gdpr *** */
[id^="gdpr_consent"] {
    display: inline-block;
}

/* 2026-11-12 accessibility: "NEW" product flag. White on #009932 is 3.75:1; #00852c is 4.78:1 (WCAG AA 4.5:1). */
.product-flag.new { --bs-green-rgb: 0, 133, 44; }
