/* Product catalog: responsive filters, sorting, cards, and pagination. */
.catalog-page {
    --catalog-ink: #3d1a28;
    --catalog-muted: #79616a;
    --catalog-line: #eedfe0;
    --catalog-surface: #ffffff;
    --catalog-soft: #fff8f6;
    --catalog-primary: #8a1939;
    --catalog-accent: #d66a42;
    padding-block: 28px 56px;
}

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

.catalog-page__hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 156px;
    margin-bottom: 24px;
    padding: 29px clamp(22px, 3vw, 38px);
    overflow: hidden;
    border: 1px solid #f0dfe0;
    border-radius: 24px;
    background:
        radial-gradient(circle at 9% 0%, rgba(220, 120, 70, .14), transparent 28%),
        radial-gradient(circle at 90% 100%, rgba(133, 23, 55, .1), transparent 31%),
        linear-gradient(125deg, #fffdfc, #fff7f5);
    box-shadow: 0 15px 36px rgba(77, 23, 39, .07);
}

.catalog-page__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    color: var(--catalog-primary);
    font-size: .78rem;
    font-weight: 800;
}

.catalog-page__hero h1,
.catalog-page__hero p,
.catalog-filter-form h2,
.catalog-filter-form p,
.catalog-results__summary h2,
.catalog-results__summary span,
.catalog-empty-results h3,
.catalog-empty-results p {
    margin: 0;
}

.catalog-page__hero h1 {
    color: var(--catalog-ink);
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    font-weight: 900;
    line-height: 1.5;
}

.catalog-page__hero p {
    max-width: 650px;
    margin-top: 7px;
    color: var(--catalog-muted);
    font-size: .91rem;
    line-height: 2;
}

.catalog-page__count {
    display: grid;
    flex: 0 0 auto;
    min-width: 128px;
    padding: 16px 20px;
    border: 1px solid #f1d8dc;
    border-radius: 17px;
    background: rgba(255, 255, 255, .8);
    box-shadow: 0 8px 19px rgba(111, 33, 54, .06);
    text-align: center;
}

.catalog-page__count strong {
    color: var(--catalog-primary);
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1.3;
}

.catalog-page__count span {
    margin-top: 4px;
    color: var(--catalog-muted);
    font-size: .73rem;
    font-weight: 700;
}

.catalog-page__layout {
    display: grid;
    grid-template-columns: minmax(238px, 272px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.catalog-filters {
    position: sticky;
    top: 148px;
    min-width: 0;
}

.catalog-filter-form {
    display: grid;
    gap: 18px;
    padding: 22px;
    border: 1px solid rgba(117, 25, 49, .12);
    border-top: 4px solid var(--catalog-primary);
    border-radius: 20px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 12px 34px rgba(63, 20, 31, .07);
}

.catalog-filter-form__head {
    display: flex;
    align-items: center;
    gap: 11px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--catalog-line);
}

.catalog-filter-form__icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--catalog-primary), #bb3a4d 62%, var(--catalog-accent));
    box-shadow: 0 7px 14px rgba(136, 25, 55, .18);
}

.catalog-filter-form h2 {
    color: var(--catalog-ink);
    font-size: 1rem;
    font-weight: 900;
}

.catalog-filter-form p {
    margin-top: 3px;
    color: var(--catalog-muted);
    font-size: .72rem;
}

.catalog-search-field {
    display: grid;
    gap: 8px;
    color: #654c55;
    font-size: .8rem;
    font-weight: 800;
}

.catalog-search-field__control {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 12px;
    border: 1px solid #eadadd;
    border-radius: 13px;
    background: #fffdfc;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.catalog-search-field__control:focus-within {
    border-color: #b94a60;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(160, 36, 67, .09);
}

.catalog-search-field__control i {
    color: #aa5265;
    font-size: .95rem;
}

.catalog-search-field input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: var(--catalog-ink);
    background: transparent;
    font: inherit;
}

.catalog-search-field input::placeholder {
    color: #b09da2;
    font-weight: 500;
}

.catalog-filter-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px;
    border: 1px solid #f0e0e2;
    border-radius: 14px;
    background: var(--catalog-soft);
    cursor: pointer;
}

.catalog-filter-toggle > span:first-child {
    display: grid;
    gap: 3px;
}

.catalog-filter-toggle strong {
    color: #572238;
    font-size: .82rem;
}

.catalog-filter-toggle small {
    color: var(--catalog-muted);
    font-size: .69rem;
    line-height: 1.6;
}

.catalog-switch {
    position: relative;
    display: inline-flex;
    width: 42px;
    height: 24px;
    flex: 0 0 42px;
}

.catalog-switch input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.catalog-switch > span {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background: #d8cbd0;
    cursor: pointer;
    transition: background .2s ease;
}

.catalog-switch > span::after {
    content: "";
    position: absolute;
    top: 3px;
    right: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(54, 17, 29, .18);
    transition: transform .2s ease;
}

.catalog-switch input:checked + span {
    background: linear-gradient(90deg, var(--catalog-primary), var(--catalog-accent));
}

.catalog-switch input:checked + span::after {
    transform: translateX(-18px);
}

.catalog-switch input:focus-visible + span {
    outline: 3px solid rgba(161, 39, 70, .24);
    outline-offset: 3px;
}

.catalog-filter-form__actions {
    display: grid;
    gap: 10px;
}

.catalog-filter-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(112deg, #7f1633, #bd3548 61%, #d66a42);
    box-shadow: 0 9px 16px rgba(128, 22, 51, .18);
    font: inherit;
    font-size: .83rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.catalog-filter-form__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 13px 20px rgba(128, 22, 51, .24);
}

.catalog-filter-form__reset {
    color: #8e3450;
    font-size: .75rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}

.catalog-filter-form__reset:hover {
    color: #5f132c;
    text-decoration: underline;
}

.catalog-results {
    min-width: 0;
}

#products-results {
    display: grid;
    gap: 17px;
}

.catalog-results__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 22px;
    min-height: 86px;
    padding: 15px 18px;
    border: 1px solid rgba(117, 25, 49, .1);
    border-radius: 18px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 10px 27px rgba(63, 20, 31, .06);
}

.catalog-results__summary {
    min-width: max-content;
}

.catalog-results__summary > span {
    color: #a45768;
    font-size: .72rem;
    font-weight: 800;
}

.catalog-results__summary h2 {
    margin-top: 2px;
    color: var(--catalog-ink);
    font-size: 1.02rem;
    font-weight: 900;
    line-height: 1.7;
}

.catalog-sort {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    min-width: 0;
}

.catalog-sort__label {
    flex: 0 0 auto;
    color: #72535e;
    font-size: .75rem;
    font-weight: 800;
}

.catalog-sort__label i {
    margin-left: 4px;
    color: #a13450;
}

.catalog-sort__links {
    display: flex;
    gap: 6px;
    min-width: 0;
    padding: 2px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.catalog-sort__link {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    flex: 0 0 auto;
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #765863;
    background: #fff8f6;
    font-size: .74rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.catalog-sort__link:hover,
.catalog-sort__link.is-active {
    border-color: #bd5b70;
    color: #fff;
    background: linear-gradient(112deg, #861736, #bd3c4a, #dc7642);
    box-shadow: 0 6px 13px rgba(132, 23, 53, .17);
}

.catalog-page .nn-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
    gap: 16px;
    height: auto;
    margin: 0;
    padding: 0;
    list-style: none;
    justify-items: stretch;
}

.catalog-page .nn-product-card {
    position: relative;
    display: block;
    min-width: 0;
    min-height: 352px;
    overflow: hidden;
    border: 1px solid #efe0e2;
    border-radius: 18px;
    background: var(--catalog-surface);
    box-shadow: 0 7px 20px rgba(70, 20, 34, .055);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.catalog-page .nn-product-card:hover,
.catalog-page .nn-product-card:focus-within {
    z-index: 1;
    transform: translateY(-5px);
    border-color: #dca8b4;
    box-shadow: 0 17px 31px rgba(78, 20, 39, .14);
}

.catalog-page .nn-product-card__link {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: inherit;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.catalog-page .nn-product-image {
    position: relative;
    display: grid;
    width: 100%;
    min-height: 0;
    padding-top: 0;
    aspect-ratio: 1 / .8;
    place-items: center;
    overflow: hidden;
    background: radial-gradient(circle at 50% 28%, #fff, #fff8f4 70%, #f7ecea);
}

.catalog-page .nn-product-image img {
    position: relative;
    top: auto;
    left: auto;
    display: block;
    width: 100%;
    height: 100%;
    padding: 16px;
    object-fit: contain;
    transition: transform .35s ease;
}

.catalog-page .nn-product-card:hover .nn-product-image img,
.catalog-page .nn-product-card:focus-within .nn-product-image img {
    transform: scale(1.045);
}

.nn-product-image__placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    align-content: center;
    gap: 8px;
    color: #a58d95;
    font-size: .76rem;
    font-weight: 700;
}

.nn-product-image__placeholder i {
    font-size: 1.9rem;
    color: #c9adb3;
}

.catalog-page .nn-product-badges {
    position: absolute;
    z-index: 2;
    top: 11px;
    right: 11px;
    left: 11px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 6px;
    pointer-events: none;
}

.catalog-page .nn-badge {
    position: static;
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 8px;
    color: #fff;
    box-shadow: 0 4px 10px rgba(76, 22, 39, .13);
    font-size: .66rem;
    font-weight: 900;
    line-height: 1;
}

.catalog-page .nn-badge--featured {
    background: #962044;
}

.catalog-page .nn-badge--sale {
    background: linear-gradient(110deg, #d45b3e, #b62543);
}

.catalog-page .nn-product-card__action {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    padding: 0 10px;
    border-radius: 10px;
    color: #fff;
    background: rgba(102, 22, 44, .9);
    box-shadow: 0 7px 15px rgba(78, 18, 35, .2);
    font-size: .72rem;
    font-weight: 800;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease;
}

.catalog-page .nn-product-card:hover .nn-product-card__action,
.catalog-page .nn-product-card:focus-within .nn-product-card__action {
    opacity: 1;
    transform: translateY(0);
}

.catalog-page .nn-product-details-det {
    display: flex;
    min-height: 145px;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 9px;
    padding: 14px 15px 16px;
}

.catalog-page .product-availability {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 5px;
    min-height: 22px;
    padding: 3px 7px;
    border-radius: 7px;
    font-size: .66rem;
    font-weight: 800;
}

.catalog-page .product-availability.available {
    color: #197048;
    background: #edf9f1;
}

.catalog-page .product-availability.unavailable {
    color: #a44848;
    background: #fff0f0;
}

.catalog-page .nn-product-title {
    display: -webkit-box;
    min-height: 3.4em;
    overflow: hidden;
    color: var(--catalog-ink);
    font-size: .88rem;
    font-weight: 800;
    line-height: 1.72;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.catalog-page .nn-product-price-wrapper {
    display: flex;
    min-height: 39px;
    margin-top: auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 2px;
}

.catalog-page .nn-product-price {
    color: var(--catalog-primary);
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.45;
}

.catalog-page .nn-product-price small {
    font-size: .68rem;
    font-weight: 700;
}

.catalog-page .nn-product-old-price {
    color: #a9989d;
    font-size: .67rem;
    font-weight: 600;
    text-decoration-thickness: 1px;
}

.catalog-page .nn-product-price--pending {
    color: #826274;
    font-size: .78rem;
}

.catalog-page .nn-product-price--unavailable {
    color: #a46060;
    font-size: .8rem;
}

.catalog-page .nn-product-card--unavailable .nn-product-image img {
    opacity: .72;
    filter: grayscale(.22);
}

.catalog-empty-results {
    display: grid;
    min-height: 285px;
    grid-column: 1 / -1;
    place-items: center;
    align-content: center;
    gap: 8px;
    padding: 32px;
    border: 1px dashed #dbbac2;
    border-radius: 19px;
    background: #fffaf8;
    text-align: center;
}

.catalog-empty-results__icon {
    display: grid;
    width: 55px;
    height: 55px;
    place-items: center;
    border-radius: 17px;
    color: #a53250;
    background: #fff0ee;
    font-size: 1.35rem;
}

.catalog-empty-results h3 {
    color: var(--catalog-ink);
    font-size: 1rem;
    font-weight: 900;
}

.catalog-empty-results p {
    color: var(--catalog-muted);
    font-size: .8rem;
}

.catalog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 9px;
}

.catalog-pagination__pages {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.catalog-pagination__pages a,
.catalog-pagination__control,
.catalog-pagination__ellipsis {
    display: inline-flex;
    min-width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid #ecdadd;
    border-radius: 10px;
    color: #713047;
    background: #fff;
    font-size: .78rem;
    font-weight: 800;
    text-decoration: none;
}

.catalog-pagination__control {
    gap: 5px;
    padding: 0 11px;
}

.catalog-pagination__pages a:hover,
.catalog-pagination__pages a.is-active,
.catalog-pagination__control:hover {
    border-color: var(--catalog-primary);
    color: #fff;
    background: var(--catalog-primary);
    box-shadow: 0 6px 12px rgba(135, 24, 54, .15);
}

.catalog-pagination__ellipsis {
    border-color: transparent;
    background: transparent;
}

.catalog-page a:focus-visible,
.catalog-page button:focus-visible,
.catalog-page input:focus-visible {
    outline: 3px solid rgba(165, 37, 70, .26);
    outline-offset: 3px;
}

@media (max-width: 1100px) {
    .catalog-page__layout {
        grid-template-columns: 238px minmax(0, 1fr);
        gap: 18px;
    }

    .catalog-page .nn-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
        gap: 14px;
    }

    .catalog-results__toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .catalog-sort {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 900px) {
    .catalog-page__layout {
        grid-template-columns: 1fr;
    }

    .catalog-filters {
        position: static;
    }

    .catalog-filter-form {
        grid-template-columns: minmax(0, 1fr) minmax(220px, .9fr) auto;
        align-items: end;
        gap: 14px;
    }

    .catalog-filter-form__head {
        grid-column: 1 / -1;
    }

    .catalog-filter-form__actions {
        align-self: stretch;
    }

    .catalog-page .nn-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
    }
}

@media (max-width: 660px) {
    .catalog-page {
        padding-block: 18px 38px;
    }

    .catalog-page__hero {
        align-items: flex-start;
        min-height: 0;
        flex-direction: column;
        gap: 16px;
        margin-bottom: 17px;
        padding: 22px;
        border-radius: 19px;
    }

    .catalog-page__count {
        display: flex;
        width: 100%;
        align-items: baseline;
        justify-content: center;
        gap: 7px;
        padding: 11px 15px;
    }

    .catalog-page__count span {
        margin: 0;
    }

    .catalog-filter-form {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .catalog-filter-form__head {
        grid-column: auto;
    }

    .catalog-filter-form__actions {
        grid-template-columns: 1fr auto;
        align-items: center;
    }

    .catalog-filter-form__reset {
        text-align: left;
    }

    .catalog-results__toolbar {
        gap: 13px;
        padding: 15px;
        border-radius: 15px;
    }

    .catalog-sort {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .catalog-sort__links {
        width: 100%;
        padding-bottom: 3px;
    }

    .catalog-page .nn-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px;
    }

    .catalog-page .nn-product-card {
        min-height: 315px;
        border-radius: 14px;
    }

    .catalog-page .nn-product-image {
        aspect-ratio: 1 / .88;
    }

    .catalog-page .nn-product-image img {
        padding: 10px;
    }

    .catalog-page .nn-product-details-det {
        min-height: 129px;
        gap: 7px;
        padding: 11px;
    }

    .catalog-page .nn-product-title {
        font-size: .77rem;
    }

    .catalog-page .nn-product-price {
        font-size: .84rem;
    }

    .catalog-page .nn-product-card__action {
        right: 8px;
        bottom: 8px;
        left: 8px;
        min-height: 31px;
        font-size: .64rem;
        opacity: 1;
        transform: none;
    }

    .catalog-page .nn-product-badges {
        top: 8px;
        right: 8px;
        left: 8px;
    }

    .catalog-page .nn-badge {
        min-height: 20px;
        padding: 3px 6px;
        font-size: .57rem;
    }

    .catalog-pagination {
        gap: 5px;
    }

    .catalog-pagination__control span {
        display: none;
    }

    .catalog-pagination__control {
        min-width: 38px;
        padding: 0;
    }
}

@media (max-width: 390px) {
    .catalog-page.container {
        padding-right: 10px;
        padding-left: 10px;
    }

    .catalog-page .nn-products-grid {
        gap: 8px;
    }

    .catalog-page .nn-product-details-det {
        padding: 9px;
    }

    .catalog-page .product-availability {
        padding: 2px 5px;
        font-size: .58rem;
    }

    .catalog-page .nn-product-card__action {
        font-size: .58rem;
    }
}

.product-detail {
    margin-top: 40px !important;
    margin-bottom: 46px;
}
.product-detail__wrapper {
    gap: 24px !important;
    align-items: flex-start !important;
}
.product-gallery,
.product-info {
    border-radius: 23px !important;
}
.product-gallery {
    position: sticky;
    top: 20px;
    overflow: hidden;
    padding: 18px !important;
}
.product-gallery__main {
    display: grid;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    aspect-ratio: 1 / .88;
    place-items: center;
    overflow: hidden;
    border: 1px solid #f1e4e3;
    border-radius: 18px;
    background: radial-gradient(circle at 50% 28%, #fff, #fff8f4 68%, #f5e7e6);
}
.product-gallery__main img {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
    padding: 16px;
}
.product-gallery__thumbs { padding: 3px; overflow-x: auto; }
.product-gallery__thumb img {
    width: 66px !important;
    height: 66px !important;
    border: 1px solid #ecd9dc;
    background: #fff9f6;
}
.product-gallery__thumb img.is-active { outline-color: #a52347 !important; }
.thumb-nav {
    color: #831937 !important;
    border-color: #edd4d9 !important;
    background: #fffaf8 !important;
}

.product-info { padding: 29px !important; }
.product-header-container {
    padding-bottom: 17px;
    border-bottom: 1px solid #f0e1e1;
}
.product-info__title {
    color: #3e1122 !important;
    font-size: clamp(1.35rem, 2vw, 1.8rem) !important;
    font-weight: 800 !important;
    line-height: 1.85 !important;
}
.product-info__meta { margin-top: 12px; color: #79646c !important; line-height: 2; }
.wishlist-button {
    border: 0 !important;
    background: transparent !important;
}
.wishlist-button:hover,
.wishlist-button.is-active { background: transparent !important; }
.price-actions-wrapper {
    margin-top: 23px;
    padding: 18px;
    border-radius: 17px;
    background: linear-gradient(120deg, #fff3ef, #fffaf6);
}
.product-price__current {
    color: #8e1b3c !important;
    font-size: clamp(1.3rem, 2vw, 1.7rem) !important;
    font-weight: 900 !important;
}
.product-price__badge {
    border-radius: 9px !important;
    background: #b12545 !important;
}
.product-actions__add,
.add-to-cart-button {
    border-radius: 13px !important;
    background: linear-gradient(112deg, #7d1634, #bb3048 60%, #d56540) !important;
    box-shadow: 0 10px 18px rgba(131, 22, 52, .2);
}
.product-actions__add.is-disabled {
    background: #dfd8d6 !important;
    box-shadow: none;
}
.product-attributes {
    margin-top: 24px;
    border-top: 1px solid #f0e0df;
    padding-top: 17px;
}
.product-attributes li {
    padding: 10px 12px !important;
    border-radius: 10px;
}
.product-attributes li:nth-child(odd) { background: #fff8f5; }
.product-attributes li span:first-child { color: #7a233b; font-weight: 800; }

.product-description,
.related-products {
    margin-top: 26px !important;
    padding: 26px !important;
    border-radius: 21px !important;
}
.product-description h3,
.related-products__title {
    position: relative;
    padding-right: 13px;
    color: #4e1328 !important;
    font-size: 1.2rem !important;
}
.product-description h3::before,
.related-products__title::before {
    content: "";
    position: absolute;
    top: .2em;
    right: 0;
    width: 4px;
    height: 1.4em;
    border-radius: 4px;
    background: linear-gradient(#8c193a, #df8441);
}
.product-description p { color: #5e4b51; line-height: 2.35; }
.related-product-card {
    border: 1px solid #f0e0e1;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(79, 21, 39, .05);
}
.related-product-card__image { background: #fff8f5; }
.related-product-card__image img { object-fit: contain !important; }
.related-product-card__title { color: #4b1729 !important; font-weight: 800; }
.related-product-card__price { color: #921d3e !important; font-weight: 800; }

@media (max-width: 900px) {
    .product-gallery { position: static; }
}
@media (max-width: 640px) {
    .nn-products-section { padding-inline: 12px !important; }
    .nn-listing-header { padding: 12px; }
    .nn-sort li:first-child { width: 100%; }
    .product-info, .product-description, .related-products { padding: 19px !important; }
    .product-gallery__main { aspect-ratio: 1 / .95; }
}

/* --- Mobile catalog refinement (2026-09-13) --- */
.catalog-page {
    width: 100%;
    max-width: none;
    margin-inline: auto;
    padding-inline: clamp(16px, 2.5vw, 42px);
    overflow-x: hidden;
}

.catalog-page__hero > div:first-child,
.catalog-results__summary,
.catalog-sort,
.catalog-filter-form,
.catalog-results {
    min-width: 0;
}

.catalog-page__hero h1,
.catalog-page__hero p,
.catalog-results__summary h2,
.catalog-filter-form h2,
.catalog-filter-form p {
    overflow-wrap: anywhere;
}

.catalog-sort__links {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.catalog-sort__links::-webkit-scrollbar {
    display: none;
}

.catalog-page .nn-products-grid > li {
    min-width: 0;
}

@media (max-width: 900px) {
    .catalog-page {
        padding-inline: 16px;
    }

    .catalog-page__layout {
        gap: 16px;
    }

    .catalog-filter-form {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    }
}

/* Wide storefront layout: use the available screen width with safe gutters. */
@media (min-width: 901px) {
    .catalog-page.container {
        width: 100%;
        max-width: none;
        padding-inline: clamp(20px, 2.5vw, 42px) !important;
    }
}

/* Catalog uses the same readable burgundy hero as the storefront and cart. */
.catalog-page__hero {
    border-color:#a62b40;
    background:
        radial-gradient(circle at 9% 8%, rgba(237,119,69,.25), transparent 25rem),
        radial-gradient(circle at 90% 95%, rgba(255,205,167,.14), transparent 26rem),
        linear-gradient(125deg,#5d1225 0%,#981831 57%,#c72c42 100%);
    box-shadow:0 19px 42px rgba(77,18,39,.15);
}
.catalog-page__hero .catalog-page__eyebrow { color:#ffe0c9; }
.catalog-page__hero h1 { color:#fff; }
.catalog-page__hero p { color:rgba(255,255,255,.87); }
.catalog-page__count { border-color:rgba(255,255,255,.28); background:rgba(255,255,255,.12); box-shadow:none; }
.catalog-page__count strong { color:#fff; }.catalog-page__count span { color:#ffe3d0; }

@media (max-width: 660px) {
    .catalog-page {
        width: 100%;
        padding: 14px 12px 34px;
    }

    .catalog-page__hero {
        width: 100%;
        gap: 12px;
        margin-bottom: 14px;
        padding: 18px 16px;
        border-radius: 16px;
    }

    .catalog-page__eyebrow {
        margin-bottom: 4px;
        font-size: .7rem;
    }

    .catalog-page__hero h1 {
        font-size: 1.25rem;
        line-height: 1.65;
    }

    .catalog-page__hero p {
        margin-top: 4px;
        font-size: .76rem;
        line-height: 1.9;
    }

    .catalog-page__count {
        min-height: 42px;
        padding: 9px 12px;
        border-radius: 12px;
    }

    .catalog-page__count strong {
        font-size: 1.05rem;
    }

    .catalog-page__count span {
        font-size: .66rem;
    }

    .catalog-filter-form {
        gap: 12px;
        padding: 14px;
        border-top-width: 3px;
        border-radius: 15px;
    }

    .catalog-filter-form__head {
        gap: 9px;
        padding-bottom: 11px;
    }

    .catalog-filter-form__icon {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
        border-radius: 10px;
        font-size: .82rem;
    }

    .catalog-filter-form h2 {
        font-size: .88rem;
    }

    .catalog-filter-form p {
        font-size: .64rem;
    }

    .catalog-search-field {
        gap: 6px;
        font-size: .72rem;
    }

    .catalog-search-field__control {
        min-height: 42px;
        padding-inline: 10px;
        border-radius: 11px;
    }

    .catalog-search-field input {
        font-size: .78rem;
    }

    .catalog-filter-toggle {
        gap: 8px;
        padding: 10px;
        border-radius: 11px;
    }

    .catalog-filter-toggle strong {
        font-size: .74rem;
    }

    .catalog-filter-toggle small {
        font-size: .61rem;
    }

    .catalog-filter-form__actions {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
    }

    .catalog-filter-form__submit {
        min-height: 42px;
        padding-inline: 10px;
        border-radius: 11px;
        font-size: .75rem;
    }

    .catalog-filter-form__reset {
        font-size: .66rem;
        white-space: nowrap;
    }

    .catalog-results {
        width: 100%;
    }

    .catalog-results__toolbar {
        width: 100%;
        min-height: 0;
        gap: 11px;
        padding: 13px;
        border-radius: 14px;
    }

    .catalog-results__summary {
        width: 100%;
    }

    .catalog-results__summary > span {
        font-size: .65rem;
    }

    .catalog-results__summary h2 {
        margin-top: 1px;
        font-size: .88rem;
        line-height: 1.7;
    }

    .catalog-sort {
        width: 100%;
        gap: 6px;
    }

    .catalog-sort__label {
        font-size: .68rem;
    }

    .catalog-sort__links {
        width: calc(100% + 2px);
        margin-inline: -1px;
        padding: 1px 1px 2px;
        overscroll-behavior-inline: contain;
    }

    .catalog-sort__link {
        min-height: 32px;
        padding-inline: 9px;
        border-radius: 9px;
        font-size: .66rem;
    }

    .catalog-page .nn-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .catalog-page .nn-product-card {
        min-height: 0;
        border-radius: 13px;
    }

    .catalog-page .nn-product-image {
        aspect-ratio: 1 / .93;
    }

    .catalog-page .nn-product-image img {
        padding: 8px;
    }

    .catalog-page .nn-product-details-det {
        min-height: 124px;
        gap: 6px;
        padding: 10px;
    }

    .catalog-page .product-availability {
        max-width: 100%;
        min-height: 20px;
        padding: 3px 6px;
        overflow: hidden;
        font-size: .58rem;
        line-height: 1.25;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .catalog-page .nn-product-title {
        min-height: 3.2em;
        font-size: .73rem;
        line-height: 1.6;
    }

    .catalog-page .nn-product-price-wrapper {
        min-height: 34px;
    }

    .catalog-page .nn-product-price {
        font-size: .79rem;
        line-height: 1.35;
    }

    .catalog-page .nn-product-price small {
        font-size: .58rem;
    }

    .catalog-page .nn-product-old-price {
        font-size: .59rem;
    }

    .catalog-page .nn-product-card__action {
        right: 7px;
        bottom: 7px;
        left: 7px;
        min-height: 29px;
        padding-inline: 7px;
        border-radius: 8px;
        font-size: .59rem;
    }

    .catalog-page .nn-product-badges {
        top: 7px;
        right: 7px;
        left: 7px;
        gap: 4px;
    }

    .catalog-page .nn-badge {
        min-height: 19px;
        padding: 2px 5px;
        border-radius: 6px;
        font-size: .52rem;
    }

    .catalog-empty-results {
        min-height: 220px;
        padding: 24px 16px;
    }

    .catalog-pagination {
        flex-wrap: wrap;
        margin-top: 5px;
    }
}

@media (max-width: 370px) {
    .catalog-page {
        padding-inline: 9px;
    }

    .catalog-page .nn-products-grid {
        gap: 8px;
    }

    .catalog-page .nn-product-details-det {
        padding: 8px;
    }

    .catalog-page .nn-product-title {
        font-size: .69rem;
    }

    .catalog-page .nn-product-price {
        font-size: .74rem;
    }

    .catalog-page .nn-product-card__action {
        right: 6px;
        bottom: 6px;
        left: 6px;
        font-size: .55rem;
    }
}
/* Keep the shared storefront header inside the mobile viewport. */
@media (max-width: 680px) {
    .store-header,
    .store-header__main,
    .store-nav,
    .store-nav__inner {
        max-width: 100%;
        min-width: 0;
        overflow-x: hidden;
    }

    .store-header__main {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
        padding-inline: 12px !important;
    }

    .store-brand {
        min-width: 0;
        max-width: 100%;
    }

    .store-brand__copy {
        min-width: 0;
    }

    .store-brand__copy strong {
        display: block;
        overflow: hidden;
        font-size: 13px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .store-brand__copy small {
        display: none;
    }

    .store-header__actions {
        flex: 0 0 auto;
        gap: 6px;
    }

    .store-login,
    .store-cart,
    .store-account__trigger {
        width: 38px;
        min-width: 38px;
        min-height: 38px;
        padding: 0;
    }

    .store-nav__inner {
        padding-inline: 10px !important;
    }

    .store-nav .dk-category-btn {
        min-width: 0;
        max-width: 116px;
        overflow: hidden;
        padding-inline: 9px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}
/* Final mobile overflow guard for the catalog route. */
@media (max-width: 680px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .catalog-page.container {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        margin-inline: 0;
        padding-inline: 12px !important;
    }

    .catalog-page__layout,
    .catalog-filters,
    .catalog-filter-form,
    .catalog-results,
    #products-results,
    .catalog-results__toolbar,
    #products-container {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .catalog-filter-form {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .catalog-filter-form__head {
        grid-column: auto;
    }

    .catalog-search-field,
    .catalog-filter-toggle,
    .catalog-filter-form__actions {
        width: 100%;
        min-width: 0;
    }

    .catalog-page__hero,
    .catalog-page__count,
    .catalog-sort__links,
    .catalog-page .nn-products-grid {
        max-width: 100%;
    }

    .hf-footer,
    .hf-footer__container,
    .hf-footer__features,
    .hf-footer__main,
    .hf-footer__newsletter,
    .hf-footer__certs,
    .hf-footer__contact,
    .hf-footer__copyright {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .hf-footer__container {
        padding-inline: 12px !important;
        gap: 28px;
    }

    .hf-footer__features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .hf-footer__feature {
        min-width: 0;
        padding: 14px 8px;
        border-radius: 14px;
        font-size: .78rem;
    }

    .hf-footer__feature img {
        width: 36px;
        margin-bottom: 8px;
    }

    .hf-footer__newsletter-form {
        width: 100%;
        min-width: 0;
        flex-wrap: wrap;
        gap: 8px;
    }

    .hf-footer__newsletter-form input {
        width: 100%;
        min-width: 0;
        flex: 1 1 100%;
        box-sizing: border-box;
    }

    .hf-footer__newsletter-form button {
        width: 100%;
        min-height: 42px;
    }

    .hf-footer__socials,
    .hf-footer__certs-images {
        max-width: 100%;
        flex-wrap: wrap;
        gap: 9px;
    }

    .hf-footer__title,
    .hf-footer__contact,
    .hf-footer__copyright {
        overflow-wrap: anywhere;
    }

    .hf-footer__copyright {
        font-size: .72rem;
        line-height: 1.9;
    }
}
