/* Color Scheme Variables */

:root {
    --primary-color: #cf5f82;
    --primary-light: #f1d6df;
    --primary-dark: #93405a;
    --primary-vibrant: #e45580;
    --secondary-color: #6f9f74;
    --secondary-light: #d9eadb;
    --secondary-dark: #3f7046;
    --accent-color: #d8a94b;
    --accent-light: #f1e0b6;
    --accent-dark: #9b6f14;
    --gradient-primary: linear-gradient(135deg, #cf5f82, #6f9f74);
    --gradient-secondary: linear-gradient(135deg, #f4b4c3, #d8a94b);
    --gradient-accent: linear-gradient(90deg, #cf5f82, #f4b4c3, #6f9f74);
    --text-primary: #31232a;
    --text-secondary: #75666d;
    --bg-primary: #fffafa;
    --bg-secondary: #f7f1f3;
    --bg-strong: #eadde2;
    --border-color: #e2d4d8;
    --success-color: #5c9a67;
    --warning-color: #bc7f1a;
    --error-color: #c54242;
    --footer-bg: #37212b;
    --footer-text: #eadbe0;
    --primary-overlay-90: rgba(147, 64, 90, 0.9);
    --primary-overlay-75: rgba(147, 64, 90, 0.75);
}


/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text-primary);
    background: var(--bg-secondary);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 1.5;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
.container { width: min(var(--max-width, 1440px), calc(100% - 48px)); margin: 0 auto; }

:root {
    --max-width: 1440px;
    --header-height: 72px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 8px;
    --shadow-soft: 0 12px 28px rgba(49, 35, 42, 0.08);
    --shadow-strong: 0 18px 48px rgba(49, 35, 42, 0.16);
}

.section { padding: 58px 0; background: var(--bg-primary); border-top: 1px solid var(--border-color); }
.section.alt { background: var(--bg-secondary); }
.section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}
.section-kicker {
    margin: 0 0 6px;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}
.section-title,
.section h2 {
    margin: 0;
    color: var(--text-primary);
    font-size: 30px;
    line-height: 1.15;
    font-weight: 900;
}
.section-subtitle,
.section-header p {
    margin: 6px 0 0;
    color: var(--text-secondary);
    font-size: 15px;
}
.section-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 900;
}
.section-link:hover { border-color: var(--primary-color); color: var(--primary-color); }
.section-link svg { width: 17px; height: 17px; stroke: currentColor; fill: none; }


/* VARIANT5 Header Base */
.v5-topbar {
    background: var(--footer-bg);
    color: #eef3f6;
    font-size: 13px;
}
.v5-topbar-inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.v5-topbar ul {
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #c8d2da;
}
.v5-topbar strong { color: #fff; font-weight: 800; }
.v5-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(255, 253, 248, 0.94);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(14px);
}
.v5-header-inner {
    min-height: var(--header-height);
    display: grid;
    grid-template-columns: auto minmax(280px, 1fr) auto;
    align-items: center;
    gap: 24px;
}
.v5-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    font-size: 22px;
    font-weight: 900;
    white-space: nowrap;
}
.v5-brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 18px rgba(147, 64, 90, 0.12);
}
.v5-brand-mark img,
.v5-footer-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.v5-search {
    height: 46px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    min-width: 0;
    overflow: hidden;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}
.v5-search input {
    width: 100%;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: 0;
    padding: 0 16px;
    color: var(--text-primary);
    background: transparent;
}
.v5-search input::placeholder { color: #7b7b6d; }
.v5-search button {
    width: 48px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 0;
    color: var(--text-primary);
    background: transparent;
    cursor: pointer;
}
.v5-search button svg,
.v5-icon-btn svg,
.v5-header-phone svg { width: 18px; height: 18px; stroke: currentColor; fill: none; }
.v5-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}
.v5-header-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}
.v5-icon-btn {
    position: relative;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    background: #fff;
    cursor: pointer;
}
.v5-icon-btn:hover { border-color: var(--primary-color); color: var(--primary-color); }
.v5-cart-dot {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--accent-color);
    border: 2px solid #fff;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
}
.v5-menu-btn { display: none; }
.v5-nav {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
}
.v5-nav-inner,
.v5-chip-row {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
}
.v5-nav-inner::-webkit-scrollbar,
.v5-chip-row::-webkit-scrollbar { display: none; }
.v5-nav a,
.v5-chip-row a,
.v5-mini-nav a {
    flex: 0 0 auto;
    padding: 9px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}
.v5-nav a:hover,
.v5-nav a.active,
.v5-chip-row a:hover,
.v5-mini-nav a:hover {
    color: var(--primary-dark);
    background: color-mix(in srgb, var(--primary-color) 10%, white);
}
.v5-mini-nav { display: flex; align-items: center; gap: 8px; }

@media (max-width: 980px) {
    .v5-header-inner { grid-template-columns: auto auto; gap: 12px; }
    .v5-search { grid-column: 1 / -1; grid-row: 2; margin-bottom: 12px; }
    .v5-header-phone { display: none; }
    .v5-menu-btn { display: grid; }
    .v5-topbar ul { display: none; }
}
@media (max-width: 560px) {
    .v5-topbar { font-size: 11px; }
    .v5-topbar-inner { justify-content: center; text-align: center; }
    .v5-brand { font-size: 18px; }
    .v5-brand-mark { width: 34px; height: 34px; }
    .v5-icon-btn { width: 38px; height: 38px; }
    .v5-header-actions .v5-icon-btn[title="Поиск"],
    .v5-header-actions .v5-icon-btn[title="Профиль"],
    .v5-header-actions .v5-icon-btn[title="Избранное"] { display: none; }
}

.v5-header--compact { position: sticky; }
.v5-header--compact .v5-header-inner { min-height: 64px; }
.v5-chip-row { min-height: 44px; padding-bottom: 10px; }
.v5-chip-row a {
    background: #fffaf0;
    border: 1px solid color-mix(in srgb, var(--secondary-color) 18%, var(--border-color));
}


/* VARIANT5 Hero Base */
.v5-hero { padding: 26px 0 42px; }
.v5-hero-layout { display: grid; grid-template-columns: 248px minmax(0, 1fr) 304px; gap: 20px; align-items: stretch; }
.v5-category-rail {
    display: grid;
    gap: 8px;
    align-content: start;
    padding: 12px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}
.v5-rail-title {
    padding: 8px 10px 10px;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}
.v5-rail-link {
    min-height: 44px;
    display: grid;
    grid-template-columns: 28px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 800;
}
.v5-rail-link:hover,
.v5-rail-link.active { background: var(--bg-secondary); }
.v5-rail-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-sm);
    color: var(--primary-color);
    background: color-mix(in srgb, var(--primary-color) 10%, white);
}
.v5-rail-icon svg { width: 16px; height: 16px; stroke: currentColor; fill: none; }
.v5-rail-count { color: var(--text-secondary); font-size: 12px; font-weight: 800; }
.v5-hero-main {
    position: relative;
    min-height: 520px;
    display: grid;
    align-items: end;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--footer-bg);
    box-shadow: var(--shadow-strong);
}
.v5-hero-main::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(55, 33, 43, 0.82), rgba(55, 33, 43, 0.48) 35%, rgba(55, 33, 43, 0.06) 68%, rgba(55, 33, 43, 0.10)),
        linear-gradient(0deg, rgba(49, 35, 42, 0.16), transparent 42%);
}
.v5-hero-media {
    position: absolute;
    inset: 0;
}
.v5-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.v5-hero-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 68% 24%, color-mix(in srgb, var(--accent-color) 38%, transparent), transparent 28%),
        linear-gradient(135deg, var(--primary-dark), var(--secondary-color));
}
.v5-hero-fallback span {
    color: rgba(255,255,255,0.16);
    font-size: clamp(90px, 15vw, 180px);
    font-weight: 900;
}
.v5-hero-copy {
    position: relative;
    z-index: 1;
    width: min(580px, calc(100% - 48px));
    padding: 42px;
    color: #fff;
}
.v5-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-bottom: 18px;
    padding: 5px 10px;
    border: 1px solid rgba(255,255,255,0.36);
    border-radius: 999px;
    background: rgba(207, 95, 130, 0.24);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}
.v5-hero h1 {
    margin: 0 0 16px;
    font-size: 48px;
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: 0;
}
.v5-hero-copy p {
    max-width: 480px;
    margin: 0 0 28px;
    color: #fff2f5;
    font-size: 17px;
}
.v5-deal-stack { display: grid; gap: 16px; }
.v5-deal-card {
    min-height: 160px;
    display: grid;
    grid-template-columns: 1fr 112px;
    gap: 14px;
    align-items: center;
    padding: 18px;
    overflow: hidden;
    background: #fffdf8;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}
.v5-deal-card.dark {
    color: #fff;
    background: linear-gradient(135deg, #3b2130, #93405a);
    border-color: #93405a;
}
.v5-deal-card strong { display: block; margin-bottom: 6px; color: inherit; font-size: 18px; line-height: 1.2; }
.v5-deal-card span { display: block; color: var(--text-secondary); font-size: 13px; font-weight: 800; }
.v5-deal-card.dark span { color: #f1dce3; }
.v5-deal-image {
    height: 120px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: var(--radius-md);
    color: var(--primary-color);
    background: #f8edf1;
}
.v5-deal-image img { width: 100%; height: 100%; object-fit: cover; }
.v5-deal-image svg { width: 36px; height: 36px; stroke: currentColor; fill: none; }

@media (max-width: 1180px) {
    .v5-hero-layout { grid-template-columns: 220px minmax(0, 1fr); }
    .v5-deal-stack { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
    .v5-hero-layout { grid-template-columns: 1fr; }
    .v5-category-rail { grid-template-columns: repeat(2, 1fr); }
    .v5-rail-title { grid-column: 1 / -1; }
    .v5-hero-main { min-height: 420px; }
    .v5-hero-copy { padding: 30px; }
    .v5-hero h1 { font-size: 36px; }
    .v5-deal-stack { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .v5-category-rail { grid-template-columns: 1fr; }
    .v5-hero-main { min-height: 390px; }
    .v5-hero-copy { width: 100%; padding: 24px; }
    .v5-hero h1 { font-size: 30px; }
    .v5-hero-copy p { font-size: 15px; }
    .v5-deal-card { grid-template-columns: 1fr 104px; }
}

.v5-hero--wide .v5-hero-main { min-height: 460px; margin-bottom: 18px; }
.v5-hero--wide .v5-deal-stack { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .v5-hero--wide .v5-deal-stack { grid-template-columns: 1fr; } }


.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.2;
    cursor: pointer;
    transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.18s, box-shadow 0.18s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 17px; height: 17px; stroke: currentColor; fill: none; }

.btn-primary { background: var(--primary-color); color: #fff; box-shadow: 0 10px 22px color-mix(in srgb, var(--primary-color) 26%, transparent); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-light { background: #fff; color: var(--text-primary); }
.btn-light:hover { background: var(--bg-strong); }
.btn-outline { background: #fff; border-color: var(--border-color); color: var(--text-primary); }
.btn-outline:hover { border-color: var(--primary-color); color: var(--primary-color); }


/* VARIANT5 Product Cards */
.product-grid { display: grid; gap: 18px; }
.product-card {
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.product-card:hover {
    border-color: color-mix(in srgb, var(--primary-color) 34%, var(--border-color));
    box-shadow: var(--shadow-soft);
}
.product-card-image {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--bg-secondary);
}
.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s;
}
.product-card:hover .product-card-image img { transform: scale(1.04); }
.product-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 999px;
    color: #fff;
    background: var(--secondary-color);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}
.product-card-body { display: grid; gap: 10px; padding: 16px; }
.product-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.product-card-category {
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}
.product-card-title {
    min-height: 42px;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 900;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 4px;
}
.product-card-price {
    color: var(--text-primary);
    font-size: 19px;
    font-weight: 900;
}
.product-card-link,
.product-card-stock {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 800;
}
.product-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--warning-color);
    font-size: 12px;
    font-weight: 900;
}
.product-card-stars { display: none; }
.product-card-cart-btn {
    min-width: 40px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    background: var(--bg-primary);
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: none;
}
.product-card-cart-btn:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #fff;
}
.product-card-cart-btn svg { width: 17px; height: 17px; stroke: currentColor; fill: none; }
.stock-bar {
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--bg-strong);
}
.stock-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--primary-color);
}
.empty-state {
    padding: 34px;
    margin-top: 18px;
    text-align: center;
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--bg-primary);
}
.empty-state h3 { margin: 0 0 6px; }
.empty-state p { margin: 0; color: var(--text-secondary); }

@media (max-width: 1020px) {
    .product-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 560px) {
    .product-grid { grid-template-columns: 1fr !important; }
}

.product-grid { grid-template-columns: repeat(4, 1fr); }
.product-card--tile .product-card-image { aspect-ratio: 1 / 1; }
.product-card--tile > .product-card-cart-btn {
    position: absolute;
    right: 12px;
    top: calc(100% - 178px);
    z-index: 2;
    color: #fff;
    background: var(--footer-bg);
    border-color: var(--footer-bg);
}

.product-card-stars .half-filled { margin-left: -14px; clip-path: inset(0 50% 0 0); }

/* VARIANT5 Product Detail */
.breadcrumbs { padding: 16px 0; border-bottom: 1px solid var(--border-color); background: var(--bg-primary); }
.breadcrumbs-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    font-size: 13px;
    color: var(--text-secondary);
    padding: 0;
    margin: 0;
}
.breadcrumbs-list a { color: var(--text-secondary); }
.breadcrumbs-list a:hover { color: var(--primary-color); }
.breadcrumbs-list .separator { color: var(--border-color); }
.breadcrumbs-list .current { color: var(--text-primary); font-weight: 800; }
.product-detail { padding: 48px 0 72px; background: var(--bg-primary); }
.product-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr); gap: 46px; align-items: start; }
.product-gallery { position: sticky; top: calc(var(--header-height) + 24px); }
.product-gallery-main {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
}
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.product-gallery-thumb {
    width: 72px;
    height: 72px;
    padding: 0;
    overflow: hidden;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    cursor: pointer;
}
.product-gallery-thumb.active,
.product-gallery-thumb:hover { border-color: var(--primary-color); }
.product-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info {
    display: grid;
    gap: 18px;
    padding: 28px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--bg-primary);
}
.product-info-category {
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}
.product-info h1 {
    margin: 0;
    color: var(--text-primary);
    font-size: 34px;
    line-height: 1.16;
    font-weight: 900;
}
.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 14px;
}
.product-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--warning-color);
    font-weight: 900;
}
.product-rating-badge svg { width: 17px; height: 17px; fill: currentColor; stroke: none; }
.product-price-block {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.product-price-current {
    color: var(--text-primary);
    font-size: 38px;
    line-height: 1;
    font-weight: 900;
}
.product-price-note {
    padding: 5px 10px;
    border-radius: 999px;
    color: var(--success-color);
    background: color-mix(in srgb, var(--success-color) 10%, white);
    font-size: 12px;
    font-weight: 900;
}
.product-description { margin: 0; color: var(--text-secondary); font-size: 15px; line-height: 1.7; }
.product-purchase-row { display: flex; flex-wrap: wrap; gap: 10px; }
.quantity-control {
    height: 44px;
    display: inline-grid;
    grid-template-columns: 38px 50px 38px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}
.quantity-control button,
.quantity-control input {
    border: 0;
    text-align: center;
    background: #fff;
    color: var(--text-primary);
    font-weight: 900;
}
.quantity-control button { cursor: pointer; }
.quantity-control input { border-left: 1px solid var(--border-color); border-right: 1px solid var(--border-color); }
.product-purchase-row .btn { flex: 1 1 180px; }
.product-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.product-meta-item {
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 800;
}
.product-meta-item svg { width: 20px; height: 20px; stroke: var(--primary-color); fill: none; }
.product-tabs { display: flex; gap: 8px; padding-top: 8px; border-top: 1px solid var(--border-color); }
.tab-btn {
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: #fff;
    color: var(--text-secondary);
    font-weight: 900;
    cursor: pointer;
}
.tab-btn.active,
.tab-btn:hover { border-color: var(--primary-color); color: var(--primary-color); }
.tab-content p { margin: 0; color: var(--text-secondary); }
.related-section { border-top: 1px solid var(--border-color); }

@media (max-width: 980px) {
    .product-detail-grid { grid-template-columns: 1fr; }
    .product-gallery { position: static; }
}
@media (max-width: 620px) {
    .product-info { padding: 20px; }
    .product-info h1 { font-size: 26px; }
    .product-price-current { font-size: 30px; }
    .product-meta { grid-template-columns: 1fr; }
    .product-tabs { overflow-x: auto; }
}

.product-detail--panel .product-detail-grid { grid-template-columns: 1fr; }
.product-detail--panel .product-gallery { position: static; }
.product-detail--panel .product-gallery-main { aspect-ratio: 16 / 7; }
.product-detail--panel .product-info { margin-top: -70px; position: relative; z-index: 2; width: min(920px, calc(100% - 32px)); justify-self: center; box-shadow: var(--shadow-strong); }
@media (max-width: 620px) { .product-detail--panel .product-info { margin-top: 0; width: 100%; } }


/* VARIANT5 Categories */
.v5-category-grid { display: grid; gap: 14px; }
.v5-category-tile {
    min-height: 154px;
    display: grid;
    align-content: end;
    gap: 6px;
    padding: 18px;
    overflow: hidden;
    position: relative;
    border-radius: var(--radius-lg);
    background: var(--footer-bg);
    color: #fff;
}
.v5-category-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.68;
}
.v5-category-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(24, 33, 43, 0.05), rgba(24, 33, 43, 0.82));
}
.v5-category-tile strong,
.v5-category-tile span,
.v5-category-fallback {
    position: relative;
    z-index: 1;
}
.v5-category-tile strong { font-size: 16px; }
.v5-category-tile span { color: #d7e0e6; font-size: 13px; font-weight: 800; }
.v5-category-fallback {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-md);
    color: var(--primary-color);
    background: color-mix(in srgb, var(--primary-color) 10%, white);
    font-size: 22px;
    font-weight: 900;
}
.v5-category-chip,
.v5-category-stat {
    display: grid;
    gap: 8px;
    padding: 18px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}
.v5-category-chip { grid-template-columns: 48px 1fr auto; align-items: center; }
.v5-category-chip strong,
.v5-category-stat strong { color: var(--text-primary); font-size: 16px; }
.v5-category-chip span,
.v5-category-stat span { color: var(--text-secondary); font-size: 13px; font-weight: 800; }
.v5-category-chip:hover,
.v5-category-stat:hover { border-color: var(--primary-color); }

@media (max-width: 1180px) {
    .v5-category-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 700px) {
    .v5-category-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
    .v5-category-grid { grid-template-columns: 1fr !important; }
}

.v5-category-grid--chips { grid-template-columns: repeat(2, 1fr); }
.v5-category-grid--chips .v5-category-fallback { width: 48px; height: 48px; }
@media (max-width: 700px) { .v5-category-grid--chips { grid-template-columns: 1fr !important; } }


/* VARIANT5 Footer */
.v5-footer {
    padding: 48px 0 24px;
    color: var(--footer-text);
    background: var(--footer-bg);
}
.v5-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 1fr);
    gap: 38px;
}
.v5-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: #fff;
    font-size: 22px;
    font-weight: 900;
}
.v5-footer-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.18);
    background: #fff;
}
.v5-footer p { max-width: 380px; margin: 0; color: #bfd1bd; }
.v5-footer h3 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}
.v5-footer ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #bfd1bd;
    font-size: 14px;
}
.v5-footer a:hover { color: #fff; }
.v5-footer svg { width: 17px; height: 17px; stroke: currentColor; fill: none; }
.v5-footer-bottom,
.v5-footer-actions,
.v5-footer-compact-row,
.v5-footer-minimal-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.v5-footer-bottom {
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.12);
    color: #94a3af;
    font-size: 13px;
}
@media (max-width: 860px) {
    .v5-footer-grid { grid-template-columns: 1fr 1fr; }
    .v5-footer-bottom,
    .v5-footer-compact-row,
    .v5-footer-minimal-row { align-items: start; flex-direction: column; }
}
@media (max-width: 560px) {
    .v5-footer-grid { grid-template-columns: 1fr; }
}


/* Trust strip */
.trust-strip { padding: 16px 0 54px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.trust-item {
    min-height: 86px;
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: #fffdf8;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}
.trust-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-md);
    color: var(--primary-color);
    background: color-mix(in srgb, var(--primary-color) 12%, white);
}
.trust-icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; }
.trust-item strong { display: block; color: var(--text-primary); font-size: 15px; }
.trust-item span { color: var(--text-secondary); font-size: 13px; }

/* Showcase */
.showcase { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 20px; }
.showcase-main,
.showcase-side {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
}
.showcase-main { display: grid; grid-template-columns: 1fr 0.9fr; min-height: 360px; }
.showcase-copy { display: grid; align-content: center; gap: 18px; padding: 42px; }
.showcase-copy p:not(.section-kicker) { margin: 0; color: var(--text-secondary); }
.showcase-art {
    min-height: 280px;
    background:
        linear-gradient(135deg, rgba(207, 95, 130, 0.18), rgba(111, 159, 116, 0.14)),
        repeating-linear-gradient(110deg, rgba(147, 64, 90, 0.10) 0 2px, transparent 2px 18px),
        #fff7f8;
    position: relative;
}
.showcase-art::before,
.showcase-art::after {
    content: "";
    position: absolute;
    border-radius: var(--radius-lg);
    background: #fffdf8;
    box-shadow: var(--shadow-soft);
}
.showcase-art::before { width: 46%; height: 44%; left: 16%; top: 18%; transform: rotate(-7deg); }
.showcase-art::after { width: 40%; height: 38%; right: 14%; bottom: 16%; transform: rotate(8deg); }
.showcase-side { display: grid; grid-template-rows: 1fr 1fr; }
.side-offer {
    display: grid;
    grid-template-columns: 1fr 140px;
    gap: 16px;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
}
.side-offer:last-child { border-bottom: 0; }
.side-offer strong { display: block; margin-bottom: 6px; color: var(--text-primary); font-size: 18px; }
.side-offer span { color: var(--text-secondary); font-size: 13px; font-weight: 700; }
.side-img {
    height: 122px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: var(--radius-md);
    color: var(--primary-color);
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary-color) 14%, white), color-mix(in srgb, var(--secondary-color) 16%, white));
}

.v5-category-empty {
    grid-column: 1 / -1;
    margin-top: 0;
}
.side-img svg { width: 42px; height: 42px; stroke: currentColor; fill: none; }

/* Content pages */
.main-content {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}
.main-content h1,
.main-content h2,
.main-content h3 { color: var(--text-primary); }
.main-content p,
.main-content li { color: var(--text-secondary); }

/* Cart modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(17, 24, 39, 0.55);
    backdrop-filter: blur(4px);
}
.cart-content {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(95%, 760px);
    max-height: 85vh;
    overflow-y: auto;
    transform: translate(-50%, -50%);
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 64px rgba(0, 0, 0, 0.24);
}
.cart-header,
.cart-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--border-color);
}
.cart-footer { border-top: 1px solid var(--border-color); border-bottom: 0; }
.cart-header h3 { margin: 0; font-size: 20px; }
.close-cart { color: var(--text-secondary); font-size: 28px; line-height: 1; cursor: pointer; }
.cart-body { padding: 18px 22px; }
.show-cart { width: 100%; border-collapse: collapse; }
.show-cart th,
.show-cart td { padding: 10px 0; border-bottom: 1px solid var(--border-color); text-align: left; font-size: 14px; }
.show-cart img { width: 58px; height: 58px; object-fit: cover; border-radius: var(--radius-md); }
.cart-total { display: flex; justify-content: space-between; padding-top: 16px; font-size: 18px; font-weight: 900; }
.cart-form { padding: 0 22px 18px; }
.cart-form label { display: block; margin-bottom: 8px; font-weight: 800; font-size: 14px; }
.cart-form input {
    width: 100%;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    outline: 0;
}
.cart-form input:focus { border-color: var(--primary-color); }
.cart-footer button {
    min-height: 42px;
    flex: 1;
    border: 0;
    border-radius: var(--radius-md);
    font-weight: 900;
    cursor: pointer;
}
.clear-cart,
.close-btn { background: var(--bg-secondary); color: var(--text-primary); }
.order-btn { background: var(--primary-color); color: #fff; }

@media (max-width: 1180px) {
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .showcase,
    .showcase-main { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    .container { width: min(var(--max-width), calc(100% - 32px)); }
    .section { padding: 42px 0; }
    .section-header { align-items: start; flex-direction: column; }
    .section-title,
    .section h2 { font-size: 24px; }
    .showcase-copy { padding: 28px; }
    .side-offer { grid-template-columns: 1fr 120px; }
}

@media (max-width: 560px) {
    .trust-grid { grid-template-columns: 1fr; }
    .side-offer { grid-template-columns: 1fr 104px; }
    .cart-footer { flex-direction: column; }
    .cart-footer button { width: 100%; }
}
