/* ==========================================================================
   Main Styles - Тротуарна плитка
   ========================================================================== */

/* Variables
   ========================================================================== */
:root {
    --color-primary: #2d6b6b;
    --color-primary-light: #3d8b7a;
    --color-accent: #2096d4;
    --color-text: #2d3748;
    --color-text-light: #64748b;
    --color-heading: #1a202c;
    --color-bg: #f2f3f4;
    --color-bg-light: #eeeeee;
    --color-white: #fff;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    --transition: 0.2s ease;
}

/* Base
   ========================================================================== */
* {
    box-sizing: border-box;
}

/* Колір html = колір футера, щоб зона під body (admin bar margin / коротка сторінка) не показувала білу смугу. */
html {
    background: #1a202c;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text);
    background: var(--color-white);
}

img {
    max-width: 100%;
    height: auto;
}

/* Header
   ========================================================================== */
.header01 {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 100;
    width: 100%;
    padding: 0 20px;
}

.header01.fixedHeader {
    position: fixed;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.headerInner01 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

/* Logo container — задає висоту шапки через вертикальний padding */
.logo {
    position: relative;
    min-width: 13.4%;
    padding: 36px 0;
}

/* Wrapper-link для лого: іконка + текст в один рядок */
.logo-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.logo-img {
    display: block;
    height: 44px;
    width: auto;
}

/* Logo */
.logo-text {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-heading);
    text-decoration: none;
    letter-spacing: -0.5px;
    text-transform: lowercase;
}

.logo-text span {
    color: var(--color-primary);
}

.logo-text:hover {
    color: var(--color-heading);
}

.logo-text:hover span {
    color: var(--color-primary-light);
}

/* Main Menu */
.mainMenu {
    font-family: var(--font-heading);
}

.mainMenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    list-style: none;
}

.mainMenu > ul > li {
    position: relative;
    padding: 32px 0;
    margin: 0 36px 0 0;
}

.mainMenu > ul > li:last-child {
    margin-right: 0;
}

.mainMenu ul li a {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.2px;
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--transition);
}

.mainMenu ul li a:hover,
.mainMenu ul li.current-menu-item > a {
    color: var(--color-primary);
}

/* Dropdown arrow */
.mainMenu ul li.menu-item-has-children > a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
    margin-left: 8px;
    opacity: 0.4;
    transition: transform var(--transition);
}

.mainMenu ul li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.mainMenu ul li ul {
    display: block;
    position: absolute;
    top: 100%;
    left: -20px;
    min-width: 220px;
    padding: 16px 0;
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
}

.mainMenu ul li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mainMenu ul li ul li {
    display: block;
    padding: 0;
    margin: 0;
}

.mainMenu ul li ul li a {
    display: block;
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.2px;
    color: var(--color-text);
}

.mainMenu ul li ul li a:hover {
    color: var(--color-primary);
    background: var(--color-bg);
}

/* Mobile Menu Toggle (бургер) — прихований на десктопі.
   position:relative + високий z-index — щоб лишався над drawer (X-іконку видно при відкритому меню). */
.mobile-menu-toggle {
    display: none;
    position: relative;
    z-index: 1100;
    margin-left: 16px;
    background: transparent;
    border: 0;
    padding: 10px 12px;
    color: var(--color-heading);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    border-radius: 8px;
    transition: all var(--transition);
}

.mobile-menu-toggle:hover {
    color: var(--color-primary);
    background: var(--color-bg-light);
}

.mobile-menu-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
}

.mobile-menu-backdrop.is-visible {
    display: block;
}

body.menu-open {
    overflow: hidden;
}

/* Підняти .header01 над backdrop при відкритому меню (drawer всередині header).
   Без цього .header01 має z-index:100 і backdrop (999) накладається на drawer. */
body.menu-open .header01 {
    z-index: 1001;
}


/* Mobile Menu — drawer справа на ≤1199px (перекриває Ulina-правила responsive.css при ≤1365px).
   !important використовуємо тільки там, де Ulina ставить display:none / position:absolute. */
@media (max-width: 1199px) {
    .mobile-menu-toggle {
        display: inline-flex;
        align-items: center;
    }

    /* Контакти у шапці на мобайлі — компактна версія: телефон-іконка + месенджери */
    .header-contacts {
        gap: 8px;
        margin-left: auto;
        margin-right: 8px;
    }

    .header-phone {
        padding: 9px 11px;
    }

    .header-phone span {
        display: none;
    }

    .header-phone-icon {
        width: 18px;
        height: 18px;
        margin: 0;
    }

    .header-messengers {
        gap: 6px;
    }

    .header-messenger {
        width: 36px;
        height: 36px;
    }

    .header-messenger img {
        width: 18px;
        height: 18px;
    }

    .mainMenu {
        position: fixed !important;
        top: 0 !important;
        right: 0;
        left: auto !important;
        width: 320px !important;
        max-width: 90vw;
        height: 100vh;
        background: var(--color-white) !important;
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15) !important;
        border-radius: 0 !important;
        padding: 80px 28px 28px !important;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        display: block !important;
        max-height: none !important;
    }

    .mainMenu.is-open {
        transform: translateX(0);
    }

    .mainMenu ul {
        flex-direction: column;
        align-items: stretch;
        display: block;
    }

    .mainMenu > ul > li {
        padding: 14px 0 !important;
        margin: 0 !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        display: block;
    }

    .mainMenu > ul > li:last-child {
        border-bottom: 0;
    }

    .mainMenu ul li a {
        display: block;
        font-size: 17px;
    }

    /* Підменю — на мобайлі завжди розгорнуте, без hover */
    .mainMenu ul li ul,
    .mainMenu > ul > li > ul {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        background: transparent !important;
        padding: 8px 0 0 !important;
        margin: 8px 0 0 !important;
        min-width: 0;
        border: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.04) !important;
        display: block !important;
    }

    .mainMenu ul li ul li {
        padding: 0;
        display: block;
    }

    .mainMenu ul li ul li a {
        padding: 10px 12px;
        font-size: 15px;
        color: var(--color-text-light);
    }

    .mainMenu ul li.menu-item-has-children > a::after,
    .mainMenu ul li.menu-item-has-children:after {
        display: none !important;
    }
}

/* Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding: 160px 0 200px;
    text-align: center;
    background-color: var(--color-bg);
    overflow: hidden;
}

/* Noise texture overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.5;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.5' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 32px;
    color: var(--color-heading);
    letter-spacing: -0.5px;
}

.hero h1 .highlight {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-white);
    padding: 4px 20px;
    border-radius: 8px;
    margin-bottom: 4px;
}

/* Hero Features */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform var(--transition), box-shadow var(--transition);
}

.hero-feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.hero-feature i {
    font-size: 18px;
    color: var(--color-primary-light);
}

.hero-feature span {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
}

/* Lookbook Section — категорії на головній (фіксована сітка, без Shuffle.js)
   ==========================================================================
   Структура: .lookbook-grid (CSS Grid 3×2/2×3/1×6) → 6 карток .lookBook01.
   5 модифікаторів задають layout всередині картки (.lb-bottom-left, .lb-top-center,
   .lb-fullbg, .lb01M3, .lb01M4). Підгонка фото — через CSS-змінні в inline-стилі:
       --img-max-w  — max-width зображення (по умовч. 100%)
       --img-x      — translateX зображення (по умовч. 0)
       --img-y      — translateY зображення (по умовч. 0)
   Приклад:  style="--img-max-w: 70%; --img-x: 0; --img-y: 10px;"
   ========================================================================== */
.lookbookSection {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: -100px auto 0;
    padding: 32px 24px;
    background: var(--color-white);
    border-radius: 32px;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.12);
}
.lookbookSection .container {
    max-width: 100%;
    padding: 0;
}

/* Сітка: 3 колонки desktop / 2 tablet / 1 mobile, всі картки рівні по висоті */
.lookbook-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 991px) {
    .lookbook-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}
@media (max-width: 575px) {
    .lookbook-grid {
        grid-template-columns: 1fr;
    }
}

/* Базова картка — фіксована висота, переливається в посилання без зміни кольору */
.lookBook01 {
    position: relative;
    height: 420px;
    background: #f5f5f5;
    border-radius: 5px;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    display: block;
}
@media (max-width: 575px) {
    .lookBook01 { height: 320px; }
}

/* Декоративне коло-підкладка прибране (заважало при світлому фоні картки + JPG-фото). */

/* Зображення — використовує CSS-змінні для індивідуальної підгонки */
.lookBook01 img {
    max-width: var(--img-max-w, 100%);
    height: auto;
    position: relative;
    z-index: 2;
    transform: translate(var(--img-x, 0), var(--img-y, 0));
}

/* Контент картки */
.lbContent {
    position: relative;
    z-index: 10;
}
.lbContent h3 {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 8px;
}
.lbContent h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: 0.5px;
    color: var(--color-heading);
    margin: 0;
}

/* Модифікатор: lb-bottom-left — текст знизу зліва, фото зверху по центру */
.lb-bottom-left {
    display: flex;
    flex-direction: column-reverse;
    padding: 32px 32px 28px;
    text-align: left;
}
.lb-bottom-left img {
    margin: 0 auto auto;
    display: block;
    max-height: 95%;
    object-fit: contain;
}
.lb-bottom-left::after {
    top: -80px;
    bottom: auto;
    right: -80px;
}

/* Модифікатор: lb-top-center — текст зверху по центру, фото знизу */
.lb-top-center {
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    text-align: center;
}
.lb-top-center img {
    margin: auto auto 0;
    display: block;
    max-height: 85%;
    object-fit: contain;
}
.lb-top-center::after {
    bottom: -80px;
    top: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}

/* Модифікатор: lb-fullbg — фото на весь фон, текст з білою підкладкою справа */
.lb-fullbg .lbContent {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 3;
    text-align: right;
    max-width: 60%;
}
.lb-fullbg img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    position: absolute;
    inset: 0;
    z-index: 1;
    transform: none;
}
.lb-fullbg .lbContent h3,
.lb-fullbg .lbContent h2 {
    display: inline;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 10px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    color: var(--color-heading);
}
.lb-fullbg .lbContent h3 {
    font-size: 11px;
}
.lb-fullbg .lbContent h2 {
    font-size: 22px;
    line-height: 1.5;
}
.lb-fullbg::after {
    display: none;
}

/* Модифікатор lb01M3 — фото зверху, текст знизу по центру */
.lb01M3 {
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    text-align: center;
}
.lb01M3 img {
    margin: 0 auto auto;
    display: block;
    max-height: 85%;
    object-fit: contain;
}
.lb01M3 .lbContent {
    text-align: center;
}
.lb01M3::after {
    width: 215px;
    height: 215px;
    left: 50%;
    right: auto;
    top: 30%;
    bottom: auto;
    transform: translateX(-50%);
}

/* Модифікатор lb01M4 — текст зверху, фото знизу по центру */
.lb01M4 {
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    text-align: center;
}
.lb01M4 .lbContent {
    text-align: center;
}
.lb01M4 img {
    margin: auto auto 0;
    display: block;
    max-height: 85%;
    object-fit: contain;
}
.lb01M4::after {
    width: 215px;
    height: 215px;
    left: 50%;
    right: auto;
    top: auto;
    bottom: 30%;
    transform: translateX(-50%);
}

/* Hover-ефект: біле коло, що розширюється з центру (з шаблону Ulina) */
.overLayAnim01::before {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: block;
    content: '';
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 100%;
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
}
.overLayAnim01:hover::before {
    animation: lookbook-circle 0.75s;
}
@keyframes lookbook-circle {
    0%   { opacity: 1; }
    40%  { opacity: 1; }
    100% { width: 200%; height: 200%; opacity: 0; }
}

/* Header Contacts
   ========================================================================== */
.header-contacts {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--color-bg-light);
    color: var(--color-accent);
    border-radius: 50px;
    text-decoration: none;
    transition: all var(--transition);
}

.header-phone:hover {
    background: #e4e4e4;
    color: var(--color-accent);
    transform: translateY(-1px);
}

.header-phone-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.header-phone span {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.header-messengers {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-messenger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-white);
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    transition: all var(--transition);
}

.header-messenger:hover {
    background: #f0f0f0;
    border-color: var(--color-primary);
    transform: scale(1.05);
}

.header-messenger img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

/* CTA Section
   ========================================================================== */
.cta-section {
    padding: 50px 0;
    background: transparent;
}

.cta-content {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    padding: 40px 50px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(45, 107, 107, 0.25);
}

.cta-content h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--color-white);
    margin: 0 0 8px;
}

.cta-subtitle {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 24px;
}

.cta-messengers {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.cta-messenger {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform var(--transition);
}

.cta-messenger:hover {
    transform: translateY(-4px);
}

.cta-messenger img {
    width: 52px;
    height: 52px;
    background: var(--color-white);
    padding: 8px;
    border-radius: 14px;
    margin-bottom: 10px;
    transition: transform var(--transition);
}

.cta-messenger:hover img {
    transform: scale(1.08);
}

.cta-messenger span {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-white);
}

/* CTA Responsive */
@media (max-width: 576px) {
    .cta-content {
        padding: 32px 24px;
        border-radius: 20px;
    }

    .cta-content h3 {
        font-size: 20px;
    }

    .cta-subtitle {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .cta-messengers {
        gap: 24px;
    }

    .cta-messenger img {
        width: 46px;
        height: 46px;
        padding: 7px;
    }
}

/* Popular Products Section
   ========================================================================== */
.popular-section {
    position: relative;
    padding: 100px 0 100px;
    background-color: #faf8f5;
    overflow: hidden;
}

/* Geometric dots pattern */
.popular-section::before {
    content: '';
    position: absolute;
    top: 110px;
    right: 5%;
    width: 140px;
    height: 140px;
    background-image: radial-gradient(var(--color-primary) 3px, transparent 3px);
    background-size: 18px 18px;
    opacity: 0.35;
    z-index: 0;
}

.popular-section::after {
    content: '';
    position: absolute;
    bottom: 60px;
    left: 3%;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(var(--color-primary) 3px, transparent 3px);
    background-size: 18px 18px;
    opacity: 0.3;
    z-index: 0;
}

.popular-section .container {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 600;
    color: var(--color-heading);
    margin: 0 0 12px;
}

.section-header h2 .highlight {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-white);
    padding: 2px 14px;
    border-radius: 6px;
}

.section-header p {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-text-light);
    margin: 0;
}

/* Product Card */
.product-card {
    display: block;
    position: relative;
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

a.product-card:hover {
    text-decoration: none;
}

/* Badge */
.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 6px 14px;
    background: transparent;
    color: #c9a227;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-radius: 50px;
    border: 1.5px solid #c9a227;
}

/* Product Image */
.product-image {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #f8f9fa;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* Product Info */
.product-info {
    padding: 20px;
}

.product-info h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-heading);
    margin: 0 0 6px;
}

.product-type {
    font-size: 14px;
    color: var(--color-text-light);
    margin: 0 0 12px;
}

.product-price {
    font-size: 15px;
    color: var(--color-text);
    margin: 0;
}

.product-price strong {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-primary);
}

/* Popular Section Responsive */
@media (max-width: 768px) {
    .popular-section {
        padding: 50px 0 60px;
    }

    .popular-section::before,
    .popular-section::after {
        display: none;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .section-header h2 {
        font-size: 26px;
    }
}

/* Assortment Section
   ========================================================================== */
/* Stats Divider
   ========================================================================== */
.stats-divider {
    padding: 40px 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
}

.stats-divider .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 64px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: var(--color-white);
}

.stat-text {
    font-family: var(--font-body);
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.3;
}

/* Stats Divider Responsive */
@media (max-width: 768px) {
    .stats-divider {
        padding: 32px 0;
    }

    .stats-divider .container {
        gap: 32px 48px;
    }

    .stat-number {
        font-size: 36px;
    }

    .stat-text {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .stats-divider .container {
        gap: 24px 40px;
    }

    .stat-item {
        gap: 10px;
    }

    .stat-number {
        font-size: 32px;
    }
}

/* Assortment Section
   ========================================================================== */
.assortment-section {
    padding: 100px 0 100px;
    background: #f0f7f6;
}

/* Benefits Section
   ========================================================================== */
.benefits-section {
    padding: 100px 0;
    background: var(--color-white);
}

.benefits-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.benefits-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.benefits-image img {
    width: 100%;
    height: auto;
    display: block;
}

.benefits-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(45, 107, 107, 0.3), transparent);
    pointer-events: none;
}

.benefits-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.benefits-content .section-header {
    text-align: left;
    margin-bottom: 32px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 16px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: 14px;
}

.benefit-icon i {
    font-size: 24px;
    color: var(--color-white);
}

.benefit-content {
    flex: 1;
}

.benefit-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    color: var(--color-heading);
    margin: 0 0 6px;
}

.benefit-text {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.5;
}

/* Benefits Responsive */
@media (max-width: 992px) {
    .benefits-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .benefits-image {
        max-height: 400px;
    }

    .benefits-content .section-header {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .benefits-section {
        padding: 80px 0;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .benefit-item {
        padding: 20px;
    }

    .benefit-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }

    .benefit-icon i {
        font-size: 20px;
    }

    .benefit-title {
        font-size: 16px;
    }
}

/* Info Tabs Section
   ========================================================================== */
.info-tabs-section {
    padding: 100px 0;
    background: #f0f7f6;
}

.info-tabs-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* Tabs Navigation */
.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    display: inline-block;
    padding: 14px 28px;
    background: var(--color-white);
    border: 2px solid transparent;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition);
}

.tab-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-white);
    border-color: transparent;
}

/* Tab Content */
.tabs-content {
    background: var(--color-white);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.tab-panel h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--color-heading);
    margin: 0 0 32px;
    text-align: center;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 14px;
}

.info-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: 12px;
}

.info-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--color-white);
}

.info-text strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-heading);
    margin-bottom: 4px;
}

.info-text p {
    font-size: 14px;
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.5;
}

.info-text a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}

.info-text a:hover {
    text-decoration: underline;
}

/* Locations Box */
.locations-box {
    margin-top: 24px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(45, 107, 107, 0.08) 0%, rgba(61, 139, 122, 0.08) 100%);
    border-radius: 12px;
    border-left: 4px solid var(--color-primary);
}

.locations-box strong {
    color: var(--color-primary);
}

.locations-box p {
    margin: 0;
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.6;
}

/* Contacts Tab Specific */
.contacts-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.contacts-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-item .info-icon {
    width: 44px;
    height: 44px;
}

.contact-item .info-icon svg {
    width: 20px;
    height: 20px;
}

.phone-link {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
}

.phone-link:hover {
    color: var(--color-primary-light);
}

.messengers-row {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.messenger-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--color-white);
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    transition: all var(--transition);
}

.messenger-link:hover {
    transform: scale(1.1);
    border-color: var(--color-primary);
}

.messenger-link img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Map Container */
.map-container {
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    min-height: 280px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Info Tabs Responsive */
@media (max-width: 768px) {
    .info-tabs-section {
        padding: 80px 0;
    }

    .tabs-nav {
        gap: 6px;
    }

    .tab-btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .tabs-content {
        padding: 32px 24px;
        border-radius: 20px;
    }

    .tab-panel h3 {
        font-size: 20px;
        margin-bottom: 24px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contacts-info {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .map-container {
        min-height: 220px;
    }
}

@media (max-width: 480px) {
    .tabs-nav {
        flex-direction: column;
        align-items: stretch;
    }

    .tab-btn {
        text-align: center;
    }

    .tabs-content {
        padding: 24px 20px;
    }
}

/* Gallery Section
   ========================================================================== */
.gallery-section {
    padding: 100px 0;
    background: var(--color-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.gallery-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.gallery-caption h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-white);
    margin: 0 0 4px;
}

.gallery-caption p {
    font-family: var(--font-body);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Gallery Responsive */
@media (max-width: 768px) {
    .gallery-section {
        padding: 80px 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .gallery-caption {
        padding: 16px 20px;
    }

    .gallery-caption h4 {
        font-size: 16px;
    }
}

/* SEO Section
   ========================================================================== */
.seo-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.seo-content {
    max-width: 900px;
    margin: 0 auto;
}

.seo-content h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 600;
    color: var(--color-heading);
    margin: 0 0 32px;
    text-align: center;
}

.seo-content p {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text);
    margin: 0 0 20px;
}

.seo-content p:last-child {
    margin-bottom: 0;
}

.seo-content strong {
    color: var(--color-heading);
}

/* SEO Expandable */
.seo-text {
    position: relative;
    max-height: 180px;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.seo-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, #f8f9fa);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.seo-text.expanded {
    max-height: 2000px;
}

.seo-text.expanded::after {
    opacity: 0;
}

.seo-highlight {
    position: relative;
    margin: 32px 0;
    padding: 24px 28px 24px 32px;
    background: var(--color-white);
    border-radius: 12px;
    border-left: 4px solid var(--color-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.seo-highlight p {
    margin: 0;
    font-size: 17px;
    font-weight: 500;
    color: var(--color-heading);
}

.seo-more {
    display: inline-block;
    margin-top: 24px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    border-bottom: 1px dashed var(--color-primary);
    padding-bottom: 2px;
    transition: all var(--transition);
}

.seo-more:hover {
    color: var(--color-primary-light);
    border-bottom-color: var(--color-primary-light);
}

/* SEO Responsive */
@media (max-width: 768px) {
    .seo-section {
        padding: 60px 0;
    }

    .seo-content h2 {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .seo-content p {
        font-size: 15px;
    }
}

/* Catalog Card */
.catalog-card {
    display: block;
    position: relative;
    background: var(--color-bg);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition);
}

.catalog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Карточки с hover-эффектом — без поднятия */
.catalog-card.has-hover-image:hover {
    transform: none;
    box-shadow: none;
}

/* Category Badge */
.catalog-category {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 4px 10px;
    background: var(--color-white);
    color: var(--color-text-light);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* Catalog Image */
.catalog-image {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--color-bg);
    overflow: hidden;
}

.catalog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    left: 0%;
    transition: all ease 350ms;
}

/* Обычные карточки — простой zoom */
.catalog-card:hover .catalog-image img {
    transform: scale(1.05);
}

/* Карточки с двумя картинками — эффект сдвига */
.has-hover-image .catalog-image img {
    transform: none;
}

.has-hover-image .catalog-image img:nth-child(2) {
    position: absolute;
    left: 100%;
    top: 0;
}

.has-hover-image:hover .catalog-image img {
    transform: none;
}

.has-hover-image:hover .catalog-image img:first-child {
    left: -100%;
}

.has-hover-image:hover .catalog-image img:nth-child(2) {
    left: 0%;
}

/* Hover Effect: Vertical Slide (снизу вверх) */
.hover-vertical .catalog-image img {
    transform: none;
    transition: all ease 200ms;
}

.hover-vertical .catalog-image img:nth-child(2) {
    position: absolute;
    left: 0;
    top: 100%;
}

.hover-vertical:hover .catalog-image img {
    transform: none;
}

.hover-vertical:hover .catalog-image img:first-child {
    top: -100%;
}

.hover-vertical:hover .catalog-image img:nth-child(2) {
    top: 0;
}

/* Убираем поднятие карточки */
.catalog-card.hover-vertical:hover {
    transform: none;
    box-shadow: none;
}

/* Hover Effect: Flip 3D (universal) */
.hover-flip .catalog-image,
.hover-flip .product-image {
    perspective: 1000px;
}

.hover-flip .catalog-image img,
.hover-flip .product-image img {
    transition: transform 0.6s cubic-bezier(0.4, 0.0, 0.2, 1),
                opacity 0.6s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
    transition-delay: 0s !important;
    transform: rotateY(0deg) !important;
}

.hover-flip .catalog-image img:nth-child(2),
.hover-flip .product-image img:nth-child(2) {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    opacity: 0;
    transform: rotateY(-180deg) !important;
}

.hover-flip:hover .catalog-image img:first-child,
.hover-flip:hover .product-image img:first-child {
    transform: rotateY(180deg) !important;
    opacity: 0;
    transition-delay: 0.3s !important;
}

.hover-flip:hover .catalog-image img:nth-child(2),
.hover-flip:hover .product-image img:nth-child(2) {
    transform: rotateY(0deg) !important;
    opacity: 1;
    transition-delay: 0.3s !important;
}

/* Эффект при наведении — мгновенный подъём + тень */
.hover-flip {
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.hover-flip:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12) !important;
}

/* Catalog Info */
.catalog-info {
    padding: 14px 16px 16px;
    background: var(--color-white);
}

.catalog-info h4 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    color: var(--color-heading);
    margin: 0 0 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.catalog-size {
    display: block;
    font-size: 13px;
    color: var(--color-text-light);
    margin-bottom: 10px;
}

.catalog-price {
    font-size: 15px;
    color: var(--color-text);
    margin: 0;
}

.catalog-price strong {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 600;
    color: var(--color-primary);
}

/* Section Footer */
.section-footer {
    text-align: center;
    margin-top: 24px;
}

.btn-catalog {
    display: inline-block;
    padding: 14px 32px;
    background: transparent;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--color-primary);
    border-radius: 50px;
    transition: all var(--transition);
}

.btn-catalog:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-catalog i {
    margin-right: 8px;
}

/* Assortment Responsive */
@media (max-width: 768px) {
    .assortment-section {
        padding: 50px 0 60px;
    }

    .catalog-info {
        padding: 14px 16px 16px;
    }

    .catalog-info h4 {
        font-size: 16px;
    }

    .catalog-size {
        font-size: 12px;
    }

    .catalog-price strong {
        font-size: 18px;
    }
}

/* Footer
   ========================================================================== */
.site-footer {
    background: #1a202c;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer About */
.footer-about .footer-logo {
    margin-bottom: 20px;
}

.footer-about .logo-text {
    font-size: 32px;
    color: var(--color-white);
}

.footer-about .logo-text span {
    color: var(--color-primary-light);
}

.footer-about p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Footer Block */
.footer-block h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-white);
    margin: 0 0 20px;
}

.footer-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-block ul li {
    margin-bottom: 12px;
}

.footer-block ul li:last-child {
    margin-bottom: 0;
}

.footer-block ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-block ul li a:hover {
    color: var(--color-white);
}

/* Footer Contacts */
.footer-contacts .contact-line {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contacts .contact-line:last-child {
    margin-bottom: 0;
}

.footer-contacts .contact-line i {
    font-size: 16px;
    color: var(--color-primary-light);
    margin-top: 3px;
}

.footer-contacts .contact-line span,
.footer-contacts .contact-line a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    line-height: 1.5;
}

.footer-contacts .contact-line a:hover {
    color: var(--color-white);
}

.footer-phone {
    font-family: var(--font-heading);
    font-size: 18px !important;
    font-weight: 600;
    color: var(--color-white) !important;
}

/* Footer Bottom */
.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

/* Back-to-top button — fixed bottom-right.
   Без position:fixed елемент рендериться у потоці після </footer>
   і створює білу смугу під підвалом. JS у theme.js перемикає
   bottom/opacity/visibility при скролі. */
#backtotop {
    position: fixed;
    right: 25px;
    bottom: -30px;
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    transition: bottom .25s ease, opacity .2s ease, background .2s ease;
}
#backtotop:hover,
#backtotop:focus {
    background: var(--color-primary-light);
    color: var(--color-white);
}

/* Focus styles — забираємо браузерний dotted outline при кліку мишкою,
   зберігаємо акуратний контур при навігації клавіатурою (a11y). */
.header01 a:focus,
.header01 button:focus,
.logo a:focus,
.mainMenu a:focus,
.header-contacts a:focus,
.header-phone:focus,
.header-messenger:focus,
.mobile-menu-toggle:focus {
    outline: none;
}
.header01 a:focus-visible,
.header01 button:focus-visible,
.logo a:focus-visible,
.mainMenu a:focus-visible,
.header-contacts a:focus-visible,
.header-phone:focus-visible,
.header-messenger:focus-visible,
.mobile-menu-toggle:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
    border-radius: 2px;
}

/* Footer Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-about {
        grid-column: span 2;
    }
}

@media (max-width: 576px) {
    .site-footer {
        padding: 48px 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-about {
        grid-column: span 1;
    }

    .footer-block h4 {
        margin-bottom: 16px;
    }
}


/* ==========================================================================
   Category Page — компоненти сторінки категорії
   Базуємось на класі .hero (noise overlay, центровка, h1+highlight, hero-features),
   .category-hero — лише override-и для компактної версії на сторінці категорії.
   ========================================================================== */

/* Category Hero — варіація .hero для сторінки категорії */
.category-hero {
    padding: 130px 0 90px;
}

.category-hero h1 {
    font-size: 40px;
    line-height: 1.3;
    margin: 0 0 16px;
}

.category-hero-subtitle {
    font-size: 16px;
    color: var(--color-text-light);
    max-width: 640px;
    margin: 0 auto 32px;
    line-height: 1.55;
}

/* Breadcrumbs — хлібні крихти (універсальний компонент, по дефолту — left) */
.breadcrumbs {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--color-text-light);
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumbs li:not(:last-child)::after {
    content: '/';
    color: var(--color-text-light);
    opacity: 0.5;
}

.breadcrumbs a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: color var(--transition);
}

.breadcrumbs a:hover {
    color: var(--color-primary);
}

.breadcrumbs li[aria-current="page"] {
    color: var(--color-text);
    font-weight: 500;
}

/* В контексті hero — центруємо */
.category-hero .breadcrumbs {
    justify-content: center;
}

/* Filter Pills — обгортка фільтр-кнопок (самі кнопки використовують .tab-btn).
   Розташовується у блоці каталогу під section-header перед сіткою товарів. */
.filter-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: -32px 0 40px;
}

/* Зменшені tab-btn у фільтрі (компактніші, не як на головній info-tabs) */
.filter-pills .tab-btn {
    padding: 10px 22px;
    font-size: 14px;
}

/* Category Hero Responsive */
@media (max-width: 992px) {
    .category-hero h1 {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    .category-hero {
        padding: 100px 0 60px;
    }

    .category-hero h1 {
        font-size: 26px;
    }

    .category-hero-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .filter-pills {
        margin: -16px 0 32px;
    }

    .filter-pills .tab-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .breadcrumbs {
        font-size: 12px;
    }
}


/* Load Icon — іконка призначення/нагрузки на картці товару */
.load-icon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--color-text-light);
    line-height: 1.3;
    margin-bottom: 6px;
}

.load-icon svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--color-primary);
}


/* FAQ Section — частые питання, нативний <details>/<summary>
   ========================================================================== */
.faq-section {
    padding: 100px 0;
    background: var(--color-white);
}

.faq-list {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow var(--transition), border-color var(--transition);
}

.faq-item[open] {
    border-color: rgba(45, 107, 107, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.faq-question {
    list-style: none;
    cursor: pointer;
    padding: 18px 24px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-heading);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: color var(--transition);
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::marker {
    content: '';
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-question::after {
    content: '';
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-bottom: 4px;
    transition: transform 0.25s ease;
}

.faq-item[open] .faq-question::after {
    transform: rotate(-135deg);
    margin-bottom: -4px;
}

.faq-answer {
    padding: 0 24px 18px;
    color: var(--color-text);
    font-size: 15px;
    line-height: 1.6;
}

.faq-answer p {
    margin: 0;
}

.faq-answer p + p {
    margin-top: 10px;
}

.faq-answer strong {
    color: var(--color-heading);
}

/* FAQ Responsive */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }

    .faq-question {
        padding: 14px 18px;
        font-size: 15px;
    }

    .faq-answer {
        padding: 0 18px 14px;
        font-size: 14px;
    }
}


/* Related Categories — секція "Дивіться інші наші категорії"
   ========================================================================== */
.related-categories-section {
    padding: 100px 0;
    background: #f0f7f6;
}

.related-card {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform var(--transition), box-shadow var(--transition);
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.related-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.related-card:hover img {
    transform: scale(1.05);
}

.related-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.75) 100%);
    pointer-events: none;
}

.related-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    color: var(--color-white);
    z-index: 1;
}

.related-card-content h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 4px;
    color: var(--color-white);
}

.related-card-content p {
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
    line-height: 1.4;
}

.related-card-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    z-index: 1;
    transition: background var(--transition);
}

.related-card-arrow svg {
    width: 18px;
    height: 18px;
}

.related-card:hover .related-card-arrow {
    background: var(--color-primary);
}

@media (max-width: 768px) {
    .related-categories-section {
        padding: 60px 0;
    }

    .related-card {
        aspect-ratio: 16 / 11;
    }

    .related-card-content {
        padding: 18px;
    }

    .related-card-content h3 {
        font-size: 18px;
    }
}


/* ==========================================================================
   Product Page — компоненти сторінки товару
   ========================================================================== */

/* Product Main — секція з фото та конверсією (2 колонки) */
.product-main {
    padding: 70px 0 90px;
    background: var(--color-white);
}

/* Ліва колонка: фото товару */
.product-gallery {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--color-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.product-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-gallery .product-badge {
    top: 20px;
    left: 20px;
}

/* Права колонка: інформація + конверсія.
   Скоупимо .product-info під .product-main, щоб не зачіпати .product-card .product-info на головній та хітах категорії. */
.product-main .product-info {
    padding: 0 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.product-info-category {
    display: inline-block;
    align-self: flex-start;
    padding: 5px 14px;
    background: var(--color-bg);
    color: var(--color-text-light);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
    letter-spacing: 0.3px;
}

/* Ціна */
.product-price-block {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 24px;
}

.product-price-large {
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--color-text-light);
    margin: 0 0 6px;
}

.product-price-large strong {
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 4px;
    letter-spacing: -1px;
}

.product-price-hint {
    font-size: 13px;
    color: var(--color-text-light);
    margin: 0;
}

/* Блок «Ціни за кольорами» — список усіх кольорів моделі з цінами,
   виводиться під основною ціною в правій колонці. */
.product-price-colors {
    margin: 16px 0 24px;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 14px;
}

.product-price-colors-title {
    margin: 0 0 8px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.product-price-colors ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.product-price-colors li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 6px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
    font-size: 15px;
}

.product-price-colors li:last-child {
    border-bottom: 0;
}

.product-price-colors li.is-current {
    font-weight: 600;
    color: var(--color-heading);
}

.product-price-colors .color-price {
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    white-space: nowrap;
}

/* Універсальний рядок з лейблом і змістом (кольори, інше) */
.product-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.product-row-label {
    font-size: 13px;
    color: var(--color-text-light);
}

/* Кружки кольорів — статичний показ */
.product-colors {
    display: flex;
    gap: 10px;
}

.product-color-swatch {
    display: inline-block;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.06);
    cursor: help;
    transition: transform var(--transition);
}

.product-color-swatch:hover {
    transform: scale(1.1);
}

.product-color-swatch.is-current {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px var(--color-white) inset;
}

/* Призначення (іконка нагрузки + текст) */
.product-load-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: #f0f7f6;
    border-radius: 12px;
}

.product-load-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--color-white);
    border-radius: 10px;
    flex-shrink: 0;
}

.product-load-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.product-load-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.product-load-text strong {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-light);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.product-load-text span {
    font-size: 15px;
    color: var(--color-heading);
    font-weight: 500;
}

/* Список переваг (4 чипа з SVG-галочками) */
.product-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 18px;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--color-text);
}

.product-features svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--color-primary);
}

/* Кнопки дії — primary CTA + роздільник + рядок месенджерів */
.product-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 4px;
}

.btn-primary-large {
    display: block;
    width: 100%;
    padding: 17px 32px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 4px 16px rgba(45, 107, 107, 0.25);
}

.btn-primary-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 107, 107, 0.35);
    color: var(--color-white);
}

/* Роздільник «або» між способами замовлення */
.product-actions-separator {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 6px 0 2px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-text-light);
}

.product-actions-separator::before,
.product-actions-separator::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
}

.product-messengers {
    display: flex;
    gap: 10px;
}

/* Базовий стиль месенджер-пілли — єдиний фон, брендові кольори у тексті/рамці на hover */
.product-messenger {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 14px;
    background: #f0f7f6;
    border: 1.5px solid transparent;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    transition: all var(--transition);
}

.product-messenger img {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.product-messenger:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

/* Брендові кольори тексту та рамки (на hover) */
.product-messenger--viber {
    color: #5b3fc7;
}

.product-messenger--viber:hover {
    border-color: #7360F2;
}

.product-messenger--telegram {
    color: #1c80b0;
}

.product-messenger--telegram:hover {
    border-color: #229ED9;
}

.product-messenger--phone {
    color: var(--color-primary);
}

.product-messenger--phone:hover {
    border-color: var(--color-primary);
}

/* Specs Table — таблиця характеристик у табі */
.specs-table {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table th,
.specs-table td {
    padding: 14px 8px;
    text-align: left;
    font-size: 15px;
    line-height: 1.4;
}

.specs-table th {
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--color-text-light);
    width: 45%;
}

.specs-table td {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-heading);
}

/* Product Page Responsive */
@media (max-width: 992px) {
    .product-main .product-info {
        padding: 32px 0 0;
    }

    .product-price-large strong {
        font-size: 38px;
    }
}

@media (max-width: 768px) {
    .product-main {
        padding: 50px 0 60px;
    }

    .product-gallery {
        border-radius: 16px;
    }

    .product-main .product-info {
        gap: 20px;
        padding-top: 28px;
    }

    .product-price-large strong {
        font-size: 34px;
    }

    .product-features {
        grid-template-columns: 1fr;
    }

    .btn-primary-large {
        min-width: 100%;
        padding: 14px 24px;
    }

    .specs-table th,
    .specs-table td {
        padding: 12px 6px;
        font-size: 14px;
    }

    .specs-table th {
        width: 50%;
    }
}


/* ==========================================================================
   Service Page (Укладка) — компоненти сервісної сторінки
   ========================================================================== */

/* Steps — як ми працюємо (5 пронумерованих карток) */
.steps-section {
    padding: 100px 0;
    background: #faf8f5;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.step-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 28px 22px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: transform var(--transition), box-shadow var(--transition);
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.step-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 700;
    color: var(--color-primary);
    opacity: 0.45;
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.step-card h4 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    color: var(--color-heading);
    margin: 0 0 8px;
    line-height: 1.3;
}

.step-card p {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.55;
    margin: 0;
}

/* Steps Responsive */
@media (max-width: 1200px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .steps-section {
        padding: 60px 0;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .step-card {
        padding: 22px 18px;
    }

    .step-number {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}


/* Includes — Що входить у послугу.
   Переюзаємо .product-features (галочки + текст), розширюємо для повної ширини. */
.includes-section {
    padding: 100px 0;
    background: var(--color-white);
}

.includes-section .product-features {
    max-width: 820px;
    margin: 0 auto;
    gap: 16px 40px;
}

.includes-section .product-features li {
    font-size: 16px;
}

.includes-section .product-features svg {
    width: 22px;
    height: 22px;
}

@media (max-width: 768px) {
    .includes-section {
        padding: 60px 0;
    }

    .includes-section .product-features li {
        font-size: 15px;
    }
}


/* Pricing — Послуги та ціни (таблиця в карточці).
   Таблиця всередині — переюзаємо .specs-table з картки товару. */
.pricing-section {
    padding: 100px 0;
    background: #f0f7f6;
}

.pricing-card,
.info-card {
    max-width: 780px;
    margin: 0 auto;
    background: var(--color-white);
    border-radius: 20px;
    padding: 44px 48px 36px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.pricing-card .specs-table,
.info-card .specs-table {
    max-width: none;
    margin: 0 0 24px;
}

.pricing-note {
    text-align: center;
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.55;
    margin: 0 0 28px;
    padding-top: 4px;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
    padding-top: 20px;
}

.pricing-cta {
    text-align: center;
}

.pricing-cta .btn-primary-large {
    display: inline-block;
    width: auto;
    min-width: 280px;
}

@media (max-width: 768px) {
    .pricing-section {
        padding: 60px 0;
    }

    .pricing-card,
    .info-card {
        padding: 28px 20px 24px;
    }

    .pricing-cta .btn-primary-large {
        min-width: 100%;
    }
}


/* Business Section — реквізити для юр.осіб (контакти).
   Картка переюзає .info-card (alias до .pricing-card). */
.business-section {
    padding: 80px 0 100px;
    background: #f0f7f6;
}

.business-intro {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text);
    margin: 0 0 24px;
    padding-bottom: 22px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.business-intro strong {
    color: var(--color-heading);
    font-weight: 600;
}

.business-subtitle {
    margin: 28px 0 14px;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-heading);
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.business-subtitle:first-of-type {
    margin-top: 8px;
}

@media (max-width: 768px) {
    .business-section {
        padding: 50px 0 60px;
    }

    .business-subtitle {
        font-size: 16px;
        margin: 24px 0 12px;
    }
}


/* ==========================================================================
   Certificate Section — спільний блок для index / about / contacts
   (партіал у html/parts/section-certificate.php).
   ========================================================================== */
.cert-section {
    padding: 90px 0;
    background: #faf8f5;
}

.cert-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 56px;
    align-items: center;
}

.cert-image {
    display: block;
    background: var(--color-white);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition), box-shadow var(--transition);
}

.cert-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14);
}

.cert-image img {
    width: 100%;
    display: block;
    border-radius: 8px;
}

.cert-text .section-header {
    text-align: left;
    margin-bottom: 22px;
}

.cert-text p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text);
    margin: 0 0 14px;
}

.cert-text p:last-child {
    margin-bottom: 0;
}

.cert-text strong {
    color: var(--color-heading);
    font-weight: 600;
}

@media (max-width: 992px) {
    .cert-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .cert-image {
        max-width: 460px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .cert-section {
        padding: 60px 0;
    }
}


/* ==========================================================================
   Image Lightbox — нативний <dialog> для збільшення зображень
   Використання: <a data-lightbox="dialog-id">...</a> + <dialog class="img-lightbox" id="dialog-id">...</dialog>
   ========================================================================== */
.img-lightbox {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    overflow: hidden;
}

.img-lightbox::backdrop {
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(4px);
}

.img-lightbox__inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-sizing: border-box;
}

.img-lightbox__inner img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 16px 60px rgba(0, 0, 0, 0.5);
    cursor: default;
}

.img-lightbox__close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-heading);
    font-size: 32px;
    line-height: 1;
    font-family: var(--font-heading);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: all var(--transition);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.img-lightbox__close:hover {
    background: var(--color-white);
    transform: scale(1.08);
}

@media (max-width: 768px) {
    .img-lightbox__inner {
        padding: 20px;
    }

    .img-lightbox__close {
        top: 12px;
        right: 12px;
        width: 42px;
        height: 42px;
        font-size: 28px;
    }
}


/* Delivery & Payment Page — обгортки секцій (внутрішні картки переюзають .info-grid) */
.delivery-section {
    padding: 100px 0;
    background: #f0f7f6;
}

.delivery-section .locations-box {
    margin-top: 32px;
}

.delivery-section .info-card {
    margin-top: 40px;
}

.payment-section {
    padding: 100px 0;
    background: #faf8f5;
}

@media (max-width: 768px) {
    .delivery-section,
    .payment-section {
        padding: 60px 0;
    }
}


/* ==========================================================================
   About Page — компонент story-секції (двоколонковий блок «Хто ми»)
   ========================================================================== */
.story-section {
    padding: 100px 0;
    background: var(--color-white);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.story-text .section-header {
    text-align: left;
    margin-bottom: 28px;
}

.story-text p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    margin: 0 0 16px;
}

.story-text p:last-child {
    margin-bottom: 0;
}

.story-text strong {
    color: var(--color-heading);
    font-weight: 600;
}

.story-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.story-image img {
    width: 100%;
    display: block;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

@media (max-width: 992px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .story-image {
        order: -1;
    }

    .story-image img {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 768px) {
    .story-section {
        padding: 60px 0;
    }
}


/* Brand Legend — блок «Чому саме КапіБрук?» (лого + сторителлинг + 3 цінності) */
.brand-legend-section {
    padding: 100px 0;
    background: #faf8f5;
}

.brand-legend-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: center;
    margin-bottom: 70px;
}

.brand-legend-image {
    background: var(--color-white);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.brand-legend-image img {
    width: 100%;
    display: block;
    border-radius: 14px;
}

.brand-legend-text .section-header {
    text-align: left;
    margin-bottom: 24px;
}

.brand-legend-text p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--color-text);
    margin: 0 0 16px;
}

.brand-legend-text p:last-of-type {
    margin-bottom: 0;
}

.brand-legend-text strong {
    color: var(--color-heading);
    font-weight: 600;
}

/* Сітка 3 ціннісних карток */
.brand-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.brand-value-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: transform var(--transition), box-shadow var(--transition);
}

.brand-value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.brand-value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-white);
    border-radius: 16px;
}

.brand-value-icon i {
    font-size: 26px;
}

.brand-value-card h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-heading);
    margin: 0 0 10px;
}

.brand-value-card p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 992px) {
    .brand-legend-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        margin-bottom: 50px;
    }

    .brand-values {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .brand-legend-section {
        padding: 60px 0;
    }

    .brand-legend-image {
        padding: 16px;
    }

    .brand-value-card {
        padding: 28px 22px;
    }
}


/* Contacts Page — обгортка-секція (саме блок переюзає .contacts-info / .map-container з info-tabs) */
.contacts-section {
    padding: 80px 0 100px;
    background: var(--color-white);
}

@media (max-width: 768px) {
    .contacts-section {
        padding: 50px 0 60px;
    }
}
