/***** GLOBAL *****/

:root {
    --main-color: #111111;
    --main-text-color: #ffffff;
    --second-color: #ffffff;
    --second-text-color: #111111;
    --third-color: #f5f5f5;
    --third-text-color: #111111;

    --fourth-color: #eceb2b;
    --fourth-text-color: var(--second-text-color);

    --sale-color: #d82d24;
    --success-color: #278351;
    --line-color: #dedede;
    --swatch-pink: #d6a0b0;
    --swatch-cream: #eee4d6;
    --swatch-gray: #a8a8a8;
    --swatch-wine: #7a1c3b;
    --swatch-black: #1b1b1b;
    --swatch-brown: #7c6763;
}

body {
    font-family: Arial, sans-serif;
    color: var(--second-text-color);
    background: var(--second-color);
}

h1,
h2,
h3,
h4,
h5,
h6,
.heading {
    font-family: Arial, sans-serif;
}

.spec-font {
    font-family: Georgia, serif;
}

.container {
    max-width: 1360px;
    padding-left: 25px;
    padding-right: 25px;
}

.t-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s ease;
}

.t-btn.theme {
    background: var(--main-color);
    color: var(--main-text-color);
}

.t-btn.theme2 {
    background: var(--second-color);
    color: var(--second-text-color);
    border-color: var(--second-text-color);
}

.t-btn.theme3 {
    background: var(--third-color);
    color: var(--third-text-color);
}

.t-btn.theme:hover,
.t-btn.theme2:hover,
.t-btn.theme3:hover {
    opacity: 0.8;
}

/***** HEADER *****/

/* header */

.header {
    position: relative;
    z-index: 10;
    background: var(--second-color);
}

.header .inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    min-height: 86px;
}

/* logo */

.header .logo {
    display: block;
}

.header .logo img {
    display: block;
    width: 132px;
    height: auto;
}

/* navigation */

.header .navigation {
    display: flex;
    align-items: center;
    gap: 20px;
    white-space: nowrap;
}

.header .menu-button {
    display: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--second-text-color);
    cursor: pointer;
}

.header .menu-button svg {
    width: 25px;
    height: 25px;
    stroke-width: 1.6;
}

.header .navigation a,
.header .category-toggle,
.header .categories a {
    color: var(--second-text-color);
    text-decoration: none;
}

.header .navigation a:hover,
.header .categories a:hover {
    text-decoration: underline;
}

.header .category-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.header .category-entry {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.header .category-entry .category-toggle {
    padding: 3px;
}

.header .category-toggle svg {
    width: 15px;
    height: 15px;
    transition: transform 0.3s ease;
}

.header .category-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

/* actions */

.header .actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}

.header .search {
    display: flex;
    align-items: center;
    height: 38px;
    border-bottom: 1px solid var(--line-color);
}

.header .search input {
    width: 150px;
    min-width: 0;
    padding: 6px 2px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--second-text-color);
    font-size: 13px;
}

.header .search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--second-text-color);
    cursor: pointer;
}

.header .search svg {
    width: 18px;
    height: 18px;
}

.header .icon-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--second-text-color);
    cursor: pointer;
    text-decoration: none;
}

.header .icon-button svg {
    width: 21px;
    height: 21px;
    stroke-width: 1.8;
}

.header .cart .count {
    position: absolute;
    top: -10px;
    right: -12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 50%;
    background: var(--main-color);
    color: var(--main-text-color);
    font-size: 10px;
    line-height: 1;
}

/* mega menu */

.header .mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 86px);
    overflow-y: auto;
    padding: 30px 0;
    border-top: 1px solid var(--third-color);
    background: var(--second-color);
    box-shadow: 0 14px 24px color-mix(in srgb, var(--main-color) 8%, transparent);
}

.header .mega-menu[hidden] {
    display: none;
}

.header .categories {
    display: block;
}

.header .all-categories {
    display: inline-block;
    margin-bottom: 22px;
    font-size: 13px;
    text-decoration: underline;
}

.header .category-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.header .category-group .heading {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 16px;
    font-weight: 700;
}

.header .subcategories {
    margin: 0;
    padding: 0;
    list-style: none;
}

.header .subcategories {
    display: grid;
    align-content: start;
    gap: 12px 24px;
}

.header .category-group:first-child .subcategories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.header .subcategories > li > a {
    font-size: 13px;
    color: var(--second-text-color);
    opacity: 0.58;
}

@media (max-width: 991.98px) {
    .header .inner {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        gap: 8px;
        padding: 10px 0;
    }

    .header .menu-button {
        display: inline-flex;
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
    }

    .header .logo {
        grid-column: 2;
        grid-row: 1;
    }

    .header .actions {
        grid-column: 3;
        grid-row: 1;
    }

    .header .navigation,
    .header .mega-menu {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .header .actions .search {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .header .inner {
        min-height: 72px;
    }

    .header .logo img {
        width: 104px;
    }

    .header .actions {
        gap: 12px;
    }

    .header .icon-button svg {
        width: 19px;
        height: 19px;
    }

}

@media (max-width: 400px) {
    .header .inner {
        column-gap: 8px;
    }

    .header .actions {
        gap: 8px;
    }

    .header .search input {
        width: 52px;
    }

    .header .icon-button {
        width: 20px;
    }
}

/* mobile menu */

.mobile-menu {
    --bs-offcanvas-width: min(390px, 100vw);
    border-right: 1px solid var(--line-color);
    border-radius: 0;
}

.mobile-menu .offcanvas-header {
    padding: 22px 24px;
    border-bottom: 1px solid var(--line-color);
}

.mobile-menu .offcanvas-title {
    font-size: 21px;
    font-weight: 700;
}

.mobile-menu .close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--second-text-color);
}

.mobile-menu .offcanvas-body {
    padding: 20px 24px 32px;
}

.mobile-menu .search {
    display: flex;
    height: 44px;
    margin-bottom: 18px;
    border: 1px solid var(--line-color);
}

.mobile-menu .search input {
    min-width: 0;
    flex: 1;
    padding: 0 12px;
    border: 0;
    outline: 0;
}

.mobile-menu .search button {
    width: 42px;
    border: 0;
    background: transparent;
    color: var(--second-text-color);
}

.mobile-menu .search svg {
    width: 18px;
    height: 18px;
}

.mobile-menu .navigation {
    display: grid;
}

.mobile-menu .navigation > a,
.mobile-menu .navigation > details > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-color);
    color: var(--second-text-color);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

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

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

.mobile-menu .navigation summary svg {
    width: 17px;
    height: 17px;
}

.mobile-menu .navigation details[open] summary svg {
    transform: rotate(180deg);
}

.mobile-menu .categories {
    display: grid;
    gap: 11px;
    padding: 15px 0 18px 14px;
    border-bottom: 1px solid var(--line-color);
}

.mobile-menu .categories a {
    color: var(--second-text-color);
    font-size: 13px;
    text-decoration: none;
}

.mobile-menu .categories .heading {
    margin-top: 9px;
    font-size: 14px;
    font-weight: 700;
}

/* cart preview */

.cart-panel {
    --bs-offcanvas-width: min(420px, 100vw);
    border-left: 1px solid var(--line-color);
    border-radius: 0;
}

.cart-panel .offcanvas-header {
    padding: 24px;
    border-bottom: 1px solid var(--line-color);
}

.cart-panel .offcanvas-title {
    font-size: 21px;
}

.cart-panel .close {
    display: inline-flex;
    padding: 4px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.cart-panel .offcanvas-body {
    display: flex;
    flex-direction: column;
    padding: 0 24px 24px;
}

.cart-panel .items {
    flex: 1;
    overflow-y: auto;
}

.cart-panel .item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line-color);
}

.cart-panel .item img {
    width: 72px;
    height: 88px;
    object-fit: cover;
    background: var(--third-color);
}

.cart-panel .item .name {
    display: block;
    color: var(--second-text-color);
    font-size: 14px;
    text-decoration: none;
}

.cart-panel .item .meta,
.cart-panel .item .price {
    margin: 5px 0 0;
    font-size: 12px;
}

.cart-panel .item .meta {
    opacity: 0.6;
}

.cart-panel .bottom {
    padding-top: 20px;
}

.cart-panel .subtotal {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.cart-panel .bottom .t-btn {
    width: 100%;
}

.cart-panel .empty {
    padding: 30px 0;
    font-size: 14px;
}

/***** HOME *****/

/* hero */

.home-page .hero-section .carousel-item img {
    display: block;
    width: 100%;
    height: auto;
}

/* marquee */

:is(.home-page, .product-page) .marquee-section {
    margin-top: 14px;
}

:is(.home-page, .product-page) .marquee-section .strip {
    display: flex;
    align-items: center;
    height: 72px;
    overflow: hidden;
    background: var(--fourth-color);
    color: var(--fourth-text-color);
}

:is(.home-page, .product-page) .marquee-section .track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 30s linear infinite;
}

:is(.home-page, .product-page) .marquee-section .group {
    display: flex;
    flex: none;
    align-items: center;
}

:is(.home-page, .product-page) .marquee-section .group span {
    flex: none;
    padding: 0 13px;
    font-size: 20px;
    font-weight: 600;
    white-space: nowrap;
}

:is(.home-page, .product-page) .marquee-section .group .star {
    padding: 0 3px;
}

@keyframes marquee-scroll {
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    :is(.home-page, .product-page) .marquee-section .track {
        animation: none;
    }
}

@media (max-width: 575.98px) {
    :is(.home-page, .product-page) .marquee-section .strip {
        height: 56px;
    }

    :is(.home-page, .product-page) .marquee-section .group span {
        font-size: 16px;
    }
}

/* benefits */

.home-page .benefits-section {
    padding: 54px 0 24px;
}

.home-page .benefits-section .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
    background: var(--third-color);
    color: var(--third-text-color);
}

.home-page .benefits-section .icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.7;
}

.home-page .benefits-section .heading {
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 600;
}

.home-page .benefits-section .text {
    max-width: 320px;
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}

@media (max-width: 767.98px) {
    .home-page .benefits-section {
        padding: 40px 0 12px;
    }
}

/* products */

:is(.home-page, .product-page, .search-page, .category-page) .products-section {
    padding: 44px 0 70px;
}

:is(.home-page, .product-page, .search-page, .category-page) .products-section .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

:is(.home-page, .product-page, .search-page, .category-page) .products-section .heading {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
}

:is(.home-page, .product-page, .search-page, .category-page) .products-section .all {
    color: var(--second-text-color);
    text-decoration: none;
}

:is(.home-page, .product-page, .search-page, .category-page) .products-section .all:hover {
    text-decoration: underline;
}

:is(.home-page, .product-page, .search-page, .category-page) .products-section .actions {
    display: flex;
    align-items: center;
    gap: 28px;
}

:is(.home-page, .product-page, .search-page, .category-page) .products-section .controls {
    display: flex;
    gap: 8px;
}

:is(.home-page, .product-page, .search-page, .category-page) .products-section .controls button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid var(--second-text-color);
    border-radius: 50%;
    background: var(--second-color);
    color: var(--second-text-color);
    cursor: pointer;
    transition: 0.3s ease;
}

:is(.home-page, .product-page, .search-page, .category-page) .products-section .controls button:hover {
    background: var(--main-color);
    color: var(--main-text-color);
}

:is(.home-page, .product-page, .search-page, .category-page) .products-section .controls button:disabled {
    opacity: 0.3;
    cursor: default;
}

:is(.home-page, .product-page, .search-page, .category-page) .products-section .controls button:disabled:hover {
    background: var(--second-color);
    color: var(--second-text-color);
}

:is(.home-page, .product-page, .search-page, .category-page) .products-section .controls svg {
    width: 18px;
    height: 18px;
}

:is(.home-page, .product-page, .search-page, .category-page) .products-section .viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

:is(.home-page, .product-page, .search-page, .category-page) .products-section .viewport::-webkit-scrollbar {
    display: none;
}

:is(.home-page, .product-page, .search-page, .category-page) .products-section .track {
    display: flex;
    gap: 16px;
}

:is(.home-page, .product-page, .search-page, .category-page) .products-section .card {
    flex: 0 0 calc((100% - 48px) / 4);
    min-width: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    scroll-snap-align: start;
}

:is(.home-page, .product-page, .search-page, .category-page) .products-section .image {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--third-color);
}

:is(.home-page, .product-page, .search-page, .category-page) .products-section .image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

:is(.home-page, .product-page, .search-page, .category-page) .products-section .title {
    margin: 0;
    min-height: 46px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
}

:is(.home-page, .product-page, .search-page, .category-page) .products-section .title a {
    color: var(--second-text-color);
    text-decoration: none;
}

:is(.home-page, .product-page, .search-page, .category-page) .products-section .title a:hover {
    text-decoration: underline;
}

:is(.home-page, .product-page, .search-page, .category-page) .products-section .code {
    margin: 12px 0 4px;
    font-size: 10px;
    opacity: 0.5;
}

:is(.home-page, .product-page, .search-page, .category-page) .products-section .prices {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 8px;
    font-size: 14px;
}

:is(.home-page, .product-page, .search-page, .category-page) .products-section .regular {
    opacity: 0.6;
}

:is(.home-page, .product-page, .search-page, .category-page) .products-section .sale {
    color: var(--sale-color);
    font-size: 16px;
}

:is(.home-page, .product-page, .search-page, .category-page) .products-section .vat {
    margin-left: 2px;
    font-size: 10px;
    opacity: 0.55;
}

@media (max-width: 991.98px) {
    :is(.home-page, .product-page, .search-page, .category-page) .products-section .card {
        flex-basis: calc((100% - 16px) / 2);
    }
}

@media (max-width: 575.98px) {
    :is(.home-page, .product-page, .search-page, .category-page) .products-section {
        padding: 32px 0 48px;
    }

    :is(.home-page, .product-page, .search-page, .category-page) .products-section .top {
        margin-bottom: 24px;
    }

    :is(.home-page, .product-page, .search-page, .category-page) .products-section .heading {
        font-size: 26px;
    }

    :is(.home-page, .product-page, .search-page, .category-page) .products-section .actions {
        gap: 12px;
    }

    :is(.home-page, .product-page, .search-page, .category-page) .products-section .all {
        display: none;
    }

    :is(.home-page, .product-page, .search-page, .category-page) .products-section .card {
        flex-basis: 100%;
    }
}

/* autumn sale */

.home-page .sale-section {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 500px;
    padding: 80px 0;
    background: var(--main-color) url("/assets/images/autumn-path.webp") center center / cover no-repeat fixed;
    color: var(--main-text-color);
}

.home-page .sale-section::before {
    position: absolute;
    inset: 0;
    background: var(--main-color);
    content: "";
    opacity: 0.62;
}

.home-page .sale-section .container {
    position: relative;
    z-index: 1;
}

.home-page .sale-section .content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.home-page .sale-section .eyebrow {
    margin: 0 0 18px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.home-page .sale-section .heading {
    margin: 0 0 20px;
    font-size: clamp(34px, 4.5vw, 58px);
    line-height: 1.1;
}

.home-page .sale-section .text {
    max-width: 560px;
    margin: 0 auto 30px;
    font-size: 17px;
    line-height: 1.6;
}

.home-page .sale-section .t-btn {
    min-width: 185px;
}

@media (max-width: 767.98px), (prefers-reduced-motion: reduce) {
    .home-page .sale-section {
        background-attachment: scroll;
    }
}

@media (max-width: 575.98px) {
    .home-page .sale-section {
        min-height: 440px;
        padding: 64px 0;
    }

    .home-page .sale-section .text {
        font-size: 15px;
    }
}

/***** PRODUCT *****/

/* detail */

.product-page .detail-section {
    padding: 22px 0 64px;
}

.product-page .detail-section .breadcrumb {
    display: flex;
    gap: 10px;
    margin-bottom: 32px;
    color: var(--second-text-color);
    font-size: 13px;
}

.product-page .detail-section .breadcrumb a {
    color: inherit;
    opacity: 0.6;
    text-decoration: none;
}

.product-page .detail-section .breadcrumb a:hover {
    text-decoration: underline;
}

/* gallery */

.product-page .detail-section .main-image {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--third-color);
}

.product-page .detail-section .main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-page .detail-section .thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.product-page .detail-section .thumbnail {
    width: 82px;
    height: 82px;
    padding: 0;
    border: 1px solid var(--line-color);
    background: var(--third-color);
    cursor: pointer;
}

.product-page .detail-section .thumbnail.active {
    border-color: var(--main-color);
}

.product-page .detail-section .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* summary */

.product-page .detail-section .category {
    margin: 0 0 12px;
    font-size: 14px;
    opacity: 0.6;
}

.product-page .detail-section .heading {
    margin-bottom: 12px;
    font-size: clamp(27px, 3vw, 38px);
    line-height: 1.15;
}

.product-page .detail-section .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
    padding-bottom: 28px;
    font-size: 13px;
    opacity: 0.65;
}

.product-page .detail-section .prices {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 25px 0;
    border-top: 1px solid var(--line-color);
}

.product-page .detail-section .sale {
    color: var(--sale-color);
    font-size: 28px;
}

.product-page .detail-section .sale small {
    font-size: 14px;
    font-weight: 400;
}

.product-page .detail-section .regular,
.product-page .detail-section .net {
    font-size: 14px;
    opacity: 0.65;
}

.product-page .detail-section .delivery {
    margin-bottom: 24px;
    color: var(--success-color);
    font-size: 14px;
}

/* options */

.product-page .detail-section .purchase {
    padding-top: 24px;
    border-top: 1px solid var(--line-color);
}

.product-page .detail-section .colors {
    margin: 0 0 24px;
    padding: 0;
    border: 0;
}

.product-page .detail-section .colors legend,
.product-page .detail-section .size-field label,
.product-page .detail-section .gender > span {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
}

.product-page .detail-section .choices {
    display: flex;
    gap: 14px;
    padding: 4px;
}

.product-page .detail-section .color {
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid var(--line-color);
    border-radius: 2px;
    cursor: pointer;
}

.product-page .detail-section .color.active {
    outline: 2px solid var(--main-color);
    outline-offset: 3px;
}

.product-page .detail-section .color.pink { background: var(--swatch-pink); }
.product-page .detail-section .color.cream { background: var(--swatch-cream); }
.product-page .detail-section .color.gray { background: var(--swatch-gray); }
.product-page .detail-section .color.wine { background: var(--swatch-wine); }
.product-page .detail-section .color.black { background: var(--swatch-black); }
.product-page .detail-section .color.brown { background: var(--swatch-brown); }

.product-page .detail-section .size-field {
    margin-bottom: 24px;
}

.product-page .detail-section .size-field select {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid var(--line-color);
    background: var(--third-color);
    color: var(--third-text-color);
}

.product-page .detail-section .gender {
    margin-bottom: 22px;
}

.product-page .detail-section .gender strong {
    display: inline-block;
    padding: 8px 14px;
    background: var(--third-color);
    color: var(--third-text-color);
    font-size: 13px;
    font-weight: 500;
}

.product-page .detail-section .stock {
    margin-bottom: 16px;
    color: var(--success-color);
    font-size: 14px;
}

.product-page .detail-section .cart-row {
    display: flex;
    gap: 14px;
}

.product-page .detail-section .quantity {
    display: flex;
    flex: 0 0 128px;
    height: 46px;
    border: 1px solid var(--line-color);
}

.product-page .detail-section .quantity button,
.product-page .detail-section .quantity input {
    width: 33.333%;
    padding: 0;
    border: 0;
    background: var(--second-color);
    color: var(--second-text-color);
    text-align: center;
}

.product-page .detail-section .quantity button {
    cursor: pointer;
    font-size: 20px;
}

.product-page .detail-section .quantity input {
    appearance: textfield;
}

.product-page .detail-section .quantity input::-webkit-inner-spin-button,
.product-page .detail-section .quantity input::-webkit-outer-spin-button {
    appearance: none;
    margin: 0;
}

.product-page .detail-section .cart-row .t-btn {
    flex: 1;
}

.product-page .detail-section .cart-row .t-btn svg,
.product-page .detail-section .favorite svg {
    width: 18px;
    height: 18px;
}

.product-page .detail-section .favorite {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--second-text-color);
    cursor: pointer;
    font-size: 14px;
}

.product-page .detail-section .favorite[aria-pressed="true"] {
    color: var(--sale-color);
}

.product-page .detail-section .status {
    min-height: 22px;
    margin: 8px 0 0;
    color: var(--success-color);
    font-size: 13px;
}

/* tabs */

.product-page .details-section {
    padding-bottom: 54px;
}

.product-page .details-section .nav-tabs {
    gap: 20px;
    border-bottom-color: var(--line-color);
}

.product-page .details-section .nav-link {
    padding: 14px 4px;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    color: var(--second-text-color);
}

.product-page .details-section .nav-link.active {
    border-bottom-color: var(--main-color);
    color: var(--second-text-color);
    font-weight: 600;
}

.product-page .details-section .tab-content {
    min-height: 180px;
    padding: 32px 0;
}

.product-page .details-section .heading {
    margin-bottom: 16px;
    font-size: 22px;
}

.product-page .details-section p {
    max-width: 850px;
    line-height: 1.7;
}

.product-page .details-section dl {
    max-width: 600px;
}

.product-page .details-section dl > div {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 20px;
    padding: 9px 0;
    border-bottom: 1px solid var(--line-color);
}

.product-page .details-section dd {
    margin: 0;
}

@media (max-width: 575.98px) {
    .product-page .detail-section {
        padding-bottom: 42px;
    }

    .product-page .detail-section .cart-row {
        flex-wrap: wrap;
    }

    .product-page .detail-section .cart-row .t-btn {
        flex-basis: 100%;
    }

    .product-page .details-section .nav-tabs {
        gap: 8px;
    }
}

/***** SEARCH *****/

.search-page .intro-section {
    padding: 58px 0 10px;
}

.search-page .intro-section .heading {
    margin-bottom: 8px;
    font-size: 32px;
}

.search-page .intro-section .text {
    margin: 0;
    opacity: 0.65;
}

.search-page .empty-section {
    padding: 40px 0 90px;
}

/***** CATEGORY *****/

/* layout */

.category-page > .container {
    max-width: 1360px;
}

.category-page .breadcrumb {
    display: flex;
    gap: 10px;
    margin: 24px 0 30px;
    color: var(--second-text-color);
    font-size: 13px;
    opacity: 0.6;
}

.category-page .breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.category-page .layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: start;
    gap: 30px;
    padding-bottom: 80px;
}

.category-page .sidebar,
.category-page .content {
    min-width: 0;
}

.category-page .sidebar {
    display: grid;
    gap: 16px;
}

.category-page .category-panel,
.category-page .filter-panel {
    border: 1px solid var(--line-color);
    background: var(--second-color);
}

.category-page .category-panel > summary,
.category-page .filter-panel > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 17px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.category-page summary::-webkit-details-marker {
    display: none;
}

.category-page summary svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
}

.category-page .category-panel[open] > summary svg {
    transform: rotate(180deg);
}

/* categories */

.category-page .category-content {
    padding: 15px 17px;
    border-top: 1px solid var(--line-color);
    font-size: 13px;
}

.category-page .category-content strong {
    display: block;
    margin-bottom: 12px;
}

.category-page .category-content ul {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0 0 0 14px;
    list-style: none;
}

.category-page .category-content li {
    color: var(--second-text-color);
    opacity: 0.7;
}

/* filters */

.category-page .filters {
    display: grid;
    gap: 14px;
    padding: 2px 17px 18px;
    border-top: 1px solid var(--line-color);
}

.category-page .filters label {
    display: grid;
    gap: 6px;
    min-width: 0;
    font-size: 12px;
    font-weight: 700;
}

.category-page .filters label:first-of-type {
    margin-top: 14px;
}

.category-page .filters input:not([type="checkbox"]),
.category-page .filters select {
    width: 100%;
    height: 40px;
    padding: 8px 10px;
    border: 1px solid var(--line-color);
    border-radius: 0;
    background: var(--second-color);
    color: var(--second-text-color);
    font-size: 13px;
    font-weight: 400;
}

.category-page .filters .stock {
    display: flex;
    align-items: center;
    gap: 7px;
    font-weight: 400;
}

.category-page .filter-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.category-page .filter-actions .t-btn {
    width: 100%;
    border-radius: 0;
}

.category-page .filter-actions a:not(.t-btn) {
    color: var(--second-text-color);
    font-size: 12px;
}

/* content */

.category-page .intro {
    padding-bottom: 22px;
}

.category-page .intro .heading {
    display: inline-block;
    margin: 0 0 24px;
    padding-bottom: 9px;
    border-bottom: 2px solid var(--main-color);
    font-size: clamp(27px, 3vw, 36px);
}

.category-page .intro .text {
    max-width: 850px;
    margin: 0;
    color: var(--second-text-color);
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.75;
}

.category-page .child-section {
    padding: 0 0 22px;
}

.category-page .child-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.category-page .child-grid .item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    min-height: 72px;
    padding: 10px;
    border: 1px solid var(--line-color);
    background: var(--third-color);
    color: var(--second-text-color);
    font-size: 12px;
    line-height: 1.35;
}

.category-page .child-grid img {
    display: block;
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    object-fit: contain;
}

.category-page .child-grid span {
    min-width: 0;
}

/* products */

.category-page .products-section {
    padding: 23px 0 0;
    border-top: 1px solid var(--line-color);
}

.category-page .result-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
}

.category-page .result-top .heading {
    margin: 0;
    font-size: 22px;
}

.category-page .result-top p {
    margin: 0;
    color: var(--second-text-color);
    font-size: 12px;
    opacity: 0.6;
}

.category-page .products-section .grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px 12px;
}

.category-page .products-section .card {
    width: auto;
    min-width: 0;
}

.category-page .products-section .empty {
    padding: 30px;
    background: var(--third-color);
}

@media (max-width: 991.98px) {
    .category-page .layout {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 20px;
    }
    .category-page .child-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .category-page .products-section .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .category-page .layout {
        grid-template-columns: 1fr;
    }
    .category-page .sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .category-page .child-grid,
    .category-page .products-section .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .category-page .breadcrumb {
        margin: 18px 0 24px;
    }
    .category-page .sidebar {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .category-page .intro .heading {
        margin-bottom: 17px;
    }
    .category-page .products-section .grid {
        gap: 20px 10px;
    }
}
/***** CART *****/

.cart-page .cart-section {
    padding: 26px 0 90px;
}

.cart-page .cart-section .breadcrumb {
    display: flex;
    gap: 10px;
    margin-bottom: 28px;
    font-size: 13px;
}

.cart-page .cart-section .breadcrumb a {
    color: var(--second-text-color);
    text-decoration: none;
    opacity: 0.6;
}

.cart-page .cart-section > .container > .heading {
    margin-bottom: 32px;
    font-size: 34px;
}

/* items */

.cart-page .cart-section .item {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line-color);
}

.cart-page .cart-section .item:first-child {
    border-top: 1px solid var(--line-color);
}

.cart-page .cart-section .image img {
    display: block;
    width: 112px;
    height: 140px;
    object-fit: cover;
    background: var(--third-color);
}

.cart-page .cart-section .top,
.cart-page .cart-section .bottom {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.cart-page .cart-section .name {
    color: var(--second-text-color);
    font-weight: 600;
    text-decoration: none;
}

.cart-page .cart-section .remove {
    display: inline-flex;
    padding: 3px;
    border: 0;
    background: transparent;
    color: var(--second-text-color);
    cursor: pointer;
}

.cart-page .cart-section .remove svg {
    width: 18px;
    height: 18px;
}

.cart-page .cart-section .meta {
    margin: 8px 0 20px;
    font-size: 13px;
    opacity: 0.6;
}

.cart-page .cart-section .quantity {
    display: flex;
    flex: 0 0 100px;
    height: 36px;
    border: 1px solid var(--line-color);
}

.cart-page .cart-section .quantity button,
.cart-page .cart-section .quantity input {
    width: 33.333%;
    padding: 0;
    border: 0;
    background: var(--second-color);
    color: var(--second-text-color);
    text-align: center;
}

.cart-page .cart-section .quantity button {
    cursor: pointer;
}

.cart-page .cart-section .quantity input {
    appearance: textfield;
}

.cart-page .cart-section .quantity input::-webkit-inner-spin-button,
.cart-page .cart-section .quantity input::-webkit-outer-spin-button {
    appearance: none;
    margin: 0;
}

.cart-page .cart-section .unit {
    font-size: 13px;
    opacity: 0.6;
}

.cart-page .cart-section .line-total {
    white-space: nowrap;
}

.cart-page .cart-section .continue {
    display: inline-block;
    margin-top: 26px;
    color: var(--second-text-color);
    text-decoration: none;
}

.cart-page .cart-section .empty {
    padding: 45px 0;
    border-top: 1px solid var(--line-color);
    border-bottom: 1px solid var(--line-color);
}

/* summary */

.cart-page .cart-section .summary {
    padding: 26px;
    background: var(--third-color);
    color: var(--third-text-color);
}

.cart-page .cart-section .summary .heading {
    margin-bottom: 26px;
    font-size: 21px;
}

.cart-page .cart-section .summary .line,
.cart-page .cart-section .summary .total {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 0;
    font-size: 14px;
}

.cart-page .cart-section .summary .total {
    margin-top: 16px;
    padding-top: 22px;
    border-top: 1px solid var(--line-color);
    font-size: 17px;
}

.cart-page .cart-section .summary .vat,
.cart-page .cart-section .summary .shipping {
    margin: 10px 0;
    font-size: 12px;
    opacity: 0.7;
}

.cart-page .cart-section .summary .t-btn {
    width: 100%;
    margin-top: 22px;
}

.cart-page .cart-section .summary .t-btn:disabled {
    opacity: 0.5;
    cursor: default;
}

@media (max-width: 575.98px) {
    .cart-page .cart-section .item {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 12px;
    }

    .cart-page .cart-section .image img {
        width: 88px;
        height: 110px;
    }

    .cart-page .cart-section .bottom {
        flex-wrap: wrap;
    }
}

/***** FOOTER *****/

.footer {
    background: var(--main-color);
    color: var(--main-text-color);
}

/* main */

.footer .main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    padding: 58px 0 48px;
}

.footer .logo {
    display: block;
}

.footer .logo img {
    display: block;
    width: 160px;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer .socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.footer .socials a {
    color: var(--main-text-color);
    font-size: 13px;
    text-decoration: none;
}

/* links */

.footer .links {
    padding: 48px 0;
    border-top: 1px solid color-mix(in srgb, var(--main-text-color) 18%, transparent);
}

.footer .links .heading {
    margin-bottom: 18px;
    color: var(--main-text-color);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer .links nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer .links a {
    color: var(--main-text-color);
    font-size: 14px;
    opacity: 0.68;
    text-decoration: none;
}

.footer .links a:hover,
.footer .socials a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* bottom */

.footer .bottom {
    padding: 22px 0 30px;
    border-top: 1px solid color-mix(in srgb, var(--main-text-color) 18%, transparent);
    text-align: center;
}

.footer .bottom span {
    font-size: 13px;
    opacity: 0.5;
}

@media (max-width: 575.98px) {
    .footer .main {
        padding: 44px 0 38px;
    }

    .footer .links {
        padding: 38px 0;
    }
}
