/* =========================
   KAMIEL PAGES CSS — CLEAN FINAL
   ========================= */

/* =========================================================
   BASE PAGE BLOCKS
   ========================================================= */

.hero {
    padding: 0;
}

.hero-card {
    background: linear-gradient(90deg, rgba(255, 247, 241, .92), rgba(234, 216, 203, .55));
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 430px;
    border: 1px solid var(--border);
}

.hero-copy {
    padding: 54px;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 76px);
}

.hero p {
    margin: 14px 0 26px;
    color: var(--muted);
    font-size: 18px;
}

.hero-img {
    height: 430px;
    object-fit: cover;
    width: 100%;
}

.category-card,
.brand-card,
.info-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    padding: 18px;
}

.category-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    margin-bottom: 12px;
}

.banner {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
    overflow: hidden;
}

.banner-copy {
    padding: 36px;
}

.banner img {
    height: 260px;
    width: 100%;
    object-fit: cover;
}

.page-hero,
.catalog-hero,
.brands-hero {
    padding: 42px 0 34px;
    margin: 0;
    background: var(--bg);
}

.page-hero .container,
.catalog-hero .container,
.brands-hero .container {
    width: min(100% - 140px, 1240px);
    margin-inline: auto;
}

.breadcrumbs {
    margin: 0 0 28px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumbs a {
    color: var(--muted);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--text);
}

.page-title {
    font-family: var(--serif);
    font-size: clamp(46px, 4.4vw, 70px);
    line-height: 1;
    font-weight: 400;
    margin: 0 0 16px;
    color: var(--text);
}

.page-hero .muted,
.catalog-hero .muted {
    font-size: 16px;
    color: var(--muted);
    margin: 0;
}

.empty {
    background: var(--bg-light);
    border: 1px solid var(--border);
    padding: 34px;
    text-align: center;
}

.map {
    height: 280px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    color: var(--muted);
}

/* =========================================================
   HOME PAGE
   ========================================================= */

.home-page-width {
    width: min(100% - 140px, 1240px);
    margin-inline: auto;
    overflow: hidden;
}

.home-hero {
    width: 100%;
    padding: 0 0 58px;
    margin: 0;
    background: var(--bg);
}

.home-hero-bg {
    width: 100vw;
    min-height: 670px;
    margin-left: 50%;
    transform: translateX(-50%);
    border: 0;
    border-radius: 0;
    background-size: cover;
    background-position: center right;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.home-hero-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
            90deg,
            rgba(255, 247, 241, .70) 0%,
            rgba(255, 247, 241, .44) 35%,
            rgba(255, 247, 241, .10) 62%,
            rgba(255, 247, 241, 0) 100%
    );
    pointer-events: none;
}

.home-hero-copy {
    position: relative;
    z-index: 1;
    width: min(560px, 48vw);
    margin-left: clamp(90px, 8vw, 150px);
    transform: translateY(8px);
}

.home-hero-copy h1 {
    font-family: var(--serif);
    font-size: clamp(58px, 6vw, 88px);
    line-height: .98;
    font-weight: 400;
    color: var(--text);
    margin: 0 0 24px;
    letter-spacing: .01em;
}

.home-hero-copy p {
    font-size: 20px;
    color: var(--muted);
    margin: 0 0 26px;
}

.home-hero-copy .btn,
.home-hero-copy .btn-primary {
    min-width: 190px;
    border-radius: 7px;
    padding-inline: 28px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin: 0 0 28px;
    padding: 0;
    min-height: 54px;
}

.home-section-head h2 {
    font-family: var(--serif);
    font-size: clamp(38px, 4vw, 56px);
    line-height: 1;
    font-weight: 400;
    margin: 0;
    color: var(--text);
}

.home-section-head > a,
.home-head-actions a {
    display: inline-flex;
    align-items: center;
    height: 28px;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    font-size: 15px;
    line-height: 1;
    white-space: nowrap;
}

.home-section-head > a:hover,
.home-head-actions a:hover {
    opacity: .65;
}

.home-head-actions,
.home-arrows {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    height: 36px;
}

.home-arrow {
    width: 26px;
    height: 34px;
    border: 0;
    background: transparent;
    color: var(--text);
    font-family: var(--serif);
    font-size: 38px;
    font-weight: 400;
    line-height: 1;
    padding: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: none;
}

.home-arrow:hover {
    opacity: .55;
    background: transparent;
}

.home-categories-section {
    background: var(--bg);
    padding: 0 0 66px;
}

.home-category-track {
    display: flex;
    gap: 26px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 0 0 4px;
}

.home-category-track::-webkit-scrollbar {
    display: none;
}

.home-category-card {
    flex: 0 0 224px;
    width: 224px;
    min-width: 224px;
    max-width: 224px;
    background: transparent;
    border: 0;
    padding: 0;
    text-decoration: none;
    color: var(--text);
    display: block;
}

.home-category-card img {
    width: 100%;
    height: 126px;
    object-fit: cover;
    display: block;
    margin: 0;
    background: #dbc0b1;
}

.home-category-card span {
    min-height: 34px;
    background: var(--camel);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: var(--serif);
    font-size: 21px;
    line-height: 1.08;
    padding: 5px 10px;
}

.home-products-section {
    background: var(--bg);
    padding: 0 0 70px;
    overflow: hidden;
}

.home-products-head {
    align-items: flex-end;
}

.home-product-carousel-fixed {
    width: 100%;
    display: flex;
    gap: 26px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 0 0 6px;
    margin: 0;
}

.home-product-carousel-fixed::-webkit-scrollbar {
    display: none;
}

.home-product-carousel-fixed .product-card {
    flex: 0 0 calc((100% - 78px) / 4);
    width: calc((100% - 78px) / 4);
    min-width: calc((100% - 78px) / 4);
    max-width: calc((100% - 78px) / 4);
}

/* clothes collection */

.home-clothes-section {
    background: var(--bg);
    padding: 0 0 74px;
}

.home-clothes-section .home-section-head {
    margin-bottom: 28px;
}

.home-clothes-section .home-collection-hero {
    display: block;
    width: 100%;
    height: 340px;
    margin-bottom: 36px;
    overflow: hidden;
    background: var(--bg-soft);
    text-decoration: none;
}

.home-clothes-section .home-collection-hero img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.home-clothes-products {
    margin-top: 0;
}

.home-clothes-products .product-card {
    flex: 0 0 calc((100% - 78px) / 4);
    width: calc((100% - 78px) / 4);
    min-width: calc((100% - 78px) / 4);
    max-width: calc((100% - 78px) / 4);
}

/* =========================================================
   PRODUCT CARD FIXES
   ========================================================= */

.product-card {
    position: relative;
    overflow: visible;
}

.product-card a,
.product-card .product-link {
    position: relative;
    z-index: 1;
}

.product-card button,
.product-card .wishlist-btn,
.product-card [data-wishlist],
.product-card [data-wishlist-toggle],
.product-card [data-action="wishlist"] {
    pointer-events: auto;
}

.product-card .wishlist-btn,
.product-card [data-wishlist],
.product-card [data-wishlist-toggle],
.product-card [data-action="wishlist"] {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 30;
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    background: rgba(255, 247, 241, .96);
    border: 0;
    color: var(--text);
    display: grid;
    place-items: center;
    opacity: 1;
    visibility: visible;
    transform: none;
    cursor: pointer;
}

.product-card .wishlist-btn:hover,
.product-card [data-wishlist]:hover,
.product-card [data-wishlist-toggle]:hover,
.product-card [data-action="wishlist"]:hover {
    background: var(--camel);
    color: #fff;
}

.product-card::before,
.product-card::after {
    pointer-events: none;
}

.product-card .btn,
.product-card .btn-primary,
.product-card [data-add-cart],
.product-card [data-action="add-cart"] {
    position: relative;
    z-index: 10;
}

/* =========================================================
   CATALOG FINAL
   ========================================================= */

.catalog-section {
    padding: 0 0 92px;
    background: var(--bg);
}

.catalog-layout,
.catalog-layout-final {
    width: min(100% - 140px, 1240px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
}

.catalog-top,
.catalog-top-final {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 34px;
}

.catalog-top-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.catalog-sort,
#sort.input {
    width: 215px;
    height: 46px;
    background: rgba(255, 247, 241, .76);
    border: 1px solid rgba(216, 191, 175, .9);
    color: var(--text);
    padding: 0 42px 0 16px;
    font-size: 15px;
    outline: none;
    box-shadow: none;
    cursor: pointer;
}

.catalog-sort:focus,
#sort.input:focus {
    border-color: var(--camel);
    box-shadow: 0 0 0 3px rgba(184, 150, 130, .12);
}

.catalog-filter-panel,
.filters {
    position: static;
    top: auto;
    max-height: none;
    height: auto;
    overflow: visible;
    background: rgba(255, 247, 241, .64);
    border: 1px solid rgba(216, 191, 175, .78);
    padding: 24px 22px 26px;
    box-shadow: none;
    color: var(--text);
}

.catalog-filter-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    margin-bottom: 22px;
    border-bottom: 1px solid rgba(216, 191, 175, .9);
}

.catalog-filter-head h2 {
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 400;
    line-height: 1;
    margin: 0;
    color: var(--text);
}

.catalog-filter-head a {
    color: var(--muted);
    font-size: 14px;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

.catalog-filter-head a:hover {
    color: var(--text);
}

.catalog-filter-block,
.filters .filter-block {
    padding: 0 0 24px;
    margin: 0 0 24px;
    border-bottom: 1px solid rgba(216, 191, 175, .64);
}

.catalog-filter-block:last-child,
.filters .filter-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.catalog-filter-block h3,
.filters .filter-block h3 {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.1;
    margin: 0 0 16px;
    color: var(--text);
}

.catalog-filter-row {
    position: relative;
    min-height: 34px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 30px;
    align-items: center;
    gap: 10px;
    padding: 5px 8px;
    color: var(--text);
    text-decoration: none;
    border-radius: 7px;
    font-size: 15px;
    line-height: 1.16;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.catalog-filter-row:hover {
    background: rgba(234, 216, 203, .45);
    color: var(--text);
}

.catalog-filter-row.is-active {
    background: var(--camel);
    color: #fff;
    font-weight: 600;
}

.catalog-filter-row span {
    min-width: 0;
}

.catalog-filter-row small,
.catalog-brand-link small,
.catalog-chip-list a small {
    width: 26px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(234, 216, 203, .78);
    color: var(--muted);
    border-radius: 999px;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
}

.catalog-filter-row.is-active small,
.catalog-brand-link.is-active small,
.catalog-chip-list a.is-active small {
    background: rgba(255, 255, 255, .22);
    color: #fff;
}

/* category list + subcategories */

.catalog-category-groups,
.catalog-category-tree,
.cat-tree {
    display: grid;
    gap: 4px;
}

.catalog-category-group {
    display: grid;
    gap: 2px;
}

.catalog-category-root {
    font-family: var(--serif);
    font-size: 17px;
}

.catalog-category-root.has-active-child {
    background: rgba(234, 216, 203, .48);
    color: var(--text);
}

.catalog-subcategory-list {
    display: grid;
    gap: 2px;
    margin: 4px 0 8px;
}

.catalog-subcategory-link {
    padding-left: calc(8px + (var(--category-depth, 1) * 18px));
    font-size: 14px;
    color: var(--muted);
}

.catalog-subcategory-link::before {
    content: "";
    width: 6px;
    height: 1px;
    background: currentColor;
    opacity: .45;
    position: absolute;
    left: calc(8px + (var(--category-depth, 1) * 10px));
}

.catalog-subcategory-link.has-active-child {
    color: var(--text);
}

.catalog-subcategory-link.is-active {
    color: #fff;
}

/* show more / less */

.catalog-limited-list .is-extra {
    display: none;
}

.catalog-limited-list.is-expanded .is-extra {
    display: grid;
}

.catalog-filter-more {
    width: 100%;
    height: 34px;
    margin: 12px auto 0;
    border: 0;
    border-top: 1px solid rgba(216, 191, 175, .58);
    background: transparent;
    color: var(--muted);
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 8px 0 0;
    transition: color .18s ease;
}

.catalog-filter-more:hover {
    color: var(--text);
}

/* brand filter */

.catalog-brand-list {
    display: grid;
    gap: 4px;
}

.catalog-brand-link {
    min-height: 34px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 30px;
    align-items: center;
    gap: 10px;
    padding: 5px 8px;
    color: var(--text);
    text-decoration: none;
    border-radius: 7px;
    font-size: 15px;
    line-height: 1.16;
    transition: background .18s ease, color .18s ease;
}

.catalog-brand-link:hover {
    background: rgba(234, 216, 203, .45);
}

.catalog-brand-link.is-active {
    background: var(--camel);
    color: #fff;
    font-weight: 600;
}

/* price */

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

.catalog-price-row {
    display: grid;
    grid-template-columns: 1fr 16px 1fr;
    align-items: center;
    gap: 8px;
}

.catalog-price-row span {
    width: 12px;
    height: 1px;
    justify-self: center;
    background: rgba(63, 48, 41, .32);
}

.catalog-price-input {
    width: 100%;
    height: 40px;
    border: 1px solid rgba(216, 191, 175, .9);
    background: rgba(255, 250, 247, .86);
    color: var(--text);
    padding: 0 10px;
    outline: none;
    font-size: 14px;
}

.catalog-price-input:focus {
    border-color: var(--camel);
    box-shadow: 0 0 0 3px rgba(184, 150, 130, .12);
}

.catalog-filter-apply {
    height: 40px;
    border: 1px solid var(--camel);
    background: var(--camel);
    color: #fff;
    cursor: pointer;
    border-radius: 7px;
    font-size: 14px;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.catalog-filter-apply:hover {
    background: var(--camel-dark);
    border-color: var(--camel-dark);
    transform: translateY(-1px);
}

/* chips */

.catalog-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.catalog-chip-list-vertical {
    display: grid;
    grid-template-columns: 1fr;
}

.catalog-chip-list a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid rgba(216, 191, 175, .86);
    background: rgba(255, 250, 247, .62);
    color: var(--text);
    text-decoration: none;
    border-radius: 999px;
    font-size: 14px;
    line-height: 1;
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.catalog-chip-list-vertical a {
    justify-content: space-between;
    border-radius: 7px;
}

.catalog-chip-list a:hover {
    border-color: var(--camel);
    transform: translateY(-1px);
}

.catalog-chip-list a.is-active {
    background: var(--camel);
    border-color: var(--camel);
    color: #fff;
}

/* catalog grid */

.catalog-products-area {
    min-width: 0;
}

.catalog-products-area .product-grid,
.catalog-layout-final .product-grid,
.catalog-layout .product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
}

.catalog-layout-final .product-card,
.catalog-layout .product-card {
    background: rgba(255, 247, 241, .72);
    border: 1px solid rgba(216, 191, 175, .82);
    min-width: 0;
    height: auto;
}

.catalog-layout-final .product-media,
.catalog-layout .product-media {
    aspect-ratio: 1 / 1.02;
    padding: 0;
    margin: 0;
    background: #f6ebe4;
    display: block;
    overflow: hidden;
}

.catalog-layout-final .product-media img,
.catalog-layout .product-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    margin: 0;
    padding: 0;
}

.catalog-layout-final .product-media::before,
.catalog-layout .product-media::before,
.catalog-layout-final .product-media::after,
.catalog-layout .product-media::after {
    display: none;
    content: none;
}

.catalog-layout-final .product-info,
.catalog-layout .product-info {
    padding: 14px 14px 16px;
}

.catalog-layout-final .brand,
.catalog-layout .brand {
    font-size: 11px;
    letter-spacing: .12em;
}

.catalog-layout-final .product-title,
.catalog-layout .product-title {
    font-size: 17px;
    line-height: 1.16;
    min-height: 42px;
}

.catalog-layout-final .product-path,
.catalog-layout .product-path {
    font-size: 11px;
    line-height: 1.25;
    min-height: 34px;
}

.catalog-layout-final .card-actions .btn,
.catalog-layout .card-actions .btn {
    height: 44px;
    min-height: 44px;
}

.catalog-empty {
    grid-column: 1 / -1;
}

/* pagination */

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

.catalog-pagination a,
.catalog-pagination span {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(216, 191, 175, .9);
    background: rgba(255, 247, 241, .62);
    color: var(--text);
    text-decoration: none;
    font-family: var(--serif);
    font-size: 18px;
    line-height: 1;
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.catalog-pagination a:hover,
.catalog-pagination a.is-active {
    background: var(--camel);
    border-color: var(--camel);
    color: #fff;
}

.catalog-pagination a:hover {
    transform: translateY(-1px);
}

.catalog-pagination span {
    opacity: .38;
    pointer-events: none;
}

/* =========================================================
   BRANDS PAGE — PRODUCT CARD STYLE
   ========================================================= */

.brands-hero {
    padding-bottom: 26px;
}

.brands-head-clean {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 28px;
}

.brands-head-clean > span {
    color: var(--muted);
    font-size: 14px;
    border-bottom: 1px solid currentColor;
    white-space: nowrap;
}

.brands-letters-clean {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 28px;
    max-width: 760px;
}

.brands-letters-clean a {
    min-width: 31px;
    height: 30px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(216, 191, 175, .85);
    background: rgba(255, 247, 241, .46);
    color: var(--text);
    text-decoration: none;
    font-family: var(--serif);
    font-size: 14px;
    line-height: 1;
    transition: background .16s ease, color .16s ease, border-color .16s ease, opacity .16s ease;
}

.brands-letters-clean a.is-active:hover,
.brands-letters-clean a.is-current {
    background: var(--camel);
    border-color: var(--camel);
    color: #fff;
}

.brands-letters-clean a.is-disabled {
    opacity: .28;
    pointer-events: none;
}

.brands-section {
    padding: 0 0 76px;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.brand-card-clean {
    display: flex;
    flex-direction: column;
    min-height: 455px;
    background: #fdf8f3;
    border: 1px solid rgba(216, 191, 175, .75);
    color: var(--text);
    text-decoration: none;
    padding: 0;
    overflow: hidden;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.brand-card-clean:hover {
    border-color: var(--camel);
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(63, 48, 41, .08);
}

.brand-card-image {
    aspect-ratio: 1 / 1;
    background: #fffaf7;
    overflow: hidden;
    display: grid;
    place-items: center;
}

.brand-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform .22s ease;
}

.brand-card-clean:hover .brand-card-image img {
    transform: scale(1.04);
}

.brand-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 14px 16px 18px;
}

.brand-card-kicker {
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
}

.brand-card-body h3 {
    font-family: var(--serif);
    font-size: 22px;
    line-height: 1.08;
    font-weight: 400;
    margin: 0 0 10px;
    color: var(--text);
}

.brand-description {
    color: var(--muted);
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.42;
}

.brand-card-bottom {
    margin-top: auto;
    display: grid;
    gap: 12px;
}

.brand-card-bottom span {
    color: var(--muted);
    font-size: 14px;
}

.brand-card-bottom b {
    min-height: 42px;
    width: 100%;
    padding: 10px 18px;
    border-radius: 7px;
    background: var(--camel);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 15px;
    transition: background .18s ease;
}

.brand-card-clean:hover .brand-card-bottom b {
    background: var(--camel-dark);
}

/* =========================================================
   DELIVERY PAGE
   ========================================================= */

.delivery-page {
    background: var(--bg);
    padding: 42px 0 88px;
}

.delivery-container {
    width: min(100% - 140px, 1240px);
    margin-inline: auto;
}

.delivery-breadcrumbs {
    margin: 0 0 32px;
    color: var(--muted);
    font-size: 14px;
}

.delivery-breadcrumbs a {
    color: var(--muted);
    text-decoration: none;
}

.delivery-breadcrumbs a:hover {
    color: var(--text);
}

.delivery-head {
    max-width: 760px;
    margin-bottom: 46px;
}

.delivery-head h1 {
    font-family: var(--serif);
    font-size: clamp(52px, 5vw, 76px);
    font-weight: 400;
    line-height: 1;
    margin: 0 0 18px;
    color: var(--text);
}

.delivery-head p {
    max-width: 660px;
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.55;
}

.delivery-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 34px;
}

.delivery-card {
    min-height: 230px;
    background: rgba(255, 247, 241, .72);
    border: 1px solid rgba(216, 191, 175, .85);
    padding: 26px 26px 28px;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.delivery-card:hover {
    transform: translateY(-2px);
    border-color: var(--camel);
    box-shadow: 0 14px 34px rgba(63, 48, 41, .07);
}

.delivery-card-number {
    display: inline-flex;
    margin-bottom: 28px;
    color: var(--camel-dark);
    font-family: var(--serif);
    font-size: 18px;
    border-bottom: 1px solid currentColor;
}

.delivery-card h2 {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 400;
    line-height: 1.1;
    margin: 0 0 14px;
    color: var(--text);
}

.delivery-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.48;
}

.delivery-info {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    align-items: stretch;
}

.delivery-info-main {
    background: rgba(255, 247, 241, .52);
    border: 1px solid rgba(216, 191, 175, .78);
    padding: 34px;
}

.delivery-info-main h2 {
    font-family: var(--serif);
    font-size: 34px;
    font-weight: 400;
    margin: 0 0 24px;
    color: var(--text);
}

.delivery-steps {
    display: grid;
    gap: 18px;
}

.delivery-step {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 18px;
    align-items: start;
}

.delivery-step span {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--camel);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-size: 20px;
}

.delivery-step p {
    margin: 7px 0 0;
    color: var(--text);
    line-height: 1.5;
}

.delivery-note {
    background: var(--camel);
    color: #fff;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
}

.delivery-note h3 {
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 400;
    margin: 0;
}

.delivery-note p {
    margin: 0;
    line-height: 1.55;
    color: rgba(255, 255, 255, .92);
}

.delivery-note .btn {
    width: 100%;
    border-color: #fff;
    background: #fff;
    color: var(--text);
}

.delivery-note .btn:hover {
    background: var(--camel-dark);
    border-color: var(--camel-dark);
    color: #fff;
}

/* =========================================================
   OFFER PAGE
   ========================================================= */

.offer-page {
    background: var(--bg);
    padding: 42px 0 90px;
}

.offer-container {
    width: min(100% - 140px, 1240px);
    margin-inline: auto;
}

.offer-breadcrumbs {
    margin: 0 0 32px;
    color: var(--muted);
    font-size: 14px;
}

.offer-breadcrumbs a {
    color: var(--muted);
    text-decoration: none;
}

.offer-breadcrumbs a:hover {
    color: var(--text);
}

.offer-head {
    margin-bottom: 38px;
    max-width: 860px;
}

.offer-kicker {
    display: inline-flex;
    margin-bottom: 14px;
    color: var(--camel-dark);
    font-size: 13px;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.offer-head h1 {
    font-family: var(--serif);
    font-size: clamp(46px, 5.4vw, 76px);
    font-weight: 400;
    line-height: .98;
    margin: 0 0 18px;
    color: var(--text);
}

.offer-head p {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.55;
}

.offer-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    align-items: start;
}

.offer-side {
    position: sticky;
    top: 92px;
    background: rgba(255, 247, 241, .5);
    border: 1px solid rgba(216, 191, 175, .78);
    padding: 22px;
    display: grid;
    gap: 4px;
}

.offer-side h3 {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 400;
    margin: 0 0 12px;
    color: var(--text);
}

.offer-side a {
    display: none;
}

.offer-side button {
    width: 100%;
    padding: 8px 0;
    border: 0;
    border-bottom: 1px solid rgba(216, 191, 175, .45);
    background: transparent;
    color: var(--muted);
    text-align: left;
    font: inherit;
    font-size: 14px;
    line-height: 1.25;
    cursor: pointer;
    transition: color .18s ease, padding-left .18s ease;
}

.offer-side button:hover {
    color: var(--text);
    padding-left: 6px;
}

.offer-document {
    background: rgba(255, 247, 241, .62);
    border: 1px solid rgba(216, 191, 175, .9);
    padding: 34px;
}

.offer-notice {
    margin-bottom: 34px;
    padding: 20px 22px;
    background: rgba(234, 216, 203, .42);
    border: 1px solid rgba(184, 150, 130, .42);
    color: var(--text);
    line-height: 1.55;
}

.offer-block {
    padding: 0 0 34px;
    margin: 0 0 34px;
    border-bottom: 1px solid rgba(216, 191, 175, .72);
    scroll-margin-top: 96px;
}

.offer-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.offer-block h2 {
    font-family: var(--serif);
    font-size: 34px;
    font-weight: 400;
    line-height: 1.12;
    margin: 0 0 18px;
    color: var(--text);
}

.offer-block h3 {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 400;
    margin: 24px 0 10px;
    color: var(--text);
}

.offer-block p {
    margin: 0 0 14px;
    color: var(--text);
    line-height: 1.62;
}

.offer-block b {
    font-weight: 600;
}

/* =========================================================
   RETURNS / PRIVACY SHARED
   ========================================================= */

.returns-page,
.privacy-page {
    background: var(--bg);
    padding: 42px 0 88px;
}

.returns-container,
.privacy-container {
    width: min(100% - 140px, 1240px);
    margin-inline: auto;
}

.returns-breadcrumbs,
.privacy-breadcrumbs {
    margin: 0 0 34px;
    font-size: 14px;
    color: var(--muted);
}

.returns-breadcrumbs a,
.privacy-breadcrumbs a {
    color: var(--muted);
    text-decoration: none;
}

.returns-head,
.privacy-head {
    max-width: 820px;
    margin-bottom: 42px;
}

.returns-head span,
.privacy-head span {
    display: block;
    margin-bottom: 18px;
    color: var(--camel-dark);
    letter-spacing: .18em;
    font-size: 13px;
    text-transform: uppercase;
}

.returns-head h1,
.privacy-head h1 {
    font-family: var(--serif);
    font-size: clamp(50px, 5.7vw, 78px);
    line-height: .95;
    font-weight: 400;
    margin: 0 0 22px;
    color: var(--text);
}

.returns-head p,
.privacy-head p {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.5;
}

.returns-cards,
.privacy-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 34px;
}

.returns-card,
.privacy-card {
    min-height: 230px;
    background: rgba(255, 247, 241, .72);
    border: 1px solid rgba(216, 191, 175, .9);
    padding: 28px;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.returns-card:hover,
.privacy-card:hover {
    transform: translateY(-2px);
    border-color: var(--camel);
    box-shadow: 0 16px 38px rgba(63, 48, 41, .08);
}

.returns-card-number,
.privacy-card-number {
    display: inline-flex;
    margin-bottom: 34px;
    color: var(--camel-dark);
    font-family: var(--serif);
    font-size: 18px;
}

.returns-card h2,
.privacy-card h2 {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 400;
    line-height: 1.1;
    margin: 0 0 14px;
    color: var(--text);
}

.returns-card p,
.privacy-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.returns-info,
.privacy-info {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    align-items: start;
}

.returns-info-main,
.privacy-info-main {
    background: rgba(255, 247, 241, .72);
    border: 1px solid rgba(216, 191, 175, .9);
    padding: 34px;
}

.returns-info-main h2,
.privacy-info-main h2 {
    font-family: var(--serif);
    font-size: 34px;
    font-weight: 400;
    margin: 0 0 26px;
    color: var(--text);
}

.returns-block,
.privacy-block {
    padding: 22px 0;
    border-top: 1px solid rgba(216, 191, 175, .72);
}

.returns-block:first-of-type,
.privacy-block:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.returns-block h3,
.privacy-block h3 {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 400;
    margin: 0 0 10px;
    color: var(--text);
}

.returns-block p,
.privacy-block p {
    margin: 0;
    max-width: 760px;
    color: var(--muted);
    line-height: 1.55;
}

.returns-note,
.privacy-note {
    background: rgba(234, 216, 203, .62);
    border: 1px solid rgba(216, 191, 175, .9);
    padding: 28px;
    position: sticky;
    top: 92px;
}

.returns-note h3,
.privacy-note h3 {
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 400;
    margin: 0 0 14px;
    color: var(--text);
}

.returns-note p,
.privacy-note p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */

.about-page {
    background: var(--bg);
    padding: 42px 0 88px;
}

.about-container {
    width: min(100% - 140px, 1240px);
    margin-inline: auto;
}

.about-breadcrumbs {
    margin: 0 0 36px;
    font-size: 14px;
    color: var(--muted);
}

.about-title {
    font-family: var(--serif);
    font-size: clamp(44px, 4.2vw, 68px);
    font-weight: 400;
    line-height: 1;
    margin: 0 0 72px;
    color: var(--text);
}

.about-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
    margin-bottom: 92px;
}

.about-row-bottom {
    margin-bottom: 0;
}

.about-image {
    width: 100%;
    background: rgba(255, 247, 241, .35);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 340px;
    display: block;
    object-fit: cover;
}

.about-row-top .about-image img {
    height: 345px;
}

.about-text {
    font-family: var(--serif);
    color: var(--text);
    font-size: 23px;
    line-height: 1.18;
}

.about-text p {
    margin: 0 0 28px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-text b {
    font-weight: 500;
}

/* =========================================================
   CONTACTS ELEGANT PAGE
   ========================================================= */

.contacts-elegant-page {
    background: var(--bg);
    padding: 42px 0 88px;
}

.contacts-elegant-container {
    width: min(100% - 140px, 1240px);
    margin-inline: auto;
}

.contacts-elegant-breadcrumbs {
    margin: 0 0 34px;
    font-size: 14px;
    color: var(--muted);
}

.contacts-elegant-breadcrumbs a {
    color: var(--muted);
    text-decoration: none;
}

.contacts-elegant-breadcrumbs a:hover {
    color: var(--text);
}

.contacts-elegant-hero {
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 70px;
    align-items: end;
    margin-bottom: 42px;
}

.contacts-elegant-kicker {
    display: block;
    margin-bottom: 12px;
    color: var(--camel-dark);
    font-size: 13px;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.contacts-elegant-hero h1 {
    font-family: var(--serif);
    font-size: clamp(42px, 4.4vw, 64px);
    line-height: .95;
    font-weight: 400;
    margin: 0;
    color: var(--text);
}

.contacts-elegant-hero p {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.48;
    font-weight: 500;
}

.contacts-elegant-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

.contacts-elegant-card {
    min-height: 126px;
    padding: 24px 26px;
    background: rgba(255, 247, 241, .72);
    border: 1px solid rgba(216, 191, 175, .9);
    color: var(--text);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color .18s ease, transform .18s ease, background .18s ease;
}

.contacts-elegant-card:hover {
    border-color: var(--camel);
    background: rgba(255, 250, 247, .94);
    transform: translateY(-2px);
}

.contacts-elegant-card span {
    color: var(--muted);
    font-size: 14px;
}

.contacts-elegant-card b {
    margin-top: 18px;
    font-weight: 500;
    line-height: 1.35;
}

.contacts-elegant-main {
    display: grid;
    grid-template-columns: 1fr 330px;
    gap: 24px;
    align-items: stretch;
}

.contacts-elegant-map {
    height: 520px;
    border: 1px solid rgba(216, 191, 175, .95);
    background: rgba(255, 247, 241, .62);
    overflow: hidden;
    position: relative;
}

.contacts-elegant-map iframe {
    width: 100%;
    height: 100%;
    display: block;
    filter: saturate(.72) contrast(.94) brightness(1.03);
}

.contacts-elegant-side {
    padding: 34px 30px;
    background: rgba(234, 216, 203, .42);
    border: 1px solid rgba(216, 191, 175, .95);
    display: flex;
    flex-direction: column;
}

.contacts-elegant-side-label {
    color: var(--camel-dark);
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.contacts-elegant-side h2 {
    font-family: var(--serif);
    font-size: 42px;
    font-weight: 400;
    line-height: 1;
    margin: 0 0 22px;
    color: var(--text);
}

.contacts-elegant-side p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
    font-size: 16px;
}

.contacts-elegant-details {
    display: grid;
    gap: 14px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(184, 150, 130, .34);
}

.contacts-elegant-details div {
    display: grid;
    gap: 5px;
}

.contacts-elegant-details span {
    color: var(--muted);
    font-size: 13px;
}

.contacts-elegant-details b {
    font-weight: 500;
    color: var(--text);
    line-height: 1.35;
}

.contacts-elegant-socials {
    display: grid;
    gap: 10px;
    margin-top: 28px;
}

.contacts-elegant-socials a {
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid rgba(184, 150, 130, .55);
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 247, 241, .28);
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.contacts-elegant-socials a::after {
    content: "→";
    font-family: var(--serif);
    font-size: 20px;
}

.contacts-elegant-socials a:hover {
    background: var(--camel);
    color: #fff;
    transform: translateX(2px);
}

.contacts-elegant-route {
    margin-top: 12px;
    min-height: 46px;
    padding: 12px 18px;
    border: 1px solid var(--camel);
    background: transparent;
    color: var(--text);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.contacts-elegant-route:hover {
    background: var(--camel);
    color: #fff;
    transform: translateY(-1px);
}

/* =========================================================
   CART / CHECKOUT / PRODUCT DETAIL
   ========================================================= */

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 42px;
}

.gallery-main {
    background: #fff;
    border: 1px solid var(--border);
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
}

.gallery-main img {
    max-height: 100%;
    object-fit: contain;
}

.thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.thumbs button {
    width: 70px;
    height: 70px;
    border: 1px solid var(--border);
    background: #fff;
}

.thumbs img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.option-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0 16px;
}

.option {
    border: 1px solid var(--border);
    background: #fff;
    padding: 8px 12px;
}

.option.active {
    background: var(--camel);
    color: #fff;
}

.tabs {
    margin-top: 34px;
    border: 1px solid var(--border);
    background: var(--bg-soft);
}

.tab-buttons {
    display: flex;
    border-bottom: 1px solid var(--border);
}

.tab-buttons button {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 14px;
}

.tab-buttons button.active {
    background: var(--camel);
    color: #fff;
}

.tab-panel {
    padding: 22px;
}

.cart-layout,
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 28px;
}

.cart-item {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    gap: 16px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    padding: 14px;
    margin-bottom: 12px;
}

.cart-item img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    background: #fff;
}

.summary {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    padding: 20px;
    align-self: start;
    position: sticky;
    top: 88px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 10px 0;
}

.summary-row.total {
    font-weight: 700;
    border-top: 1px solid var(--border);
    padding-top: 12px;
}

.checkout-form {
    background: var(--bg-light);
    border: 1px solid var(--border);
    padding: 22px;
}

.form-section {
    border-bottom: 1px solid var(--border);
    padding-bottom: 18px;
    margin-bottom: 18px;
}

/* =========================================================
   LEGAL OLD FALLBACK
   ========================================================= */

.legal {
    background: var(--bg-light);
    border: 1px solid var(--border);
    padding: 30px;
    max-width: 940px;
}

.legal h2 {
    margin-top: 24px;
    margin-bottom: 10px;
}

.mobile-filter-btn {
    display: none;
}

.main:has(.about-page) + .site-footer,
.main:has(.contacts-elegant-page) + .site-footer,
.main:has(.returns-page) + .site-footer,
.main:has(.privacy-page) + .site-footer,
.main:has(.offer-page) + .site-footer,
.main:has(.delivery-page) + .site-footer {
    margin-top: 0;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1180px) {
    .home-page-width,
    .page-hero .container,
    .catalog-hero .container,
    .brands-hero .container,
    .catalog-layout,
    .catalog-layout-final,
    .delivery-container,
    .offer-container,
    .returns-container,
    .privacy-container,
    .contacts-elegant-container,
    .about-container {
        width: min(100% - 64px, 1240px);
    }

    .catalog-layout,
    .catalog-layout-final {
        grid-template-columns: 235px minmax(0, 1fr);
        gap: 24px;
    }

    .catalog-products-area .product-grid,
    .catalog-layout-final .product-grid,
    .catalog-layout .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-product-carousel-fixed .product-card,
    .home-clothes-products .product-card {
        flex-basis: calc((100% - 52px) / 3);
        width: calc((100% - 52px) / 3);
        min-width: calc((100% - 52px) / 3);
        max-width: calc((100% - 52px) / 3);
    }

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

@media (max-width: 1040px) {
    .contacts-elegant-hero,
    .contacts-elegant-main,
    .offer-layout,
    .delivery-info,
    .returns-info,
    .privacy-info {
        grid-template-columns: 1fr;
    }

    .offer-side,
    .returns-note,
    .privacy-note {
        position: static;
    }

    .offer-side {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 14px;
    }

    .offer-side h3 {
        width: 100%;
    }

    .offer-side button {
        width: auto;
        border-bottom: 0;
        background: rgba(234, 216, 203, .38);
        padding: 8px 12px;
    }

    .offer-side button:hover {
        padding-left: 12px;
        background: var(--camel);
        color: #fff;
    }
}

@media (max-width: 980px) {
    .catalog-layout,
    .catalog-layout-final,
    .product-detail,
    .cart-layout,
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .catalog-top,
    .catalog-top-final {
        flex-direction: column;
        align-items: flex-start;
    }

    .catalog-top-actions,
    .catalog-sort,
    #sort.input {
        width: 100%;
    }

    .delivery-cards,
    .returns-cards,
    .privacy-cards {
        grid-template-columns: 1fr;
    }

    .home-hero-bg {
        min-height: 450px;
        background-position: 62% center;
    }

    .home-hero-copy {
        width: min(430px, 82vw);
        margin-left: 34px;
        transform: translateY(0);
    }

    .home-hero-copy h1 {
        font-size: clamp(46px, 10vw, 66px);
    }
}

@media (max-width: 820px) {
    .home-page-width,
    .page-hero .container,
    .catalog-hero .container,
    .brands-hero .container,
    .catalog-layout,
    .catalog-layout-final,
    .delivery-container,
    .offer-container,
    .returns-container,
    .privacy-container,
    .contacts-elegant-container,
    .about-container {
        width: min(100% - 36px, 1240px);
    }

    .catalog-products-area .product-grid,
    .catalog-layout-final .product-grid,
    .catalog-layout .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-product-carousel-fixed .product-card,
    .home-clothes-products .product-card {
        flex-basis: calc((100% - 26px) / 2);
        width: calc((100% - 26px) / 2);
        min-width: calc((100% - 26px) / 2);
        max-width: calc((100% - 26px) / 2);
    }

    .home-category-card {
        flex-basis: 210px;
        width: 210px;
        min-width: 210px;
        max-width: 210px;
    }

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

    .brands-head-clean {
        display: block;
    }

    .brands-head-clean > span {
        display: inline-flex;
        margin-top: 16px;
    }

    .about-row {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 54px;
    }

    .about-row-middle .about-text {
        order: 2;
    }

    .about-row-middle .about-image {
        order: 1;
    }

    .contacts-elegant-cards {
        grid-template-columns: 1fr;
    }

    .contacts-elegant-map {
        height: 420px;
    }
}

@media (max-width: 620px) {
    .home-page-width,
    .page-hero .container,
    .catalog-hero .container,
    .brands-hero .container,
    .catalog-layout,
    .catalog-layout-final,
    .delivery-container,
    .offer-container,
    .returns-container,
    .privacy-container,
    .contacts-elegant-container,
    .about-container {
        width: min(100% - 28px, 1240px);
    }

    .page-title {
        font-size: 42px;
    }

    .home-hero-bg {
        min-height: 420px;
    }

    .home-hero-copy {
        width: 82vw;
        margin-left: 22px;
    }

    .home-hero-copy h1 {
        font-size: 42px;
    }

    .home-hero-copy p {
        font-size: 16px;
    }

    .home-section-head h2 {
        font-size: 34px;
    }

    .home-category-track {
        gap: 18px;
    }

    .home-category-card {
        flex-basis: 74vw;
        width: 74vw;
        min-width: 74vw;
        max-width: 74vw;
    }

    .home-category-card img {
        height: 140px;
    }

    .home-product-carousel-fixed .product-card,
    .home-clothes-products .product-card {
        flex-basis: 100%;
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }

    .catalog-products-area .product-grid,
    .catalog-layout-final .product-grid,
    .catalog-layout .product-grid,
    .brands-grid {
        grid-template-columns: 1fr;
    }

    .delivery-head h1,
    .returns-head h1,
    .privacy-head h1,
    .offer-head h1,
    .contacts-elegant-hero h1 {
        font-size: 42px;
    }

    .delivery-head p,
    .returns-head p,
    .privacy-head p,
    .offer-head p,
    .contacts-elegant-hero p {
        font-size: 16px;
    }

    .delivery-card,
    .delivery-info-main,
    .delivery-note,
    .returns-card,
    .returns-info-main,
    .returns-note,
    .privacy-card,
    .privacy-info-main,
    .privacy-note,
    .offer-document,
    .contacts-elegant-card,
    .contacts-elegant-side {
        padding: 22px;
    }

    .contacts-elegant-map {
        height: 340px;
    }

    .about-title {
        font-size: 38px;
        margin-bottom: 34px;
    }

    .about-text {
        font-size: 16px;
        line-height: 1.3;
    }

    .about-image img,
    .about-row-top .about-image img {
        height: 220px;
    }
}

/* =========================
   WISHLIST PAGE
   ========================= */

.wishlist-hero {
    padding-bottom: 30px !important;
}

.wishlist-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
}

.wishlist-head > span {
    color: var(--muted);
    font-size: 14px;
    border-bottom: 1px solid currentColor;
    white-space: nowrap;
}

.wishlist-section {
    background: var(--bg);
    padding: 0 0 88px;
}

.wishlist-section .container {
    width: min(100% - 140px, 1240px);
    margin-inline: auto;
}

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

.wishlist-empty {
    min-height: 360px;
    padding: 64px 34px;
    background: rgba(255, 247, 241, .68);
    border: 1px solid rgba(216, 191, 175, .86);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.wishlist-empty span {
    display: block;
    margin-bottom: 16px;
    color: var(--camel-dark);
    letter-spacing: .22em;
    font-size: 13px;
}

.wishlist-empty h2 {
    font-family: var(--serif);
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 400;
    line-height: 1;
    margin: 0 0 18px;
    color: var(--text);
}

.wishlist-empty p {
    max-width: 460px;
    margin: 0 0 26px;
    color: var(--muted);
    line-height: 1.5;
}

@media (max-width: 1100px) {
    .wishlist-section .container {
        width: min(100% - 64px, 1240px);
    }

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

@media (max-width: 820px) {
    .wishlist-section .container {
        width: min(100% - 36px, 1240px);
    }

    .wishlist-head {
        display: block;
    }

    .wishlist-head > span {
        display: inline-flex;
        margin-top: 16px;
    }

    .wishlist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .wishlist-section .container {
        width: min(100% - 28px, 1240px);
    }

    .wishlist-grid {
        grid-template-columns: 1fr;
    }

    .wishlist-empty {
        padding: 46px 22px;
    }
}
/* =========================================================
   FINAL ALIGN: BRANDS / NEW / DISCOUNTS / PRODUCT CARDS
   ========================================================= */

/* ---------- Global container line ---------- */

.page-hero .container,
.brands-hero .container,
.brands-section .container,
.catalog-hero .container,
.catalog-layout-final,
.catalog-layout,
.delivery-container,
.returns-container,
.privacy-container,
.contacts-elegant-container,
.about-container,
.offer-container {
    width: min(100% - 140px, 1240px) !important;
    margin-inline: auto !important;
}

/* ---------- Brands align ---------- */

.brands-hero,
.brands-section {
    background: var(--bg) !important;
}

.brands-hero {
    padding: 42px 0 26px !important;
}

.brands-section {
    padding: 0 0 86px !important;
}

.brands-head-clean {
    width: 100% !important;
}

.brands-letters-clean {
    max-width: 760px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.brands-grid {
    width: 100% !important;
    margin: 0 !important;

    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px !important;

    justify-content: start !important;
    align-items: start !important;
}

.brand-card-clean {
    width: 100% !important;
    min-width: 0 !important;
}

/* ---------- Product cards photo top gap fix everywhere ---------- */

.product-card {
    overflow: hidden !important;
}

.product-card .product-media,
.product-media,
.product-card picture,
.product-card figure {
    padding: 0 !important;
    margin: 0 !important;
}

.product-card .product-media {
    display: block !important;
    overflow: hidden !important;
    background: #f6ebe4 !important;
}

.product-card .product-media img,
.product-media img {
    width: 100% !important;
    height: 100% !important;

    display: block !important;

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

    object-fit: cover !important;
    object-position: center !important;
}

.product-card .product-media::before,
.product-card .product-media::after,
.product-media::before,
.product-media::after {
    display: none !important;
    content: none !important;
}

/* ---------- Catalog / New / Discounts shared layout ---------- */

.catalog-section {
    background: var(--bg) !important;
    padding: 0 0 92px !important;
}

.catalog-layout-final,
.catalog-layout {
    display: grid !important;
    grid-template-columns: 245px minmax(0, 1fr) !important;
    gap: 34px !important;
    align-items: start !important;
}

.catalog-products-area,
.catalog-layout > div {
    min-width: 0 !important;
}

.catalog-products-area .product-grid,
.catalog-layout-final .product-grid,
.catalog-layout .product-grid,
.product-grid {
    align-items: start !important;
}

/* только внутри каталога карточки ровной сеткой */
.catalog-layout-final .product-grid,
.catalog-layout .product-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
}

.catalog-layout-final .product-card,
.catalog-layout .product-card {
    background: rgba(255, 247, 241, .72) !important;
    border: 1px solid rgba(216, 191, 175, .82) !important;
}

.catalog-layout-final .product-media,
.catalog-layout .product-media {
    aspect-ratio: 1 / 1.02 !important;
}

/* ---------- New / Discounts title becomes catalog title ---------- */

.catalog-hero,
.page-hero {
    background: var(--bg) !important;
    padding: 42px 0 34px !important;
    margin: 0 !important;
}

.catalog-top-final,
.catalog-top {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 24px !important;
    margin-bottom: 34px !important;
}

.page-title {
    font-family: var(--serif) !important;
    font-size: clamp(46px, 4.4vw, 70px) !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    margin: 0 0 16px !important;
    color: var(--text) !important;
}

/* ---------- Filter clean ---------- */

.catalog-filter-panel,
.filters {
    position: static !important;
    top: auto !important;

    height: auto !important;
    max-height: none !important;
    overflow: visible !important;

    background: rgba(255, 247, 241, .64) !important;
    border: 1px solid rgba(216, 191, 175, .78) !important;
    box-shadow: none !important;

    padding: 24px 22px 26px !important;
}

.catalog-filter-head {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    gap: 16px !important;

    padding-bottom: 18px !important;
    margin-bottom: 22px !important;

    border-bottom: 1px solid rgba(216, 191, 175, .9) !important;
}

.catalog-filter-head h2 {
    font-family: var(--serif) !important;
    font-size: 32px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    margin: 0 !important;
    color: var(--text) !important;
}

.catalog-filter-head a {
    color: var(--muted) !important;
    font-size: 14px !important;
    text-decoration: none !important;
    border-bottom: 1px solid currentColor !important;
}

.catalog-filter-head a:hover {
    color: var(--text) !important;
}

.catalog-filter-block,
.filters .filter-block {
    padding: 0 0 24px !important;
    margin: 0 0 24px !important;
    border-bottom: 1px solid rgba(216, 191, 175, .64) !important;
}

.catalog-filter-block:last-child,
.filters .filter-block:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: 0 !important;
}

.catalog-filter-block h3,
.filters .filter-block h3 {
    font-family: var(--serif) !important;
    font-size: 22px !important;
    font-weight: 400 !important;
    line-height: 1.1 !important;
    margin: 0 0 16px !important;
    color: var(--text) !important;
}

/* ---------- Filter rows ---------- */

.catalog-filter-row,
.catalog-category-link,
.catalog-brand-link,
.catalog-category-child,
.catalog-subcategory-link {
    min-height: 34px !important;

    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 30px !important;
    align-items: center !important;
    gap: 10px !important;

    padding: 5px 8px !important;

    color: var(--text) !important;
    text-decoration: none !important;

    border-radius: 7px !important;

    font-size: 15px !important;
    line-height: 1.16 !important;

    transition: background .18s ease, color .18s ease, transform .18s ease !important;
}

.catalog-filter-row:hover,
.catalog-category-link:hover,
.catalog-brand-link:hover,
.catalog-category-child:hover,
.catalog-subcategory-link:hover {
    background: rgba(234, 216, 203, .45) !important;
    color: var(--text) !important;
}

.catalog-filter-row.is-active,
.catalog-category-link.is-active,
.catalog-brand-link.is-active,
.catalog-category-child.is-active,
.catalog-subcategory-link.is-active {
    background: var(--camel) !important;
    color: #fff !important;
    font-weight: 600 !important;
}

.catalog-filter-row small,
.catalog-category-link small,
.catalog-brand-link small,
.catalog-category-child small,
.catalog-subcategory-link small,
.catalog-chip-list a small {
    width: 26px !important;
    height: 24px !important;

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

    background: rgba(234, 216, 203, .78) !important;
    color: var(--muted) !important;

    border-radius: 999px !important;

    font-family: var(--sans) !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
}

.catalog-filter-row.is-active small,
.catalog-category-link.is-active small,
.catalog-brand-link.is-active small,
.catalog-category-child.is-active small,
.catalog-subcategory-link.is-active small {
    background: rgba(255, 255, 255, .22) !important;
    color: #fff !important;
}

/* ---------- Category sublevels ---------- */

.catalog-category-groups,
.catalog-category-tree,
.catalog-brand-list {
    display: grid !important;
    gap: 4px !important;
}

.catalog-subcategory-list {
    display: grid !important;
    gap: 2px !important;
    margin: 4px 0 8px !important;
}

.catalog-subcategory-link {
    padding-left: calc(8px + (var(--category-depth, 1) * 18px)) !important;
    font-size: 14px !important;
    color: var(--muted) !important;
}

.catalog-category-root.has-active-child,
.catalog-subcategory-link.has-active-child {
    background: rgba(234, 216, 203, .48) !important;
    color: var(--text) !important;
}

/* ---------- Limited filters show more ---------- */

.catalog-limited-list .is-extra {
    display: none !important;
}

.catalog-limited-list.is-expanded .is-extra {
    display: grid !important;
}

.catalog-filter-more {
    width: 100% !important;
    height: 34px !important;

    margin: 12px auto 0 !important;

    border: 0 !important;
    border-top: 1px solid rgba(216, 191, 175, .58) !important;

    background: transparent !important;
    color: var(--muted) !important;

    font-size: 14px !important;
    font-family: inherit !important;

    cursor: pointer !important;

    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;

    padding: 8px 0 0 !important;
}

.catalog-filter-more:hover {
    color: var(--text) !important;
}

/* ---------- Price filter ---------- */

.catalog-price-filter {
    display: grid !important;
    gap: 12px !important;
}

.catalog-price-row {
    display: grid !important;
    grid-template-columns: 1fr 16px 1fr !important;
    align-items: center !important;
    gap: 8px !important;
}

.catalog-price-row span {
    width: 12px !important;
    height: 1px !important;
    justify-self: center !important;
    background: rgba(63, 48, 41, .32) !important;
}

.catalog-price-input {
    width: 100% !important;
    height: 40px !important;

    border: 1px solid rgba(216, 191, 175, .9) !important;
    background: rgba(255, 250, 247, .86) !important;

    color: var(--text) !important;

    padding: 0 10px !important;
    outline: none !important;

    font-size: 14px !important;
}

.catalog-price-input:focus {
    border-color: var(--camel) !important;
    box-shadow: 0 0 0 3px rgba(184, 150, 130, .12) !important;
}

.catalog-filter-apply {
    height: 40px !important;

    border: 1px solid var(--camel) !important;
    background: var(--camel) !important;
    color: #fff !important;

    cursor: pointer !important;
    border-radius: 7px !important;

    font-size: 14px !important;
}

.catalog-filter-apply:hover {
    background: var(--camel-dark) !important;
    border-color: var(--camel-dark) !important;
}

/* ---------- Chips ---------- */

.catalog-chip-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.catalog-chip-list-vertical {
    display: grid !important;
    grid-template-columns: 1fr !important;
}

.catalog-chip-list a {
    min-height: 34px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;

    padding: 7px 12px !important;

    border: 1px solid rgba(216, 191, 175, .86) !important;
    background: rgba(255, 250, 247, .62) !important;

    color: var(--text) !important;
    text-decoration: none !important;

    border-radius: 999px !important;

    font-size: 14px !important;
    line-height: 1 !important;
}

.catalog-chip-list-vertical a {
    justify-content: space-between !important;
    border-radius: 7px !important;
}

.catalog-chip-list a:hover {
    border-color: var(--camel) !important;
}

.catalog-chip-list a.is-active {
    background: var(--camel) !important;
    border-color: var(--camel) !important;
    color: #fff !important;
}

/* ---------- Sort ---------- */

.catalog-sort,
#sort.input {
    width: 215px !important;
    height: 46px !important;

    background: rgba(255, 247, 241, .76) !important;
    border: 1px solid rgba(216, 191, 175, .9) !important;

    color: var(--text) !important;

    padding: 0 42px 0 16px !important;

    font-size: 15px !important;
    outline: none !important;
    box-shadow: none !important;
}

.catalog-sort:focus,
#sort.input:focus {
    border-color: var(--camel) !important;
    box-shadow: 0 0 0 3px rgba(184, 150, 130, .12) !important;
}

/* ---------- Pagination ---------- */

.catalog-pagination {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;

    margin: 44px 0 0 !important;
}

.catalog-pagination a,
.catalog-pagination span {
    width: 40px !important;
    height: 40px !important;

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

    border: 1px solid rgba(216, 191, 175, .9) !important;
    background: rgba(255, 247, 241, .62) !important;

    color: var(--text) !important;
    text-decoration: none !important;

    font-family: var(--serif) !important;
    font-size: 18px !important;
    line-height: 1 !important;
}

.catalog-pagination a:hover,
.catalog-pagination a.is-active {
    background: var(--camel) !important;
    border-color: var(--camel) !important;
    color: #fff !important;
}

.catalog-pagination span {
    opacity: .38 !important;
    pointer-events: none !important;
}

/* ---------- Wishlist drawer cards photo fix ---------- */

.wishlist-drawer .product-card .product-media,
.wishlist-drawer .product-media {
    padding: 0 !important;
    margin: 0 !important;
    aspect-ratio: 1 / 1.02 !important;
    overflow: hidden !important;
}

.wishlist-drawer .product-card .product-media img,
.wishlist-drawer .product-media img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
    .page-hero .container,
    .brands-hero .container,
    .brands-section .container,
    .catalog-hero .container,
    .catalog-layout-final,
    .catalog-layout,
    .delivery-container,
    .returns-container,
    .privacy-container,
    .contacts-elegant-container,
    .about-container,
    .offer-container {
        width: min(100% - 64px, 1240px) !important;
    }

    .catalog-layout-final,
    .catalog-layout {
        grid-template-columns: 235px minmax(0, 1fr) !important;
        gap: 24px !important;
    }

    .catalog-layout-final .product-grid,
    .catalog-layout .product-grid,
    .brands-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 900px) {
    .page-hero .container,
    .brands-hero .container,
    .brands-section .container,
    .catalog-hero .container,
    .catalog-layout-final,
    .catalog-layout,
    .delivery-container,
    .returns-container,
    .privacy-container,
    .contacts-elegant-container,
    .about-container,
    .offer-container {
        width: min(100% - 36px, 1240px) !important;
    }

    .catalog-layout-final,
    .catalog-layout {
        grid-template-columns: 1fr !important;
    }

    .catalog-layout-final .product-grid,
    .catalog-layout .product-grid,
    .brands-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .catalog-top-final,
    .catalog-top {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .catalog-top-actions,
    .catalog-sort,
    #sort.input {
        width: 100% !important;
    }
}

@media (max-width: 560px) {
    .page-hero .container,
    .brands-hero .container,
    .brands-section .container,
    .catalog-hero .container,
    .catalog-layout-final,
    .catalog-layout,
    .delivery-container,
    .returns-container,
    .privacy-container,
    .contacts-elegant-container,
    .about-container,
    .offer-container {
        width: min(100% - 28px, 1240px) !important;
    }

    .catalog-layout-final .product-grid,
    .catalog-layout .product-grid,
    .brands-grid {
        grid-template-columns: 1fr !important;
    }

    .page-title {
        font-size: 42px !important;
    }
}

/* =========================================================
   PRODUCT PAGE — FINAL KAMIEL
   gallery / options / tabs / related line
   ========================================================= */

.product-page {
    background: var(--bg);
    padding: 38px 0 92px;
}

.product-container {
    width: min(100% - 140px, 1240px);
    margin-inline: auto;
}

.product-breadcrumbs {
    margin: 0 0 30px !important;
}

/* ---------- Main layout ---------- */

.product-main-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 540px;
    gap: 44px;
    align-items: start;
}

/* ---------- Gallery ---------- */

.product-gallery {
    min-width: 0;
}

.product-main-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #dec0af;
    border: 1px solid rgba(216, 191, 175, .9);
    overflow: hidden;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.product-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.product-thumbs button {
    width: 70px;
    height: 70px;
    padding: 0;
    border: 1px solid rgba(216, 191, 175, .95);
    background: #fffaf7;
    cursor: pointer;
    overflow: hidden;
}

.product-thumbs button.active {
    border-color: var(--camel);
    box-shadow: 0 0 0 4px rgba(184, 150, 130, .18);
}

.product-thumbs img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* ---------- Summary ---------- */

.product-summary {
    padding-top: 2px;
}

.product-brand {
    margin-bottom: 10px;
    color: var(--camel-dark);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: 12px;
    font-weight: 600;
}

.product-summary h1 {
    font-family: var(--serif);
    font-size: clamp(44px, 4.6vw, 68px);
    font-weight: 400;
    line-height: .98;
    margin: 0 0 18px;
    color: var(--text);
}

.product-path {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    color: var(--text);
}

.product-rating span {
    color: var(--text);
}

.product-rating b {
    font-weight: 500;
}

.product-rating small {
    color: var(--muted);
    font-size: 14px;
}

.product-price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 20px;
}

.product-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
}

.product-old-price {
    color: var(--muted);
    text-decoration: line-through;
    font-size: 16px;
}

.product-discount {
    min-height: 26px;
    padding: 4px 8px;
    background: var(--camel);
    color: #fff;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
}

/* ---------- Options ---------- */

.product-options {
    margin: 18px 0;
}

.product-option-label {
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 16px;
}

.product-option-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-option {
    min-width: 44px;
    height: 44px;
    padding: 0 14px;

    border: 1px solid rgba(216, 191, 175, .95);
    background: rgba(255, 250, 247, .72);

    color: var(--text);
    cursor: pointer;

    font-size: 16px;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.product-option:hover {
    border-color: var(--camel);
}

.product-option.active {
    background: var(--camel);
    border-color: var(--camel);
    color: #fff;
}

/* ---------- Qty / buttons ---------- */

.product-qty {
    display: inline-grid;
    grid-template-columns: 42px 48px 42px;
    height: 42px;
    margin: 0 0 16px;

    border: 1px solid rgba(216, 191, 175, .95);
    background: rgba(255, 250, 247, .72);
}

.product-qty button {
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    color: var(--text);
}

.product-qty span {
    display: grid;
    place-items: center;
    border-left: 1px solid rgba(216, 191, 175, .95);
    border-right: 1px solid rgba(216, 191, 175, .95);
    font-weight: 500;
}

.product-actions-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.product-actions-main .btn {
    height: 48px;
    min-width: 160px;
    border-radius: 7px;
}

.product-buy-now {
    background: transparent;
    border: 1px solid var(--camel);
    color: var(--text);
}

.product-buy-now:hover {
    background: var(--camel);
    color: #fff;
}

.product-wish {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(216, 191, 175, .95);
    background: rgba(255, 250, 247, .72);
    color: var(--text);
    border-radius: 7px;
    font-size: 22px;
    cursor: pointer;
}

.product-wish.active,
.product-wish:hover {
    background: var(--camel);
    border-color: var(--camel);
    color: #fff;
}

/* ---------- Service box ---------- */

.product-service-box {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;

    border: 1px solid rgba(216, 191, 175, .95);
    background: rgba(255, 247, 241, .68);
}

.product-service-item {
    padding: 16px 18px;
    border-right: 1px solid rgba(216, 191, 175, .7);
    border-bottom: 1px solid rgba(216, 191, 175, .7);
}

.product-service-item:nth-child(2n) {
    border-right: 0;
}

.product-service-item span {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 13px;
}

.product-service-item b {
    color: var(--text);
    font-weight: 500;
    line-height: 1.25;
}

.product-service-note {
    grid-column: 1 / -1;
    padding: 16px 18px;
    color: var(--muted);
    line-height: 1.45;
    font-size: 14px;
}

/* ---------- Tabs ---------- */

.product-tabs-section {
    margin-top: 34px;
}

.product-tabs {
    border: 1px solid rgba(216, 191, 175, .95);
    background: rgba(255, 247, 241, .62);
}

.product-tab-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid rgba(216, 191, 175, .95);
}

.product-tab-buttons button {
    min-height: 54px;

    border: 0;
    border-right: 1px solid rgba(216, 191, 175, .95);
    background: transparent;

    color: var(--text);
    cursor: pointer;

    font-size: 15px;
}

.product-tab-buttons button:last-child {
    border-right: 0;
}

.product-tab-buttons button.active {
    background: var(--camel);
    color: #fff;
}

.product-tab-panels {
    padding: 28px 30px;
}

.product-tab-panel {
    display: none;
}

.product-tab-panel.active {
    display: block;
}

.product-tab-panel p {
    margin: 0;
    max-width: 900px;
    color: var(--text);
    line-height: 1.6;
}

.product-specs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.product-specs div {
    padding: 16px;
    border: 1px solid rgba(216, 191, 175, .72);
    background: rgba(255, 250, 247, .58);
}

.product-specs span {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 13px;
}

.product-specs b {
    color: var(--text);
    font-weight: 500;
    line-height: 1.35;
}

/* ---------- Related ---------- */

.product-related-section {
    margin-top: 76px;
}

.product-related-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.product-related-head h2 {
    font-family: var(--serif);
    font-size: clamp(42px, 4vw, 62px);
    line-height: 1;
    font-weight: 400;
    margin: 0;
    color: var(--text);
}

.product-related-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.product-related-arrow {
    width: 30px;
    height: 38px;
    border: 0;
    background: transparent;
    color: var(--text);
    font-family: var(--serif);
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
}

.product-related-arrow:hover {
    opacity: .6;
}

.product-related-line {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-bottom: 6px;
}

.product-related-line::-webkit-scrollbar {
    display: none;
}

.product-related-line .product-card {
    flex: 0 0 calc((100% - 72px) / 4);
    width: calc((100% - 72px) / 4);
    min-width: calc((100% - 72px) / 4);
    max-width: calc((100% - 72px) / 4);
}

/* fix related card image top gap */
.product-related-line .product-media,
.product-related-line .product-card .product-media {
    padding: 0 !important;
    margin: 0 !important;
    aspect-ratio: 1 / 1.02 !important;
    overflow: hidden !important;
}

.product-related-line .product-media img,
.product-related-line .product-card .product-media img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
    .product-container {
        width: min(100% - 64px, 1240px);
    }

    .product-main-layout {
        grid-template-columns: 1fr;
    }

    .product-summary {
        padding-top: 0;
    }

    .product-related-line .product-card {
        flex-basis: calc((100% - 48px) / 3);
        width: calc((100% - 48px) / 3);
        min-width: calc((100% - 48px) / 3);
        max-width: calc((100% - 48px) / 3);
    }
}

@media (max-width: 820px) {
    .product-container {
        width: min(100% - 36px, 1240px);
    }

    .product-tab-buttons {
        grid-template-columns: 1fr 1fr;
    }

    .product-tab-buttons button:nth-child(2n) {
        border-right: 0;
    }

    .product-tab-buttons button {
        border-bottom: 1px solid rgba(216, 191, 175, .75);
    }

    .product-specs {
        grid-template-columns: 1fr 1fr;
    }

    .product-service-box {
        grid-template-columns: 1fr;
    }

    .product-service-item {
        border-right: 0;
    }

    .product-related-line .product-card {
        flex-basis: calc((100% - 24px) / 2);
        width: calc((100% - 24px) / 2);
        min-width: calc((100% - 24px) / 2);
        max-width: calc((100% - 24px) / 2);
    }
}

@media (max-width: 560px) {
    .product-page {
        padding: 26px 0 70px;
    }

    .product-container {
        width: min(100% - 28px, 1240px);
    }

    .product-summary h1 {
        font-size: 42px;
    }

    .product-actions-main .btn {
        width: 100%;
    }

    .product-wish {
        width: 100%;
    }

    .product-tab-buttons {
        grid-template-columns: 1fr;
    }

    .product-tab-buttons button {
        border-right: 0;
    }

    .product-tab-panels {
        padding: 22px;
    }

    .product-specs {
        grid-template-columns: 1fr;
    }

    .product-related-line .product-card {
        flex-basis: 100%;
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }
}

/* PRODUCT PAGE CLEAN PATCH */

.product-summary .product-path,
.product-service-box {
    display: none !important;
}

.product-characteristics-list {
    display: grid;
    gap: 10px;
}

.product-characteristics-list p {
    margin: 0;
    color: var(--text);
    line-height: 1.55;
}

.product-characteristics-list b {
    font-weight: 700;
}

.product-tab-panel {
    display: none !important;
}

.product-tab-panel.active {
    display: block !important;
}

.product-option-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.product-option {
    min-width: 44px !important;
    height: 44px !important;
    padding: 0 14px !important;
    border: 1px solid rgba(216, 191, 175, .95) !important;
    background: rgba(255, 250, 247, .72) !important;
    color: var(--text) !important;
    cursor: pointer !important;
    font-size: 16px !important;
}

.product-option.active {
    background: var(--camel) !important;
    border-color: var(--camel) !important;
    color: #fff !important;
}

.product-related-line {
    display: flex !important;
    gap: 24px !important;
    overflow-x: auto !important;
    scroll-behavior: smooth !important;
    scrollbar-width: none !important;
}

.product-related-line::-webkit-scrollbar {
    display: none !important;
}

.product-related-line .product-card {
    flex: 0 0 calc((100% - 72px) / 4) !important;
    width: calc((100% - 72px) / 4) !important;
    min-width: calc((100% - 72px) / 4) !important;
    max-width: calc((100% - 72px) / 4) !important;
}

@media (max-width: 1100px) {
    .product-related-line .product-card {
        flex-basis: calc((100% - 48px) / 3) !important;
        width: calc((100% - 48px) / 3) !important;
        min-width: calc((100% - 48px) / 3) !important;
        max-width: calc((100% - 48px) / 3) !important;
    }
}

@media (max-width: 820px) {
    .product-related-line .product-card {
        flex-basis: calc((100% - 24px) / 2) !important;
        width: calc((100% - 24px) / 2) !important;
        min-width: calc((100% - 24px) / 2) !important;
        max-width: calc((100% - 24px) / 2) !important;
    }
}

@media (max-width: 560px) {
    .product-related-line .product-card {
        flex-basis: 100% !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }
}

/* CATALOG SORT — small elegant fix */

.catalog-top-final,
.catalog-top {
    align-items: flex-start !important;
}

.catalog-top-actions {
    padding-top: 18px !important;
}

.catalog-sort,
#sort.input {
    width: 220px !important;
    height: 48px !important;

    padding: 0 42px 0 18px !important;

    background: rgba(255, 247, 241, .72) !important;
    border: 1px solid rgba(184, 150, 130, .45) !important;
    border-radius: 7px !important;

    color: var(--text) !important;
    font-size: 15px !important;
    line-height: 48px !important;

    outline: none !important;
    box-shadow: none !important;
    cursor: pointer !important;

    transform: translateY(6px);
}

.catalog-sort:hover,
#sort.input:hover {
    border-color: var(--camel) !important;
    background: rgba(255, 250, 247, .88) !important;
}

.catalog-sort:focus,
#sort.input:focus {
    border-color: var(--camel) !important;
    box-shadow: 0 0 0 3px rgba(184, 150, 130, .12) !important;
}

@media (max-width: 900px) {
    .catalog-top-actions {
        padding-top: 0 !important;
    }

    .catalog-sort,
    #sort.input {
        width: 100% !important;
        transform: none !important;
    }
}

/* SORT SELECT — move native arrow left only */
/* SORT SELECT — final position */

.catalog-top-actions,
.catalog-sort-wrap {
    position: relative;
}

.catalog-sort,
#sort.input {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;

    background-image: none !important;
    padding-right: 6px !important;
}

.catalog-top-actions::after {
    content: "";
    position: absolute;

    right: 24px;
    top: 39px;

    width: 13px;
    height: 13px;

    border-right: 2px solid var(--text);
    border-bottom: 2px solid var(--text);

    transform: rotate(45deg);
    pointer-events: none;
    opacity: .88;
}

/* =========================================================
   CHECKOUT PAGE — KAMIEL CLEAN
   ========================================================= */

.checkout-page {
    padding: 42px 0 70px;
}

.checkout-container {
    width: min(1120px, calc(100% - 80px));
    margin: 0 auto;
}

.checkout-title {
    margin: 28px 0 48px;
}

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

.checkout-form,
.checkout-summary {
    background: rgba(255, 247, 241, .72);
    border: 1px solid rgba(216, 191, 175, .86);
}

.checkout-form {
    padding: 24px;
}

.checkout-block {
    padding-bottom: 28px;
    margin-bottom: 26px;
    border-bottom: 1px solid rgba(216, 191, 175, .82);
}

.checkout-block:last-of-type {
    margin-bottom: 0;
}

.checkout-block h2 {
    margin: 0 0 18px;

    font-family: var(--serif);
    font-size: 24px;
    line-height: 1;
    font-weight: 400;

    color: var(--text);
}

.checkout-block h2 span {
    font-family: inherit;
}

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

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

.checkout-form label > span,
.checkout-packaging > span {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.2;
}

.checkout-form input[type="text"],
.checkout-form input[type="tel"],
.checkout-form input[type="email"],
.checkout-form textarea,
.checkout-form select,
.checkout-summary select {
    width: 100%;
    min-height: 48px;

    border: 1px solid rgba(216, 191, 175, .9);
    background: rgba(255, 255, 255, .78);

    padding: 0 14px;

    color: var(--text);
    font: inherit;

    outline: none;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.checkout-form textarea {
    min-height: 104px;
    padding: 12px 14px;
    resize: vertical;
}

.checkout-form input:focus,
.checkout-form textarea:focus,
.checkout-form select:focus,
.checkout-summary select:focus {
    border-color: var(--camel);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(184, 150, 130, .12);
}

.checkout-full {
    margin-top: 16px;
}

.checkout-radio-row,
.checkout-delivery-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 18px;
}

.checkout-radio-row label,
.checkout-delivery-tabs label,
.checkout-agreements label {
    display: inline-flex;
    grid-template-columns: none;
    align-items: center;
    gap: 8px;

    color: var(--text);
    cursor: pointer;
}

.checkout-radio-row input,
.checkout-delivery-tabs input,
.checkout-agreements input {
    width: 15px;
    height: 15px;
    accent-color: var(--camel);
}

.delivery-panel {
    display: none;
}

.delivery-panel.is-active {
    display: block;
}

.checkout-form small {
    display: block;
    margin-top: 2px;

    color: var(--muted);
    font-size: 12px;
    line-height: 1.3;
}

.checkout-note {
    margin: 16px 0 0;
    color: var(--muted);
    line-height: 1.45;
}

.pickup-box {
    padding: 18px 20px;

    background: rgba(234, 216, 203, .34);
    border: 1px solid rgba(216, 191, 175, .84);
}

.pickup-box span {
    display: block;
    margin-bottom: 7px;

    color: var(--muted);
    font-size: 13px;
}

.pickup-box strong {
    display: block;
    margin-bottom: 8px;

    color: var(--text);
    font-size: 17px;
}

.pickup-box p {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
}

.payment-box {
    padding: 16px 18px;

    background: rgba(234, 216, 203, .28);
    border: 1px solid rgba(216, 191, 175, .72);
}

.payment-box strong {
    display: block;
    margin-bottom: 6px;
    color: var(--text);
}

.payment-box p {
    margin: 0;
    color: var(--muted);
}

.checkout-agreements {
    display: grid;
    gap: 9px;
    margin: 0 0 24px;
}

.checkout-submit {
    width: 100%;
    min-height: 48px;
}

/* summary */

.checkout-summary {
    position: sticky;
    top: 92px;

    padding: 22px;
}

.checkout-summary h2 {
    margin: 0 0 18px;

    font-family: var(--serif);
    font-size: 24px;
    font-weight: 400;
    color: var(--text);
}

.checkout-summary-list {
    display: grid;
    gap: 13px;
    margin-bottom: 18px;
}

.checkout-summary-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start;
}

.checkout-summary-item strong {
    display: block;
    margin-bottom: 5px;

    color: var(--text);
    line-height: 1.25;
}

.checkout-summary-item span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.3;
}

.checkout-summary-item b {
    color: var(--text);
    white-space: nowrap;
}

.checkout-packaging {
    display: grid;
    gap: 8px;

    padding-top: 16px;
    margin-top: 4px;

    border-top: 1px solid rgba(216, 191, 175, .82);
}

.checkout-packaging select {
    height: 48px;
    padding: 0 42px 0 14px;

    appearance: none;
    -webkit-appearance: none;

    background-image:
            linear-gradient(45deg, transparent 50%, var(--text) 50%),
            linear-gradient(135deg, var(--text) 50%, transparent 50%);
    background-position:
            calc(100% - 20px) 20px,
            calc(100% - 14px) 20px;
    background-size:
            6px 6px,
            6px 6px;
    background-repeat: no-repeat;
}

.checkout-summary-total {
    display: flex;
    justify-content: space-between;
    gap: 16px;

    padding-top: 18px;
    margin-top: 18px;

    border-top: 1px solid rgba(216, 191, 175, .82);
}

.checkout-summary-total span,
.checkout-summary-total strong {
    color: var(--text);
    font-weight: 700;
}

.checkout-empty-text {
    margin: 0;
    color: var(--muted);
}

/* native select dropdown color on supported browsers */
.checkout-summary select option {
    background: #fff7f1;
    color: var(--text);
}

/* responsive */

@media (max-width: 980px) {
    .checkout-container {
        width: min(100% - 36px, 1120px);
    }

    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
    }
}

@media (max-width: 640px) {
    .checkout-title {
        font-size: 44px;
        margin-bottom: 34px;
    }

    .checkout-form {
        padding: 20px;
    }

    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .checkout-radio-row,
    .checkout-delivery-tabs {
        gap: 12px;
        flex-direction: column;
    }
}

/* =========================================================
   FINAL FIX: product images must be shown fully, not cropped
   ========================================================= */

/* карточки товаров: главная, каталог, новинки, скидки, избранное */
.product-card .product-media,
.product-media {
    background: #fff !important;
    display: grid !important;
    place-items: center !important;
    overflow: hidden !important;
}

.product-card .product-media img,
.product-media img,
.catalog-layout-final .product-media img,
.catalog-layout .product-media img,
.product-related-line .product-media img,
.wishlist-drawer .product-media img {
    width: 100% !important;
    height: 100% !important;

    display: block !important;

    object-fit: contain !important;
    object-position: center center !important;

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

    background: #fff !important;
    transform: none !important;
}

/* hover не должен увеличивать и обрезать товар */
.product-card:hover img,
.product-related-line .product-card:hover img,
.wishlist-drawer .product-card:hover img {
    transform: none !important;
}

/* детальная страница товара */
.product-main-image {
    background: #fff !important;
    display: grid !important;
    place-items: center !important;
    overflow: hidden !important;
}

.product-main-image img {
    width: 100% !important;
    height: 100% !important;

    display: block !important;

    object-fit: contain !important;
    object-position: center center !important;

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

    background: #fff !important;
}

/* миниатюры в деталке */
.product-thumbs button {
    background: #fff !important;
}

.product-thumbs img {
    width: 100% !important;
    height: 100% !important;

    object-fit: contain !important;
    object-position: center center !important;

    padding: 6px !important;
    background: #fff !important;
}

/* миниатюры в корзине */
.cart-drawer-img {
    background: #fff !important;
}

.cart-drawer-img img {
    object-fit: contain !important;
    object-position: center center !important;
    padding: 8px !important;
    background: #fff !important;
}

/* =========================================================
   FINAL PRODUCT IMAGE AIR FIX
   одинаковые отступы у фото товара сверху/снизу/слева/справа
   ========================================================= */

/* карточки товара */
.product-card .product-media,
.catalog-layout-final .product-card .product-media,
.catalog-layout .product-card .product-media,
.home-product-carousel-fixed .product-card .product-media,
.product-related-line .product-card .product-media,
.wishlist-grid .product-card .product-media,
.wishlist-drawer .product-card .product-media {
    background: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    padding: 22px !important;
    box-sizing: border-box !important;
}

/* сама картинка внутри карточки */
.product-card .product-media img,
.catalog-layout-final .product-card .product-media img,
.catalog-layout .product-card .product-media img,
.home-product-carousel-fixed .product-card .product-media img,
.product-related-line .product-card .product-media img,
.wishlist-grid .product-card .product-media img,
.wishlist-drawer .product-card .product-media img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;

    object-fit: contain !important;
    object-position: center center !important;

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

    background: transparent !important;
    transform: none !important;
}

/* чтобы hover не увеличивал и не резал товар */
.product-card:hover .product-media img,
.product-related-line .product-card:hover .product-media img,
.wishlist-drawer .product-card:hover .product-media img {
    transform: none !important;
}

/* детальная страница — большой блок */
.product-main-image {
    background: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    padding: 48px !important;
    box-sizing: border-box !important;
}

/* картинка в детальной */
.product-main-image img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;

    object-fit: contain !important;
    object-position: center center !important;

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

    background: transparent !important;
    transform: none !important;
}

/* thumbnails снизу */
.product-thumbs button {
    background: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px !important;
    box-sizing: border-box !important;
}

.product-thumbs img {
    width: 100% !important;
    height: 100% !important;

    object-fit: contain !important;
    object-position: center center !important;

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

    background: transparent !important;
}

/* корзина */
.cart-drawer-img {
    background: #fff !important;
    padding: 8px !important;
    box-sizing: border-box !important;
}

.cart-drawer-img img {
    width: 100% !important;
    height: 100% !important;

    object-fit: contain !important;
    object-position: center center !important;

    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

/* =========================================================
   FINAL FIX: equal product cards + buttons aligned
   ========================================================= */

.product-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.product-card .product-link {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
}

.product-card .product-info:not(.card-actions) {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
}

/* фиксируем высоты текстов, чтобы карточки были ровные */
.product-card .brand {
    min-height: 16px !important;
}

.product-card .product-title {
    min-height: 44px !important;
    max-height: 44px !important;
    overflow: hidden !important;
}

.product-card .product-path {
    min-height: 48px !important;
    max-height: 48px !important;
    overflow: hidden !important;
}

.product-card .muted {
    min-height: 22px !important;
}

.product-card .price-row {
    min-height: 28px !important;
    margin-top: 8px !important;
    margin-bottom: 0 !important;
}

/* кнопка всегда внизу карточки */
.product-card .card-actions {
    margin-top: auto !important;
    padding-top: 10px !important;
}

.product-card .card-actions .btn,
.product-card .btn-full {
    height: 46px !important;
    min-height: 46px !important;
    width: 100% !important;
}

/* сетка выравнивает карточки по высоте */
.product-grid,
.home-product-carousel-fixed,
.product-related-line,
.wishlist-grid {
    align-items: stretch !important;
}

/* =========================================================
   HOME CATEGORIES — SMALL CARD, FULL IMAGE
   ========================================================= */

.home-category-track {
    display: flex !important;
    gap: 26px !important;
    align-items: stretch !important;
    overflow-x: auto !important;
    scroll-behavior: smooth !important;
    scrollbar-width: none !important;
    padding-bottom: 8px !important;
}

.home-category-track::-webkit-scrollbar {
    display: none !important;
}

/* сама карточка меньше */
.home-category-card {
    flex: 0 0 224px !important;
    width: 224px !important;
    min-width: 224px !important;
    max-width: 224px !important;

    height: 150px !important;

    display: flex !important;
    flex-direction: column !important;

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

    background: var(--camel) !important;
    border: 0 !important;
    overflow: hidden !important;

    text-decoration: none !important;
    color: #fff !important;

    transition: transform .22s ease, box-shadow .22s ease !important;
}

/* верх с фоткой */
.home-category-card .home-category-image {
    width: 100% !important;
    height: 115px !important;
    min-height: 115px !important;

    display: block !important;
    overflow: hidden !important;

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

    background: #d8b7a8 !important;
}

/* если вдруг img стоит напрямую */
.home-category-card > img {
    width: 100% !important;
    height: 115px !important;

    display: block !important;

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

    object-fit: cover !important;
    object-position: center !important;
}

/* картинка внутри */
.home-category-card .home-category-image img {
    width: 100% !important;
    height: 100% !important;

    display: block !important;

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

    object-fit: cover !important;
    object-position: center !important;

    transform: none !important;
    transition: transform .28s ease, filter .28s ease !important;
}

/* нижняя плашка с текстом */
.home-category-card .home-category-title,
.home-category-card > span:last-child {
    width: 100% !important;
    height: 35px !important;
    min-height: 35px !important;

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

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

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

    font-family: var(--serif) !important;
    font-size: 21px !important;
    line-height: 1 !important;
    font-weight: 400 !important;

    text-align: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* hover нормальный, без огромного увеличения */
.home-category-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 28px rgba(63, 48, 41, .12) !important;
}

.home-category-card:hover .home-category-image img,
.home-category-card:hover > img {
    transform: scale(1.04) !important;
    filter: saturate(1.04) contrast(1.02) !important;
}

.home-category-card:hover .home-category-title,
.home-category-card:hover > span:last-child {
    background: var(--camel-dark) !important;
}

/* планшет */
@media (max-width: 900px) {
    .home-category-card {
        flex-basis: 210px !important;
        width: 210px !important;
        min-width: 210px !important;
        max-width: 210px !important;
        height: 145px !important;
    }

    .home-category-card .home-category-image,
    .home-category-card > img {
        height: 110px !important;
        min-height: 110px !important;
    }

    .home-category-card .home-category-title,
    .home-category-card > span:last-child {
        height: 35px !important;
        min-height: 35px !important;
        font-size: 20px !important;
    }
}

/* мобилка */
@media (max-width: 560px) {
    .home-category-card {
        flex-basis: 74vw !important;
        width: 74vw !important;
        min-width: 74vw !important;
        max-width: 74vw !important;
        height: 170px !important;
    }

    .home-category-card .home-category-image,
    .home-category-card > img {
        height: 130px !important;
        min-height: 130px !important;
    }

    .home-category-card .home-category-title,
    .home-category-card > span:last-child {
        height: 40px !important;
        min-height: 40px !important;
        font-size: 22px !important;
    }
}

/* Wishlist drawer text fix */
.wishlist-drawer .product-card,
.wishlist-drawer .product-card * {
    color: #3b2b27;
}

.wishlist-drawer .product-card .brand,
.wishlist-drawer .product-card .product-brand,
.wishlist-drawer .product-card .product-card-brand {
    color: #8a746b;
}

.wishlist-drawer .product-card h3,
.wishlist-drawer .product-card .product-title,
.wishlist-drawer .product-card .product-card-title,
.wishlist-drawer .product-card a {
    color: #3b2b27;
}

.wishlist-drawer .product-card .product-price,
.wishlist-drawer .product-card .price,
.wishlist-drawer .product-card b,
.wishlist-drawer .product-card strong {
    color: #2f2522;
}

.wishlist-drawer .product-card .muted,
.wishlist-drawer .product-card .category-path,
.wishlist-drawer .product-card .product-category {
    color: #7d6a62;
}

.wishlist-drawer .product-card .btn,
.wishlist-drawer .product-card button {
    color: #ffffff;
}

/* =========================================================
   RETURNS PAGE — note buttons spacing fix
   ========================================================= */

.returns-note-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin-top: 18px !important;
}

.returns-note-links .btn {
    width: 100% !important;
    min-height: 46px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
}

/* если хочешь на большом экране кнопки рядом, но с отступом */
@media (min-width: 900px) {
    .returns-note-links {
        flex-direction: column !important;
    }
}

/* =========================================================
   CHECKOUT NOVA POST — FINAL UI FIX
   ========================================================= */

.checkout-main-delivery,
.checkout-delivery-tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin: 12px 0 18px !important;
}

.checkout-main-delivery label,
.checkout-delivery-tabs label {
    min-height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 9px !important;

    padding: 10px 16px !important;

    border: 1px solid rgba(181, 139, 118, .38) !important;
    background: rgba(255, 250, 246, .55) !important;

    color: #6f5b52 !important;

    border-radius: 8px !important;
    cursor: pointer !important;

    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease !important;
}

.checkout-main-delivery label:hover,
.checkout-delivery-tabs label:hover {
    border-color: #b9947f !important;
    transform: translateY(-1px) !important;
}

.checkout-main-delivery label:has(input:checked),
.checkout-delivery-tabs label:has(input:checked) {
    background: #b9947f !important;
    border-color: #b9947f !important;
    color: #fff !important;
}

.checkout-main-delivery input,
.checkout-delivery-tabs input {
    width: 15px !important;
    height: 15px !important;
    accent-color: #b9947f !important;
}

.delivery-panel {
    display: none !important;
}

.delivery-panel.is-active {
    display: block !important;
}

.checkout-nova-fields {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px 22px !important;
    margin-top: 14px !important;
}

.checkout-nova-fields.is-hidden {
    display: none !important;
}

.checkout-field {
    min-width: 0 !important;
}

.checkout-field label {
    display: grid !important;
    gap: 7px !important;
}

.checkout-field label > span {
    color: #7e6a61 !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
}

.checkout-field input {
    width: 100% !important;
    min-height: 48px !important;

    border: 1px solid rgba(216, 191, 175, .9) !important;
    background: rgba(255, 255, 255, .78) !important;

    padding: 0 14px !important;

    color: #3d2e2a !important;
    font: inherit !important;

    outline: none !important;

    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease !important;
}

.checkout-field input:focus {
    border-color: #b9947f !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(184, 150, 130, .12) !important;
}

.autocomplete-field {
    position: relative !important;
}

.checkout-autocomplete {
    position: absolute !important;
    top: calc(100% + 6px) !important;
    left: 0 !important;
    right: 0 !important;

    z-index: 200 !important;

    display: none !important;

    max-height: 260px !important;
    overflow-y: auto !important;

    background: #fff8f3 !important;
    border: 1px solid rgba(181, 139, 118, .45) !important;
    box-shadow: 0 18px 42px rgba(60, 45, 39, .16) !important;

    padding: 6px !important;
}

.checkout-autocomplete.is-open {
    display: grid !important;
    gap: 4px !important;
}

.checkout-autocomplete button {
    width: 100% !important;

    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 12px !important;
    align-items: center !important;

    border: 0 !important;
    background: transparent !important;

    padding: 11px 12px !important;

    color: #3d2e2a !important;
    text-align: left !important;
    cursor: pointer !important;

    border-radius: 6px !important;

    transition: background .16s ease, color .16s ease !important;
}

.checkout-autocomplete button:hover {
    background: #b9947f !important;
    color: #fff !important;
}

.checkout-autocomplete button span {
    min-width: 0 !important;

    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;

    font-size: 14px !important;
    line-height: 1.25 !important;
}

.checkout-autocomplete button small {
    color: inherit !important;
    opacity: .78 !important;
    font-size: 12px !important;
    white-space: nowrap !important;
}

.checkout-autocomplete-empty {
    padding: 12px 14px !important;
    color: #7e6a61 !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
}

.checkout-form small,
.checkout-field small {
    display: block !important;
    margin-top: 7px !important;

    color: #7e6a61 !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
}

.checkout-note {
    margin: 20px 0 0 !important;
    padding: 14px 16px !important;

    background: rgba(255, 250, 246, .62) !important;
    border: 1px solid rgba(181, 139, 118, .32) !important;

    color: #6f5b52 !important;
    line-height: 1.45 !important;
}

.checkout-summary-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;

    padding: 16px 0 !important;

    border-top: 1px solid rgba(216, 191, 175, .82) !important;
}

.checkout-summary-row span {
    color: #3d2e2a !important;
    font-weight: 600 !important;
}

.checkout-summary-row strong {
    color: #3d2e2a !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

.checkout-summary-row-total span,
.checkout-summary-row-total strong {
    font-size: 17px !important;
}

@media (max-width: 760px) {
    .checkout-nova-fields {
        grid-template-columns: 1fr !important;
    }

    .checkout-main-delivery,
    .checkout-delivery-tabs {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .checkout-main-delivery label,
    .checkout-delivery-tabs label {
        width: 100% !important;
    }

    .checkout-autocomplete {
        position: static !important;
        margin-top: 6px !important;
        max-height: 220px !important;
    }
}

/* =========================================================
   CHECKOUT DELIVERY — SOFT FINAL STYLE
   ========================================================= */

/* верхние кнопки Нова Пошта / Самовивіз */
.checkout-main-delivery label,
.checkout-delivery-tabs label {
    min-height: 40px !important;
    padding: 9px 15px !important;

    background: rgba(255, 250, 246, .62) !important;
    border: 1px solid rgba(181, 139, 118, .34) !important;
    color: #6f5b52 !important;

    border-radius: 8px !important;
    box-shadow: none !important;
    transform: none !important;
}

/* активная кнопка — мягче, не такая тёмная */
.checkout-main-delivery label:has(input:checked),
.checkout-delivery-tabs label:has(input:checked) {
    background: rgba(185, 148, 127, .22) !important;
    border-color: rgba(185, 148, 127, .75) !important;
    color: #3d2e2a !important;
    font-weight: 600 !important;
}

/* hover аккуратнее */
.checkout-main-delivery label:hover,
.checkout-delivery-tabs label:hover {
    background: rgba(185, 148, 127, .14) !important;
    border-color: rgba(185, 148, 127, .55) !important;
    color: #3d2e2a !important;
    transform: none !important;
}

/* radio внутри */
.checkout-main-delivery input,
.checkout-delivery-tabs input {
    accent-color: #8f6d5c !important;
}

/* чуть меньше расстояния между группами */
.checkout-main-delivery {
    margin-bottom: 12px !important;
}

.checkout-delivery-tabs {
    margin-top: 4px !important;
    margin-bottom: 16px !important;
}

/* поля доставки */
.checkout-nova-fields {
    gap: 14px 22px !important;
    margin-top: 10px !important;
}

.checkout-field input {
    min-height: 46px !important;
    background: rgba(255, 255, 255, .72) !important;
    border: 1px solid rgba(216, 191, 175, .85) !important;
    border-radius: 0 !important;
}

.checkout-field input:focus {
    background: #fff !important;
    border-color: rgba(185, 148, 127, .9) !important;
    box-shadow: 0 0 0 3px rgba(185, 148, 127, .10) !important;
}

/* подсказки под input */
.checkout-form small,
.checkout-field small {
    margin-top: 6px !important;
    color: #8a746b !important;
    font-size: 12.5px !important;
}

/* блок заметки */
.checkout-note {
    margin-top: 18px !important;
    padding: 13px 15px !important;

    background: rgba(255, 250, 246, .50) !important;
    border: 1px solid rgba(216, 191, 175, .72) !important;

    color: #6f5b52 !important;
    font-size: 15px !important;
}

/* =========================================================
   CHECKOUT AUTOCOMPLETE — SHOW FULL DIVISIONS
   ========================================================= */

.autocomplete-field {
    position: relative !important;
}

/* выпадающий список шире, чтобы видно было полное отделение */
.checkout-autocomplete {
    top: calc(100% + 6px) !important;
    left: 0 !important;
    right: auto !important;

    width: min(620px, 92vw) !important;
    max-height: 360px !important;

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

    background: #fff8f3 !important;
    border: 1px solid rgba(181, 139, 118, .42) !important;
    box-shadow: 0 18px 46px rgba(60, 45, 39, .14) !important;

    padding: 7px !important;
    border-radius: 0 !important;
}

/* если dropdown у правого поля — пусть раскрывается влево, чтобы не вылезал за форму */
[data-nova-warehouse-dropdown] {
    left: auto !important;
    right: 0 !important;
}

/* строки внутри dropdown */
.checkout-autocomplete button {
    min-height: 48px !important;

    display: block !important;
    width: 100% !important;

    padding: 11px 13px !important;

    background: transparent !important;
    border: 0 !important;
    border-radius: 6px !important;

    color: #3d2e2a !important;
    text-align: left !important;
}

/* текст больше НЕ обрезается в одну строку */
.checkout-autocomplete button span {
    display: block !important;

    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;

    font-size: 14px !important;
    line-height: 1.35 !important;
    font-weight: 500 !important;
}

/* категория/доп текст */
.checkout-autocomplete button small {
    display: block !important;
    margin-top: 4px !important;

    white-space: normal !important;
    color: #8a746b !important;
    opacity: 1 !important;

    font-size: 12px !important;
    line-height: 1.25 !important;
}

/* hover и выбранная строка мягче */
.checkout-autocomplete button:hover,
.checkout-autocomplete button:focus {
    background: rgba(185, 148, 127, .14) !important;
    color: #3d2e2a !important;
}

.checkout-autocomplete button:hover small,
.checkout-autocomplete button:focus small {
    color: #6f5b52 !important;
}

/* empty */
.checkout-autocomplete-empty {
    padding: 13px 14px !important;
    color: #7e6a61 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
}

/* scrollbar аккуратный */
.checkout-autocomplete::-webkit-scrollbar {
    width: 8px !important;
}

.checkout-autocomplete::-webkit-scrollbar-track {
    background: rgba(216, 191, 175, .22) !important;
}

.checkout-autocomplete::-webkit-scrollbar-thumb {
    background: rgba(185, 148, 127, .55) !important;
    border-radius: 999px !important;
}

.checkout-autocomplete::-webkit-scrollbar-thumb:hover {
    background: rgba(185, 148, 127, .75) !important;
}

/* на мобилке dropdown обычный по ширине поля */
@media (max-width: 760px) {
    .checkout-autocomplete,
    [data-nova-warehouse-dropdown] {
        position: static !important;
        width: 100% !important;
        max-height: 300px !important;
        margin-top: 6px !important;
    }
}

.checkout-nova-fields.is-hidden,
[data-nova-warehouse-fields].is-hidden,
[data-nova-courier-fields].is-hidden {
    display: none !important;
}

.checkout-nova-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 22px;
    margin-top: 14px;
}

.checkout-nova-fields .checkout-full {
    grid-column: 1 / -1;
}

.checkout-radio-row,
.checkout-delivery-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 14px 0;
}

.checkout-radio-row label,
.checkout-delivery-tabs label {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid #dec5b8;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.38);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #6d5850;
    font-weight: 600;
    transition: border-color .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}

.checkout-radio-row label:has(input:checked),
.checkout-delivery-tabs label:has(input:checked) {
    background: rgba(190, 153, 132, 0.22);
    border-color: #bd9984;
    color: #4b3832;
    box-shadow: 0 8px 20px rgba(99, 70, 57, 0.08);
}

.checkout-radio-row input,
.checkout-delivery-tabs input {
    accent-color: #bd9984;
}

.delivery-panel {
    display: none;
}

.delivery-panel.is-active {
    display: block;
}

.autocomplete-field {
    position: relative;
}

.checkout-autocomplete {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 30;
    max-height: 320px;
    overflow-y: auto;
    background: #fffaf6;
    border: 1px solid #dec5b8;
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(67, 43, 33, 0.18);
}

.checkout-autocomplete.is-open {
    display: block;
}

.checkout-autocomplete button {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 12px 14px;
    text-align: left;
    cursor: pointer;
    color: #4b3832;
    display: block;
}

.checkout-autocomplete button:hover {
    background: rgba(190, 153, 132, 0.18);
}

.checkout-autocomplete button span {
    display: block;
    font-weight: 600;
    line-height: 1.35;
}

.checkout-autocomplete button small {
    display: block;
    margin-top: 4px;
    color: #8a7166;
    line-height: 1.25;
}

.checkout-autocomplete-empty {
    padding: 14px;
    color: #8a7166;
}

.checkout-note {
    margin-top: 16px;
    padding: 14px 16px;
    border: 1px solid #ead5ca;
    background: rgba(255, 255, 255, 0.35);
    color: #6d5850;
    line-height: 1.45;
}

.checkout-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

@media (max-width: 760px) {
    .checkout-nova-fields {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .checkout-radio-row,
    .checkout-delivery-tabs {
        flex-direction: column;
        gap: 10px;
    }

    .checkout-radio-row label,
    .checkout-delivery-tabs label {
        width: 100%;
        justify-content: flex-start;
    }

    .checkout-autocomplete {
        max-height: 260px;
    }
}

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

.checkout-nova-fields.is-hidden {
    display: none !important;
}

.checkout-field-full {
    grid-column: 1 / -1;
}

.checkout-field,
.autocomplete-field {
    position: relative;
    min-width: 0;
}

.checkout-field label,
.autocomplete-field label {
    display: block;
}

.checkout-field input,
.autocomplete-field input {
    width: 100%;
    box-sizing: border-box;
}

.checkout-autocomplete {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 80;

    display: none;
    width: 100%;
    max-height: 260px;
    overflow-y: auto;

    background: #fffaf6;
    border: 1px solid rgba(183, 143, 120, 0.35);
    box-shadow: 0 18px 45px rgba(80, 50, 35, 0.18);
}

.checkout-autocomplete.is-open {
    display: block;
}

.checkout-autocomplete button {
    display: block;
    width: 100%;
    padding: 12px 14px;

    border: 0;
    border-bottom: 1px solid rgba(183, 143, 120, 0.16);
    background: transparent;

    text-align: left;
    cursor: pointer;

    color: #4b3832;
    font-size: 14px;
    line-height: 1.35;
}

.checkout-autocomplete button:hover {
    background: rgba(188, 151, 128, 0.18);
}

.checkout-autocomplete button span {
    display: block;
    max-width: 100%;

    white-space: normal;
    overflow: visible;
    text-overflow: unset;

    font-weight: 600;
}

.checkout-autocomplete button small {
    display: block;
    margin-top: 4px;

    color: #8a7066;
    font-size: 12px;
    line-height: 1.3;
}

.checkout-autocomplete-empty {
    padding: 14px;
    color: #8a7066;
    font-size: 14px;
}

.checkout-radio-row,
.checkout-delivery-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.checkout-radio-row label,
.checkout-delivery-tabs label {
    min-width: 155px;
    padding: 12px 18px;

    border: 1px solid rgba(183, 143, 120, 0.35);
    border-radius: 8px;
    background: rgba(255, 250, 246, 0.65);

    display: inline-flex;
    align-items: center;
    gap: 10px;

    cursor: pointer;
    color: #6f584f;
    font-weight: 600;

    transition: 0.18s ease;
}

.checkout-radio-row label:has(input:checked),
.checkout-delivery-tabs label:has(input:checked) {
    background: rgba(188, 151, 128, 0.28);
    border-color: rgba(153, 111, 88, 0.55);
    color: #4b3832;
}

.checkout-note {
    margin-top: 18px;
    padding: 14px 16px;

    border: 1px solid rgba(183, 143, 120, 0.25);
    background: rgba(255, 250, 246, 0.55);

    color: #6f584f;
    font-size: 15px;
    line-height: 1.45;
}

@media (max-width: 768px) {
    .checkout-nova-fields {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .checkout-radio-row,
    .checkout-delivery-tabs {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .checkout-radio-row label,
    .checkout-delivery-tabs label {
        width: 100%;
        min-width: 0;
    }

    .checkout-autocomplete {
        max-height: 220px;
    }
}

/* =========================
   CHECKOUT NOVA POST FIX
   ========================= */

.checkout-radio-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 14px 0 16px;
}

.checkout-radio-row label {
    min-width: 160px;
    height: 46px;
    padding: 0 18px;
    border: 1px solid #dcc4b5;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #71594f;
    font-weight: 600;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.checkout-radio-row label:has(input:checked) {
    background: #e6d3c5;
    border-color: #c7a58f;
    color: #4c3830;
}

.checkout-radio-row input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #b8957f;
}

.checkout-radio-row-sub {
    margin-top: 8px;
    margin-bottom: 18px;
}

.delivery-panel {
    display: none;
}

.delivery-panel.is-active {
    display: block;
}

.checkout-nova-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
    align-items: start;
}

.checkout-nova-fields.is-hidden {
    display: none !important;
}

.checkout-field {
    position: relative;
    min-width: 0;
}

.checkout-field-wide {
    grid-column: span 2;
}

.checkout-field label,
.checkout-full,
.checkout-grid label {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.checkout-field span,
.checkout-full span,
.checkout-grid span {
    color: #7a6258;
    font-size: 15px;
    line-height: 1.2;
}

.checkout-field input,
.checkout-grid input,
.checkout-full textarea,
.checkout-packaging select {
    width: 100%;
    min-width: 0;
    height: 52px;
    border: 1px solid #dcc4b5;
    background: rgba(255, 255, 255, 0.72);
    color: #3d2e29;
    padding: 0 16px;
    border-radius: 0;
    font-size: 16px;
    outline: none;
}

.checkout-full textarea {
    height: 120px;
    padding-top: 14px;
    resize: vertical;
}

.checkout-field input:focus,
.checkout-grid input:focus,
.checkout-full textarea:focus,
.checkout-packaging select:focus {
    border-color: #b8957f;
    box-shadow: 0 0 0 2px rgba(184, 149, 127, 0.15);
}

.checkout-field small,
.checkout-nova-fields small {
    display: block;
    margin-top: 7px;
    color: #9a8176;
    font-size: 13px;
    line-height: 1.35;
}

.autocomplete-field {
    position: relative;
}

.checkout-autocomplete {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% - 2px);
    z-index: 50;
    max-height: 280px;
    overflow-y: auto;
    border: 1px solid #d9bfae;
    background: #fff8f2;
    box-shadow: 0 18px 38px rgba(73, 46, 35, 0.16);
}

.checkout-autocomplete.is-open {
    display: block;
}

.checkout-autocomplete button {
    width: 100%;
    border: 0;
    border-bottom: 1px solid rgba(217, 191, 174, 0.7);
    background: transparent;
    padding: 13px 15px;
    text-align: left;
    cursor: pointer;
    color: #44302a;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
    line-height: 1.35;
}

.checkout-autocomplete button:hover {
    background: #ead6c8;
}

.checkout-autocomplete button span {
    color: #44302a;
    font-size: 14px;
    font-weight: 600;
}

.checkout-autocomplete button small {
    color: #8b7065;
    font-size: 12px;
    margin: 0;
}

.checkout-autocomplete-empty {
    padding: 14px 15px;
    color: #7b6258;
    font-size: 14px;
    line-height: 1.4;
}

.checkout-note {
    margin-top: 18px;
    padding: 16px;
    border: 1px solid #dfc7b8;
    background: rgba(255, 255, 255, 0.38);
    color: #71594f;
    font-size: 16px;
    line-height: 1.45;
}

.pickup-box,
.payment-box {
    border: 1px solid #dfc7b8;
    background: rgba(255, 255, 255, 0.34);
    padding: 18px;
    color: #71594f;
}

.pickup-box span {
    display: block;
    margin-bottom: 6px;
    color: #9a8176;
    font-size: 14px;
}

.pickup-box strong,
.payment-box strong {
    display: block;
    color: #3d2e29;
    margin-bottom: 8px;
}

.checkout-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 17px 0;
    border-top: 1px solid #dfc7b8;
    color: #3d2e29;
    font-weight: 700;
}

.checkout-summary-row-total {
    font-size: 18px;
}

.checkout-summary-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
}

.checkout-summary-item strong {
    display: block;
    color: #3d2e29;
}

.checkout-summary-item span {
    display: block;
    margin-top: 4px;
    color: #8b7065;
    font-size: 13px;
}

@media (max-width: 768px) {
    .checkout-radio-row {
        gap: 10px;
    }

    .checkout-radio-row label {
        width: 100%;
        min-width: 0;
        height: 44px;
        padding: 0 14px;
    }

    .checkout-nova-fields {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .checkout-field-wide {
        grid-column: span 1;
    }

    .checkout-autocomplete {
        max-height: 230px;
    }
}

@media (max-width: 520px) {
    .checkout-field input,
    .checkout-grid input,
    .checkout-full textarea,
    .checkout-packaging select {
        height: 48px;
        font-size: 15px;
        padding-left: 13px;
        padding-right: 13px;
    }

    .checkout-note {
        font-size: 14px;
        padding: 13px;
    }

    .checkout-autocomplete button {
        padding: 12px 13px;
    }
}

/* =========================
   PAYMENT PAGE
   ========================= */

.payment-page {
    min-height: 72vh;
    padding: 42px 0 90px;
    background: #ead9cc;
}

.payment-title {
    margin-bottom: 30px;
}

.payment-layout {
    width: 100%;
    max-width: 780px;
    margin: 0 auto;
}

.payment-box {
    width: 100%;
    border: 1px solid #d8bfae;
    background: rgba(255, 248, 242, 0.72);
    padding: 34px;
    color: #46342e;
}

.payment-kicker {
    display: block;
    margin-bottom: 10px;
    color: #9a7a69;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 12px;
    line-height: 1.2;
}

.payment-box h2 {
    margin: 0 0 22px;
    color: #3b2b27;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.25;
}

.payment-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 18px 0;
    margin-bottom: 22px;
    border-top: 1px solid #ddc4b3;
    border-bottom: 1px solid #ddc4b3;
}

.payment-total span {
    color: #755d53;
    font-size: 16px;
}

.payment-total strong {
    color: #3b2b27;
    font-size: 25px;
    font-weight: 700;
    white-space: nowrap;
}

.payment-info-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.payment-info-list div {
    border: 1px solid #dfc7b8;
    background: rgba(255, 255, 255, 0.35);
    padding: 14px;
}

.payment-info-list span {
    display: block;
    margin-bottom: 6px;
    color: #9a8176;
    font-size: 13px;
    line-height: 1.25;
}

.payment-info-list b {
    display: block;
    color: #3d2e29;
    font-size: 15px;
    line-height: 1.3;
}

.payment-muted {
    margin: 0 0 24px;
    color: #755d53;
    font-size: 15px;
    line-height: 1.6;
}

.payment-start-btn {
    margin-bottom: 24px;
}

.payment-start-btn:disabled {
    opacity: 0.68;
    cursor: not-allowed;
}

.liqpay-checkout-box {
    width: 100%;
    min-height: 0;
    overflow: hidden;
}

.liqpay-checkout-box iframe {
    width: 100% !important;
    max-width: 100% !important;
}

.payment-status {
    min-height: 22px;
    margin: 18px 0 0;
    color: #755d53;
    font-size: 15px;
    line-height: 1.45;
}

.payment-status.is-pending {
    color: #755d53;
}

.payment-status.is-success {
    color: #3d7651;
}

.payment-status.is-error {
    color: #9b3b30;
}

.payment-security-note {
    margin-top: 24px;
    padding: 16px;
    border: 1px solid #dfc7b8;
    background: rgba(255, 255, 255, 0.34);
}

.payment-security-note strong {
    display: block;
    margin-bottom: 6px;
    color: #3d2e29;
}

.payment-security-note p {
    margin: 0;
    color: #755d53;
    font-size: 14px;
    line-height: 1.55;
}

@media (max-width: 768px) {
    .payment-page {
        padding: 34px 0 70px;
    }

    .payment-layout {
        max-width: 100%;
    }

    .payment-box {
        padding: 24px 18px;
    }

    .payment-box h2 {
        font-size: 24px;
    }

    .payment-total {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .payment-total strong {
        font-size: 22px;
    }

    .payment-info-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .payment-page {
        padding-top: 26px;
    }

    .payment-box {
        padding: 20px 14px;
    }

    .payment-muted,
    .payment-status {
        font-size: 14px;
    }

    .payment-security-note {
        padding: 14px;
    }
}

.payment-status.is-success {
    color: #3f8f55;
    font-weight: 600;
}

.payment-status.is-error {
    color: #9b3b30;
    font-weight: 600;
}

.payment-status.is-pending {
    color: #755d53;
}

/* =========================
   PAYMENT CLEAN PAGE
   ========================= */

.payment-page-clean {
    min-height: 100vh;
    padding: 56px 0 90px;
    background: #ead9cc;
}

.payment-layout-clean {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

.payment-box-clean {
    width: 100%;
    border: 1px solid #d8bfae;
    background: rgba(255, 248, 242, 0.72);
    padding: 34px 34px 36px;
    color: #46342e;
}

.payment-box-clean .payment-kicker {
    display: block;
    margin-bottom: 12px;
    color: #9a7a69;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 12px;
    line-height: 1.2;
}

.payment-box-clean h2 {
    margin: 0 0 24px;
    color: #3b2b27;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.25;
}

.payment-total-clean {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 20px 0;
    margin-bottom: 28px;
    border-top: 1px solid #ddc4b3;
    border-bottom: 1px solid #ddc4b3;
}

.payment-total-clean span {
    color: #755d53;
    font-size: 17px;
    font-weight: 600;
}

.payment-total-clean strong {
    color: #3b2b27;
    font-size: 30px;
    font-weight: 700;
    white-space: nowrap;
}

.liqpay-checkout-box-clean {
    width: 100%;
    min-height: 0;
    overflow: hidden;
}

.liqpay-checkout-box-clean iframe {
    width: 100% !important;
    max-width: 100% !important;
}

.payment-status {
    margin: 18px 0 0;
    min-height: 22px;
    color: #755d53;
    font-size: 15px;
    line-height: 1.45;
}

.payment-status.is-success {
    color: #3f8f55;
    font-weight: 600;
}

.payment-status.is-error {
    color: #9b3b30;
    font-weight: 600;
}

.payment-status.is-pending {
    color: #755d53;
}

@media (max-width: 768px) {
    .payment-page-clean {
        padding: 34px 0 70px;
    }

    .payment-layout-clean {
        max-width: 100%;
    }

    .payment-box-clean {
        padding: 24px 18px;
    }

    .payment-box-clean h2 {
        font-size: 24px;
    }

    .payment-total-clean {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .payment-total-clean strong {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .payment-page-clean {
        padding-top: 26px;
    }

    .payment-box-clean {
        padding: 20px 14px;
    }

    .payment-status {
        font-size: 14px;
    }
}
/* =========================
   LEGAL / CHECKOUT FINAL
   ========================= */

.legal-revision,
.offer-kicker,
.returns-head > span,
.privacy-head > span {
    display: inline-block;
    margin-bottom: 12px;
    color: #9a6f5d;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.legal-seller-card {
    margin-top: 18px;
    padding: 22px;
    border: 1px solid rgba(139, 93, 72, .22);
    background: rgba(235, 215, 203, .36);
}

.legal-seller-card p {
    margin: 8px 0;
}

.legal-seller-card a,
.checkout-agreements a,
.payment-legal-links a {
    color: #764b3b;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.checkout-agreements label {
    align-items: flex-start;
}

.checkout-agreements input {
    margin-top: 3px;
    flex: 0 0 auto;
}

.checkout-legal-note {
    margin: -2px 0 18px;
    color: #795e53;
    font-size: 13px;
    line-height: 1.6;
}

.payment-legal-links {
    margin: 18px 0 0;
    color: #80675d;
    font-size: 12px;
    line-height: 1.6;
}

.payment-result-card {
    text-align: center;
}

.payment-result-order {
    margin: 20px 0;
    color: #4d3830;
}

.payment-result-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

@media (max-width: 560px) {
    .checkout-agreements span {
        font-size: 13px;
        line-height: 1.45;
    }

    .payment-result-actions .btn {
        width: 100%;
    }
}
