/* Color Scheme Variables */

:root {
    --primary-color: #adb332;
    --primary-light: #d6d8b1;
    --primary-dark: #646917;
    --primary-vibrant: #bac224;
    --secondary-color: #4d47bd;
    --secondary-light: #a5a3cc;
    --secondary-dark: #211d77;
    --accent-color: #60c322;
    --accent-light: #acd095;
    --accent-dark: #356d12;
    --gradient-primary: linear-gradient(135deg, #adb332, #4d47bd);
    --gradient-secondary: linear-gradient(135deg, #4d47bd, #60c322);
    --gradient-accent: linear-gradient(90deg, #adb332, #4d47bd, #60c322);
    --text-primary: #272a1e;
    --text-secondary: #878f66;
    --bg-primary: #ffffff;
    --bg-secondary: #f5f6f4;
    --bg-strong: #e6e9dd;
    --border-color: #dcdfd3;
    --success-color: #2fa749;
    --warning-color: #e69d28;
    --error-color: #bc243d;
    --footer-bg: #2a2f19;
    --footer-text: #e3e4dc;
    --primary-overlay-90: rgba(100, 105, 23, 0.9);
    --primary-overlay-75: rgba(100, 105, 23, 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: 12px;
    --shadow-soft: 0 12px 32px color-mix(in srgb, var(--text-primary) 8%, transparent);
    --shadow-strong: 0 16px 48px color-mix(in srgb, var(--text-primary) 14%, transparent);
}

.section { padding: 58px 0; background: var(--bg-primary); border-top: 1px solid var(--border-color); }
.section.alt { background: var(--bg-secondary); }
.scroll-anchor {
    display: block;
    position: relative;
    top: calc(var(--header-height) * -1);
    visibility: hidden;
}
.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: var(--footer-text);
    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: color-mix(in srgb, var(--footer-text) 82%, var(--footer-bg));
}
.v5-topbar strong { color: var(--bg-primary); font-weight: 800; }
.v5-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: color-mix(in srgb, var(--bg-primary) 94%, transparent);
    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;
    min-width: 0;
    color: var(--text-primary);
    font-size: 22px;
    font-weight: 900;
    white-space: nowrap;
}
.v5-brand span:last-child { min-width: 0; }
.v5-brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: var(--bg-primary);
    background: var(--primary-color);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 900;
}
.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: color-mix(in srgb, var(--text-secondary) 72%, var(--bg-secondary)); }
.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: var(--bg-primary);
    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: var(--bg-primary);
    background: var(--accent-color);
    border: 2px solid var(--bg-primary);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
}
.v5-menu-btn { display: none; }
.v5-nav {
    background: var(--bg-primary);
    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%, var(--bg-primary));
}
.v5-mini-nav { display: flex; align-items: center; gap: 8px; }

@media (max-width: 980px) {
    .v5-header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
    .v5-brand { white-space: normal; line-height: 1.1; }
    .v5-brand span:last-child { overflow-wrap: anywhere; }
    .v5-header-actions { min-width: max-content; justify-self: end; }
    .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 { gap: 8px; 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--center .v5-header-inner {
    grid-template-columns: 1fr auto 1fr;
}
.v5-header--center .v5-header-actions { justify-content: flex-end; }
.v5-header--center > .container:last-child { padding-bottom: 14px; }
@media (max-width: 980px) {
    .v5-header--center .v5-mini-nav { display: none; }
    .v5-header--center .v5-header-inner { grid-template-columns: minmax(0, 1fr) auto; }
}


/* VARIANT5 Hero Base */
.v5-hero { padding: 28px 0 40px; }
.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%, var(--bg-primary));
}
.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, color-mix(in srgb, var(--footer-bg) 78%, transparent), color-mix(in srgb, var(--footer-bg) 18%, transparent) 58%, color-mix(in srgb, var(--footer-bg) 42%, transparent));
}
.v5-hero-media {
    position: absolute;
    inset: 0;
}
.v5-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.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: color-mix(in srgb, var(--bg-primary) 16%, transparent);
    font-size: 128px;
    font-weight: 900;
}
.v5-hero-copy {
    position: relative;
    z-index: 1;
    width: min(580px, calc(100% - 48px));
    padding: 42px;
    color: var(--bg-primary);
}
.v5-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-bottom: 18px;
    padding: 5px 10px;
    border: 1px solid color-mix(in srgb, var(--bg-primary) 32%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--bg-primary) 12%, transparent);
    color: var(--bg-primary);
    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: var(--footer-text);
    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: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}
.v5-deal-card.dark {
    color: var(--bg-primary);
    background: var(--footer-bg);
    border-color: var(--footer-bg);
}
.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: color-mix(in srgb, var(--footer-text) 82%, var(--footer-bg)); }
.v5-deal-image {
    height: 120px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: var(--radius-md);
    color: var(--primary-color);
    background: var(--bg-secondary);
}
.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-hero-fallback span { font-size: 90px; }
    .v5-deal-card { grid-template-columns: 1fr 104px; }
}

.v5-hero--editorial .v5-hero-layout { grid-template-columns: 1fr 280px; }
.v5-hero--editorial .v5-hero-main { grid-template-columns: 0.95fr 1.05fr; align-items: center; min-height: 500px; }
.v5-hero--editorial .v5-hero-main::after { background: linear-gradient(90deg, color-mix(in srgb, var(--footer-bg) 88%, transparent), color-mix(in srgb, var(--footer-bg) 18%, transparent)); }
.v5-hero--editorial .v5-hero-media { position: relative; height: 100%; z-index: 0; }
@media (max-width: 860px) { .v5-hero--editorial .v5-hero-layout, .v5-hero--editorial .v5-hero-main { 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 { border-radius: 999px; min-height: 42px; }
.btn-row { padding: 5px; border: 1px solid var(--border-color); border-radius: 999px; background: var(--bg-primary); width: max-content; max-width: 100%; }
.btn-primary { background: var(--text-primary); color: var(--bg-primary); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-light { background: transparent; color: var(--text-secondary); }
.btn-light:hover { background: var(--bg-secondary); color: var(--text-primary); }
.btn-outline { background: transparent; border-color: transparent; color: var(--primary-color); }
.btn-outline:hover { background: color-mix(in srgb, var(--primary-color) 10%, var(--bg-primary)); }


/* 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: var(--bg-primary);
    background: var(--accent-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 {
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 800;
}
.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: var(--bg-primary);
}
.product-card-cart-btn svg { width: 17px; height: 17px; stroke: currentColor; fill: none; }
@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(2, 1fr); }
.product-card--horizontal {
    display: grid;
    grid-template-columns: 190px 1fr;
    min-height: 190px;
}
.product-card--horizontal .product-card-image { height: 100%; }
.product-card--horizontal .product-card-body { align-content: center; }
@media (max-width: 700px) {
    .product-card--horizontal { grid-template-columns: 1fr; }
    .product-card--horizontal .product-card-image { aspect-ratio: 4 / 3; }
}

.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-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-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%, var(--bg-primary));
    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: var(--bg-primary);
    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: var(--bg-primary);
    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--editorial { background: var(--bg-secondary); }
.product-detail--editorial .product-detail-grid { grid-template-columns: 1.1fr 0.9fr; }
.product-detail--editorial .product-gallery-main { aspect-ratio: 4 / 5; box-shadow: var(--shadow-soft); }
.product-detail--editorial .product-info { align-self: center; border-color: transparent; box-shadow: var(--shadow-soft); }
@media (max-width: 980px) { .product-detail--editorial .product-detail-grid { grid-template-columns: 1fr; } }


/* 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: var(--bg-primary);
}
.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, color-mix(in srgb, var(--footer-bg) 5%, transparent), color-mix(in srgb, var(--footer-bg) 82%, transparent));
}
.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: var(--footer-text); 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%, var(--bg-primary));
    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: var(--bg-primary);
    font-size: 22px;
    font-weight: 900;
}
.v5-footer-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-md);
    color: var(--bg-primary);
    background: var(--primary-color);
    font-size: 15px;
    font-weight: 900;
}
.v5-footer p { max-width: 380px; margin: 0; color: var(--footer-text); }
.v5-footer h3 {
    margin: 0 0 14px;
    color: var(--bg-primary);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}
.v5-footer ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--footer-text);
    font-size: 14px;
}
.v5-footer a:hover { color: var(--bg-primary); }
.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 color-mix(in srgb, var(--bg-primary) 12%, transparent);
    color: color-mix(in srgb, var(--footer-text) 72%, var(--footer-bg));
    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; }
}

.v5-footer--catalog-board { background: var(--bg-secondary); color: var(--text-secondary); }
.v5-footer-board {
    display: grid;
    grid-template-columns: 1.2fr repeat(3, 1fr);
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--border-color);
}
.v5-footer-board > div {
    min-height: 210px;
    padding: 24px;
    background: var(--bg-primary);
}
.v5-footer--catalog-board .v5-footer-brand,
.v5-footer--catalog-board h3,
.v5-footer--catalog-board a:hover { color: var(--text-primary); }
.v5-footer--catalog-board p,
.v5-footer--catalog-board ul { color: var(--text-secondary); }
@media (max-width: 860px) { .v5-footer-board { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .v5-footer-board { 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: var(--bg-primary);
    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) 10%, var(--bg-primary));
}
.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:
        radial-gradient(circle at 28% 22%, color-mix(in srgb, var(--accent-color) 20%, transparent), transparent 34%),
        linear-gradient(135deg, color-mix(in srgb, var(--primary-color) 18%, var(--bg-primary)), color-mix(in srgb, var(--secondary-color) 12%, var(--bg-primary)));
    position: relative;
}
.showcase-art::before,
.showcase-art::after {
    content: "";
    position: absolute;
    border-radius: var(--radius-lg);
    background: var(--bg-primary);
    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: color-mix(in srgb, var(--primary-color) 10%, var(--bg-primary));
}
.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: color-mix(in srgb, var(--footer-bg) 55%, transparent);
    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 color-mix(in srgb, var(--footer-bg) 24%, transparent);
}
.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-footer button,
.cart-footer a {
    min-height: 42px;
    flex: 1;
    border: 0;
    border-radius: var(--radius-md);
    font-weight: 900;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.clear-cart,
.close-btn { background: var(--bg-secondary); color: var(--text-primary); }
.order-btn { background: var(--primary-color); color: var(--bg-primary); }

@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,
    .cart-footer a { width: 100%; }
}

/* Fresh Seafood site polish */
:root{--primary:#0b5557;--primary-color:#0b5557;--primary-dark:#063a3d;--primary-light:#e6f1ef;--accent:#d0e38e;--accent-color:#d0e38e;--text-primary:#123a3d;--text-secondary:#526a6c;--bg-primary:#fff;--border-color:#dce7e4}
html{scroll-behavior:smooth;scroll-padding-top:24px}body{font-family:Arial,Helvetica,sans-serif;color:#173c3e;background:#fff}button,input{font:inherit}button,a,input{touch-action:manipulation}[hidden]{display:none!important}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #559994;outline-offset:3px}
.v5-topbar{background:#0b5557;color:#fff}.v5-topbar a{color:#fff}.fs-header{background:#fff}.fs-header .v5-header-inner{display:flex;justify-content:space-between;gap:20px;padding-top:22px;padding-bottom:18px}.v5-brand,.v5-footer-brand{display:flex;align-items:center;gap:12px;font-weight:700;text-decoration:none}.v5-brand>span{font-size:25px;white-space:nowrap}.v5-brand img,.v5-footer-brand img{flex-shrink:0;border-radius:14px}.v5-header-actions{display:flex;gap:8px}.v5-icon-btn{color:#174d4d;border:1px solid #dce7e4;background:#fff;border-radius:12px;min-width:44px;min-height:44px}.v5-icon-btn svg{width:22px;height:22px}.v5-cart-dot{background:#0b5557;color:#fff}.fs-menu-toggle{display:none}.fs-search-row .v5-search{display:flex;width:100%;max-width:none;margin:0 0 17px;background:#f1f6f4;border:1px solid #dce7e4;border-radius:12px}.v5-search input{min-width:0;flex:1;padding:15px 18px;background:transparent;border:0}.v5-search button{width:56px;background:transparent;border:0;color:#0b5557;cursor:pointer}.v5-search svg{width:23px;height:23px}.fs-nav{display:flex;gap:30px;padding-bottom:18px;font-size:14px}.fs-nav a{color:#385959;text-decoration:none}.fs-nav a:hover{text-decoration:underline}
.v5-hero{padding-top:28px}.v5-hero-main{background:#edf5f0;border:1px solid #dce7e4;border-radius:22px;overflow:hidden;box-shadow:none}.v5-hero-copy{padding:40px 30px}.v5-hero-copy h1{font-size:clamp(30px,3vw,46px);line-height:1.12;letter-spacing:-1.4px;color:#123b3c}.v5-hero-copy p{max-width:470px;line-height:1.7;color:#526a65}.v5-eyebrow{color:#366b5a;font-size:12px;letter-spacing:.06em}.v5-hero-media{padding:0;min-height:340px}.v5-hero-media img{width:100%;height:100%;object-fit:cover;border-radius:0}.v5-category-rail{border:1px solid #dce7e4;border-radius:20px;background:white;box-shadow:none}.v5-rail-link.active,.v5-category-chip.active{background:#e6f1ef;color:#0b5557}.v5-rail-title{color:#173c3e}.btn-primary{background:#0b5557;color:#fff;border-color:#0b5557}.btn-primary:hover{background:#063a3d}.btn-light,.btn-outline{color:#0b5557;border-color:#b9ceca}.trust-strip{background:white;border-bottom:1px solid #e3ece7}.trust-icon{color:#0b5557;background:#eff6f1}.section.alt{background:#f4f7f4}.section-title{color:#123c3e}.section-kicker,.section-link{color:#3f7065}.section-subtitle{color:#536c65}.fs-filter-status{display:flex;align-items:center;gap:18px;margin-top:20px;font-size:13px;color:#536c65}.fs-filter-status button{border:0;background:none;color:#0b5557;text-decoration:underline;cursor:pointer}
.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.product-card{position:relative;border:1px solid #dce7e4;border-radius:16px;background:#fff;box-shadow:none;overflow:hidden}.product-card--horizontal{display:grid;grid-template-columns:1fr}.product-card--horizontal .product-card-image{aspect-ratio:4/3;height:auto;background:#fff;padding:14px}.product-card-image img{width:100%;height:100%;object-fit:contain}.product-card-body{padding:18px;gap:12px}.product-card-title{min-height:46px;color:#143f41;font-size:15px;line-height:1.55;display:block;overflow-wrap:anywhere}.product-card-category{font-size:11px;color:#6a837e}.product-card-price{font-size:18px;color:#123b3c;white-space:normal;overflow-wrap:anywhere}.product-card-cart-btn{background:#0b5557;color:#fff;flex-shrink:0;width:42px;height:42px}.fs-favorite{position:absolute;right:12px;top:12px;width:34px;height:34px;display:grid;place-items:center;border:1px solid #e1e9e4;border-radius:50%;background:#ffffffec;color:#597b70;cursor:pointer}.fs-favorite svg{width:17px;height:17px}.fs-favorite.is-active{color:#ab4e3e}.fs-favorite.is-active svg{fill:#ab4e3e}.fs-empty{padding:30px;border:1px solid #dce7e4;border-radius:16px;background:#fff;color:#536c65}
.showcase-main{background:#eaf3ee;color:#123c3e}.showcase-copy h2{color:#123c3e}.showcase-art{background:url('../assets/hero-seafood.png') center/cover;min-height:220px}.side-offer{background:#f5f7f2;border-color:#dce7e4;color:#173c3e}.side-img{color:#0b5557;background:#e8f1e7}.v5-footer{background:#0e3538;color:#dce9e4}.v5-footer p,.v5-footer li,.v5-footer a{color:#dce9e4}.v5-footer-board{grid-template-columns:1.6fr 1fr 1fr 1.3fr;gap:35px}.v5-footer-brand{font-size:21px;color:#fff}.fs-footer-bottom{border-top:1px solid #31575a;margin-top:38px;padding:22px 0 0;font-size:13px}.fs-copy{max-width:900px;min-height:450px;padding-top:60px;padding-bottom:70px}.fs-copy h1{font-size:38px;line-height:1.2;margin-bottom:32px}.fs-copy h2{margin:35px 0 12px;font-size:21px}.fs-copy p{line-height:1.8;color:#48605c;max-width:760px}.fs-copy a{color:#0b5557}.product-detail h1{color:#123b3c}.product-info{min-width:0}.product-description{line-height:1.8}.product-meta-item{color:#496a62}.fs-cart-note{color:#526a65;font-size:13px;line-height:1.6;margin:0 0 20px}.cart-header .close-cart{border:0;background:none;font-size:30px;cursor:pointer}.cart-content{max-height:90vh;overflow:auto}.cart-footer{flex-wrap:wrap}.order-btn{background:#0b5557}.modal img{object-fit:contain}.cart-total-value{white-space:nowrap}
@media(min-width:1000px){.v5-hero-layout{grid-template-columns:minmax(0,1fr) 245px}.v5-hero-main{display:grid;grid-template-columns:1.05fr 1fr}.v5-hero-media{align-self:stretch}}
@media(max-width:1000px){.v5-hero-layout{grid-template-columns:1fr}.v5-hero-main{display:grid;grid-template-columns:1fr 1fr}.v5-category-rail{display:none}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.v5-footer-board{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.container{width:100%;padding-left:18px;padding-right:18px}.v5-topbar-inner{justify-content:center}.v5-topbar ul{display:none}.fs-header .v5-header-inner{padding-top:17px;padding-bottom:15px;gap:8px}.v5-brand{gap:9px}.v5-brand>span{font-size:19px}.v5-brand img{width:35px;height:35px;border-radius:10px}.v5-header-actions{gap:4px}.v5-icon-btn{min-width:36px;width:36px;min-height:38px;height:38px;border:0}.fs-menu-toggle{display:grid}.fs-nav{display:none}.fs-nav.is-open{display:flex;flex-direction:column;gap:18px;padding-top:8px;padding-bottom:22px}.fs-search-row .v5-search{margin-bottom:12px}.v5-search input{padding:13px 12px;font-size:14px}.v5-hero{padding-top:16px}.v5-hero-main{grid-template-columns:1fr;border-radius:18px}.v5-hero-copy{padding:27px 23px}.v5-hero-copy h1{font-size:34px;letter-spacing:-1px}.v5-hero-copy p{font-size:14px}.v5-hero-media{min-height:0;aspect-ratio:3/2}.v5-hero-media img{display:block;aspect-ratio:3/2}.trust-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.trust-item{gap:10px}.trust-icon{width:34px;height:34px;flex-shrink:0}.trust-item strong{font-size:13px}.trust-item span{font-size:12px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-card--horizontal .product-card-image{padding:9px}.product-card-body{padding:11px;gap:8px}.product-card-title{font-size:13px;line-height:1.5;min-height:60px}.product-card-price{font-size:14px}.product-card-footer{gap:5px;align-items:center}.product-card-cart-btn{width:32px;height:34px;min-width:32px}.product-card-category{font-size:10px}.fs-favorite{right:7px;top:7px;width:29px;height:29px}.section-header{display:block}.section-header>.section-link{display:inline-flex;margin-top:16px}.section-title{font-size:29px}.showcase-main{display:block}.showcase-copy{padding:26px}.showcase-art{min-height:240px}.v5-footer-board{grid-template-columns:1fr 1fr;gap:28px}.v5-footer-board>div:first-child{grid-column:1/-1}.v5-footer-brand{font-size:21px}.v5-footer ul,.v5-footer p{font-size:13px;line-height:1.65;overflow-wrap:anywhere}.fs-copy{padding-top:36px;padding-bottom:45px}.fs-copy h1{font-size:29px}.fs-copy h2{font-size:21px}.fs-copy p{font-size:15px}.cart-content{width:95%;padding:16px;margin-top:5vh}.show-cart td{padding:5px;font-size:12px}.show-cart input{max-width:40px}.show-cart img{width:42px}.cart-footer{gap:8px}.cart-footer button,.cart-footer a{padding:10px;font-size:12px}.product-detail-grid{grid-template-columns:1fr}.product-info h1{font-size:27px;overflow-wrap:anywhere}.product-purchase-row{flex-wrap:wrap}.product-tabs{flex-wrap:wrap}.product-meta{flex-wrap:wrap}}
@media(max-width:359px){.container{padding-left:12px;padding-right:12px}.v5-brand>span{font-size:17px}.v5-brand img{width:31px;height:31px}.v5-header-actions{gap:0}.v5-icon-btn{width:33px;min-width:33px}.v5-hero-copy h1{font-size:29px}.v5-hero-copy{padding:23px 20px}.product-grid{gap:9px}.product-card-body{padding:9px}.product-card-title{font-size:12px}.product-card-price{font-size:13px}}

/* Keep the editorial layout flexible at every viewport. */
.cart-notification { background: #0b5557 !important; }
.product-gallery-main img { object-fit: contain; background: #fff; }
.showcase-copy > * { min-width: 0; max-width: 100%; }
.showcase-copy .btn-row { width: auto; border: 0; background: none; padding: 0; border-radius: 0; }
.showcase-copy .btn { padding: 12px 16px; font-size: 13px; border-radius: 10px; }
.trust-item { grid-template-columns: 34px minmax(0,1fr); }
.trust-item strong { overflow-wrap: anywhere; }
.v5-footer-board { border: 0; background: transparent; }
.v5-footer-board > div { padding: 0; background: transparent; min-height: 0; }
.v5-footer h3 { color: #fff; }
.v5-footer--catalog-board .v5-footer-brand,.v5-footer--catalog-board h3 { color: #fff; }
:root {
  --primary-vibrant: #177573;
  --secondary-color: #3f786d;
  --secondary-light: #daeae2;
  --secondary-dark: #214e49;
  --accent-light: #e4edc8;
  --accent-dark: #52672f;
  --gradient-primary: linear-gradient(135deg, #0b5557, #3f786d);
  --gradient-secondary: linear-gradient(135deg, #3f786d, #8aa563);
  --gradient-accent: linear-gradient(90deg, #0b5557, #8aa563);
  --bg-secondary: #f4f7f4;
  --bg-strong: #e6efea;
  --footer-bg: #0e3538;
  --footer-text: #dce9e4;
  --primary-overlay-90: rgba(11,85,87,.9);
  --primary-overlay-75: rgba(11,85,87,.75);
}
.v5-hero--editorial .v5-hero-layout { grid-template-columns: minmax(0,1fr) 245px; }
.v5-hero--editorial .v5-hero-main { grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); min-height: 440px; }
.v5-hero--editorial .v5-hero-main::after { display: none; }
.v5-hero--editorial .v5-hero-copy { width: 100%; min-width: 0; max-width: 100%; color: var(--text-primary); }
.v5-hero--editorial .v5-hero-media { min-width: 0; }
.v5-hero .btn-row { padding: 0; border: 0; border-radius: 0; background: none; width: auto; gap: 12px; }
.v5-hero .btn { font-size: 13px; padding: 13px 16px; border-radius: 10px; }
.v5-hero .btn-light { background: transparent; border: 1px solid #b9ceca; }
.v5-hero .btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.showcase-art::before,.showcase-art::after { display: none; }
.product-card,.product-card-body,.trust-item,.v5-footer-board>div { min-width: 0; }
.v5-footer-brand { flex-wrap: wrap; }
@media(max-width:1000px) {
  .v5-hero--editorial .v5-hero-layout { grid-template-columns: minmax(0,1fr); }
  .v5-hero--editorial .v5-hero-main { min-height: 390px; }
}
@media(max-width:700px) {
  .cart-content { padding: 0; margin-top: 0; }
  .cart-body,.cart-header,.cart-footer { padding: 18px; }
  .show-cart .cart-header-row { display: none; }
  .show-cart tr:not(.cart-header-row) { position: relative; display: grid; grid-template-columns: 58px minmax(0,1fr); column-gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border-color); }
  .show-cart td { padding: 0; border: 0; font-size: 14px; min-width: 0; }
  .show-cart td:nth-child(1) { grid-column: 2; grid-row: 1; padding-right: 26px; line-height: 1.5; }
  .show-cart td:nth-child(2) { grid-column: 2; grid-row: 2; padding-top: 6px; color: var(--text-secondary); }
  .show-cart td:nth-child(3) { grid-column: 1; grid-row: 1/3; }
  .show-cart td:nth-child(3) img { width: 58px; height: 58px; }
  .show-cart td:nth-child(4) { grid-column: 1/-1; grid-row: 3; margin-top: 14px; }
  .show-cart td:nth-child(4) .quantity-control { width: max-content; }
  .show-cart td:nth-child(5) { position: absolute; right: 0; top: 14px; }
  .show-cart td:nth-child(5) button { background: none; color: #426460; border: 0; font-size: 17px; cursor: pointer; }
  .show-cart td:nth-child(6) { grid-column: 1/-1; grid-row: 4; margin-top: 12px; text-align: right; font-weight: 700; }
  .show-cart td:nth-child(6)::before { content: 'Сумма: '; font-weight: 400; }
  .show-cart td:nth-child(6)::after { content: ' ₽'; }
  .show-cart td[colspan] { grid-column: 1/-1; grid-row: 1; }
  .v5-hero--editorial .v5-hero-main { grid-template-columns: minmax(0,1fr); }
  .v5-hero--editorial .v5-hero-media { height: auto; }
  .v5-hero--editorial .v5-hero-copy h1 { font-size: 34px; overflow-wrap: anywhere; }
  .v5-hero-copy p { margin-bottom: 23px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  .trust-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .trust-item { align-items: flex-start; }
  .showcase-copy,.side-offer { min-width: 0; }
  .v5-footer-brand { font-size: 19px; }
  .fs-header .v5-header-inner { min-width: 0; }
}
@media(max-width:359px) {
  .v5-hero--editorial .v5-hero-copy h1 { font-size: 29px; }
  .v5-hero .btn { padding: 11px 12px; }
  .trust-grid { column-gap: 10px; }
  .fs-copy h1 { font-size: 26px; overflow-wrap: anywhere; }
}
