@font-face {
    font-family: "Roboto";
    src: url('../fonts/Roboto/Roboto-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url('../fonts/Roboto/Roboto-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url('../fonts/Roboto/Roboto-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url('../fonts/Roboto/Roboto-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url('../fonts/Roboto/Roboto-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url('../fonts/Roboto/Roboto-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url('../fonts/Roboto/Roboto-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url('../fonts/Roboto/Roboto-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url('../fonts/Roboto/Roboto-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: "Inter";
    src: url('../fonts/Inter/Inter_18pt-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url('../fonts/Inter/Inter_18pt-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url('../fonts/Inter/Inter_18pt-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url('../fonts/Inter/Inter_18pt-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url('../fonts/Inter/Inter_18pt-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url('../fonts/Inter/Inter_18pt-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url('../fonts/Inter/Inter_18pt-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url('../fonts/Inter/Inter_18pt-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url('../fonts/Inter/Inter_18pt-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}


:root {
    --black: #000000;
    --white: #FFFFFF;
    --red: #ffd040;
    --brand-yellow: #ffd040;
    --brand-gray: #e5e7eb;
    --gray-100: #DADADA;
    --gray-200: #CECECE;
    --gray-300: #E3E3E3;
    --gray-50: #F5F5F5;
    --gray-500: #808080;
    --gray-400: #A1A1A1;
    --gray-700: #4E4E4E;
    --gray-800: #45454580;
    --gray-900: #333333;

}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: var(--white);
    border-bottom: 1px solid var(--brand-gray);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.06);
    font-family: "Inter", sans-serif;
}

.site-header__container {
    width: min(1320px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header__top {
    border: 1px solid var(--black);
    background: var(--white);
    color: var(--black);
}

.site-header__top-inner,
.site-header__main-inner,
.site-header__contacts,
.site-header__search-area,
.site-header__actions {
    display: flex;
    align-items: center;
}

.site-header__top-inner {
    min-height: 40px;
    justify-content: space-between;
    gap: 20px;
}

.site-header__contacts {
    gap: 18px;
}

.site-header__contacts a,
.site-header__language {
    border: 0;
    background: transparent;
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.site-header__contacts a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.site-header__contacts i,
.site-header__language i {
    font-size: 16px;
}

.site-header__main {
    position: relative;
    z-index: 1060;
    background: var(--white);
}

.site-header__main-inner {
    min-height: 82px;
    justify-content: space-between;
    gap: 28px;
}

.site-header__brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 12px;
    color: var(--black);
    text-decoration: none;
}

.site-header__brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--brand-yellow), #ffe487);
    color: var(--black);
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
}

.site-header__brand strong,
.site-header__brand small {
    display: block;
    line-height: 1;
}

.site-header__brand strong {
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 0;
}

.site-header__brand small {
    margin-top: 5px;
    color: var(--gray-700);
    font-size: 12px;
    font-weight: 800;
}

.site-header__search-area {
    flex: 1 1 auto;
    max-width: 620px;
}

.site-header__search {
    display: flex;
    flex: 1 1 auto;
    min-width: 180px;
}

.site-header__search input {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--brand-gray);
    border-right: 0;
    border-radius: 12px 0 0 12px;
    padding: 0 18px;
    background: #f8fafc;
    color: var(--black);
    font-size: 15px;
    outline: none;
}

.site-header__search input:focus {
    border-color: var(--brand-yellow);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 208, 64, 0.24);
}

.site-header__search button {
    width: 54px;
    min-height: 44px;
    border: 1px solid var(--brand-yellow);
    border-radius: 0 12px 12px 0;
    background: var(--brand-yellow);
    color: var(--black);
    font-size: 20px;
}

.site-header__actions {
    position: relative;
    z-index: 1070;
    flex: 0 0 auto;
    justify-content: flex-end;
    gap: 14px;
}

.site-header__menu-toggle,
.site-mobile-menu {
    display: none;
}

.site-header__icon-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: var(--black);
    text-decoration: none;
}

.site-header__icon-link i {
    font-size: 25px;
    line-height: 1;
}

.site-header__badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 17px;
    height: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--brand-yellow);
    color: var(--black);
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
}

.site-mobile-nav {
    display: none;
}

.site-header__nav {
    border-top: 1px solid var(--brand-gray);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
    z-index: 1050;
    overflow: visible;
}

.site-header__category-nav {
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: visible;
    scrollbar-width: none;
}

.site-header__category-nav::-webkit-scrollbar {
    display: none;
}

.site-header__nav-home,
.site-header__nav-link {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 0;
    border-radius: 999px;
    padding: 0 16px;
    color: var(--black);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.site-header__nav-home {
    gap: 8px;
    background: var(--brand-yellow);
    color: var(--black);
}

.site-header__nav-link {
    background: transparent;
}

.site-header__nav-home:hover,
.site-header__nav-link:hover,
.site-header__nav-item.show .site-header__nav-link {
    background: var(--brand-yellow);
    color: var(--black);
    box-shadow: 0 10px 18px rgba(255, 208, 64, 0.26);
}

.site-header__submenu {
    min-width: 240px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0 0 8px 8px;
    padding: 8px;
    background: var(--black);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
    z-index: 1100;
}

.site-header__submenu.show {
    display: block;
    visibility: visible;
    opacity: 1;
}

@media (hover: hover) and (pointer: fine) and (min-width: 992px) {
    .site-header__submenu::before {
        content: "";
        position: absolute;
        top: -8px;
        right: 0;
        left: 0;
        height: 8px;
    }
}

.site-header__submenu .dropdown-item {
    border-radius: 6px;
    padding: 10px 12px;
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
}

.site-header__submenu .dropdown-item:hover,
.site-header__submenu .dropdown-item:focus {
    background: var(--brand-yellow);
    color: var(--black);
}

.site-footer {
    margin-top: 64px;
    overflow-x: hidden;
    background:
        linear-gradient(135deg, rgba(255, 208, 64, 0.12), transparent 32%),
        var(--black);
    color: var(--white);
    font-family: "Inter", sans-serif;
}

.site-footer__container {
    width: min(1320px, calc(100% - 32px));
    margin: 0 auto;
    padding: 54px 0 26px;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 0.62fr) minmax(0, 0.82fr) minmax(0, 0.9fr);
    gap: 32px;
}

.site-footer__brand-column,
.site-footer__column {
    min-width: 0;
}

.site-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    text-decoration: none;
}

.site-footer__logo {
    width: 46px;
    height: 42px;
    flex: 0 0 auto;
    overflow: visible;
}

.site-footer__logo path {
    fill: var(--white);
}

.site-footer__brand strong,
.site-footer__brand small {
    display: block;
}

.site-footer__brand-logo-text {
    color: var(--brand-yellow);
    font-size: 42px;
}

.site-footer__brand small {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    font-weight: 800;
}

.site-footer__brand-column p {
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
    line-height: 1.7;
}

.site-footer__socials {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.site-footer__socials a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.site-footer__socials a:hover {
    border-color: var(--brand-yellow);
    background: var(--brand-yellow);
    color: var(--black);
}

.site-footer__column h2 {
    margin-bottom: 20px;
    color: var(--white);
    font-size: 18px;
    font-weight: 900;
}

.site-footer__links,
.site-footer__contacts,
.site-footer__bottom ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.site-footer__links {
    display: grid;
    gap: 12px;
}

.site-footer__links--columns {
    grid-template-columns: 1fr;
    margin-top: 8px;
}

.site-footer__links a,
.site-footer__contacts a,
.site-footer__bottom a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: color 160ms ease, transform 160ms ease;
}

.site-footer__links a:hover,
.site-footer__contacts a:hover,
.site-footer__bottom a:hover {
    color: var(--brand-yellow);
}

.site-footer__contacts {
    display: grid;
    gap: 14px;
}

.site-footer__contacts li {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    font-weight: 700;
}

.site-footer__contacts i {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 208, 64, 0.12);
    color: var(--brand-yellow);
}

.site-footer__partner p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.site-footer__partner-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 210px);
    max-width: 210px;
    box-sizing: border-box;
    padding: 12px 16px;
}

.site-footer__partner-logo img {
    display: block;
    width: 100%;
    max-width: 178px;
    height: auto;
}

.site-footer__bottom {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto minmax(220px, auto);
    align-items: center;
    gap: 24px;
    padding-top: 22px;
}

.site-footer__bottom ul {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.site-footer__payments {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    font-weight: 800;
}

.site-footer__payment-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.08);
}

.site-footer__payment-logo img {
    display: block;
    max-width: 64px;
    max-height: 20px;
    object-fit: contain;
}

.site-footer__bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 13px;
    font-weight: 700;
    text-align: right;
}

.site-header__submenu-title {
    margin-bottom: 6px;
    background: var(--brand-gray);
    color: var(--black) !important;
    font-weight: 900 !important;
}

.home-page {
    display: grid;
    gap: 48px;
    width: min(1180px, calc(100% - 32px));
    margin: 32px auto 56px;
    font-family: "Inter", sans-serif;
}

.home-hero {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.home-hero__slide {
    --hero-image-scale: 1;
    --hero-content-offset: 0px;
    --hero-accent-width: 0%;
    min-height: 360px;
    display: flex;
    align-items: flex-end;
    background-position: center;
    background-size: cover;
    border: 1px solid var(--brand-gray);
    overflow: hidden;
    position: relative;
    isolation: isolate;
    transition: border-color 300ms ease, box-shadow 400ms ease;
}

.home-hero__slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-position: inherit;
    background-size: inherit;
    transform: scale(var(--hero-image-scale));
    transition: transform 800ms cubic-bezier(0.2, 0.65, 0.3, 1);
    pointer-events: none;
}

.home-hero__slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.62));
    pointer-events: none;
}

.home-hero__content {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    max-width: 460px;
    padding: 32px;
    color: var(--white);
    transform: translateY(var(--hero-content-offset));
    transition: transform 500ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.home-hero__content span {
    width: fit-content;
    padding: 6px 10px;
    background: var(--brand-yellow);
    color: var(--black);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.home-hero__content h1 {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.05;
}

.home-hero__content p {
    color: var(--brand-gray);
    font-size: 16px;
}

.home-hero__content a,
.home-section__header a {
    width: fit-content;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--black);
    padding: 0 16px;
    background: var(--black);
    color: var(--white);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.home-hero__content a {
    gap: 14px;
    transition: background-color 250ms ease, border-color 250ms ease, color 250ms ease;
}

.home-hero__content a::after {
    content: "";
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}

.home-hero__content::after {
    content: "";
    position: absolute;
    right: 32px;
    bottom: 16px;
    left: 32px;
    height: 2px;
    background: var(--brand-yellow);
    clip-path: inset(0 calc(100% - var(--hero-accent-width)) 0 0);
    transition: clip-path 600ms cubic-bezier(0.2, 0.65, 0.3, 1);
    pointer-events: none;
}

.home-hero__slide:focus-within {
    --hero-image-scale: 1.055;
    --hero-content-offset: -6px;
    --hero-accent-width: 100%;
    border-color: var(--brand-yellow);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.home-hero__slide:focus-within .home-hero__content a {
    background: var(--brand-yellow);
    border-color: var(--brand-yellow);
    color: var(--black);
}

.home-hero__content a:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
    .home-hero__slide:hover {
        --hero-image-scale: 1.055;
        --hero-content-offset: -6px;
        --hero-accent-width: 100%;
        border-color: var(--brand-yellow);
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
    }

    .home-hero__slide:hover .home-hero__content a {
        background: var(--brand-yellow);
        border-color: var(--brand-yellow);
        color: var(--black);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero__slide,
    .home-hero__slide::before,
    .home-hero__content,
    .home-hero__content::after,
    .home-hero__content a {
        transition: none;
    }

    .home-hero__slide::before,
    .home-hero__content {
        transform: none;
    }
}

.home-section {
    display: grid;
    gap: 20px;
}

.home-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--brand-gray);
    padding-bottom: 14px;
}

.home-section__header h2 {
    font-size: 28px;
    font-weight: 900;
    color: var(--black);
}

.home-promo-slider {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 18px;
    min-height: 390px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background:
        linear-gradient(135deg, rgba(255, 208, 64, 0.16), transparent 34%),
        #f4f1ea;
    color: var(--white);
}

.home-promo-slider__viewport {
    position: relative;
    min-height: 390px;
}

.home-promo-slider--single {
    grid-template-columns: 1fr;
}

.home-promo-slider__slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
    align-items: stretch;
    opacity: 0;
    pointer-events: none;
    transform: translateX(28px) scale(0.985);
    transition: opacity 380ms ease, transform 380ms ease;
}

.home-promo-slider__slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) scale(1);
}

.home-promo-slider__slide img {
    width: 100%;
    height: 100%;
    min-height: 390px;
    object-fit: cover;
    clip-path: polygon(0 0, 92% 0, 100% 100%, 0% 100%);
}

.home-promo-slider__content {
    align-self: stretch;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    min-height: 390px;
    margin: 0;
    border-left: 6px solid var(--brand-yellow);
    padding: 34px 38px;
    background: #151515;
    box-shadow: none;
}

.home-promo-slider__content span {
    width: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.26);
    padding: 7px 12px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--brand-yellow);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.home-promo-slider__content h2 {
    max-width: 440px;
    color: var(--white);
    font-size: 30px;
    font-weight: 900;
    line-height: 1.12;
}

.home-promo-slider__content p {
    max-width: 430px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 15px;
    line-height: 1.5;
}

.home-promo-slider__content a {
    width: fit-content;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--brand-yellow);
    padding: 0 18px;
    background: var(--brand-yellow);
    color: var(--black);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.home-promo-slider__rail {
    z-index: 2;
    display: grid;
    align-content: center;
    gap: 12px;
    padding: 24px 18px 84px 0;
}

.home-promo-slider__preview {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 8px;
    background: rgba(255, 255, 255, 0.76);
    color: var(--black);
    text-align: left;
    cursor: pointer;
    transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.home-promo-slider__preview.is-active {
    border-color: var(--black);
    background: var(--white);
    transform: translateX(-10px);
}

.home-promo-slider__preview img {
    width: 72px;
    height: 58px;
    object-fit: cover;
}

.home-promo-slider__preview span {
    min-width: 0;
    display: -webkit-box;
    overflow: hidden;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.25;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.home-promo-slider__controls {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.home-promo-slider__arrow,
.home-promo-slider__dots button {
    pointer-events: auto;
}

.home-promo-slider__arrow {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.58);
    color: var(--white);
    font-size: 18px;
}

.home-promo-slider__dots {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.42);
}

.home-promo-slider__dots button {
    width: 28px;
    height: 4px;
    border: 0;
    background: rgba(255, 255, 255, 0.36);
    transition: width 180ms ease, background 180ms ease;
}

.home-promo-slider__dots button.is-active {
    width: 52px;
    background: var(--brand-yellow);
}

.home-category-index {
    display: grid;
    gap: 18px;
    padding: 24px 0 30px;
}

.home-category-index__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.home-category-index__head h2 {
    margin: 0;
    color: var(--black);
    font-size: 27px;
    font-weight: 900;
    line-height: 1;
}

.home-category-index__head a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    border-bottom: 2px solid var(--brand-yellow);
    color: var(--black);
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
}

.home-category-index__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: 168px;
    overflow: visible;
}

.home-category-index__item {
    position: relative;
    min-height: 168px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 0;
    background: var(--category-image, linear-gradient(135deg, #d2b12b, #f1da5a));
    background-position: center;
    background-size: cover;
    color: var(--white);
    isolation: isolate;
    text-decoration: none;
    transform-origin: center;
    transition: filter 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.home-category-index__item[href*="category=paints"] {
    background-position: 18% center;
}

.home-category-index__item[href*="category=auxiliary-materials"] {
    background-position: center 42%;
}

.home-category-index__item[href*="category=tools"] {
    background-position: center 44%;
}

.home-category-index__item[href*="category=other"] {
    background-position: 58% center;
}

.home-category-index__item span {
    position: relative;
    z-index: 1;
    padding: 0 18px;
    color: var(--white);
    font-size: 28px;
    font-weight: 900;
    line-height: 1.12;
    text-align: center;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    transition: transform 180ms ease;
}

.home-category-index__item small {
    position: absolute;
    left: 50%;
    bottom: 46px;
    z-index: 1;
    min-width: 132px;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    background: var(--white);
    color: #17426e;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    opacity: 0;
    text-align: center;
    text-transform: uppercase;
    transform: translate(-50%, 14px);
    transition: opacity 160ms ease, transform 180ms ease;
    white-space: nowrap;
}

.home-category-index__item:hover,
.home-category-index__item:focus-visible {
    z-index: 2;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.14);
    color: var(--white);
    filter: saturate(1.04) contrast(1.03);
    transform: scale(1.08);
}

.home-category-index__item:hover span,
.home-category-index__item:focus-visible span {
    transform: translateY(-34px);
}

.home-category-index__item:hover small,
.home-category-index__item:focus-visible small {
    opacity: 1;
    transform: translate(-50%, 0);
}


* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

.catalog-page {
    display: grid;
    grid-template-columns: minmax(260px, 310px) 1fr;
    gap: 28px;
    width: min(1240px, calc(100% - 32px));
    margin: 48px auto;
    font-family: "Inter", sans-serif;
}

.catalog-filters {
    position: sticky;
    top: 172px;
    align-self: start;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 0;
    background: var(--white);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
}

.catalog-filters__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 22px 18px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--black);
}

.catalog-filters__header h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 850;
    color: var(--white);
    letter-spacing: 0;
}

.catalog-filters__header span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border-radius: 999px;
    padding: 0 10px;
    background: var(--brand-yellow);
    color: var(--black);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.catalog-filters__toggle {
    display: none;
}

.catalog-filter-form {
    display: grid;
    gap: 0;
}

.catalog-filter-group {
    display: grid;
    gap: 6px;
    padding: 20px 18px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.catalog-filter-group h2 {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 850;
    color: var(--black);
    letter-spacing: 0;
    text-transform: uppercase;
}

.catalog-filter-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    min-height: 44px;
    margin-left: min(calc(var(--filter-depth, 0) * 16px), 48px);
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 10px;
    background: #f7f7f7;
    font-size: 14px;
    font-weight: 650;
    color: var(--gray-900);
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease;
}

.catalog-filter-option--parent {
    font-weight: 850;
}

.catalog-filter-option:hover {
    background: rgba(255, 208, 64, 0.1);
    border-color: rgba(255, 208, 64, 0.65);
}

.catalog-filter-option:has(input:checked) {
    background: rgba(255, 208, 64, 0.22);
    border-color: var(--brand-yellow);
    color: var(--black);
}

.catalog-filter-option:has(input:focus-visible) {
    outline: 2px solid var(--brand-yellow);
    outline-offset: 2px;
}

.catalog-filter-option input {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--brand-yellow);
    cursor: pointer;
}

.catalog-filter-option input:focus-visible {
    outline: none;
}

.catalog-filter-option span {
    min-width: 0;
    display: grid;
    gap: 4px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.catalog-filter-option small {
    order: 1;
    color: var(--gray-500);
    font-size: 11px;
    font-weight: 500;
}

.catalog-filter-range {
    display: grid;
    gap: 16px;
    color: var(--gray-900);
    font-size: 14px;
}

.catalog-filter-range__values {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--black);
    font-weight: 700;
}

.catalog-filter-range__values span {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 36px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 0 9px;
    background: #f7f7f7;
    font-size: 12px;
}

.catalog-filter-range__slider {
    position: relative;
    height: 50px;
}

.catalog-filter-range__track,
.catalog-filter-range__selected {
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 6px;
    transform: translateY(-50%);
}

.catalog-filter-range__track {
    border-radius: 999px;
    background:
        repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.08) 0 1px, transparent 1px 16px),
        var(--gray-300);
}

.catalog-filter-range__selected {
    right: calc(100% - var(--max-percent));
    left: var(--min-percent);
    border-radius: 999px;
    background: var(--brand-yellow);
    box-shadow: 0 0 0 4px rgba(255, 208, 64, 0.18);
}

.catalog-filter-range__slider input {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 50px;
    margin: 0;
    transform: translateY(-50%);
    appearance: none;
    background: transparent;
    pointer-events: none;
}

.catalog-filter-range__slider input::-webkit-slider-thumb {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    appearance: none;
    background: transparent;
    cursor: pointer;
    opacity: 0;
    pointer-events: auto;
}

.catalog-filter-range__slider input::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    opacity: 0;
    pointer-events: auto;
}

.catalog-filter-range__handle {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 28px;
    height: 28px;
    border: 3px solid var(--brand-yellow);
    border-radius: 8px;
    background: var(--white);
    box-shadow:
        inset 0 0 0 2px rgba(255, 208, 64, 0.24),
        0 7px 16px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.catalog-filter-range__handle::before {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 4px;
    background: var(--brand-yellow);
}

.catalog-filter-range__handle--min {
    left: var(--min-percent);
    transform: translate(-2px, -50%);
}

.catalog-filter-range__handle--max {
    left: var(--max-percent);
    transform: translate(calc(-100% + 2px), -50%);
}

.catalog-filter-range__slider input::-webkit-slider-runnable-track {
    height: 4px;
    background: transparent;
}

.catalog-filter-range__slider input::-moz-range-track {
    height: 4px;
    background: transparent;
}

.catalog-products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    height: fit-content;
    align-items: stretch;
}

.catalog-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.catalog-product-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0;
    background: linear-gradient(135deg, rgba(255, 208, 64, 0.18), transparent 38%);
    transition: opacity 180ms ease;
}

.catalog-product-card:hover {
    border-color: rgba(255, 208, 64, 0.72);
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.14);
    transform: translateY(-5px);
}

.catalog-product-card:hover::before {
    opacity: 1;
}

.catalog-product-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background:
        linear-gradient(135deg, rgba(255, 208, 64, 0.16), rgba(0, 0, 0, 0.04)),
        var(--gray-50);
}

.catalog-product-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 260ms ease, filter 260ms ease;
}

.catalog-product-card__image span {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    border-radius: 999px;
    padding: 0 13px;
    background: rgba(0, 0, 0, 0.82);
    color: var(--brand-yellow);
    font-size: 12px;
    font-weight: 850;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.catalog-product-card:hover .catalog-product-card__image img {
    filter: saturate(1.05) contrast(1.02);
    transform: scale(1.045);
}

.catalog-product-card:hover .catalog-product-card__image span {
    opacity: 1;
    transform: translateY(0);
}

.catalog-product-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
}

.catalog-product-card__content {
    min-height: 42px;
}

.catalog-product-card__body h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 850;
    color: var(--black);
    line-height: 1.25;
}

.catalog-product-card__brand,
.catalog-single__brand {
    display: block;
    color: var(--black);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0;
    text-transform: uppercase;
}

.catalog-product-card__body h2 a {
    color: inherit;
    text-decoration: none;
}

.catalog-product-card__body p {
    margin: 8px 0 0;
    display: -webkit-box;
    overflow: hidden;
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.catalog-product-card__swatches {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 22px;
}

.catalog-product-card__swatches span,
.catalog-single__colors i {
    display: inline-block;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    border: 2px solid var(--white);
    border-radius: 50%;
    background: var(--swatch-color);
    box-shadow: 0 0 0 1px var(--gray-300);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.catalog-product-card__swatches span:hover {
    box-shadow: 0 0 0 2px var(--brand-yellow);
    transform: translateY(-2px) scale(1.08);
}

.catalog-product-card__swatches span.is-active {
    box-shadow: 0 0 0 2px var(--black);
}

.catalog-product-card__meta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    min-height: 42px;
}

.catalog-product-card__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    border: 1px solid var(--brand-gray);
    border-radius: 999px;
    padding: 0 10px;
    background: var(--brand-yellow);
    color: var(--black);
    font-size: 13px;
    font-weight: 800;
}

.catalog-product-card__meta strong {
    display: grid;
    justify-items: end;
    margin-left: auto;
    font-size: 18px;
    font-weight: 900;
    color: var(--black);
    line-height: 1.15;
    text-align: right;
}

.catalog-product-card__meta strong small,
.catalog-single__price small {
    color: var(--gray-500);
    font-size: 13px;
    font-weight: 700;
    text-decoration: line-through;
}

.catalog-product-card__actions,
.catalog-single__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.catalog-product-card__actions {
    margin-top: auto;
}

.catalog-product-card__actions form,
.catalog-single__actions form {
    flex: 1 1 0;
    margin: 0;
}

.catalog-product-card__actions button,
.catalog-single__actions button,
.catalog-back-link,
.catalog-collection-page__header a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border: 1px solid var(--brand-gray);
    padding: 0 14px;
    background: var(--white);
    color: var(--black);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.catalog-product-card__actions button {
    width: 100%;
    min-height: 38px;
    gap: 8px;
    border-radius: 8px;
    overflow: hidden;
    padding: 0 10px;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.catalog-product-card__actions button span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.catalog-product-card__actions button:hover {
    transform: translateY(-1px);
}

.catalog-product-card__actions > form:first-child,
.catalog-product-card__actions > button:first-child {
    flex: 1 1 auto;
    min-width: 0;
}

.catalog-product-card__actions > form:last-child,
.catalog-product-card__actions > button:last-child {
    flex: 0 0 38px;
}

.catalog-product-card__actions > form:last-child button,
.catalog-product-card__actions > button:last-child {
    width: 38px;
    min-width: 38px;
    padding: 0;
}

.catalog-product-card__actions > form:last-child button span,
.catalog-product-card__actions > button:last-child span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.catalog-product-card__actions form:last-child button,
.catalog-product-card__actions > button:last-child,
.catalog-single__actions form:last-child button,
.catalog-single__actions > button:last-child {
    border-color: var(--brand-yellow);
    background: var(--brand-yellow);
    color: var(--black);
}

.catalog-product-card__actions [data-product-action="favorites"].is-active,
.catalog-single__actions [data-product-action="favorites"].is-active {
    border-color: var(--black);
    background: var(--black);
    color: var(--brand-yellow);
}

.wishlist-products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.wishlist-products .catalog-product-card {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.wishlist-products .catalog-product-card:hover {
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.wishlist-products .catalog-product-card__image {
    aspect-ratio: 4 / 3;
}

.wishlist-products .catalog-product-card__body {
    gap: 8px;
    padding: 12px;
}

.wishlist-products .catalog-product-card__content {
    min-height: 0;
}

.wishlist-products .catalog-product-card__body h2 {
    display: -webkit-box;
    overflow: hidden;
    min-height: 36px;
    font-size: 14px;
    line-height: 1.28;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.wishlist-products .catalog-product-card__swatches {
    min-height: 16px;
    gap: 6px;
}

.wishlist-products .catalog-product-card__swatches span {
    width: 15px;
    height: 15px;
}

.wishlist-products .catalog-product-card__meta span {
    min-height: 22px;
    padding: 0 8px;
    font-size: 11px;
}

.wishlist-products .catalog-product-card__meta strong {
    font-size: 15px;
}

.wishlist-products .catalog-product-card__meta strong small {
    font-size: 11px;
}

.wishlist-products .catalog-product-card__actions button {
    min-height: 34px;
    font-size: 12px;
}

.wishlist-products .catalog-product-card__actions > form:last-child,
.wishlist-products .catalog-product-card__actions > button:last-child {
    flex-basis: 34px;
}

.wishlist-products .catalog-product-card__actions > form:last-child button,
.wishlist-products .catalog-product-card__actions > button:last-child {
    width: 34px;
    min-width: 34px;
}

.cart-page,
.privacy-page {
    width: min(1180px, calc(100% - 32px));
    margin: 48px auto 68px;
    font-family: "Inter", sans-serif;
}

.privacy-page__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--brand-gray);
    padding-bottom: 22px;
}

.privacy-page__header span {
    display: inline-flex;
    margin-bottom: 10px;
    border-radius: 999px;
    padding: 7px 12px;
    background: rgba(255, 208, 64, 0.22);
    color: var(--black);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.privacy-page__header h1 {
    margin: 0;
    color: var(--black);
    font-size: 38px;
    font-weight: 900;
    line-height: 1.08;
}

.privacy-page__header p {
    margin: 10px 0 0;
    color: var(--gray-700);
    font-size: 15px;
    font-weight: 700;
}

.privacy-page__header a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid var(--black);
    border-radius: 8px;
    padding: 0 16px;
    background: var(--black);
    color: var(--white);
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
}

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

.privacy-page__summary,
.privacy-page__content {
    border: 1px solid var(--brand-gray);
    border-radius: 8px;
    background: var(--white);
}

.privacy-page__summary {
    position: sticky;
    top: 132px;
    padding: 22px;
}

.privacy-page__summary h2 {
    margin: 0 0 14px;
    color: var(--gray-700);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.privacy-page__summary strong {
    display: block;
    margin-bottom: 18px;
    color: var(--black);
    font-size: 20px;
    font-weight: 900;
    line-height: 1.2;
}

.privacy-page__summary dl {
    display: grid;
    gap: 14px;
    margin: 0;
}

.privacy-page__summary dt {
    margin-bottom: 4px;
    color: var(--gray-500);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.privacy-page__summary dd {
    margin: 0;
    color: var(--black);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.privacy-page__summary a,
.privacy-page__content a {
    color: var(--black);
    font-weight: 900;
    text-decoration-color: var(--brand-yellow);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.privacy-page__content {
    padding: 30px;
}

.privacy-page__intro {
    margin: 0 0 14px;
    color: var(--black);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.65;
}

.privacy-page__content > p:not(.privacy-page__intro) {
    margin: 0 0 24px;
    color: var(--gray-700);
    font-size: 15px;
    font-weight: 650;
}

.privacy-section {
    padding: 26px 0;
    border-top: 1px solid var(--brand-gray);
}

.privacy-section:first-of-type {
    padding-top: 0;
    border-top: 0;
}

.privacy-section:last-child {
    padding-bottom: 0;
}

.privacy-section h2 {
    margin: 0 0 14px;
    color: var(--black);
    font-size: 23px;
    font-weight: 900;
    line-height: 1.25;
}

.privacy-section p,
.privacy-section li {
    color: var(--gray-700);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.75;
}

.privacy-section p {
    margin: 0 0 12px;
}

.privacy-section p:last-child {
    margin-bottom: 0;
}

.privacy-section ul {
    display: grid;
    gap: 8px;
    margin: 14px 0 18px;
    padding: 0;
    list-style: none;
}

.privacy-section li {
    position: relative;
    padding-left: 22px;
}

.privacy-section li::before {
    position: absolute;
    top: 12px;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--brand-yellow);
    content: "";
}

.checkout-page {
    width: min(1180px, calc(100% - 32px));
    margin: 44px auto 64px;
    font-family: "Inter", sans-serif;
}

.cart-page__header,
.checkout-page__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--brand-gray);
    padding-bottom: 18px;
}

.cart-page__header h1,
.checkout-page__header h1 {
    margin: 0;
    color: var(--black);
    font-size: 34px;
    font-weight: 900;
    line-height: 1.1;
}

.cart-page__header p,
.checkout-page__header p {
    margin: 8px 0 0;
    color: var(--gray-700);
    font-size: 14px;
    font-weight: 600;
}

.cart-page__header a,
.cart-summary a,
.checkout-page__header a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--black);
    border-radius: 8px;
    padding: 0 16px;
    background: var(--black);
    color: var(--white);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.cart-page__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
    align-items: start;
}

.cart-table {
    overflow: hidden;
    border: 1px solid var(--brand-gray);
    border-radius: 8px;
    background: var(--white);
}

.cart-table__head,
.cart-row {
    display: grid;
    grid-template-columns: minmax(190px, 1.45fr) minmax(110px, 0.72fr) minmax(96px, 0.58fr) 126px minmax(108px, 0.68fr) 48px;
    gap: 12px;
    align-items: center;
}

.cart-table__head {
    min-height: 46px;
    padding: 0 18px;
    background: #f8fafc;
    color: var(--gray-700);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.cart-row {
    min-height: 94px;
    border-top: 1px solid var(--brand-gray);
    padding: 14px 18px;
}

.cart-row__product {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.cart-row__product img {
    width: 66px;
    height: 66px;
    flex: 0 0 66px;
    border-radius: 8px;
    object-fit: cover;
}

.cart-row__product div {
    min-width: 0;
}

.cart-row__product a {
    display: block;
    color: var(--black);
    font-size: 15px;
    font-weight: 850;
    line-height: 1.25;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.cart-row__product span,
.cart-row__price,
.cart-row__quantity {
    color: var(--gray-700);
    font-size: 13px;
    font-weight: 700;
}

.cart-row__color {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.cart-row__color span {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    border: 2px solid var(--white);
    border-radius: 50%;
    background: var(--swatch-color);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.16);
}

.cart-row__color strong {
    display: block;
    overflow: hidden;
    color: var(--black);
    font-size: 13px;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-row__color small {
    display: block;
    color: var(--gray-500);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.cart-row__subtotal {
    color: var(--black);
    font-size: 15px;
    font-weight: 900;
}

.cart-row__actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.cart-quantity-control {
    width: 126px;
    min-height: 38px;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    overflow: hidden;
    border: 1px solid var(--brand-gray);
    border-radius: 8px;
    background: var(--white);
}

.cart-quantity-control button,
.cart-quantity-control input {
    border: 0;
    background: transparent;
    color: var(--black);
}

.cart-quantity-control button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.cart-quantity-control button:hover {
    background: rgba(255, 208, 64, 0.24);
}

.cart-quantity-control input {
    width: 100%;
    min-width: 0;
    text-align: center;
    font-size: 14px;
    font-weight: 850;
    appearance: textfield;
}

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

.cart-row__actions button {
    width: 40px;
    height: 40px;
    min-width: 40px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    padding: 0;
    background: var(--white);
    color: var(--black);
    font-size: 16px;
}

.cart-row__actions button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.cart-row__actions button:hover {
    border-color: var(--black);
    background: rgba(255, 208, 64, 0.2);
}

.cart-summary,
.checkout-summary,
.checkout-section,
.checkout-alert {
    display: grid;
    gap: 18px;
    border: 1px solid var(--brand-gray);
    border-radius: 8px;
    padding: 22px;
    background:
        linear-gradient(135deg, rgba(255, 208, 64, 0.18), transparent 46%),
        var(--white);
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.08);
}

.cart-summary > span {
    color: var(--gray-700);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.cart-summary div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--brand-gray);
    border-bottom: 1px solid var(--brand-gray);
    padding: 16px 0;
}

.cart-summary p {
    margin: 0;
    color: var(--gray-700);
    font-size: 14px;
    font-weight: 700;
}

.cart-summary strong {
    color: var(--black);
    font-size: 20px;
    font-weight: 950;
    white-space: nowrap;
}

.cart-summary a {
    border-color: var(--brand-yellow);
    background: var(--brand-yellow);
    color: var(--black);
}

.cart-page__empty {
    border: 1px dashed var(--brand-gray);
    border-radius: 8px;
    padding: 28px;
    background: #f8fafc;
    color: var(--gray-700);
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
}

.checkout-form {
    display: grid;
    gap: 18px;
}

.checkout-section h2,
.checkout-summary h2 {
    margin: 0;
    color: var(--black);
    font-size: 18px;
    font-weight: 900;
}

.checkout-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.checkout-section label {
    display: grid;
    gap: 8px;
}

.checkout-section label > span {
    color: var(--gray-700);
    font-size: 13px;
    font-weight: 850;
}

.checkout-section input,
.checkout-section textarea {
    width: 100%;
    border: 1px solid var(--brand-gray);
    border-radius: 8px;
    padding: 12px 14px;
    background: #f8fafc;
    color: var(--black);
    font-size: 14px;
    font-weight: 650;
    outline: none;
}

.checkout-section textarea {
    resize: vertical;
}

.checkout-section input:focus,
.checkout-section textarea:focus {
    border-color: var(--brand-yellow);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 208, 64, 0.2);
}

.checkout-section small {
    color: #d71117;
    font-size: 12px;
    font-weight: 700;
}

.checkout-phone {
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--brand-gray);
    border-radius: 8px;
    background: #f8fafc;
}

.checkout-phone span {
    align-self: stretch;
    display: inline-flex;
    align-items: center;
    border-right: 1px solid var(--brand-gray);
    padding: 0 12px;
    background: var(--brand-yellow);
    color: var(--black);
    font-size: 14px;
    font-weight: 900;
}

.checkout-phone input {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.checkout-payments {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.checkout-payment-card {
    position: relative;
    min-height: 112px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    overflow: hidden;
    border: 1px solid var(--brand-gray);
    border-radius: 8px;
    padding: 16px 44px 16px 16px;
    background:
        linear-gradient(135deg, rgba(255, 208, 64, 0.08), transparent 48%),
        var(--white);
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.checkout-payment-card:hover {
    border-color: var(--brand-yellow);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.checkout-payment-card input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.checkout-payment-card:has(input:checked) {
    border-color: var(--black);
    background:
        linear-gradient(135deg, rgba(255, 208, 64, 0.32), rgba(255, 255, 255, 0.86) 62%),
        var(--white);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
}

.checkout-payment-card__icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    background: transparent;
    color: var(--black);
}

.checkout-payment-card__icon svg {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.4;
}

.checkout-payment-card__content {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.checkout-payment-card__content strong {
    color: var(--black);
    font-size: 15px;
    font-weight: 900;
    line-height: 1.2;
}

.checkout-payment-card__content small {
    color: var(--gray-700);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.checkout-payment-card__check {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--brand-gray);
    border-radius: 50%;
    background: var(--white);
    color: transparent;
}

.checkout-payment-card__check svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.6;
}

.checkout-payment-card:has(input:checked) .checkout-payment-card__check {
    border-color: var(--black);
    background: var(--black);
    color: var(--brand-yellow);
}

.checkout-summary {
    position: sticky;
    top: 150px;
}

.checkout-summary__items {
    display: grid;
    gap: 12px;
}

.checkout-summary__item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

.checkout-summary__item img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
}

.checkout-summary__item div {
    min-width: 0;
}

.checkout-summary__item strong,
.checkout-summary__item span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.checkout-summary__item strong {
    color: var(--black);
    font-size: 13px;
    font-weight: 850;
}

.checkout-summary__item span {
    color: var(--gray-700);
    font-size: 12px;
    font-weight: 700;
}

.checkout-summary__color {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
}

.checkout-summary__color i {
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
    border: 2px solid var(--white);
    border-radius: 50%;
    background: var(--swatch-color);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18);
}

.checkout-summary__attribute {
    margin-top: 3px;
    color: var(--gray-500) !important;
    font-size: 11px !important;
    white-space: normal !important;
}

.checkout-summary__item b {
    grid-column: 2;
    color: var(--black);
    font-size: 13px;
    font-weight: 900;
}

.checkout-summary__total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--brand-gray);
    padding-top: 16px;
}

.checkout-summary__total span {
    color: var(--gray-700);
    font-size: 14px;
    font-weight: 800;
}

.checkout-summary__total strong {
    color: var(--black);
    font-size: 22px;
    font-weight: 950;
}

.checkout-summary button {
    min-height: 46px;
    border: 1px solid var(--brand-yellow);
    border-radius: 8px;
    background: var(--brand-yellow);
    color: var(--black);
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
}

.checkout-alert {
    margin-bottom: 18px;
    border-color: rgba(25, 135, 84, 0.2);
    background: rgba(25, 135, 84, 0.08);
    color: #146c43;
    font-size: 14px;
    font-weight: 800;
}

.profile-page {
    width: min(1180px, calc(100% - 32px));
    margin: 48px auto;
    font-family: "Inter", sans-serif;
}

.profile-page__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--brand-gray);
}

.profile-page__identity {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.profile-page__avatar {
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 1px solid var(--black);
    border-radius: 8px;
    background: var(--brand-yellow);
    color: var(--black);
    font-size: 22px;
    font-weight: 900;
}

.profile-page__identity h1 {
    margin: 0;
    color: var(--black);
    font-size: 34px;
    font-weight: 850;
}

.profile-page__identity p {
    margin: 6px 0 0;
    color: var(--gray-500);
    font-size: 15px;
    font-weight: 600;
}

.profile-page__quick-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.profile-page__quick-actions a,
.profile-secondary-button,
.profile-delete-trigger {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid var(--brand-gray);
    border-radius: 8px;
    padding: 0 14px;
    background: var(--white);
    color: var(--black);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.profile-page__quick-actions a:hover,
.profile-secondary-button:hover,
.profile-delete-trigger:hover {
    border-color: var(--brand-yellow);
    background: rgba(255, 208, 64, 0.16);
    transform: translateY(-1px);
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.profile-stats div {
    min-height: 108px;
    display: grid;
    align-content: center;
    gap: 8px;
    border: 1px solid var(--brand-gray);
    border-radius: 8px;
    padding: 18px;
    background: var(--white);
}

.profile-stats span {
    color: var(--gray-500);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.profile-stats strong {
    color: var(--black);
    font-size: 30px;
    font-weight: 900;
}

.profile-alert {
    margin-bottom: 18px;
    border: 1px solid rgba(25, 135, 84, 0.2);
    border-radius: 8px;
    padding: 14px 16px;
    background: rgba(25, 135, 84, 0.08);
    color: #146c43;
    font-size: 14px;
    font-weight: 800;
}

.profile-layout {
    display: grid;
    grid-template-columns: minmax(190px, 230px) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    margin-top: 24px;
}

.profile-layout__nav {
    position: sticky;
    top: 172px;
    display: grid;
    gap: 6px;
    border: 1px solid var(--brand-gray);
    border-radius: 8px;
    padding: 12px;
    background: var(--white);
}

.profile-layout__nav > span {
    padding: 4px 8px 10px;
    color: var(--gray-500);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.profile-layout__nav a {
    min-height: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    padding: 0 10px;
    color: var(--gray-900);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease;
}

.profile-layout__nav a:hover,
.profile-layout__nav a.is-active {
    background: rgba(255, 208, 64, 0.18);
    color: var(--black);
}

.profile-layout__nav i {
    width: 18px;
    color: var(--black);
    font-size: 16px;
}

.profile-layout__main {
    display: grid;
    gap: 22px;
    min-width: 0;
}

.profile-panel {
    border: 1px solid var(--brand-gray);
    border-radius: 8px;
    padding: 24px;
    background: var(--white);
}

.profile-panel__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.profile-panel__header h2 {
    margin: 0;
    color: var(--black);
    font-size: 20px;
    font-weight: 850;
}

.profile-panel__header p {
    margin: 6px 0 0;
    color: var(--gray-500);
    font-size: 14px;
    line-height: 1.5;
}

.profile-panel__header > i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 8px;
    background: rgba(255, 208, 64, 0.24);
    color: var(--black);
    font-size: 19px;
}

.profile-form {
    display: grid;
    gap: 18px;
}

.profile-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.profile-form label,
.profile-delete-modal label {
    display: grid;
    gap: 8px;
}

.profile-form label > span,
.profile-delete-modal label > span {
    color: var(--gray-700);
    font-size: 13px;
    font-weight: 800;
}

.profile-form input,
.profile-delete-modal input {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--brand-gray);
    border-radius: 8px;
    padding: 0 13px;
    background: var(--white);
    color: var(--black);
    font-size: 15px;
    font-weight: 600;
    outline: none;
}

.profile-form input:focus,
.profile-delete-modal input:focus {
    border-color: var(--brand-yellow);
    box-shadow: 0 0 0 4px rgba(255, 208, 64, 0.18);
}

.profile-form small,
.profile-delete-modal small {
    color: #b42318;
    font-size: 12px;
    font-weight: 700;
}

.profile-form button[type="submit"] {
    min-height: 46px;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid var(--brand-yellow);
    border-radius: 8px;
    padding: 0 18px;
    background: var(--brand-yellow);
    color: var(--black);
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 12px 24px rgba(255, 208, 64, 0.26);
}

.profile-verification {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 208, 64, 0.44);
    border-radius: 8px;
    padding: 12px;
    background: rgba(255, 208, 64, 0.12);
    color: var(--gray-700);
    font-size: 13px;
    font-weight: 700;
}

.profile-verification button {
    border: 0;
    background: transparent;
    color: var(--black);
    font-weight: 900;
    text-decoration: underline;
}

.profile-orders-table {
    overflow: hidden;
    border: 1px solid var(--brand-gray);
    border-radius: 8px;
    background: var(--white);
}

.profile-orders-table__head,
.profile-order-row {
    display: grid;
    grid-template-columns: minmax(150px, 1.2fr) minmax(90px, 0.75fr) minmax(100px, 0.85fr) minmax(62px, 0.5fr) minmax(150px, 1fr) minmax(100px, 0.8fr);
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
}

.profile-orders-table__head {
    background: var(--gray-50);
    border-bottom: 1px solid var(--brand-gray);
}

.profile-orders-table__head span {
    color: var(--gray-500);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.profile-order-row + .profile-order-row {
    border-top: 1px solid var(--brand-gray);
}

.profile-order-row strong,
.profile-order-row b {
    color: var(--black);
    font-size: 14px;
    font-weight: 900;
}

.profile-order-row span {
    color: var(--gray-500);
    font-size: 13px;
    font-weight: 800;
}

.profile-order-row mark {
    width: fit-content;
    border-radius: 999px;
    padding: 5px 9px;
    background: rgba(255, 208, 64, 0.26);
    color: var(--black);
    font-size: 12px;
    font-weight: 900;
}

.profile-empty-state {
    display: grid;
    justify-items: start;
    gap: 8px;
    border: 1px dashed var(--brand-gray);
    border-radius: 8px;
    padding: 20px;
    color: var(--gray-500);
}

.profile-empty-state i {
    color: var(--black);
    font-size: 28px;
}

.profile-empty-state strong {
    color: var(--black);
    font-size: 16px;
    font-weight: 900;
}

.profile-empty-state span {
    font-size: 14px;
    line-height: 1.45;
}

.profile-empty-state a {
    margin-top: 6px;
    color: var(--black);
    font-size: 14px;
    font-weight: 900;
}

.profile-danger {
    display: grid;
    gap: 12px;
}

.profile-danger form {
    margin: 0;
}

.profile-secondary-button,
.profile-delete-trigger {
    width: 100%;
}

.profile-delete-trigger {
    border-color: rgba(180, 35, 24, 0.22);
    color: #b42318;
}

.profile-delete-trigger:hover {
    border-color: rgba(180, 35, 24, 0.36);
    background: rgba(180, 35, 24, 0.06);
}

.profile-delete-modal__content {
    border: 0;
    border-radius: 8px;
    padding: 24px;
}

.profile-delete-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.profile-delete-modal__header h2 {
    margin: 0;
    color: var(--black);
    font-size: 22px;
    font-weight: 900;
}

.profile-delete-modal__header button {
    width: 38px;
    height: 38px;
    border: 1px solid var(--brand-gray);
    border-radius: 8px;
    background: var(--white);
    color: var(--black);
}

.profile-delete-modal p {
    margin: 0 0 18px;
    color: var(--gray-700);
    font-size: 14px;
    line-height: 1.55;
}

.profile-delete-modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.profile-delete-modal__actions button {
    min-height: 42px;
    border-radius: 8px;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 900;
}

.profile-delete-modal__actions button[type="button"] {
    border: 1px solid var(--brand-gray);
    background: var(--white);
    color: var(--black);
}

.profile-delete-modal__actions button[type="submit"] {
    border: 1px solid #b42318;
    background: #b42318;
    color: var(--white);
}

.order-history-page .profile-page__header {
    margin-bottom: 0;
}

.order-history {
    padding: 0;
    overflow: hidden;
}

.order-history > .profile-panel__header {
    margin: 0;
    padding: 24px 24px 20px;
    border-bottom: 1px solid var(--brand-gray);
}

.order-history__list {
    display: grid;
}

.order-history-card {
    display: grid;
    gap: 18px;
    padding: 22px 24px;
    background: var(--white);
}

.order-history-card + .order-history-card {
    border-top: 1px solid var(--brand-gray);
}

.order-history-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.order-history-card__header div {
    display: grid;
    gap: 5px;
}

.order-history-card__header span,
.order-history-card__meta dt,
.order-history-card__total span {
    color: var(--gray-500);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.order-history-card__header strong {
    color: var(--black);
    font-size: 18px;
    font-weight: 900;
}

.order-history-card__header mark {
    border-radius: 999px;
    padding: 6px 10px;
    background: rgba(255, 208, 64, 0.28);
    color: var(--black);
    font-size: 12px;
    font-weight: 900;
}

.order-history-card__meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
}

.order-history-card__meta div {
    border: 1px solid var(--brand-gray);
    border-radius: 8px;
    padding: 12px;
    background: var(--gray-50);
}

.order-history-card__meta dt {
    margin-bottom: 6px;
}

.order-history-card__meta dd {
    margin: 0;
    color: var(--black);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
}

.order-history-card__items {
    display: grid;
    border: 1px solid var(--brand-gray);
    border-radius: 8px;
    overflow: hidden;
}

.order-history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 14px;
}

.order-history-item + .order-history-item {
    border-top: 1px solid var(--brand-gray);
}

.order-history-item div {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.order-history-item strong {
    color: var(--black);
    font-size: 14px;
    font-weight: 900;
}

.order-history-item span {
    color: var(--gray-500);
    font-size: 13px;
    font-weight: 700;
}

.order-history-item b {
    flex: 0 0 auto;
    color: var(--black);
    font-size: 14px;
    font-weight: 900;
}

.order-history-card__total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid var(--brand-gray);
    padding-top: 16px;
}

.order-history-card__total strong {
    color: var(--black);
    font-size: 20px;
    font-weight: 950;
}

.order-history__empty {
    margin: 24px;
}

.catalog-filter-actions {
    display: grid;
    gap: 10px;
    padding: 20px 22px 22px;
    background: rgba(255, 255, 255, 0.72);
}

.catalog-filter-submit,
.catalog-filter-clear {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 850;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.catalog-filter-submit {
    border: 1px solid var(--brand-yellow);
    background: var(--brand-yellow);
    color: var(--black);
    box-shadow: 0 12px 24px rgba(255, 208, 64, 0.3);
}

.catalog-filter-clear {
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: var(--white);
    color: var(--gray-900);
}

.catalog-filter-submit:hover,
.catalog-filter-clear:hover {
    transform: translateY(-2px);
}

.catalog-filter-submit:hover {
    box-shadow: 0 16px 30px rgba(255, 208, 64, 0.38);
}

.catalog-filter-clear:hover {
    background: rgba(255, 208, 64, 0.12);
}

.catalog-single,
.catalog-collection-page {
    width: min(1180px, calc(100% - 32px));
    margin: 48px auto;
    font-family: "Inter", sans-serif;
}

.catalog-single {
    display: grid;
    grid-template-columns: minmax(0, 520px) minmax(280px, 1fr);
    gap: 48px;
    align-items: start;
}

.catalog-single__gallery {
    display: grid;
    gap: 12px;
}

.catalog-single__image {
    aspect-ratio: 4 / 5;
    background: var(--gray-50);
}

.catalog-single__image img,
.catalog-single__thumbs img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalog-single__thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.catalog-single__thumbs img {
    aspect-ratio: 1 / 1;
    border: 1px solid var(--gray-300);
    background: var(--gray-50);
}

.catalog-single__content {
    display: grid;
    gap: 24px;
}

.catalog-single__status {
    display: inline-block;
    margin-bottom: 12px;
    border: 1px solid var(--brand-gray);
    border-radius: 999px;
    padding: 5px 10px;
    background: var(--brand-yellow);
    color: var(--black);
    font-size: 13px;
    font-weight: 800;
}

.catalog-single__brand {
    margin-bottom: 6px;
}

.catalog-single__content h1,
.catalog-collection-page__header h1 {
    font-size: 36px;
    font-weight: 800;
    color: var(--black);
}

.catalog-single__content p {
    margin-top: 10px;
    color: var(--gray-500);
}

.catalog-single__description {
    margin: 0;
    color: var(--gray-700);
    font-size: 16px;
    line-height: 1.65;
}

.catalog-single__colors {
    display: grid;
    gap: 12px;
}

.catalog-single__colors h2 {
    font-size: 16px;
    font-weight: 800;
    color: var(--black);
}

.catalog-single__colors > div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.catalog-single__colors span {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    padding: 0 12px;
    color: var(--black);
    font-size: 14px;
    font-weight: 700;
}

.catalog-single__colors small {
    color: var(--gray-500);
    font-size: 12px;
    font-weight: 700;
}

.catalog-single__price {
    display: grid;
    gap: 4px;
    justify-items: start;
    font-size: 28px;
    color: var(--black);
}

.catalog-collection-page {
    display: grid;
    gap: 28px;
}

.catalog-collection-page__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.catalog-empty-state {
    border: 1px solid var(--gray-300);
    padding: 28px;
    color: var(--gray-500);
    background: var(--white);
}

.site-header {
    background: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07);
}

.site-header__top {
    background: rgba(250, 250, 250, 0.94);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--black);
}

.site-header__top-inner {
    min-height: 30px;
}

.site-header__contacts {
    gap: 16px;
}

.site-header__contacts a,
.site-header__language {
    color: var(--black);
    font-size: 12px;
    font-weight: 500;
}

.site-header__contacts a:first-child {
    position: relative;
}

.site-header__contacts a:nth-child(2)::after {
    content: "";
    width: 1px;
    height: 16px;
    margin-left: 14px;
    background: rgba(0, 0, 0, 0.14);
}

.site-header__contacts i,
.site-header__language i {
    color: var(--black);
    font-size: 16px;
}

.site-header__main-inner {
    min-height: 82px;
    gap: 22px;
}

.site-header__brand {
    width: 178px;
    min-width: 150px;
    gap: 10px;
}

.header-logo {
    width: 46px;
    height: 42px;
    flex: 0 0 auto;
    overflow: visible;
}

.header-logo path {
    fill: var(--brand-yellow) !important;
}

.header-logo .logo-base {
    fill: rgba(255, 208, 64, 0.38) !important;
}

.header-logo .logo-run {
    fill: url("#fill-gradient-header") !important;
}

.site-header__brand-text {
    color: var(--black);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 37px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 0.9;
}

.site-header__search-area {
    max-width: 560px;
}

.site-header__search {
    position: relative;
    align-items: center;
    min-height: 44px;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 12px;
    background: var(--white);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
}

.site-header__search input {
    min-height: 42px;
    border: 0;
    border-radius: 0;
    padding: 0 78px 0 4px;
    background: transparent;
    color: var(--black);
    font-size: 15px;
    font-weight: 400;
}

.site-header__search input:focus {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

.site-header__search:focus-within {
    border-color: var(--brand-yellow);
    box-shadow: 0 0 0 4px rgba(255, 208, 64, 0.2);
}

.site-header__search button {
    width: 52px;
    min-height: 42px;
    border: 0;
    border-radius: 12px 0 0 12px;
    background: transparent;
    color: var(--black);
    font-size: 22px;
}

.site-header__search kbd {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    border-radius: 7px;
    padding: 6px 9px;
    background: rgba(0, 0, 0, 0.05);
    color: rgba(0, 0, 0, 0.45);
    font-size: 12px;
    font-weight: 700;
}

.site-header__search-results {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    z-index: 1030;
    display: grid;
    gap: 4px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 8px;
    background: var(--white);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
}

.site-header__search-results[hidden] {
    display: none;
}

.site-header__search-result {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    border-radius: 7px;
    padding: 8px;
    color: var(--black);
    text-decoration: none;
    transition: background-color 140ms ease;
}

.site-header__search-result:hover,
.site-header__search-result:focus {
    background: rgba(255, 208, 64, 0.22);
    color: var(--black);
}

.site-header__search-result img {
    width: 48px;
    height: 48px;
    border-radius: 7px;
    object-fit: cover;
}

.site-header__search-result strong,
.site-header__search-result small,
.site-header__search-empty {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-header__search-result strong {
    display: block;
    color: var(--black);
    font-size: 14px;
    font-weight: 850;
}

.site-header__search-result small {
    display: block;
    margin-top: 2px;
    color: var(--gray-700);
    font-size: 12px;
    font-weight: 700;
}

.site-header__search-result span {
    color: var(--black);
    font-size: 12px;
    font-weight: 850;
    white-space: nowrap;
}

.site-header__search-empty {
    padding: 12px;
    color: var(--gray-700);
    font-size: 13px;
    font-weight: 750;
}

.site-header__actions {
    gap: 18px;
}

.site-header__icon-link {
    width: 52px;
    height: auto;
    flex-direction: column;
    gap: 4px;
    color: var(--black);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.1;
}

.site-header__icon-link i {
    font-size: 25px;
}

.site-header__icon-link span {
    display: block;
    white-space: nowrap;
}

.site-header__icon-link b {
    font-weight: inherit;
}

.site-header__icon-link > b[data-local-storage-count] {
    position: absolute;
    top: -5px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--brand-yellow);
    color: var(--black);
    font-size: 11px;
    font-weight: 800;
}

.site-header__account-menu {
    position: relative;
    z-index: 1080;
    display: inline-flex;
}

.site-header__account-toggle {
    border: 0;
    padding: 0;
    background: transparent;
}

.site-header__account-avatar {
    width: 28px;
    height: 28px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--black);
    border-radius: 50%;
    background: transparent;
    color: var(--black);
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: none;
}

.site-header__account-toggle::after {
    display: none;
}

.site-header__account-dropdown {
    min-width: 180px;
    border: 1px solid var(--brand-gray);
    border-radius: 8px;
    padding: 8px;
    background: var(--white);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
    z-index: 1120;
}

.site-header__account-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 9px;
    border: 0;
    border-radius: 6px;
    padding: 10px 12px;
    background: transparent;
    color: var(--black);
    font-size: 14px;
    font-weight: 800;
}

.site-header__account-dropdown .dropdown-item:hover,
.site-header__account-dropdown .dropdown-item:focus {
    background: rgba(255, 208, 64, 0.22);
    color: var(--black);
}

.site-header__badge[hidden] {
    display: none !important;
}

.site-header__nav {
    border-top: 0;
    background: var(--black);
}

.site-header__top {
    position: relative;
    z-index: 1130;
    max-height: 44px;
    overflow: visible;
    transition: max-height 180ms ease, opacity 160ms ease, transform 180ms ease;
}

.site-header.is-top-hidden .site-header__top {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-100%);
    visibility: hidden;
}

.site-header__top .dropdown-menu {
    min-width: 96px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 8px;
    background: var(--white);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
    z-index: 1140;
}

.site-header__top .dropdown-item {
    border-radius: 6px;
    padding: 8px 12px;
    color: var(--black);
    font-size: 13px;
    font-weight: 850;
}

.site-header__top .dropdown-item:hover,
.site-header__top .dropdown-item:focus,
.site-header__top .dropdown-item.active {
    background: rgba(255, 208, 64, 0.24);
    color: var(--black);
}

.site-header__category-nav {
    min-height: 46px;
    gap: 28px;
}

.site-header__nav-home,
.site-header__nav-link,
.site-header__nav-offers {
    min-height: 46px;
    border-radius: 0;
    padding: 0;
    background: transparent;
    color: var(--white);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    font-weight: 500;
}

.site-header__nav-home {
    gap: 12px;
    padding-right: 30px;
    border-right: 1px solid rgba(255, 255, 255, 0.4);
}

.site-header__nav-home .bi-grid-3x3-gap {
    color: var(--brand-yellow);
    font-size: 24px;
}

.site-header__nav-home:hover,
.site-header__nav-link:hover,
.site-header__nav-offers:hover,
.site-header__nav-item.show .site-header__nav-link {
    background: transparent;
    color: var(--brand-yellow);
    box-shadow: none;
}

.site-header__category-nav a,
.site-header__category-nav button,
.site-header__category-nav a:focus,
.site-header__category-nav button:focus {
    outline: none;
    box-shadow: none;
}

.site-header__nav-home:focus-visible,
.site-header__nav-link:focus-visible,
.site-header__nav-offers:focus-visible {
    color: var(--brand-yellow);
    text-decoration: underline;
    text-underline-offset: 5px;
}

.site-header__nav-offers {
    margin-left: auto;
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
}

.shop-notifications {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1080;
    display: grid;
    gap: 12px;
    pointer-events: none;
}

.shop-notification {
    position: relative;
    min-width: 280px;
    max-width: min(360px, calc(100vw - 32px));
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 208, 64, 0.32);
    border-radius: 8px;
    padding: 12px 14px 14px 12px;
    background:
        linear-gradient(135deg, rgba(255, 208, 64, 0.22), transparent 48%),
        #111111;
    color: var(--white);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
    opacity: 0;
    transform: translateY(12px) scale(0.98);
    transition: opacity 180ms ease, transform 180ms ease;
}

.shop-notification::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--brand-yellow);
    transform-origin: left;
    animation: shop-notification-timer 3200ms linear forwards;
}

.shop-notification.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.shop-notification i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--brand-yellow);
    color: var(--black);
    font-size: 21px;
}

.shop-notification span {
    min-width: 0;
    color: var(--white);
    font-size: 14px;
    font-weight: 850;
    line-height: 1.35;
}

@keyframes shop-notification-timer {
    to {
        transform: scaleX(0);
    }
}

.site-header__submenu {
    border-color: rgba(0, 0, 0, 0.08);
    border-radius: 8px;
}

.catalog-single__color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.catalog-single__color-option {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    padding: 0 12px;
    background: var(--white);
    color: var(--black);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.catalog-single__color-option.is-active {
    border-color: var(--brand-yellow);
    box-shadow: 0 0 0 3px rgba(255, 208, 64, 0.26);
}

.catalog-single__color-option i {
    display: inline-block;
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    border: 1px solid var(--gray-300);
    border-radius: 50%;
    background: var(--swatch-color);
}

.catalog-single__color-option span {
    min-height: auto;
    display: inline;
    border: 0;
    border-radius: 0;
    padding: 0;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.catalog-single__color-option small {
    color: var(--gray-500);
    font-size: 12px;
    font-weight: 700;
}

.catalog-single {
    width: min(1220px, calc(100% - 32px));
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
    gap: 34px;
    align-items: start;
    margin: 42px auto 64px;
}

.catalog-single__gallery {
    position: sticky;
    top: 172px;
    display: grid;
    gap: 14px;
}

.catalog-single .catalog-back-link {
    width: fit-content;
    min-height: 38px;
    gap: 8px;
    border-radius: 999px;
    padding: 0 14px;
    background: rgba(255, 208, 64, 0.16);
}

.catalog-single__image {
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    aspect-ratio: 1 / 1;
    background:
        linear-gradient(135deg, rgba(255, 208, 64, 0.14), rgba(0, 0, 0, 0.03)),
        var(--gray-50);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.1);
}

.catalog-single__thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.catalog-single__thumb {
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0;
    aspect-ratio: 1 / 1;
    background: var(--white);
    cursor: pointer;
    transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.catalog-single__thumb:hover,
.catalog-single__thumb.is-active {
    border-color: var(--brand-yellow);
    box-shadow: 0 8px 20px rgba(255, 208, 64, 0.22);
    transform: translateY(-2px);
}

.catalog-single__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalog-single__panel {
    display: grid;
    gap: 22px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 28px;
    background:
        linear-gradient(135deg, rgba(255, 208, 64, 0.16), transparent 32%),
        var(--white);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.08);
}

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

.catalog-single__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.catalog-single__panel h1 {
    margin: 0;
    color: var(--black);
    font-size: 40px;
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: 0;
}

.catalog-single__panel p {
    margin: 0;
}

.catalog-single__description {
    border-left: 3px solid var(--brand-yellow);
    padding-left: 14px;
}

.catalog-single__section {
    display: grid;
    gap: 12px;
}

.catalog-single__section-header h2 {
    margin: 0;
    color: var(--black);
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
}

.catalog-single__color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.catalog-single__purchase {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: stretch;
}

.catalog-single__price-box,
.catalog-single__quantity,
.catalog-single__total {
    display: grid;
    align-content: center;
    gap: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.78);
}

.catalog-single__total {
    grid-column: 1 / -1;
    background: var(--black);
    color: var(--white);
}

.catalog-single__price-box > span,
.catalog-single__quantity > span,
.catalog-single__total > span {
    color: var(--gray-500);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
}

.catalog-single__total > span {
    color: rgba(255, 255, 255, 0.64);
}

.catalog-single__price {
    display: grid;
    gap: 2px;
    justify-items: start;
    color: var(--black);
    font-size: 30px;
    line-height: 1.1;
}

.catalog-single__total strong {
    font-size: 30px;
    line-height: 1;
}

.catalog-single__quantity-control {
    display: grid;
    grid-template-columns: 38px 58px 38px;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: var(--white);
}

.catalog-single__quantity-control button,
.catalog-single__quantity-control input {
    width: 100%;
    height: 40px;
    border: 0;
    background: transparent;
    text-align: center;
}

.catalog-single__quantity-control button {
    color: var(--black);
    cursor: pointer;
}

.catalog-single__quantity-control button:hover {
    background: rgba(255, 208, 64, 0.2);
}

.catalog-single__quantity-control input {
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    color: var(--black);
    font-weight: 900;
    appearance: textfield;
}

.catalog-single__quantity-control input::-webkit-outer-spin-button,
.catalog-single__quantity-control input::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
}

.catalog-single__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.catalog-single__actions form {
    margin: 0;
}

.catalog-single__actions button {
    width: 100%;
    min-height: 48px;
    gap: 9px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 900;
}

.catalog-single__actions form:last-child,
.catalog-single__actions > button:last-child {
    min-width: 178px;
}

.catalog-single__actions form:first-child button,
.catalog-single__actions > button:first-child {
    border-color: var(--brand-yellow);
    background: var(--brand-yellow);
    color: var(--black);
    box-shadow: 0 16px 30px rgba(255, 208, 64, 0.32);
}

.catalog-single__actions form:last-child button,
.catalog-single__actions > button:last-child {
    border-color: rgba(0, 0, 0, 0.12);
    background: var(--white);
    color: var(--black);
    box-shadow: none;
}

.catalog-single {
    width: min(1200px, calc(100% - 40px));
    display: grid;
    grid-template-columns: minmax(0, 56%) minmax(360px, 1fr);
    gap: 48px;
    align-items: start;
    margin: 34px auto 72px;
    font-family: "Inter", sans-serif;
}

.catalog-single__related {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto 72px;
}

.catalog-single__back {
    grid-column: 1 / -1;
    width: fit-content;
    min-height: auto;
    gap: 8px;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    color: var(--gray-700);
    font-size: 13px;
    font-weight: 700;
}

.catalog-single__back:hover {
    color: var(--black);
}

.catalog-single__gallery {
    position: sticky;
    top: 150px;
    display: grid;
    gap: 14px;
}

.catalog-single__image {
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    aspect-ratio: 1 / 1;
    background: #f7f7f5;
    box-shadow: none;
}

.catalog-single__image img,
.catalog-single__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.catalog-single__thumbs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
}

.catalog-single__thumb {
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    padding: 0;
    aspect-ratio: 1 / 1;
    background: var(--white);
    cursor: pointer;
    transition: border-color 140ms ease, opacity 140ms ease;
}

.catalog-single__thumb:hover,
.catalog-single__thumb.is-active {
    border-color: var(--black);
}

.catalog-single__panel {
    display: grid;
    gap: 24px;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.catalog-single__intro {
    display: grid;
    gap: 10px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.catalog-single__meta-line {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.catalog-single__brand {
    margin: 0;
    color: var(--gray-700);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.catalog-single__status {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    margin: 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 999px;
    padding: 0 9px;
    background: rgba(255, 208, 64, 0.22);
    color: var(--black);
    font-size: 12px;
    font-weight: 800;
}

.catalog-single__panel h1 {
    margin: 0;
    color: var(--black);
    font-size: 34px;
    font-weight: 850;
    line-height: 1.12;
    letter-spacing: 0;
}

.catalog-single__panel p {
    margin: 0;
    color: var(--gray-500);
}

.catalog-single__description {
    max-width: 58ch;
    border: 0;
    padding: 0;
    color: var(--gray-700);
    font-size: 15px;
    line-height: 1.65;
}

.catalog-single__section {
    display: grid;
    gap: 12px;
}

.catalog-single__section h2,
.catalog-single__colors h2 {
    margin: 0;
    color: var(--black);
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.catalog-single__color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.catalog-single__color-option {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    padding: 0 10px;
    background: var(--white);
    color: var(--black);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 140ms ease, background-color 140ms ease;
}

.catalog-single__color-option:hover,
.catalog-single__color-option.is-active {
    border-color: var(--black);
    background: #fafafa;
    box-shadow: none;
}

.catalog-single__color-option i {
    width: 16px;
    height: 16px;
    border: 1px solid rgba(0, 0, 0, 0.16);
    border-radius: 50%;
    background: var(--swatch-color);
}

.catalog-single__color-option span {
    min-height: auto;
    display: inline;
    border: 0;
    padding: 0;
    font-size: inherit;
    font-weight: inherit;
}

.catalog-single__color-option small {
    color: var(--gray-500);
    font-size: 12px;
    font-weight: 700;
}

.catalog-single__purchase {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.catalog-single__price-row,
.catalog-single__quantity-row,
.catalog-single__total-row {
    display: grid;
    align-content: center;
    gap: 7px;
    border: 0;
    border-radius: 0;
    padding: 18px 0;
    background: transparent;
}

.catalog-single__quantity-row {
    min-width: 152px;
    justify-items: end;
}

.catalog-single__total-row {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.catalog-single__price-row > span,
.catalog-single__quantity-row > span,
.catalog-single__total-row > span {
    color: var(--gray-500);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.catalog-single__price,
.catalog-single__total-row strong {
    display: grid;
    gap: 2px;
    color: var(--black);
    font-size: 28px;
    font-weight: 900;
    line-height: 1.05;
}

.catalog-single__price small {
    color: var(--gray-500);
    font-size: 13px;
    font-weight: 700;
    text-decoration: line-through;
}

.catalog-single__quantity-control {
    display: grid;
    grid-template-columns: 36px 52px 36px;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.16);
    border-radius: 6px;
    background: var(--white);
}

.catalog-single__quantity-control button,
.catalog-single__quantity-control input {
    width: 100%;
    height: 38px;
    border: 0;
    background: transparent;
    text-align: center;
}

.catalog-single__quantity-control button {
    color: var(--black);
    cursor: pointer;
}

.catalog-single__quantity-control button:hover {
    background: rgba(0, 0, 0, 0.04);
}

.catalog-single__quantity-control input {
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--black);
    font-weight: 850;
    appearance: textfield;
}

.catalog-single__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 176px;
    gap: 10px;
}

.catalog-single__actions form {
    margin: 0;
}

.catalog-single__actions button {
    width: 100%;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 6px;
    padding: 0 16px;
    background: var(--white);
    color: var(--black);
    font-size: 14px;
    font-weight: 850;
    cursor: pointer;
    transition: background-color 140ms ease, border-color 140ms ease;
}

.catalog-single__actions form:first-child button,
.catalog-single__actions > button:first-child {
    border-color: var(--brand-yellow);
    background: var(--brand-yellow);
    box-shadow: none;
}

.catalog-single__actions form:last-child button,
.catalog-single__actions > button:last-child {
    border-color: rgba(0, 0, 0, 0.14);
    background: var(--white);
}

.catalog-single__actions button:hover {
    border-color: var(--black);
}

.catalog-single {
    grid-template-columns: minmax(0, 500px) minmax(360px, 1fr);
}

.catalog-single__gallery {
    max-width: 500px;
}

.catalog-single__image {
    max-height: 500px;
}

.catalog-single__description {
    order: 10;
    margin-top: 4px;
    padding-top: 22px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.catalog-single__colors {
    gap: 0;
}

.catalog-single__colors h2 {
    display: none;
}

.catalog-single__color-options {
    gap: 12px;
}

.catalog-single__color-option {
    width: 46px;
    height: 46px;
    min-height: 46px;
    justify-content: center;
    border-radius: 8px;
    padding: 0;
}

.catalog-single__color-option span,
.catalog-single__color-option small,
.catalog-single__color-option i {
    display: none;
}

.catalog-single__color-option .catalog-single__color-swatch {
    position: relative;
    width: 30px;
    height: 30px;
    display: block;
    overflow: hidden;
    border: 2px solid var(--white);
    border-radius: 8px;
    background: var(--swatch-color);
    box-shadow:
        inset 0 0 0 1px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(0, 0, 0, 0.16);
}

.catalog-single__color-swatch::before,
.catalog-single__color-swatch::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.catalog-single__color-swatch::before {
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.34), transparent 42%),
        linear-gradient(315deg, rgba(0, 0, 0, 0.1), transparent 48%);
}

.catalog-single__color-swatch::after {
    inset: 6px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 5px;
}

.catalog-single__color-option:hover .catalog-single__color-swatch,
.catalog-single__color-option.is-active .catalog-single__color-swatch {
    box-shadow:
        inset 0 0 0 1px rgba(0, 0, 0, 0.16),
        0 0 0 2px var(--brand-yellow);
}

.catalog-single__attributes {
    gap: 14px;
    padding: 20px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.catalog-single__attribute-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0;
    margin: 0;
}

.catalog-single__attribute-groups {
    display: grid;
    gap: 16px;
}

.catalog-single__attribute-group {
    display: grid;
    gap: 8px;
}

.catalog-single__attribute-group h3 {
    margin: 0;
    color: var(--gray-500);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.catalog-single__attribute-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.catalog-single__attribute-option {
    min-width: 96px;
    min-height: 42px;
    display: grid;
    gap: 4px;
    place-items: center;
    border: 1px solid var(--brand-gray);
    border-radius: 8px;
    padding: 8px 14px;
    background: var(--white);
    color: var(--black);
    text-align: center;
    text-decoration: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.catalog-single__attribute-option:hover,
.catalog-single__attribute-option.is-active {
    border-color: var(--black);
    background: rgba(255, 208, 64, 0.16);
    box-shadow: inset 0 0 0 1px var(--black);
}

.catalog-single__attribute-option span {
    color: var(--gray-500);
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
}

.catalog-single__attribute-option strong {
    color: var(--black);
    font-size: 14px;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.catalog-single__attribute {
    min-width: 0;
    display: grid;
    gap: 5px;
    padding: 10px 18px 10px 0;
}

.catalog-single__attribute dt {
    color: var(--gray-500);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.catalog-single__attribute dd {
    margin: 0;
    color: var(--black);
    font-size: 15px;
    font-weight: 850;
    overflow-wrap: anywhere;
}

.catalog-single__unit-source {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.catalog-single__purchase {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: end;
}

.catalog-single__quantity-row {
    min-width: 140px;
    justify-items: start;
}

.catalog-single__total-row {
    grid-column: auto;
    border-top: 0;
    padding-left: 24px;
}

.auth-page {
    min-height: calc(100vh - 120px);
    padding: 28px 16px 54px;
    background:
        radial-gradient(circle at 94% 4%, rgba(255, 208, 64, 0.24), transparent 30%),
        linear-gradient(135deg, #f8f8f6 0%, #ffffff 46%, #f3f4f6 100%);
    font-family: "Inter", sans-serif;
}

.auth-shell {
    width: min(1100px, 100%);
    min-height: 620px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.12);
}

.auth-visual {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 620px;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.76)),
        url("/assets/images/home-slides/green-wall-room.jpg") center / cover;
    color: var(--white);
}

.auth-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.2), transparent 52%);
}

.auth-visual__content {
    position: relative;
    z-index: 1;
    width: min(430px, 100%);
    display: grid;
    gap: 18px;
    padding: 0 54px 64px;
}

.auth-visual__icon {
    width: 86px;
    height: 86px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--brand-yellow);
    color: var(--black);
    font-size: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
}

.auth-visual h1 {
    margin: 0;
    color: var(--white);
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 900;
    line-height: 0.95;
}

.auth-visual p {
    max-width: 390px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.55;
}

.auth-visual__points {
    display: grid;
    gap: 14px;
    margin-top: 8px;
}

.auth-visual__points span {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
}

.auth-visual__points i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 208, 64, 0.18);
    color: var(--brand-yellow);
    font-size: 20px;
}

.auth-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 52px min(6vw, 68px);
    background: var(--white);
}

.auth-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.auth-tabs a {
    position: relative;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 16px;
    font-weight: 850;
    text-decoration: none;
}

.auth-tabs a::after {
    content: "";
    position: absolute;
    right: 20%;
    bottom: -1px;
    left: 20%;
    height: 3px;
    border-radius: 999px;
    background: transparent;
}

.auth-tabs a.is-active {
    color: var(--black);
}

.auth-tabs a.is-active::after {
    background: var(--brand-yellow);
}

.auth-panel__header {
    display: grid;
    gap: 10px;
    margin-bottom: 26px;
}

.auth-panel__header h2 {
    margin: 0;
    color: var(--black);
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 900;
    line-height: 1.08;
}

.auth-panel__header p {
    margin: 0;
    color: #718096;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.5;
}

.auth-status {
    margin-bottom: 18px;
    color: #157347;
    font-size: 14px;
    font-weight: 750;
}

.auth-form {
    display: grid;
    gap: 18px;
}

.auth-field {
    display: grid;
    gap: 8px;
    margin: 0;
}

.auth-field > span {
    color: #273142;
    font-size: 14px;
    font-weight: 850;
}

.auth-field {
    position: relative;
}

.auth-field i {
    position: absolute;
    bottom: 17px;
    left: 18px;
    color: #8da0bd;
    font-size: 20px;
    pointer-events: none;
}

.auth-field input {
    width: 100%;
    min-height: 58px;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 0 18px 0 52px;
    background: #f5f6f8;
    color: var(--black);
    font-size: 15px;
    font-weight: 700;
    outline: none;
    transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.auth-field input:focus {
    border-color: rgba(255, 208, 64, 0.8);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 208, 64, 0.18);
}

.auth-field input::placeholder {
    color: #9aa8bd;
}

.auth-field small {
    color: #dc3545;
    font-size: 13px;
    font-weight: 700;
}

.auth-form__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.auth-form__meta a {
    color: var(--black);
    font-size: 14px;
    font-weight: 850;
    text-decoration: none;
}

.auth-form__meta a:hover {
    color: #997400;
}

.auth-check {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: #64748b;
    font-size: 14px;
    font-weight: 750;
}

.auth-check input {
    width: 17px;
    height: 17px;
    accent-color: var(--brand-yellow);
}

.auth-submit {
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid var(--brand-yellow);
    border-radius: 8px;
    padding: 0 22px;
    background: var(--brand-yellow);
    color: var(--black);
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.auth-submit:hover {
    border-color: var(--black);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
    transform: translateY(-1px);
}

.color-matcher-page {
    --matcher-ink: #17202a;
    --matcher-muted: #6b7280;
    --matcher-line: #e7e2d8;
    --matcher-paper: #fbfaf7;
    --matcher-accent: #ffd040;
    width: min(1480px, calc(100% - 32px));
    margin: 0 auto;
    padding: 34px 0 72px;
}

.color-matcher-hero {
    min-height: 300px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    align-items: center;
    gap: 28px;
    overflow: hidden;
    border: 1px solid var(--matcher-line);
    border-radius: 8px;
    padding: 44px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(247, 243, 235, 0.88)),
        url("https://images.unsplash.com/photo-1589939705384-5185137a7f0f?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.color-matcher-mode {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.color-matcher-mode__button {
    min-height: 132px;
    display: grid;
    grid-template-columns: 54px 1fr;
    align-items: center;
    column-gap: 16px;
    border: 1px solid var(--matcher-line);
    border-radius: 8px;
    padding: 20px;
    background: #ffffff;
    color: var(--matcher-ink);
    cursor: pointer;
    text-align: left;
    transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.color-matcher-mode__button i {
    grid-row: span 2;
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--matcher-paper);
    color: #8a6500;
    font-size: 24px;
}

.color-matcher-mode__button span {
    color: var(--matcher-ink);
    font-size: 18px;
    font-weight: 950;
}

.color-matcher-mode__button small {
    color: var(--matcher-muted);
    font-size: 14px;
    font-weight: 750;
}

.color-matcher-mode__button:hover,
.color-matcher-mode__button.is-active {
    border-color: var(--matcher-accent);
    box-shadow: 0 14px 32px rgba(23, 32, 42, 0.11);
    transform: translateY(-1px);
}

.color-matcher-mode__button.is-active i {
    background: var(--matcher-accent);
    color: #1f1600;
}

.color-matcher-studio {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: stretch;
    border: 1px solid var(--matcher-line);
    border-radius: 8px;
    padding: 18px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(23, 32, 42, 0.07);
}

.color-matcher-studio[hidden],
[data-catalog-section][hidden],
[data-result-section][hidden] {
    display: none;
}

.color-matcher-studio__copy {
    min-height: 156px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 8px;
    padding: 24px;
    background: var(--matcher-paper);
}

.color-matcher-studio__copy span,
.color-matcher-picker__field span {
    color: #8a6500;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.color-matcher-studio__copy h2 {
    margin: 8px 0 8px;
    color: var(--matcher-ink);
    font-size: 30px;
    line-height: 1.05;
    font-weight: 950;
}

.color-matcher-studio__copy p {
    max-width: 540px;
    margin: 0;
    color: var(--matcher-muted);
    font-size: 15px;
    line-height: 1.6;
    font-weight: 750;
}

.color-matcher-picker {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) 150px;
    gap: 12px;
    align-items: stretch;
}

.color-matcher-picker__field,
.color-matcher-picker__preview,
.color-matcher-picker__button {
    min-height: 156px;
    border: 1px solid var(--matcher-line);
    border-radius: 8px;
    background: #ffffff;
}

.color-matcher-picker__field {
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: center;
    padding: 16px;
}

.color-matcher-picker__field--wide {
    min-width: 0;
    grid-column: 1 / -1;
    min-height: 96px;
}

.color-matcher-picker__field select {
    width: 100%;
    border: 1px solid var(--matcher-line);
    border-radius: 8px;
    padding: 12px 10px;
    background: #ffffff;
    color: var(--matcher-ink);
    font-size: 14px;
    font-weight: 850;
}

.color-matcher-picker__field input {
    width: 70px;
    height: 70px;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.color-matcher-picker__preview {
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 18px;
    background: var(--custom-color);
}

.color-matcher-picker__preview span {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.36), transparent 24%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.08));
}

.color-matcher-picker__preview strong {
    position: relative;
    z-index: 1;
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--matcher-ink);
    font-size: 14px;
    font-weight: 950;
    text-transform: uppercase;
}

.color-matcher-picker__button {
    min-width: 0;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px;
    background: var(--matcher-accent);
    color: #1f1600;
    font-size: 15px;
    font-weight: 950;
    cursor: pointer;
    transition: transform 140ms ease, box-shadow 140ms ease, opacity 140ms ease;
}

.color-matcher-picker__button i {
    font-size: 28px;
}

.color-matcher-picker__button:hover {
    box-shadow: 0 14px 30px rgba(23, 32, 42, 0.13);
    transform: translateY(-1px);
}

.color-matcher-picker__button:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
}

.color-matcher-hero__content span,
.color-matcher-result__eyebrow {
    color: #8a6500;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.color-matcher-hero__content h1 {
    max-width: 720px;
    margin: 12px 0 14px;
    color: var(--matcher-ink);
    font-size: clamp(36px, 5vw, 68px);
    line-height: 0.98;
    font-weight: 950;
}

.color-matcher-hero__content p {
    max-width: 620px;
    margin: 0;
    color: #384352;
    font-size: 18px;
    line-height: 1.65;
    font-weight: 650;
}

.color-matcher-hero__swatches {
    display: grid;
    grid-template-columns: repeat(3, minmax(80px, 1fr));
    gap: 14px;
}

.color-matcher-hero__swatches span {
    min-height: 116px;
    border: 8px solid rgba(255, 255, 255, 0.82);
    border-radius: 8px;
    background: var(--shade);
    box-shadow: 0 18px 44px rgba(23, 32, 42, 0.16);
}

.color-matcher-body {
    display: grid;
    gap: 18px;
    margin-top: 18px;
    align-items: start;
}

.color-matcher-catalog {
    min-width: 0;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 18px;
}

.color-matcher-page.is-mode-catalog .color-matcher-body {
    grid-template-columns: minmax(0, 1fr) 360px;
}

.color-matcher-page.is-mode-create .color-matcher-body {
    grid-template-columns: minmax(0, 1fr) 420px;
}

.color-matcher-page.is-mode-create .color-matcher-result {
    min-height: 430px;
}

.color-matcher-panel,
.color-matcher-palette,
.color-matcher-result,
.color-matcher-empty {
    border: 1px solid var(--matcher-line);
    border-radius: 8px;
    background: var(--matcher-paper);
}

.color-matcher-panel,
.color-matcher-palette {
    padding: 22px;
}

.color-matcher-result {
    position: sticky;
    top: 16px;
    min-height: 500px;
    padding: 24px;
    background: #ffffff;
}

.color-matcher-step {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.color-matcher-step span {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--matcher-accent);
    color: #1f1600;
    font-size: 13px;
    font-weight: 950;
}

.color-matcher-step h2 {
    margin: 0;
    color: var(--matcher-ink);
    font-size: 20px;
    font-weight: 950;
}

.color-matcher-base-list {
    display: grid;
    gap: 10px;
}

.color-matcher-base,
.color-matcher-shade {
    border: 1px solid var(--matcher-line);
    border-radius: 8px;
    background: #ffffff;
    color: var(--matcher-ink);
    cursor: pointer;
    text-align: left;
    transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.color-matcher-base {
    display: grid;
    grid-template-columns: 42px 1fr;
    column-gap: 12px;
    padding: 13px;
}

.color-matcher-base > span {
    grid-row: span 2;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 50%;
    background: var(--base-color);
}

.color-matcher-base strong,
.color-matcher-shade strong {
    font-size: 15px;
    font-weight: 900;
}

.color-matcher-base small,
.color-matcher-shade small {
    color: var(--matcher-muted);
    font-size: 13px;
    font-weight: 750;
}

.color-matcher-base:hover,
.color-matcher-shade:hover,
.color-matcher-base.is-active,
.color-matcher-shade.is-active {
    border-color: var(--matcher-accent);
    box-shadow: 0 14px 28px rgba(23, 32, 42, 0.11);
    transform: translateY(-1px);
}

.color-matcher-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    gap: 12px;
}

.color-matcher-shade {
    min-height: 172px;
    padding: 10px;
}

.color-matcher-shade img,
.color-matcher-shade > span {
    width: 100%;
    aspect-ratio: 1.25;
    display: block;
    border-radius: 6px;
    object-fit: cover;
    background: var(--shade);
}

.color-matcher-shade strong,
.color-matcher-shade small {
    display: block;
    margin-top: 10px;
}

.color-matcher-shade strong {
    min-height: 38px;
    line-height: 1.25;
    white-space: normal;
}

.color-matcher-shade small {
    margin-top: 4px;
}

.color-matcher-result__sample {
    height: 190px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--matched-color);
}

.color-matcher-match-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: -6px 0 14px;
    border: 1px solid var(--matcher-line);
    border-radius: 999px;
    padding: 8px 12px;
    background: var(--matcher-paper);
}

.color-matcher-match-note span {
    width: 18px;
    height: 18px;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 50%;
    background: var(--picked-color);
}

.color-matcher-match-note strong,
.color-matcher-match-note small {
    color: var(--matcher-ink);
    font-size: 13px;
    font-weight: 900;
}

.color-matcher-match-note small {
    color: var(--matcher-muted);
}

.color-matcher-result__sample span {
    display: block;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 22% 24%, rgba(255, 255, 255, 0.34), transparent 23%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(0, 0, 0, 0.08));
}

.color-matcher-result h2 {
    margin: 8px 0 16px;
    color: var(--matcher-ink);
    font-size: 28px;
    font-weight: 950;
}

.color-matcher-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 18px;
}

.color-matcher-price strong {
    color: var(--matcher-ink);
    font-size: 44px;
    line-height: 1;
    font-weight: 950;
}

.color-matcher-price span {
    color: var(--matcher-muted);
    font-weight: 900;
}

.color-matcher-formula {
    display: grid;
    gap: 8px;
    margin: 0;
}

.color-matcher-formula div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--matcher-line);
    padding-top: 10px;
}

.color-matcher-formula dt,
.color-matcher-formula dd {
    margin: 0;
    color: var(--matcher-ink);
    font-size: 14px;
    font-weight: 850;
}

.color-matcher-formula dt {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.color-matcher-formula dt span {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--fragment-color);
}

.color-matcher-preloader {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
}

.color-matcher-preloader[hidden] {
    display: none;
}

.color-matcher-preloader__lens {
    position: relative;
    width: 138px;
    height: 138px;
    border: 9px solid #111827;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #f94144, #f9c74f, #90be6d, #577590, #f94144);
    animation: matcherLens 1.2s linear infinite;
}

.color-matcher-preloader__lens span {
    position: absolute;
    inset: 22px;
    border-radius: 50%;
    background: #ffffff;
}

.color-matcher-preloader__lens i {
    position: absolute;
    right: -32px;
    bottom: -18px;
    width: 58px;
    height: 12px;
    border-radius: 999px;
    background: #111827;
    transform: rotate(44deg);
}

.color-matcher-preloader strong {
    color: var(--matcher-ink);
    font-size: 16px;
    font-weight: 950;
}

.color-matcher-empty {
    margin-top: 18px;
    padding: 34px;
}

.color-matcher-empty h2 {
    margin: 0 0 8px;
    color: var(--matcher-ink);
    font-weight: 950;
}

.color-matcher-empty p {
    margin: 0;
    color: var(--matcher-muted);
    font-weight: 700;
}

@keyframes matcherLens {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1180px) {
    .color-matcher-studio {
        grid-template-columns: 1fr;
    }

    .color-matcher-picker {
        grid-template-columns: 1fr 112px 1fr;
    }

    .color-matcher-picker__button {
        grid-column: 1 / -1;
        min-height: 92px;
    }

    .color-matcher-page.is-mode-catalog .color-matcher-body,
    .color-matcher-page.is-mode-create .color-matcher-body {
        grid-template-columns: 1fr;
    }

    .color-matcher-catalog {
        grid-template-columns: 260px minmax(0, 1fr);
    }

    .color-matcher-result {
        position: relative;
        top: auto;
        min-height: auto;
    }
}

@media (max-width: 820px) {
    .color-matcher-page {
        width: min(100% - 16px, 1480px);
        max-width: 100%;
        overflow-x: clip;
        padding-top: 18px;
    }

    .color-matcher-hero {
        grid-template-columns: 1fr;
        max-width: 100%;
        padding: 20px;
    }

    .color-matcher-hero,
    .color-matcher-mode,
    .color-matcher-body,
    .color-matcher-catalog,
    .color-matcher-studio,
    .color-matcher-picker,
    .color-matcher-panel,
    .color-matcher-palette,
    .color-matcher-result {
        min-width: 0;
    }

    .color-matcher-mode__button {
        grid-template-columns: 46px minmax(0, 1fr);
        min-width: 0;
        padding: 16px;
    }

    .color-matcher-mode__button i {
        width: 46px;
        height: 46px;
    }

    .color-matcher-picker {
        grid-template-columns: 1fr;
    }

    .color-matcher-mode {
        grid-template-columns: 1fr;
    }

    .color-matcher-picker__field,
    .color-matcher-picker__preview,
    .color-matcher-picker__button {
        min-height: 118px;
    }

    .color-matcher-hero__swatches {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .color-matcher-hero__swatches span {
        min-height: 74px;
        border-width: 5px;
    }

    .color-matcher-catalog {
        grid-template-columns: 1fr;
    }

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

    .color-matcher-shade {
        min-width: 0;
        min-height: 156px;
    }

    .color-matcher-price strong {
        font-size: 36px;
    }
}

.payment-result-modal .modal-content {
    border: 0;
    border-radius: 24px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.payment-result-modal .modal-body {
    padding: 52px 40px 40px;
    position: relative;
}

.payment-result-modal__close {
    position: absolute;
    right: 20px;
    top: 20px;
}

.payment-result-modal__icon {
    align-items: center;
    background: var(--brand-yellow);
    border-radius: 50%;
    display: inline-flex;
    font-size: 34px;
    height: 76px;
    justify-content: center;
    width: 76px;
}

.payment-result-modal__title {
    color: var(--black);
    font-size: 26px;
    font-weight: 600;
    margin: 24px 0 12px;
}

.payment-result-modal__message {
    color: var(--gray-700);
    font-size: 16px;
    margin: 0 auto 28px;
    max-width: 360px;
}

.payment-result-modal__button {
    background: var(--black);
    border: 1px solid var(--black);
    border-radius: 8px;
    color: var(--white);
    font-weight: 600;
    min-width: 180px;
    padding: 12px 24px;
}

.payment-result-modal__button:hover {
    background: var(--brand-yellow);
    color: var(--black);
}

@media (max-width: 576px) {
    .payment-result-modal .modal-body {
        padding: 48px 24px 28px;
    }
}

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

.catalog-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--brand-gray);
}

.catalog-pagination__summary {
    margin: 0;
    color: var(--gray-700);
    font-size: 13px;
}

.catalog-pagination__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.catalog-pagination__button,
.catalog-pagination__ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
}

.catalog-pagination__button {
    border: 1px solid var(--brand-gray);
    background: var(--white);
    color: var(--gray-900);
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease;
}

.catalog-pagination__button.is-current {
    background: var(--brand-yellow);
    border-color: var(--brand-yellow);
    color: var(--black);
    box-shadow: 0 6px 16px rgba(255, 208, 64, 0.25);
}

.catalog-pagination__button[href]:hover {
    border-color: var(--brand-yellow);
    background: rgba(255, 208, 64, 0.16);
    color: var(--black);
}

.catalog-pagination__button:focus-visible {
    outline: 2px solid var(--black);
    outline-offset: 3px;
}

.catalog-pagination__button.is-disabled {
    color: var(--gray-400);
    background: var(--gray-50);
}

.catalog-pagination__ellipsis {
    min-width: 20px;
    color: var(--gray-500);
}

@media (max-width: 575px) {
    .catalog-pagination {
        flex-direction: column;
        justify-content: center;
    }

    .catalog-pagination__links {
        justify-content: center;
        gap: 4px;
    }
}
