/* =========================================================
   LIQUOR STORE - APP.CSS
   Cleaned core stylesheet
   ========================================================= */


/* =========================================================
   DESIGN TOKENS
   ========================================================= */

:root {
    --bg: #f7f3ed;
    --surface: #ffffff;

    --header: #121210;
    --header-bg: #121210;
    --header-text: #ffffff;
    --header-muted: #aaa69f;
    --header-border: #34312d;

    --text: #171512;
    --muted: #6f6a63;
    --border: #e5ded4;

    --accent: #c93a20;
    --accent-hover: #a92f1a;
    --header-accent: #c93a20;

    --success: #2f7d3a;

    --shell: 1440px;
    --content-max: 1440px;

    --header-height: 78px;
}


/* =========================================================
   RESET / BASE
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
}

body {
    margin: 0;

    background: var(--bg);
    color: var(--text);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
}

.site-shell {
    width: min(
        calc(100% - 40px),
        var(--shell)
    );

    margin-inline: auto;
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.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;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;

    background: var(--header-bg);
    color: var(--header-text);

    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.site-header__inner {
    width: min(
        calc(100% - 40px),
        var(--content-max)
    );

    min-height: var(--header-height);

    margin-inline: auto;

    display: grid;
    grid-template-columns:
        auto
        auto
        minmax(280px, 1fr)
        auto;

    align-items: center;
    gap: 26px;
}


/* =========================================================
   HEADER LOGO
   ========================================================= */

.site-header__brand {
    display: flex;
    align-items: center;

    flex: 0 0 auto;
    min-width: 120px;
}

.site-header__logo-link {
    display: flex;
    align-items: center;
}

.site-header__logo {
    display: block;

    width: auto;
    height: 50px;
    max-width: 180px;
}


/* =========================================================
   HEADER NAVIGATION
   ========================================================= */

.site-header__nav {
    height: var(--header-height);

    display: flex;
    align-items: stretch;
}

.primary-menu {
    list-style: none;

    display: flex;
    align-items: stretch;

    height: 100%;

    margin: 0;
    padding: 0;

    gap: 2px;
}

.primary-menu__item {
    position: static;

    display: flex;
    align-items: stretch;

    margin: 0;
}

.primary-menu__link {
    display: flex;
    align-items: center;

    gap: 6px;

    padding: 0 11px;

    color: #fff;

    font-size: 13px;
    font-weight: 700;

    white-space: nowrap;

    transition:
        color .15s ease,
        background .15s ease;
}

.primary-menu__link:hover,
.primary-menu__item:focus-within > .primary-menu__link {
    color: var(--accent);
    background: rgba(255, 255, 255, .035);
}

.primary-menu__arrow {
    width: 10px;
    height: 7px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.5;

    transition: transform .15s ease;
}

.primary-menu__item:hover .primary-menu__arrow,
.primary-menu__item:focus-within .primary-menu__arrow {
    transform: rotate(180deg);
}


/* =========================================================
   MEGA MENU
   ========================================================= */

.mega-menu {
    position: absolute;

    top: 100%;
    left: 0;

    width: 100%;
    padding: 0;

    visibility: hidden;
    opacity: 0;

    pointer-events: none;

    transform: translateY(5px);

    transition:
        opacity .15s ease,
        transform .15s ease,
        visibility .15s ease;
}

.primary-menu__item--mega:hover > .mega-menu,
.primary-menu__item--mega:focus-within > .mega-menu {
    visibility: visible;
    opacity: 1;

    pointer-events: auto;

    transform: translateY(0);
}

.mega-menu__inner {
    width: 100%;

    padding: 30px max(
        20px,
        calc((100vw - var(--content-max)) / 2)
    );

    background: #fff;
    color: var(--text);

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    box-shadow: 0 18px 35px rgba(0, 0, 0, .13);
}

.mega-menu__list {
    list-style: none;

    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));

    gap: 8px 30px;

    margin: 0;
    padding: 0;
}

.mega-menu__item {
    margin: 0;
    padding: 0;
}

.mega-menu__link {
    display: block;

    padding: 9px 0;

    color: var(--text);

    font-size: 14px;
    font-weight: 600;

    border-bottom: 1px solid transparent;
}

.mega-menu__link:hover,
.mega-menu__link:focus-visible {
    color: var(--accent);
}

.mega-menu__sublist {
    list-style: none;

    margin: 2px 0 8px;
    padding: 0;
}

.mega-menu__sublist .mega-menu__link {
    padding: 4px 0;

    color: var(--muted);

    font-size: 12px;
    font-weight: 400;
}

.mega-menu__sublist .mega-menu__link:hover {
    color: var(--accent);
}


/* =========================================================
   HEADER SEARCH SLOT
   Detailed search styling lives in product-search.css
   ========================================================= */

.site-header__search {
    width: 100%;
}


/* =========================================================
   HEADER ACTIONS
   ========================================================= */

.site-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 10px;
}

.site-header__action {
    position: relative;

    width: 40px;
    height: 40px;
    flex: 0 0 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 50%;

    background: rgba(255, 255, 255, .045);
    color: #fff;
}

.site-header__action:hover,
.site-header__action:focus-visible {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .55);
}

.site-header__action svg {
    width: 19px;
    height: 19px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.7;

    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-header__cart-count {
    position: absolute;

    top: -6px;
    right: -6px;

    min-width: 19px;
    height: 19px;

    padding: 0 5px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid var(--header-bg);
    border-radius: 999px;

    background: var(--accent);
    color: #fff;

    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}


/* =========================================================
   MOBILE MENU
   ========================================================= */

.mobile-menu {
    display: none;
}

.mobile-menu summary {
    list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
    display: none;
}

.mobile-menu__toggle {
    width: 40px;
    height: 40px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 5px;

    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 50%;

    background: rgba(255, 255, 255, .045);

    cursor: pointer;
}

.mobile-menu__toggle span {
    width: 17px;
    height: 1px;

    display: block;

    background: #fff;
}

.mobile-menu__panel {
    position: absolute;

    top: 100%;
    left: 0;
    right: 0;

    max-height: calc(100vh - 130px);
    overflow-y: auto;

    padding: 10px 20px 25px;

    background: var(--header-bg);

    border-top: 1px solid var(--header-border);

    box-shadow: 0 16px 30px rgba(0, 0, 0, .25);
}

.mobile-menu__list,
.mobile-menu__list ul {
    list-style: none;

    margin: 0;
    padding: 0;
}

.mobile-menu__list > li {
    border-bottom: 1px solid var(--header-border);
}

.mobile-menu__list > li > a {
    display: block;

    padding: 15px 0;

    color: #fff;

    font-size: 16px;
    font-weight: 700;
}

.mobile-menu__list .sub-menu {
    padding: 0 0 12px 18px;
}

.mobile-menu__list .sub-menu a {
    display: block;

    padding: 6px 0;

    color: #bdb8b1;

    font-size: 13px;
}

.mobile-menu__list a:hover {
    color: var(--accent);
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    border-bottom: 1px solid var(--border);
}

.hero-grid {
    min-height: 500px;

    display: grid;
    grid-template-columns: .9fr 1.1fr;

    align-items: center;

    gap: 48px;

    padding-block: 54px 28px;
}

.eyebrow {
    margin: 0 0 12px;

    color: var(--accent);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
}

.hero h1,
.woocommerce-products-header__title,
.product_title {
    font-family: Georgia, 'Times New Roman', serif;

    font-weight: 500;
    letter-spacing: -.035em;
}

.hero h1 {
    margin: 0;

    font-size: clamp(48px, 5vw, 78px);
    line-height: .98;
}

.hero-text {
    max-width: 520px;

    margin: 24px 0;

    color: var(--muted);
}

.hero-visual {
    min-height: 390px;

    display: grid;
    place-items: center;
}

.hero-visual__placeholder {
    width: min(100%, 650px);

    aspect-ratio: 1.55;

    display: grid;
    place-items: center;

    border: 1px dashed var(--border);

    color: #aaa29a;

    font-size: 12px;
    letter-spacing: .12em;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    border: 0 !important;
    border-radius: 0 !important;

    background: var(--accent) !important;
    color: #fff !important;

    padding: 14px 22px !important;

    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1 !important;

    text-transform: uppercase;
}

.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background: var(--accent-hover) !important;
}


/* =========================================================
   HOMEPAGE
   ========================================================= */

.home-section {
    padding: 34px 0;
}

.home-section--products {
    padding-top: 12px;
}

.section-heading {
    margin-bottom: 22px;

    text-align: center;
}

.section-heading h2 {
    margin: 0;

    font-size: 14px;

    text-transform: uppercase;
    letter-spacing: .04em;
}


/* =========================================================
   HOMEPAGE CATEGORY GRID
   ========================================================= */

.category-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);

    gap: 12px;
}

.category-card {
    min-height: 104px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 8px;

    text-align: center;

    font-size: 13px;
}

.category-card__icon {
    font-size: 26px;
}

.category-card:hover {
    color: var(--accent);
}


/* =========================================================
   TRUST STRIP
   ========================================================= */

.trust-strip {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    background: #f0e9df;
}

.trust-grid {
    min-height: 104px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    align-items: center;

    gap: 24px;
}

.trust-grid > div {
    display: grid;
    gap: 3px;
}

.trust-grid strong {
    font-size: 13px;
}

.trust-grid span {
    color: var(--muted);

    font-size: 12px;
}


/* =========================================================
   CONTENT WRAPPERS
   ========================================================= */

.content-wrap,
.woo-shell {
    padding-block: 34px 64px;
}

.content-entry {
    max-width: 900px;
}


/* =========================================================
   WOOCOMMERCE BASE
   ========================================================= */

.woocommerce .woocommerce-breadcrumb {
    margin: 0 0 20px;

    color: var(--muted);

    font-size: 12px;
}

.woocommerce-products-header {
    padding: 8px 0 24px;

    border-bottom: 1px solid var(--border);
}

.woocommerce-products-header__title {
    margin: 0;

    font-size: 52px;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
    margin-top: 18px;
}


/* =========================================================
   PRODUCT CARDS / GENERIC PRODUCT GRID
   ========================================================= */

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 18px;

    margin: 24px 0 0 !important;
}

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

.woocommerce ul.products li.product {
    width: auto !important;

    float: none !important;

    margin: 0 !important;
    padding: 0 0 16px !important;

    border-bottom: 1px solid var(--border);
}

.woocommerce ul.products li.product a img {
    margin: 0 0 12px !important;

    background: #f3efe9;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    min-height: 42px;

    padding: 0 !important;

    font-family: Georgia, 'Times New Roman', serif;

    font-size: 16px !important;
    font-weight: 500;
}

.woocommerce ul.products li.product .price {
    color: var(--text) !important;

    font-size: 14px !important;
    font-weight: 700 !important;
}

.woocommerce span.onsale {
    min-width: auto;
    min-height: auto;

    margin: 8px !important;
    padding: 5px 8px !important;

    border-radius: 0;

    background: var(--accent);

    font-size: 11px;
    line-height: 1;
}


/* =========================================================
   SHOP ARCHIVE
   ========================================================= */

.shop-archive {
    padding: 28px 0 70px;
}

.shop-archive__breadcrumb {
    margin-bottom: 22px;
}

.shop-archive__header {
    padding: 8px 0 28px;

    border-bottom: 1px solid var(--border);
}

.shop-archive__heading {
    max-width: 850px;
}

.shop-archive__title {
    margin: 0;

    font-family: Georgia, 'Times New Roman', serif;

    font-size: clamp(40px, 5vw, 58px);
    font-weight: 500;
    line-height: 1;

    letter-spacing: -.035em;
}

.shop-archive__description {
    max-width: 720px;

    margin-top: 16px;

    color: var(--muted);

    font-size: 14px;
}

.shop-archive__description p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   SHOP TOOLBAR
   ========================================================= */

.shop-toolbar {
    min-height: 68px;

    display: flex;
    align-items: center;

    border-bottom: 1px solid var(--border);
}

.shop-toolbar__result {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.shop-toolbar .woocommerce-result-count,
.shop-toolbar .woocommerce-ordering {
    float: none;

    margin: 0;
}

.shop-toolbar .woocommerce-result-count {
    color: var(--muted);

    font-size: 13px;
}

.shop-toolbar .woocommerce-ordering select {
    min-width: 210px;
    height: 42px;

    padding: 0 36px 0 12px;

    border: 1px solid var(--border);
    border-radius: 4px;

    background: var(--surface);
    color: var(--text);

    font-size: 13px;
}


/* =========================================================
   SHOP SIDEBAR + PRODUCTS
   Detailed filter controls live in shop-filters.css
   ========================================================= */

.shop-layout {
    display: grid;
    grid-template-columns:
        250px
        minmax(0, 1fr);

    gap: 34px;

    padding-top: 26px;
}

.shop-layout__sidebar,
.shop-layout__products {
    min-width: 0;
}

.shop-filters {
    width: 100%;
}

.shop-layout__products ul.products,
.shop-layout__products .woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 30px 18px;

    margin: 0 !important;
}


/* =========================================================
   SHOP PAGINATION
   ========================================================= */

.shop-pagination {
    padding-top: 42px;
}


/* =========================================================
   SPECIAL PRODUCT PAGES
   Sale / Neuste Produkte
   ========================================================= */

.special-products-page .products {
    width: 100%;
}

.special-products-page .shop-toolbar {
    margin-bottom: 28px;
}

.special-products-page .shop-pagination {
    margin-top: 48px;
}

.special-pagination {
    display: flex;
    justify-content: center;

    margin-top: 52px;
    padding-top: 28px;

    border-top: 1px solid #ddd8cf;
}

.special-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 42px;
    height: 42px;

    margin: 0 4px;
    padding: 0 12px;

    border: 1px solid #d8d2c9;

    background: transparent;
    color: #25221f;

    font-size: 14px;
    line-height: 1;

    text-decoration: none;
}

.special-pagination .page-numbers:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.special-pagination .page-numbers.current {
    border-color: var(--accent);

    background: var(--accent);
    color: #fff;
}

.special-pagination .page-numbers.dots {
    border-color: transparent;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .site-header__inner {
        grid-template-columns:
            auto
            minmax(240px, 1fr)
            auto;

        gap: 18px;
    }

    .site-header__nav {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .woocommerce ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1050px) {

    .shop-layout {
        grid-template-columns:
            220px
            minmax(0, 1fr);

        gap: 24px;
    }

    .shop-layout__products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    :root {
        --header-height: auto;
    }

    .site-shell {
        width: min(
            calc(100% - 24px),
            var(--shell)
        );
    }


    /* Header */

    .site-header__inner {
        width: calc(100% - 28px);

        min-height: auto;

        padding: 10px 0;

        grid-template-columns:
            1fr
            auto;

        gap: 10px 12px;
    }

    .site-header__brand {
        grid-column: 1;
        grid-row: 1;
    }

    .site-header__logo {
        height: 40px;
    }

    .site-header__actions {
        grid-column: 2;
        grid-row: 1;
    }

    .site-header__search {
        grid-column: 1 / -1;
        grid-row: 2;

        width: 100%;
    }

    .site-header__action,
    .mobile-menu__toggle {
        width: 36px;
        height: 36px;
    }

    .site-header__action {
        flex-basis: 36px;
    }

    .site-header__action svg {
        width: 17px;
        height: 17px;
    }


    /* Hero */

    .hero-grid {
        min-height: 0;

        grid-template-columns: 1fr;

        gap: 20px;

        padding-block: 44px 20px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-visual {
        min-height: 250px;
    }


    /* Homepage */

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .trust-grid {
        grid-template-columns: 1fr 1fr;

        padding-block: 22px;
    }


    /* Generic Woo grid */

    .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 12px;
    }


    /* Shop archive */

    .shop-archive {
        padding-top: 18px;
    }

    .shop-toolbar {
        padding: 14px 0;
    }

    .shop-toolbar__result {
        flex-direction: column;
        align-items: stretch;

        gap: 10px;
    }

    .shop-toolbar .woocommerce-ordering,
    .shop-toolbar .woocommerce-ordering select {
        width: 100%;
    }

    .shop-layout {
        grid-template-columns: 1fr;

        gap: 24px;
    }

    .shop-layout__sidebar {
        order: 1;
    }

    .shop-layout__products {
        order: 2;
    }

    .shop-layout__products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 22px 12px;
    }


    /* Special product pages */

    .special-products-page .shop-toolbar {
        margin-bottom: 20px;
    }

    .special-products-page .shop-pagination {
        margin-top: 36px;
    }

    .special-pagination {
        margin-top: 36px;
        padding-top: 22px;
    }

    .special-pagination .page-numbers {
        min-width: 38px;
        height: 38px;

        margin: 0 2px;
        padding: 0 9px;
    }
}

/* =========================================================
   TYPOGRAPHY READABILITY OVERRIDES
   ========================================================= */

/*
 * Base text
 * 16px remains our primary reading size.
 */
 body {
    font-size: 16px;
    line-height: 1.55;
}


/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */

.primary-menu__link {
    font-size: 14px;
}

.mega-menu__link {
    font-size: 14px;
}

.mega-menu__sublist .mega-menu__link {
    font-size: 13px;
    line-height: 1.45;
}

.site-header__cart-count {
    font-size: 11px;
}


/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

.mobile-menu__list > li > a {
    font-size: 16px;
}

.mobile-menu__list .sub-menu a {
    font-size: 14px;
    line-height: 1.45;
}


/* =========================================================
   SMALL EDITORIAL LABELS
   ========================================================= */

.eyebrow {
    font-size: 12px;
}

.hero-visual__placeholder {
    font-size: 13px;
}

.section-heading h2 {
    font-size: 15px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    font-size: 13px !important;
    line-height: 1.1 !important;
}


/* =========================================================
   OLD HOMEPAGE CATEGORY GRID
   ========================================================= */

.category-card {
    font-size: 14px;
}


/* =========================================================
   TRUST
   ========================================================= */

.trust-grid strong {
    font-size: 14px;
}

.trust-grid span {
    font-size: 13px;
    line-height: 1.45;
}


/* =========================================================
   WOOCOMMERCE GENERAL
   ========================================================= */

.woocommerce .woocommerce-breadcrumb {
    font-size: 13px;
    line-height: 1.4;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
    font-size: 14px;
}


/* =========================================================
   PRODUCT CARDS
   ========================================================= */

.woocommerce ul.products li.product
.woocommerce-loop-product__title {
    font-size: 16px !important;
    line-height: 1.35;
}

.woocommerce ul.products li.product .price {
    font-size: 15px !important;
    line-height: 1.35;
}

.woocommerce span.onsale {
    font-size: 12px;
    line-height: 1;
}


/* =========================================================
   SHOP ARCHIVE
   ========================================================= */

.shop-archive__description {
    font-size: 15px;
    line-height: 1.6;
}


/* =========================================================
   SHOP TOOLBAR
   ========================================================= */

.shop-toolbar .woocommerce-result-count {
    font-size: 14px;
}

.shop-toolbar .woocommerce-ordering select {
    font-size: 14px;
}


/* =========================================================
   PAGINATION
   ========================================================= */

.special-pagination .page-numbers {
    font-size: 14px;
}


/* =========================================================
   MOBILE READABILITY
   ========================================================= */

@media (max-width: 700px) {

    /*
     * Main readable UI text should generally stay
     * around 14–16px or larger on mobile.
     */

    .primary-menu__link,
    .mega-menu__link {
        font-size: 14px;
    }

    .mobile-menu__list > li > a {
        font-size: 16px;
    }

    .mobile-menu__list .sub-menu a {
        font-size: 14px;
    }

    .woocommerce ul.products li.product
    .woocommerce-loop-product__title {
        font-size: 15px !important;
    }

    .woocommerce ul.products li.product .price {
        font-size: 14px !important;
    }

    .button,
    .woocommerce a.button,
    .woocommerce button.button,
    .woocommerce input.button {
        font-size: 12px !important;
    }

    .shop-toolbar .woocommerce-result-count,
    .shop-toolbar .woocommerce-ordering select {
        font-size: 14px;
    }

}

/* =========================================================
   PRODUCT CATEGORY SUBNAV
   ========================================================= */

   .category-subnav {
    width: 100%;

    background: #fff;
    color: var(--text);

    border-bottom: 1px solid var(--border);

    overflow: hidden;
}

.category-subnav__inner {
    width: min(
        calc(100% - 40px),
        var(--content-max)
    );

    min-height: 44px;

    margin-inline: auto;

    display: flex;
    align-items: center;

    gap: 6px;

    overflow-x: auto;
    overflow-y: hidden;

    scrollbar-width: none;
}

.category-subnav__inner::-webkit-scrollbar {
    display: none;
}

.category-subnav__link {
    position: relative;

    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;

    min-height: 44px;

    padding: 0 10px;

    color: var(--muted);

    font-size: 13px;
    font-weight: 600;
    line-height: 1;

    white-space: nowrap;

    transition:
        color .15s ease,
        background-color .15s ease;
}

.category-subnav__link:hover,
.category-subnav__link:focus-visible {
    color: var(--accent);

    background: rgba(201, 58, 32, .04);
}

.category-subnav__link.is-active {
    color: var(--accent);
}

.category-subnav__link.is-active::after {
    content: '';

    position: absolute;

    left: 10px;
    right: 10px;
    bottom: 0;

    height: 2px;

    background: var(--accent);
}


/* =========================================================
   CATEGORY SUBNAV MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .category-subnav__inner {
        width: 100%;

        padding-inline: 14px;
    }

    .category-subnav__link {
        min-height: 42px;

        padding-inline: 9px;

        font-size: 13px;
    }

}

/* =========================================================
   WOOCOMMERCE PAGINATION
   ========================================================= */

   .woocommerce nav.woocommerce-pagination {
    margin-top: 44px;
    padding-top: 28px;

    border-top: 1px solid var(--border);

    text-align: center;
}

.woocommerce nav.woocommerce-pagination ul {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 6px;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;

    list-style: none;
}

.woocommerce nav.woocommerce-pagination ul li {
    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;

    float: none !important;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 40px;
    height: 40px;

    padding: 0 11px !important;

    border: 1px solid var(--border);

    background: transparent;

    color: var(--text);

    font-size: 14px;
    font-weight: 500;
    line-height: 1;

    text-decoration: none;

    transition:
        border-color .15s ease,
        background-color .15s ease,
        color .15s ease;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li a:focus-visible {
    border-color: var(--accent);

    color: var(--accent);
}

.woocommerce nav.woocommerce-pagination ul li span.current {
    border-color: var(--accent);

    background: var(--accent);
    color: #fff;

    font-weight: 700;
}

.woocommerce nav.woocommerce-pagination ul li span.dots {
    border-color: transparent;

    background: transparent;
}


/* =========================================================
   PAGINATION MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .woocommerce nav.woocommerce-pagination {
        margin-top: 34px;
        padding-top: 22px;
    }

    .woocommerce nav.woocommerce-pagination ul {
        gap: 4px;
    }

    .woocommerce nav.woocommerce-pagination ul li a,
    .woocommerce nav.woocommerce-pagination ul li span {
        min-width: 36px;
        height: 36px;

        padding: 0 8px !important;

        font-size: 13px;
    }

}

/* =========================================================
   HEADER LOGO FIX
   ========================================================= */

   .site-header__brand {
    display: flex !important;
    align-items: center !important;

    width: 150px !important;
    min-width: 150px !important;
    flex: 0 0 150px !important;
}

.site-header__logo-link {
    display: flex !important;
    align-items: center !important;

    width: 100% !important;
}

.site-header__logo {
    display: block !important;

    width: 120px !important;
    height: auto !important;

    min-width: 120px !important;
    max-width: 120px !important;

    opacity: 1 !important;
    visibility: visible !important;
}

/* =========================================================
   SPECIAL PRODUCT PAGES - SALE BADGE
   ========================================================= */

   .special-products-page ul.products li.product {
    position: relative;
}

.special-products-page ul.products li.product .onsale {
    position: absolute;

    top: 10px;
    left: 10px;
    right: auto;

    z-index: 5;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: auto;
    min-height: auto;

    margin: 0 !important;
    padding: 7px 10px !important;

    border: 0;
    border-radius: 0;

    background: var(--accent);
    color: #fff;

    font-size: 11px;
    font-weight: 700;
    line-height: 1;

    text-transform: uppercase;
}

.special-products-page ul.products,
.special-products-page ul.products li.product {
    list-style: none !important;
}

.special-products-page ul.products li.product::marker {
    content: "";
}