﻿:root {
    --accent:       #FAC000;      
    --accent-dark:  #e0ab00;
    --text:         #2C1F02;     
    --text-light:   #6f6552;
    --bg:           #fff;
    --bg-soft:      #F3F2EE;       
    --line:         #C6B99D;       
    --line-dark:    #71510A;       
    --line-form:    #8B8B8B;       
    --dark:         #2C1F02;       
    --cream:        #FFFAF5;       
    --radius:       0px;           
    --box:          1440px;        
    --font-body:  'Montserrat', system-ui, sans-serif;
    --font-brand: 'Magistral', 'Montserrat', sans-serif;
    --btn-hover:    #FFEFB9;       /* Figma: заливка */
    --error:        #EE0606;       /* Figma: Error */
    --success:      #21A406;       /* Figma: Success */
    --link:         #0057B7;       /* Figma: Link */
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--text);
    background: #ececec;            
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: 0; background: none; }

.layout {
    width: 100%;
    max-width: var(--box);
    margin: 0 auto;
    background: #fff;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}
body { display: flex; flex-direction: column; min-height: 100vh; }
.container { width: 100%; padding: 0 80px; }
@media (max-width: 1024px) { .container { padding: 0 40px; } }
@media (max-width: 600px) { .container { padding: 0 20px; } }
main { flex: 1; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 15px 34px; border-radius: 99px;
    font-weight: 700; font-size: 15px; letter-spacing: .01em;
    transition: .2s; white-space: nowrap; cursor: pointer;
    font-family: var(--font-body); border: 2px solid transparent; line-height: 1;
}
.btn-primary { background: var(--accent); color: var(--dark); border-color: var(--accent); }
.btn-primary:hover { background: var(--dark); color: var(--cream); border-color: var(--dark); }
.btn-outline { background: transparent; color: var(--dark); border-color: var(--accent); }
.btn-outline:hover { background: var(--btn-hover); color: var(--dark); border-color: var(--accent); }
.hero-cta .btn-outline { color: var(--accent); }
.hero-cta .btn-outline:hover { color: var(--dark); }
.btn-dark { background: var(--dark); color: var(--cream); border-color: var(--dark); }
.btn-dark:hover { background: #000; }
.btn-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 26px; border-radius: 99px;
    border: 2px solid var(--accent); background: #fff;
    font-size: 14px; font-weight: 700; color: var(--dark);
    transition: .2s; white-space: nowrap;
}
.btn-pill:hover { background: var(--btn-hover); color: var(--dark); }
.btn-pill svg { width: 14px; height: 14px; transition: transform .2s ease; }
.btn-pill:hover svg { transform: translateX(4px); }

.site-header {
    background: #fff;
    position: sticky; top: 0; z-index: 200;
}
.header-inner { display: flex; align-items: center; height: 96px; gap: 28px; }
.logo { flex-shrink: 0; display: flex; align-items: center; margin-left: 24px; }
.logo img { height: 46px; width: auto; }
.nav-main { flex: 1; display: flex; justify-content: center; }
.nav-main ul { display: flex; gap: 10px; }
.nav-main li { position: relative; }
.nav-main a {
    position: relative; display: block; padding: 10px 18px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    line-height: 150%;
    letter-spacing: 0;
    color: var(--text); z-index: 1;
    transition: color .2s, background-color .2s ease;
}
/* активна вкладка — просте підкреслення */
.nav-main a::after {
    content: ''; position: absolute; left: 18px; right: 18px; bottom: -2px;
    height: 2px; background: var(--line-dark); transform: scaleX(0);
    transform-origin: center; transition: transform .25s ease;
}
.nav-main a.active { color: var(--dark); font-weight: 700; }
.nav-main a.active::after { transform: scaleX(1); }

/* ховер: бліда заливка + crop-марки (лінії плавно проявляються, виходять за кути) */
.nav-main li:hover > a { color: var(--dark); background: var(--btn-hover); }
/* горизонтальні лінії (верх + низ), виходять за боки */
.nav-main li::before {
    content: ''; position: absolute; left: -5px; right: -5px; top: 4px; bottom: 4px;
    border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
    opacity: 0; transform: scaleX(.55); transform-origin: center;
    transition: opacity .22s ease, transform .3s ease; pointer-events: none; z-index: 2;
}
/* вертикальні лінії (ліва + права), виходять за верх/низ */
.nav-main li::after {
    content: ''; position: absolute; left: 4px; right: 4px; top: -5px; bottom: -5px;
    border-left: 1px solid var(--line-dark); border-right: 1px solid var(--line-dark);
    opacity: 0; transform: scaleY(.55); transform-origin: center;
    transition: opacity .22s ease, transform .3s ease; pointer-events: none; z-index: 2;
}
.nav-main li:hover::before { opacity: 1; transform: scaleX(1); }
.nav-main li:hover::after  { opacity: 1; transform: scaleY(1); }

.head-rule { position: relative; height: 1px; margin: 0 -24px; background: var(--line-dark); }
.head-rule::before, .head-rule::after {
    content: ''; position: absolute; top: -24px; height: 48px; width: 1px;
    background: var(--line-dark);
}
.head-rule::before { left: 24px; }
.head-rule::after  { right: 24px; }
.header-right { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.header-lang { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text); }
.header-lang img { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; }
.header-icon { color: var(--text); display: flex; align-items: center; padding: 6px; position: relative; transition: color .2s; }
.header-icon:hover { color: var(--accent); }
.cart-badge {
    position: absolute; top: -2px; right: -4px;
    background: var(--accent); color: #1c1c1c;
    font-size: 10px; font-weight: 700; min-width: 16px; height: 16px;
    border-radius: 8px; display: none; align-items: center; justify-content: center;
    padding: 0 4px; line-height: 1;
}
.cart-badge:not(:empty) { display: flex; }

.mini-cart-wrap { position: relative; }
#dg-cart-toggle { background: none; border: 0; cursor: pointer; }
.mini-cart {
    position: absolute; top: calc(100% + 16px); right: 0;
    width: 460px; max-width: 92vw;
    background: #fff; border: 1px solid var(--line);
    box-shadow: 0 24px 60px rgba(44, 31, 2, .18);
    z-index: 200; display: none;
}
.mini-cart.is-open { display: block; }
.mini-cart::before {
    content: ''; position: absolute; top: -7px; right: 14px;
    width: 12px; height: 12px; background: #fff;
    border-left: 1px solid var(--line); border-top: 1px solid var(--line);
    transform: rotate(45deg);
}
.mini-cart__head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 24px; border-bottom: 1px solid var(--line);
}
.mini-cart__title { font-family: var(--font-brand); font-weight: 700; font-size: 24px; color: var(--dark); }
.mini-cart__close {
    background: none; border: 0; cursor: pointer; color: var(--dark);
    width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
    margin-right: -6px; transition: color .15s;
}
.mini-cart__close:hover { color: var(--accent-dark); }
.mini-cart__items { max-height: 360px; overflow-y: auto; }
.mini-cart__item {
    display: grid; grid-template-columns: 84px 1fr auto; gap: 16px;
    align-items: center; padding: 16px 24px; border-bottom: 1px solid var(--line);
    position: relative;
}
.mini-cart__media {
    width: 84px; height: 84px; background: var(--bg-soft);
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.mini-cart__media img { width: 100%; height: 100%; object-fit: cover; }
.mini-cart__ph { font-family: var(--font-brand); font-size: 30px; color: var(--line-dark); }
.mini-cart__name { font-weight: 700; font-size: 15px; color: var(--dark); line-height: 1.3; margin-bottom: 6px; padding-right: 20px; }
.mini-cart__opts { font-size: 12px; color: var(--text-light); line-height: 1.5; }
.mini-cart__price { font-family: var(--font-brand); font-weight: 700; font-size: 20px; color: var(--dark); white-space: nowrap; }
.mini-cart__price-req { font-family: var(--font-body); font-weight: 500; font-size: 13px; color: var(--text-light); }
.mini-cart__remove {
    position: absolute; top: 14px; right: 18px;
    background: none; border: 0; cursor: pointer; color: var(--text-light); transition: color .15s;
}
.mini-cart__remove:hover { color: #c0392b; }
.mini-cart__notice {
    background: #FBEFC4; color: var(--text);
    font-size: 13px; line-height: 1.5; padding: 14px 24px;
}
.mini-cart__total {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 24px; border-top: 1px solid var(--line);
}
.mini-cart__total span { font-family: var(--font-brand); font-weight: 700; font-size: 20px; color: var(--dark); }
.mini-cart__total strong { font-family: var(--font-brand); font-weight: 700; font-size: 28px; color: var(--dark); }
.mini-cart__actions { display: flex; gap: 14px; padding: 4px 24px 24px; }
.mini-cart__continue, .mini-cart__checkout {
    flex: 1; height: 48px; border-radius: 24px;
    font-family: var(--font-body); font-weight: 600; font-size: 14px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: .2s; text-align: center;
}
.mini-cart__continue { background: #fff; border: 1.5px solid var(--accent); color: var(--dark); }
.mini-cart__continue:hover { background: var(--btn-hover); }
.mini-cart__checkout { background: var(--accent); border: 1.5px solid var(--accent); color: var(--dark); }
.mini-cart__checkout:hover { background: var(--dark); color: var(--cream); border-color: var(--dark); }
.mini-cart__empty { padding: 40px 24px; text-align: center; color: var(--text-light); font-size: 15px; }
@media (max-width: 560px) {
    .mini-cart { width: 92vw; position: fixed; top: 78px; right: 4vw; }
}
.burger { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 36px; height: 36px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .2s; }
@media (max-width: 1024px) {
    .header-inner { height: 70px; }
    .nav-main {
        position: fixed; top: 70px; left: 0; right: 0;
        background: #fff; border-bottom: 1px solid var(--line);
        padding: 12px 24px; transform: translateY(-130%);
        transition: transform .25s ease; max-height: calc(100vh - 70px);
        overflow-y: auto; z-index: 199; justify-content: flex-start;
    }
    .nav-main.open { transform: translateY(0); }
    .nav-main ul { flex-direction: column; gap: 0; width: 100%; }
    .nav-main a { padding: 14px 0; border-bottom: 1px solid var(--line); }
    .nav-main li:last-child a { border-bottom: 0; }
    .nav-main li::before, .nav-main li::after { display: none; }
    .nav-main li:hover > a { background: transparent; }
    .header-lang span { display: none; }
    .burger { display: flex; }
}

.hero-section { padding-bottom: 96px; }
.hero-block {
    position: relative;
    margin: 0 -24px;                              
    border-bottom: 1px solid var(--line-dark);
}
.crop-frame::before, .crop-frame::after {
    content: ''; position: absolute; top: -24px; bottom: -24px; width: 1px;
    background: var(--line-dark); z-index: 6; pointer-events: none;
}
.crop-frame::before { left: 24px; }
.crop-frame::after  { right: 24px; }
.hero {
    position: relative; min-height: 518px;
    margin: 0 24px;                              
    display: flex; align-items: center; justify-content: center;
    text-align: center; overflow: hidden; background: #111;
}
.hero-bg {
    position: absolute; inset: 0;
    background-image: url('/images/hero-bg.jpg');
    background-size: cover; background-position: center;
}
.hero-bg::after { content: ''; position: absolute; inset: 0; background: rgba(20,14,2,.5); }
.hero-inner { position: relative; z-index: 1; max-width: 820px; padding: 60px 40px; margin: 0 auto; }
.hero h1 {
    font-family: var(--font-brand);
    font-size: clamp(40px, 6vw, 64px); line-height: 1.05;
    font-weight: 700; color: #fff; margin-bottom: 22px;
    text-shadow: 0 2px 16px rgba(0,0,0,.4);
}
.hero p {
    font-size: 17px; color: #f4f0ea; margin: 0 auto 34px;
    max-width: 620px; line-height: 1.6;
    text-shadow: 0 1px 8px rgba(0,0,0,.5);
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
@media (max-width: 1024px) { .hero-inner { padding: 50px 40px; } }
@media (max-width: 600px) { .hero { min-height: 420px; } .hero-inner { padding: 40px 20px; } }

/* ===== Partners  ===== */
.partners {
    position: relative;
    margin: 0 24px;
    border-top: 1px solid var(--line-dark);      
    background: #fff;
}
.partners-mask {
    overflow: hidden; position: relative;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.partners-track {
    display: flex; align-items: center;
    width: max-content;
    animation: partners-scroll 38s linear infinite;
}
.partners:hover .partners-track { animation-play-state: paused; }
.partner-item {
    flex-shrink: 0; height: 100px; width: 320px;
    display: flex; align-items: center; justify-content: center;
    padding: 0 40px;
    border-right: 1px solid var(--line-dark);
}
.partner-item img {
    max-height: 42px; max-width: 180px;
    width: auto; height: auto; object-fit: contain;
}
@keyframes partners-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ===== Sections ===== */
.section { padding: 72px 0; border-bottom: 1px solid var(--line); }
.section-gray { background: var(--bg-soft); }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; gap: 16px; flex-wrap: wrap; }
.section-title { font-family: 'Magistral', 'Montserrat', sans-serif; font-weight: 500; font-style: normal; font-size: 48px; line-height: 120%; letter-spacing: 0; color: var(--dark); }

/* ===== Product cards ===== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .product-grid { grid-template-columns: 1fr; } }
.product-card {
    display: flex; flex-direction: column; background: #fff;
    border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
    transition: box-shadow .2s; position: relative; padding: 16px;
}
.product-card:hover { z-index: 2; }
/* ховер картки: crop-марки по лініях сітки товарів, плавно виїжджають від центру за кути */
.product-card::before, .product-card::after {
    content: ''; position: absolute; pointer-events: none; z-index: 3;
    opacity: 0; transition: opacity .3s ease, transform .6s cubic-bezier(.22,.61,.28,1);
}
.product-card::before {
    left: -16px; right: -16px; top: -1px; bottom: -1px;
    border-top: 2px solid var(--line-dark); border-bottom: 2px solid var(--line-dark);
    transform: scaleX(.45); transform-origin: center;
}
.product-card::after {
    left: -1px; right: -1px; top: -16px; bottom: -16px;
    border-left: 2px solid var(--line-dark); border-right: 2px solid var(--line-dark);
    transform: scaleY(.45); transform-origin: center;
}
.product-card:hover::before { opacity: 1; transform: scaleX(1); }
.product-card:hover::after  { opacity: 1; transform: scaleY(1); }
.product-img { aspect-ratio: 1; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.img-placeholder { font-family: var(--font-brand); font-size: 60px; color: var(--accent); opacity: .3; font-weight: 700; }
.product-foot {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 0 0; gap: 12px;
}
.product-name { font-family: 'Montserrat', sans-serif; font-weight: 600; font-style: normal; font-size: 18px; line-height: 150%; letter-spacing: 0; color: var(--dark); }
.btn-cart-sq {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--accent); color: var(--dark);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: background .2s, color .2s;
}
.btn-cart-sq:hover,
.product-card:hover .btn-cart-sq { background: var(--dark); color: var(--accent); }
.btn-cart-sq svg { pointer-events: none; transition: transform .2s; }
.btn-cart-sq:hover svg,
.product-card:hover .btn-cart-sq svg { transform: rotate(45deg); }

/* ===== About (Друк у Дніпрограф) ===== */
.about { border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.about-grid {
    display: grid; grid-template-columns: minmax(0, 600px) 1fr; align-items: stretch;
    margin: 0 80px; position: relative;
}
.about-grid::before { content: ''; position: absolute; left: 0; top: -24px; bottom: 0; width: 1px; background: var(--line-dark); }
.about-img {
    overflow: hidden; border-right: 1px solid var(--line-dark);
    padding: 48px 48px 48px 0;
    display: flex; align-items: center; justify-content: center;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }
.about-text { padding: 48px 64px; display: flex; flex-direction: column; justify-content: center; }
.about-text .section-title { margin-bottom: 20px; }
.about-text p { color: var(--text-light); font-size: 15px; line-height: 1.75; margin-bottom: 14px; }
.about-text .btn { margin-top: 12px; align-self: flex-start; }
@media (max-width: 1024px) { .about-grid { margin: 0 40px; } }
@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; margin: 0; }
    .about-grid::before { display: none; }
    .about-img { border-right: 0; border-bottom: 1px solid var(--line-dark); padding: 0; }
    .about-text { padding: 40px 24px; }
}

/* ===== Advantages (СЃРІС–С‚Р»Р°, Р· РІРµСЂС‚РёРєР°Р»СЊРЅРёРј СЂРѕР·РґС–Р»СЊРЅРёРєРѕРј) ===== */
.advantages { border-bottom: 1px solid var(--line-dark); }
.advantages-grid { display: grid; grid-template-columns: 1.34fr 1fr; margin: 0 80px; position: relative; }
.advantages-grid::before { content: ''; position: absolute; left: 0; top: 0; bottom: -24px; width: 1px; background: var(--line-dark); }
@media (max-width: 1024px) { .advantages-grid { margin: 0 40px; } }
@media (max-width: 768px) { .advantages-grid { grid-template-columns: 1fr; margin: 0; } .advantages-grid::before { display: none; } }
.advantages-left { background: var(--bg-soft); padding: 56px 64px; border-right: 1px solid var(--line-dark); display: flex; flex-direction: column; justify-content: center; }
.advantages-left .btn { align-self: flex-start; }
.advantages-right { padding: 8px 56px; }
@media (max-width: 768px) {
    .advantages-left { padding: 40px 24px; border-right: 0; border-bottom: 1px solid var(--line-dark); }
    .advantages-right { padding: 8px 24px; }
}
.advantages-left .section-title { margin-bottom: 22px; }
.advantages-left p { color: var(--text-light); font-size: 15px; margin-bottom: 28px; line-height: 1.7; }
.advantages-list li { padding: 28px 0; border-bottom: 1px solid var(--line-dark); }
.advantages-list li:last-child { border-bottom: 0; }
.advantages-list strong { display: block; color: var(--text); font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.advantages-list p { color: var(--text-light); font-size: 14px; line-height: 1.6; }

/* ===== Blog ===== */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
.blog-grid-full { gap: 24px 32px; }
@media (max-width: 680px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { display: flex; flex-direction: row; gap: 24px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: .2s; padding: 24px; }
.blog-card + .blog-card { border-left: 0; }
.blog-grid-full .blog-card + .blog-card { border-left: 1px solid var(--line); }
.blog-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.blog-thumb { width: 228px; height: 228px; flex-shrink: 0; background: var(--bg-soft); overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-thumb-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg,#2a2a2a,#3a3a3a); display: flex; align-items: center; justify-content: center; font-size: 38px; }
.blog-body { padding: 4px 0; flex: 1; display: flex; flex-direction: column; }
.blog-card h3 { font-size: 16px; font-weight: 700; line-height: 1.35; margin-bottom: 8px; }
.blog-grid-full .blog-card h3 { font-size: 20px; margin-bottom: 10px; }
.blog-card > .blog-body > p { font-size: 13px; color: var(--text-light); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 14px; }
.blog-grid-full .blog-card > .blog-body > p { font-size: 14px; -webkit-line-clamp: 3; }
.blog-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.blog-date { font-size: 12px; color: var(--text-light); display: flex; align-items: center; gap: 6px; }
.blog-read { font-size: 12px; font-weight: 700; color: #1c1c1c; background: var(--accent); padding: 8px 16px; border-radius: 99px; white-space: nowrap; transition: .2s; }
.blog-grid-full .blog-read { font-size: 13px; padding: 10px 22px; }
.blog-read:hover { background: var(--dark); color: var(--cream); }
@media (max-width: 500px) { .blog-card { flex-direction: column; } .blog-thumb { width: 100%; height: 150px; } }
/* Сторінка блогу */
.blog { padding: 36px 0 0; }
.blog-section { padding: 0 0 80px; }
.page-title {
    font-family: var(--font-brand); font-weight: 700;
    font-size: clamp(34px, 5vw, 64px); line-height: 1.05; color: var(--dark);
    letter-spacing: -.01em; margin: 6px 0 34px;
}
.pagination { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 48px; }
.page-btn { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; color: var(--dark); border: 1px solid var(--line); background: #fff; transition: .2s; }
a.page-btn:hover { border-color: var(--accent); background: var(--accent); }
.page-btn.is-active { background: var(--accent); border-color: var(--accent); }
.page-btn.page-dots { border: 0; background: transparent; }
.page-btn.is-disabled { color: #c9c2b4; pointer-events: none; }

/* ===== Contact ===== */
.contact { padding: 0; }
.contact-grid { display: grid; grid-template-columns: 1.43fr 1fr; margin: 0 80px; position: relative; background: var(--bg-soft); }
.contact-grid::before, .contact-grid::after { content: ''; position: absolute; left: -24px; right: -24px; height: 1px; background: var(--line-dark); }
.contact-grid::before { top: 0; }
.contact-grid::after { bottom: 0; }
.contact-text::before, .contact-form-wrap::after { content: ''; position: absolute; top: -24px; bottom: -24px; width: 1px; background: var(--line-dark); }
.contact-text::before { left: 0; }
.contact-form-wrap::after { right: 0; }
.contact-form-wrap::before { content: ''; position: absolute; top: 56px; bottom: 56px; left: -1px; width: 1px; background: var(--line-dark); }
@media (max-width: 1024px) { .contact-grid { margin: 0 40px; } }
@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; margin: 0; }
    .contact-grid::before, .contact-grid::after,
    .contact-text::before, .contact-form-wrap::before, .contact-form-wrap::after { display: none; }
}
.contact-text { position: relative; padding: 40px 0 40px 80px; display: flex; flex-direction: column; justify-content: center; }
.contact-form-wrap { position: relative; padding: 40px 0 40px 87px; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 768px) {
    .contact-text { padding: 40px 24px; }
    .contact-form-wrap { padding: 0 24px 40px; }
}
.contact-text .section-title { margin-bottom: 40px; }
.contact-text p { color: var(--text-light); font-size: 15px; line-height: 1.75; }
.contact-form { display: flex; flex-direction: column; gap: 24px; width: 350px; max-width: 100%; }
.contact-form .btn { width: 100%; }
.contact-msg { font-size: 13px; line-height: 1.4; margin: 2px 0 0; min-height: 36px; }
.contact-msg.ok { color: var(--success); }
.contact-msg.err { color: var(--error); }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text); }
.form-group input {
    padding: 14px 16px; border: 1px solid var(--line-form); border-radius: var(--radius);
    font-family: var(--font-body); font-size: 14px; color: var(--text);
    background: #fff; outline: none; transition: border-color .2s;
}
.form-group input:focus { border-color: var(--accent); }
.form-group input::placeholder { color: #9a9a9a; }

/* ===== Promo ===== */
.promo-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    margin: 0 80px;
}
@media (max-width: 1024px) { .promo-grid { margin: 0 40px; } }
@media (max-width: 860px) { .promo-grid { grid-template-columns: 1fr; margin: 0 40px; } }
.promo-text {
    padding: 64px 0; border-right: 1px solid var(--line);
    display: flex; flex-direction: column; justify-content: center;
}
@media (max-width: 1024px) { .promo-text { padding: 48px 0; } }
@media (max-width: 860px) { .promo-text { border-right: 0; border-bottom: 1px solid var(--line); padding: 40px 0; } }
.promo-text .section-title { margin-bottom: 18px; max-width: 9em; }
.promo-text p { font-family: 'Montserrat', sans-serif; font-weight: 400; font-style: normal; font-size: 18px; line-height: 150%; letter-spacing: 0; color: var(--text-light); margin-bottom: 30px; max-width: 26em; }
.promo-text .btn { align-self: flex-start; }
.promo-cards {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.promo-cards .product-card { max-width: none; }
@media (max-width: 860px) { .promo-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .promo-cards { grid-template-columns: 1fr; } }

.btn-cart-circle {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--accent); color: var(--dark);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: background .2s, color .2s;
}
.btn-cart-circle:hover,
.product-card:hover .btn-cart-circle { background: var(--dark); color: var(--accent); }
.btn-cart-circle svg { pointer-events: none; transition: transform .2s; }
.btn-cart-circle:hover svg,
.product-card:hover .btn-cart-circle svg { transform: rotate(45deg); }

/* ===== Reviews ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; }
@media (max-width: 760px) { .reviews-grid { grid-template-columns: 1fr; } }
.review-card { background: var(--bg-soft); border: 1px solid var(--line); padding: 30px 32px; }
.review-card + .review-card { border-left: 0; }
.review-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.review-ava { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: #ddd; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--dark); }
.review-ava img { width: 100%; height: 100%; object-fit: cover; }
.review-id { flex: 1; min-width: 0; }
.review-name { font-weight: 700; font-size: 17px; color: var(--dark); margin-bottom: 4px; }
.review-stars { color: var(--accent); font-size: 16px; letter-spacing: 2px; }
.review-google { font-size: 13px; color: #1a73e8; white-space: nowrap; text-decoration: underline; }
.review-google:hover { color: #0c57c4; }
.review-text { color: var(--text-light); font-size: 14.5px; line-height: 1.65; }

/* ===== Footer ===== */
.site-footer { background: var(--dark); color: var(--cream); width: 100%; flex-shrink: 0; }
.site-footer .container { max-width: var(--box); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 485px 420px 215px; gap: 40px; padding: 40px 0 48px; align-items: stretch; justify-content: space-between; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; flex-direction: column; }
.footer-brand img { height: 41px; width: 187px; object-fit: contain; object-position: left; }
.footer-copy { margin-top: auto; padding-top: 90px; font-family: 'Montserrat', sans-serif; font-weight: 400; font-style: normal; font-size: 18px; line-height: 150%; letter-spacing: 0; color: var(--cream); }
@media (max-width: 800px) { .footer-copy { padding-top: 40px; } }
.footer-nav { display: flex; flex-direction: column; gap: 42px; padding-top: 6px; font-family: 'Montserrat', sans-serif; font-weight: 400; font-style: normal; font-size: 18px; line-height: 150%; letter-spacing: 0; }
.footer-nav a { color: var(--cream); transition: color .2s; }
.footer-nav a:hover { color: var(--accent); }
.footer-contacts-col { display: flex; flex-direction: column; }
.footer-contacts-col h4 { font-family: 'Montserrat', sans-serif; font-weight: 600; font-style: normal; font-size: 18px; line-height: 150%; letter-spacing: 0; color: var(--cream); margin-bottom: 16px; }
.footer-contacts { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.footer-contacts a { font-family: 'Montserrat', sans-serif; font-weight: 400; font-style: normal; font-size: 18px; line-height: 150%; letter-spacing: 0; color: var(--cream); transition: color .2s; }
.footer-contacts a:hover { color: var(--accent); }
.footer-social-title { font-family: 'Montserrat', sans-serif; font-weight: 600; font-style: normal; font-size: 18px; line-height: 150%; letter-spacing: 0; color: var(--cream); margin-bottom: 16px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { display: flex; align-items: center; justify-content: center; transition: opacity .2s; opacity: .9; }
.footer-social a:hover { opacity: 1; }
.footer-social img { display: block; width: 24px; height: 24px; }

/* ===== Catalog / Product pages ===== */
.page-hero { background: var(--dark); color: #fff; padding: 44px 0 36px; border-bottom: 1px solid #333; }
.page-hero-sm { padding: 24px 0 18px; }
.page-hero h1 { font-family: var(--font-brand); font-size: clamp(22px, 3.2vw, 38px); font-weight: 700; color: #fff; margin-bottom: 8px; }
.page-hero p { color: #999; font-size: 15px; max-width: 600px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.breadcrumb a { color: var(--line-dark); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--dark); font-weight: 700; }
.breadcrumb a::after { content: '/'; margin-left: 8px; color: #b8b8b8; font-weight: 400; }
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (max-width: 1024px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 768px)  { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 500px)  { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
.cat-card { display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 14px; transition: .2s; gap: 10px; }
.cat-card:hover { background: var(--bg-soft); }
.cat-card-icon { font-size: 34px; line-height: 1; }
.cat-card-name { font-weight: 600; font-size: 14px; line-height: 1.3; color: var(--text); }
.cat-card-count { font-size: 11px; color: var(--text-light); }
.catalog-layout > .container { display: grid; grid-template-columns: 230px 1fr; gap: 36px; align-items: start; padding-top: 56px; padding-bottom: 56px; }
@media (max-width: 768px) { .catalog-layout > .container { grid-template-columns: 1fr; } }
.sidebar-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; position: sticky; top: 100px; }
.sidebar-title { padding: 14px 18px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--text-light); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.sidebar-list a { display: block; padding: 11px 18px; font-size: 14px; color: var(--text); border-bottom: 1px solid #f2f2f2; transition: .15s; }
.sidebar-list a:hover, .sidebar-list a.active { background: #fff9f0; color: var(--accent); font-weight: 600; }
.catalog-empty { color: var(--text-light); font-size: 16px; padding: 40px 0 40px 40px; }
.product-view { padding: 30px 0 80px; }

.product-top { display: grid; grid-template-columns: 624fr 656fr; gap: 0; align-items: start; margin-top: 10px; }
@media (max-width: 960px) { .product-top { grid-template-columns: 1fr; gap: 32px; } }

.product-gallery__main { position: relative; background: var(--bg-soft); border: 1px solid var(--line); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__ph { font-family: var(--font-brand); font-size: 120px; font-weight: 700; color: var(--accent); opacity: .25; }
.pg-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); color: var(--dark); display: flex; align-items: center; justify-content: center; transition: .2s; z-index: 2; }
.pg-arrow:hover { background: var(--btn-hover); }
.pg-prev { left: 24px; }
.pg-next { right: 24px; }
.product-gallery__thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border: 1px solid var(--line); border-top: 0; }
.pg-thumb { position: relative; aspect-ratio: 208 / 209; background: var(--bg-soft); border-left: 1px solid var(--line); overflow: hidden; transition: .15s; }
.pg-thumb:first-child { border-left: 0; }
.pg-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pg-thumb.is-active { outline: 2px solid var(--accent); outline-offset: -2px; z-index: 1; }

.product-right { border: 1px solid var(--line); margin-left: -1px; padding: 36px 40px 40px; background: #fff; }
@media (max-width: 960px) { .product-right { margin-left: 0; } }
.product-title { font-family: var(--font-brand); font-size: clamp(28px, 3vw, 40px); font-weight: 700; line-height: 1.04; color: var(--dark); margin-bottom: 24px; }

.product-order__price { font-size: 30px; font-weight: 700; color: var(--dark); margin-bottom: 22px; }
.product-order__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.product-order .btn-quick, .product-order .btn-cart { height: 56px; padding: 0 32px; border-radius: 99px; font: inherit; font-weight: 700; font-size: 15px; transition: .2s; }
.product-order .btn-quick { border: 2px solid var(--accent); background: #fff; color: var(--dark); }
.product-order .btn-quick:hover { background: var(--btn-hover); }
    .product-order .btn-cart { border: 2px solid var(--accent); background: var(--accent); color: var(--dark); }
.product-order .btn-cart:hover { background: var(--dark); color: var(--cream); border-color: var(--dark); }

/* Ручний конфігуратор (товари без авто-розрахунку) */
.dg-widget-container { box-sizing: border-box; font-family: Montserrat, Inter, sans-serif; max-width: 100%; margin: 20px 0; }
.dg-widget-container * { box-sizing: border-box; }
.dg-widget-group { margin-bottom: 18px; }
.dg-widget-label { display: block; font-family: Montserrat, sans-serif; font-weight: 600; font-size: 13px; color: #1e160a; margin-bottom: 6px; }
.dg-widget-hint { font-weight: 400; font-size: 12px; color: #999; }
.dg-widget-select, .dg-widget-input { width: 100%; height: 46px; padding: 0 16px; font-family: Montserrat, sans-serif; font-size: 14px; font-weight: 400; color: #333; border: 1px solid #ccc; border-radius: 4px; background-color: #fff; transition: .2s ease-in-out; }
.dg-widget-select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2214%22%20height%3D%228%22%20viewBox%3D%220%200%2014%208%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M1%201L7%207L13%201%22%20stroke%3D%22%239c9c9c%22%20stroke-width%3D%221.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; cursor: pointer; }
.dg-widget-select:hover, .dg-widget-input:hover { border-color: #a6a6a6; }
.dg-widget-select:focus, .dg-widget-input:focus { border-color: #f7a800; box-shadow: 0 0 0 3px rgba(247,168,0,.15); outline: none; }
.dg-radio-group { display: flex; gap: 24px; margin: 8px 0; }
.dg-radio-label { display: inline-flex; align-items: center; font-family: Montserrat, sans-serif; font-size: 14px; font-weight: 500; color: #333; cursor: pointer; position: relative; user-select: none; }
.dg-radio-label input { position: absolute; opacity: 0; cursor: pointer; }
.dg-radio-custom { height: 18px; width: 18px; background-color: #fff; border: 2px solid #ccc; border-radius: 50%; margin-right: 8px; display: inline-block; position: relative; transition: .2s; }
.dg-radio-label:hover input ~ .dg-radio-custom, .dg-radio-label input:checked ~ .dg-radio-custom { border-color: #f7a800; }
.dg-radio-custom::after { content: ""; position: absolute; display: none; top: 3px; left: 3px; width: 8px; height: 8px; border-radius: 50%; background: #f7a800; }
.dg-radio-label input:checked ~ .dg-radio-custom::after { display: block; }
.dg-widget-summary-box { margin-top: 24px; padding-top: 20px; border-top: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.dg-widget-summary-left { flex: 1; text-align: left; }
.dg-widget-summary-title { font-family: Montserrat, sans-serif; font-weight: 700; font-size: 15px; color: #1e160a; margin-bottom: 6px; line-height: 1.4; }
.dg-widget-summary-details { font-family: Montserrat, sans-serif; font-weight: 400; font-size: 13px; color: #666; line-height: 1.5; }
.dg-widget-summary-right { text-align: right; min-width: 120px; }
.dg-widget-price { font-family: "Exo 2", sans-serif; font-weight: 800; font-size: 24px; color: #1e160a; white-space: nowrap; }
.dg-widget-buttons-row { display: flex; gap: 15px; margin-top: 20px; }
.dg-btn-quick, .dg-btn-cart { flex: 1; height: 48px; border-radius: 24px; font-family: Montserrat, sans-serif; font-weight: 700; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: .2s ease-in-out; text-decoration: none; }
.dg-btn-quick { background-color: #fff; border: 2px solid #f7a800; color: #1e160a; }
.dg-btn-quick:hover { background-color: #f7a800; color: #fff; }
.dg-btn-cart { background-color: #f7a800; border: none; color: #fff; }
.dg-btn-cart:hover { background-color: #e09800; }
.dg-btn-quick:disabled, .dg-btn-cart:disabled { background-color: #ccc; border-color: #ccc; color: #666; cursor: not-allowed; }

.product-blocks { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-soft); border: 1px solid var(--line); margin-top: 56px; }
@media (max-width: 860px) { .product-blocks { grid-template-columns: 1fr; } }
.pb-card { padding: 40px 44px; }
.pb-req { border-right: 1px solid var(--line); }
@media (max-width: 860px) { .pb-req { border-right: 0; border-bottom: 1px solid var(--line); } }
.pb-card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.pb-card__title { font-family: var(--font-brand); font-size: clamp(20px, 2vw, 26px); font-weight: 700; color: var(--dark); }
.pb-link { color: #2F66C8; font-weight: 600; font-size: 15px; text-decoration: underline; white-space: nowrap; }
.pb-link:hover { color: #1d4a98; }
.pb-req__list { list-style: decimal; padding-left: 22px; display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.45; color: var(--text); }
.pb-tpl { display: flex; flex-direction: column; }
.pb-tpl .pb-card__title { margin-bottom: 18px; }
.pb-tpl__list { display: flex; flex-direction: column; }
.pb-tpl__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--text); }
.pb-pdf { background: #7A0C0C; color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .04em; padding: 8px 20px; border-radius: 4px; transition: .2s; }
.pb-pdf:hover { background: #5d0808; color: #fff; }
.pb-tpl__all { align-self: flex-end; margin-top: 22px; }

/* SEO-С‚ */
.product-seo { margin-top: 64px; max-width: 1000px; color: var(--text); font-size: 16px; line-height: 1.8; }
.product-seo h2, .product-seo h3 { font-family: var(--font-brand); font-weight: 700; color: var(--dark); margin: 38px 0 16px; line-height: 1.15; }
.product-seo h2 { font-size: clamp(24px, 2.6vw, 34px); }
.product-seo h2:first-child, .product-seo h3:first-child { margin-top: 0; }
.product-seo p { margin-bottom: 16px; }
.product-seo ul { list-style: disc; padding-left: 22px; margin-bottom: 16px; display: flex; flex-direction: column; gap: 12px; }
.product-seo ol { list-style: decimal; padding-left: 22px; margin-bottom: 16px; display: flex; flex-direction: column; gap: 12px; }
.product-seo a { color: #2F66C8; text-decoration: underline; }
.product-seo a:hover { color: #1d4a98; }

/* ===== Catalog index ===== */
.catalog { padding: 36px 0 80px; }
.catalog-title { font-family: var(--font-brand); font-size: clamp(34px, 5vw, 64px); font-weight: 700; color: var(--dark); line-height: 1.05; letter-spacing: -.01em; margin: 6px 0 34px; }
.catalog-intro { color: var(--text-light); max-width: 760px; margin: -14px 0 26px; line-height: 1.6; font-size: 15px; }

.catalog-controls { display: flex; align-items: center; gap: 12px; }
.search-field { position: relative; flex: 0 1 640px; }
.search-field svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #8B8B8B; }
.search-field input { width: 100%; height: 48px; padding: 0 44px 0 44px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 15px; color: var(--dark); }
.search-field input:focus { outline: none; border-color: var(--accent); }
.search-clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; display: none; align-items: center; justify-content: center; background: transparent; border: 0; padding: 0; cursor: pointer; color: #8B8B8B; border-radius: 50%; transition: color .15s, background .15s; }
.search-clear:hover { color: var(--dark); background: var(--bg-soft); }
.search-field.has-value .search-clear { display: flex; }
.btn-search { height: 48px; padding: 0 34px; border: none; border-radius: 24px; background: var(--accent); color: var(--dark); font: inherit; font-weight: 700; cursor: pointer; transition: .2s; }
.btn-search:hover { background: var(--dark); color: var(--cream); }
.sort-field { position: relative; margin-left: auto; }
.sort-field select { height: 48px; padding: 0 46px 0 18px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 15px; color: var(--dark); appearance: none; -webkit-appearance: none; cursor: pointer; min-width: 260px; border-radius: 0; }
.sort-field select:focus { outline: none; border-color: var(--accent); }
.sort-field::after { content: ''; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px; border-right: 2px solid #8B8B8B; border-bottom: 2px solid #8B8B8B; transform: translateY(-70%) rotate(45deg); pointer-events: none; }

.catalog-body { display: grid; grid-template-columns: 320px 1fr; align-items: start; margin-top: 24px; }
@media (max-width: 900px) { .catalog-body { grid-template-columns: 1fr; } }

.catalog-sidebar { border: 1px solid var(--line); background: #fff; align-self: start; }
.cs-title { font-family: var(--font-brand); font-weight: 700; font-size: 18px; color: var(--dark); padding: 18px 20px; border-bottom: 1px solid var(--line); }
.cs-list { padding: 10px 0; }
.cs-item { display: flex; align-items: center; gap: 12px; padding: 7px 20px; cursor: pointer; font-size: 14px; color: var(--text); transition: .15s; }
.cs-item:hover { background: var(--bg-soft); }
.cs-item input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; cursor: pointer; flex-shrink: 0; transition: .15s; background-size: contain; background-repeat: no-repeat; background-position: center; background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.75' y='0.75' width='14.5' height='14.5' rx='2' stroke='%23FAC000' stroke-width='1.5'/%3E%3C/svg%3E"); }
.cs-item input:checked { background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='1' y='1' width='14' height='14' rx='2' fill='%23FAC000'/%3E%3Cpath d='M5 8L7 10C7 10 8.5 8.5 11 6' stroke='%2371510A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

.catalog-main { min-width: 0; }
.catalog-body .product-grid-3 { grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (max-width: 1100px) { .catalog-body .product-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .catalog-body .product-grid-3 { grid-template-columns: 1fr; } }

.catalog-more { display: flex; justify-content: center; margin: 40px 0 8px; }
.btn-more { height: 48px; padding: 0 38px; border: none; border-radius: 24px; background: var(--accent); color: var(--dark); font: inherit; font-weight: 700; cursor: pointer; transition: .2s; }
.btn-more:hover { background: var(--dark); color: var(--cream); }
.btn-more:disabled { opacity: .6; cursor: default; }

.pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 30px; }
.pager-arrow, .pager-num { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; font-weight: 600; font-size: 15px; color: var(--dark); border: 1px solid var(--line); transition: .15s; }
.pager-num:hover { background: var(--btn-hover); border-color: var(--accent); }
.pager-num.is-active { background: var(--accent); border-color: var(--accent); }
.pager-arrow { border-color: var(--line); }
.pager-arrow:hover { border-color: var(--accent); color: var(--accent); }
.pager-arrow.is-disabled { opacity: .35; pointer-events: none; }
.pager-gap { color: var(--text-light); padding: 0 2px; }

.catalog-seo-text { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); color: var(--text-light); line-height: 1.75; font-size: 15px; max-width: 980px; }
.catalog-seo-text h2, .catalog-seo-text h3 { font-family: var(--font-brand); color: var(--dark); margin: 18px 0 10px; }

/* ===== Cart ===== */
.cart-view { padding: 32px 0 72px; }
.cart-empty { padding: 40px 0; color: var(--text-light); }
.cart-empty p { margin-bottom: 20px; font-size: 17px; }

/* ===== (checkout) ===== */
.checkout { padding: 36px 0 80px; }
.checkout__title {
    font-family: var(--font-brand); font-weight: 700;
    font-size: clamp(34px, 5vw, 64px); line-height: 1.05; color: var(--dark);
    letter-spacing: -.01em; margin-bottom: 34px;
}
.checkout__grid {
    display: grid; grid-template-columns: 1fr 384px;
    gap: 40px; align-items: start;
}
.checkout__main { display: flex; flex-direction: column; gap: 34px; }

.co-card { border: 1px solid var(--line); background: #fff; }
.co-card__head { padding: 26px 34px; border-bottom: 1px solid var(--line); }
.co-card__head--sub { border-top: 1px solid var(--line); }
.co-card__head h2 {
    font-family: var(--font-brand); font-weight: 700;
    font-size: 26px; color: var(--dark); line-height: 1.1;
}
.co-card__body { padding: 30px 34px 34px; }

.co-fields {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 22px 30px; margin-bottom: 26px;
}
.co-field { display: flex; flex-direction: column; gap: 10px; }
.co-field__label { font-size: 16px; color: var(--text); font-weight: 500; }
.co-field__label em { color: var(--text-light); font-style: normal; font-weight: 400; }
.co-field input,
.co-select select {
    width: 100%; height: 54px; padding: 0 18px;
    border: 1px solid var(--line-form); background: #fff;
    font-family: var(--font-body); font-size: 15px; color: var(--text);
    outline: none; transition: border-color .15s;
}
.co-field input::placeholder { color: #9a9a9a; }
.co-field input:focus,
.co-select select:focus { border-color: var(--accent); }
.co-select { position: relative; display: block; }
.co-select select { appearance: none; -webkit-appearance: none; padding-right: 46px; cursor: pointer; }
.co-select::after {
    content: ''; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px;
    border-right: 2px solid var(--text); border-bottom: 2px solid var(--text);
    transform: translateY(-70%) rotate(45deg); pointer-events: none;
}

/* --- Р Р°РґС–Рѕ (РѕС‚СЂРёРјСѓРІР°С‡) --- */
.co-radios { display: flex; flex-direction: column; gap: 16px; }
.co-radio { display: inline-flex; align-items: center; gap: 14px; cursor: pointer; }
.co-radio input { position: absolute; opacity: 0; width: 0; height: 0; }
.co-radio__dot {
    width: 22px; height: 22px; border-radius: 50%; flex: none;
    border: 2px solid var(--accent); background: #fff; position: relative; transition: .15s;
}
.co-radio input:checked + .co-radio__dot::after {
    content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--accent);
}
.co-radio__text { font-size: 16px; color: var(--text); }

.co-order { padding: 0; }
.co-item {
    display: grid; grid-template-columns: 156px 1fr; gap: 26px;
    padding: 28px 34px; border-bottom: 1px solid var(--line);
}
.co-item__media {
    width: 156px; height: 156px; background: var(--bg-soft);
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.co-item__media img { width: 100%; height: 100%; object-fit: cover; }
.co-item__ph { font-family: var(--font-brand); font-size: 46px; color: var(--line-dark); }
.co-item__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.co-item__name { font-family: var(--font-body); font-weight: 700; font-size: 18px; color: var(--dark); line-height: 1.35; }
.co-item__remove {
    flex: none; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center;
    color: var(--text-light); background: none; border: 0; cursor: pointer; transition: color .15s;
}
.co-item__remove:hover { color: #c0392b; }
.co-item__opts { font-size: 14px; color: var(--text-light); line-height: 1.55; margin-top: 8px; max-width: 460px; }
.co-item__price {
    font-family: var(--font-brand); font-weight: 700; font-size: 24px; color: var(--dark);
    text-align: right; margin-top: 10px;
}
.co-item__req { font-family: var(--font-body); font-weight: 600; font-size: 16px; color: var(--text-light); }

.co-item__brief { margin-top: 16px; }
.co-item__brief input {
    width: 100%; height: 54px; padding: 0 18px;
    border: 1px solid var(--line-form); background: #fff;
    font-size: 14px; color: var(--text); outline: none;
}
.co-item__brief input:focus { border-color: var(--accent); }

.co-upload {
    display: grid; grid-template-columns: 1fr 1fr; margin-top: 18px;
    border: 1px solid var(--line);
}
.co-upload__col { padding: 16px 18px; }
.co-upload__col:first-child { border-right: 1px solid var(--line); }
.co-upload__label { font-size: 14px; font-weight: 700; color: var(--dark); text-align: center; margin-bottom: 14px; }
.co-drop {
    display: flex; align-items: center; justify-content: center; text-align: center;
    min-height: 62px; padding: 12px 14px; background: var(--bg-soft);
    border: 1px dashed transparent; cursor: pointer; transition: .15s;
}
.co-drop:hover, .co-drop.is-filled { background: #eceae3; }
.co-drop__text { font-size: 13px; color: var(--text-light); line-height: 1.4; }
.co-drop__text b { color: #2a6ad6; font-weight: 600; text-decoration: underline; }
.co-upload__hint { font-size: 12px; color: var(--text-light); line-height: 1.4; margin-top: 12px; text-align: center; }
.co-upload__link {
    width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--line-form);
    background: #fff; font-size: 13px; color: var(--text); outline: none; margin-bottom: 14px;
}
.co-upload__link:focus { border-color: var(--accent); }
.co-upload__save {
    width: 100%; height: 46px; border-radius: 99px; background: var(--accent);
    font-family: var(--font-body); font-weight: 700; font-size: 14px; color: var(--dark); transition: .15s;
}
.co-upload__save:hover { background: var(--accent-dark); }

.co-order__notice {
    background: #FBEFC4; color: var(--text);
    font-size: 15px; line-height: 1.6; padding: 22px 34px;
}

.co-delivery { padding: 8px 34px 14px; }
.co-delivery__row {
    display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 16px;
    padding: 22px 0; border-bottom: 1px solid var(--line); cursor: pointer;
}
.co-delivery__row:last-child { border-bottom: 0; }
.co-delivery__row input { position: absolute; opacity: 0; width: 0; height: 0; }
.co-delivery__row .co-radio__dot {
    width: 22px; height: 22px; border-radius: 50%; flex: none;
    border: 2px solid var(--accent); background: #fff; position: relative; transition: .15s;
}
.co-delivery__row input:checked + .co-radio__dot::after {
    content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--accent);
}
.co-delivery__name { font-size: 16px; color: var(--text); }
.co-delivery__price { font-family: var(--font-body); font-weight: 700; font-size: 16px; color: var(--dark); }

.checkout__side { position: sticky; top: 24px; }
.co-side { border: 1px solid var(--line); background: #fff; }
.co-bonus { background: #FBEFC4; padding: 26px 30px; }
.co-bonus__count { font-size: 17px; color: var(--text); margin-bottom: 12px; }
.co-bonus__link { font-weight: 700; font-size: 17px; color: #2a6ad6; text-decoration: underline; }
.co-total { padding: 28px 30px 30px; }
.co-total__head { font-family: var(--font-brand); font-weight: 700; font-size: 26px; color: var(--dark); margin-bottom: 22px; }
.co-total__row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; font-size: 16px; color: var(--text); }
.co-total__row b { font-family: var(--font-body); font-weight: 700; color: var(--dark); }
.co-total__row--muted { color: var(--text-light); }
.co-total__sep { height: 1px; background: var(--line); margin: 8px 0 20px; }
.co-total__grand { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.co-total__grand span { font-size: 18px; color: var(--text); }
.co-total__grand strong { font-family: var(--font-brand); font-weight: 700; font-size: 30px; color: var(--dark); }
.co-total__grand strong em { font-family: var(--font-body); font-weight: 700; font-size: 16px; font-style: normal; }
.co-total__notice { background: #FBEFC4; color: var(--text); font-size: 14px; line-height: 1.55; padding: 16px 18px; margin-bottom: 22px; }
.co-total__submit { width: 100%; }

@media (max-width: 1024px) {
    .checkout__grid { grid-template-columns: 1fr; }
    .checkout__side { position: static; }
    .co-card__head, .co-card__body, .co-item, .co-order__notice, .co-delivery { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 640px) {
    .co-fields { grid-template-columns: 1fr; }
    .co-item { grid-template-columns: 1fr; }
    .co-item__media { width: 100%; height: 200px; }
    .co-upload { grid-template-columns: 1fr; }
    .co-upload__col:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
    .co-item__price { text-align: left; }
}

.reqs { padding: 36px 0 80px; }
.reqs-title {
    font-family: var(--font-brand); font-weight: 700;
    font-size: clamp(34px, 5vw, 64px); line-height: 1.05; color: var(--dark);
    letter-spacing: -.01em; margin: 6px 0 34px;
}
.reqs-box {
    display: grid; grid-template-columns: 320px 1fr;
    border: 1px solid var(--line); background: #fff; align-items: stretch;
}
.reqs-nav {
    display: flex; flex-direction: column;
    background: var(--bg-soft); border-right: 1px solid var(--line);
}
.reqs-nav__item {
    text-align: left; font-family: var(--font-body); font-size: 17px; color: var(--text);
    padding: 18px 26px; border: 0; border-bottom: 1px solid var(--line); background: transparent;
    cursor: pointer; transition: background .15s, color .15s; line-height: 1.35;
}
.reqs-nav__item:last-child { border-bottom: 0; }
.reqs-nav__item:hover { background: #e8e6df; }
.reqs-nav__item.is-active { background: var(--accent); color: var(--dark); font-weight: 600; }
.reqs-content { min-width: 0; }
.reqs-panel__head { padding: 26px 34px; border-bottom: 1px solid var(--line); }
.reqs-panel__head h2 { font-family: var(--font-brand); font-weight: 700; font-size: 26px; color: var(--dark); line-height: 1.1; }
.reqs-panel__body { padding: 30px 34px 40px; }
.reqs-panel__body p { font-size: 17px; line-height: 1.7; color: var(--text); margin-bottom: 22px; }
.reqs-panel__body p:last-child { margin-bottom: 0; }
.reqs-panel__body strong { font-weight: 700; color: var(--dark); }
.reqs-lead { font-weight: 700; color: var(--dark) !important; }
.reqs-empty { color: var(--text-light); }

@media (max-width: 860px) {
    .reqs-box { grid-template-columns: 1fr; }
    .reqs-nav { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
    .reqs-nav__item { white-space: nowrap; border-bottom: 0; border-right: 1px solid var(--line); padding: 14px 18px; font-size: 15px; }
    .reqs-nav__item.is-active { box-shadow: inset 0 -3px 0 var(--accent-dark); }
    .reqs-panel__head, .reqs-panel__body { padding-left: 22px; padding-right: 22px; }
}

/* ===== Сторінка «Контакти» ===== */
.contacts { padding: 36px 0 80px; }
.contacts-title {
    font-family: var(--font-brand); font-weight: 700;
    font-size: clamp(34px, 5vw, 64px); line-height: 1.05; color: var(--dark);
    letter-spacing: -.01em; margin: 6px 0 34px;
}
.contacts-info {
    display: grid; grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line); background: var(--bg-soft);
    min-width: 0;
}
.contacts-col {
    padding: 40px 34px; border-right: 1px solid var(--line);
    min-width: 0; overflow-wrap: anywhere;
}
.contacts-col:last-child { border-right: 0; }
.contacts-col h2 {
    font-family: var(--font-brand); font-weight: 700; font-size: 24px;
    color: var(--dark); line-height: 1.2; margin-bottom: 24px;
}
.contacts-col p { font-size: 17px; line-height: 1.7; color: var(--text); }
.contacts-list { display: flex; flex-direction: column; gap: 18px; }
.contacts-list a,
.contacts-social a { display: flex; align-items: center; gap: 12px; font-size: 17px; color: var(--text); }
.contacts-list a:hover,
.contacts-social a:hover { color: var(--accent-dark); }
.contacts-list svg,
.contacts-social svg { flex-shrink: 0; color: var(--dark); }
.contacts-social { display: flex; flex-direction: column; gap: 20px; }
.contacts-map { border: 1px solid var(--line); border-top: 0; line-height: 0; overflow: hidden; }
.contacts-map iframe { width: 100%; max-width: 100%; height: 470px; border: 0; display: block; filter: grayscale(1); transition: filter .3s ease; }
.contacts-map:hover iframe { filter: grayscale(0); }

@media (max-width: 980px) {
    .contacts-info { grid-template-columns: repeat(2, 1fr); }
    .contacts-col:nth-child(2) { border-right: 0; }
    .contacts-col:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
    .contacts-info { grid-template-columns: 1fr; }
    .contacts-col { border-right: 0; border-bottom: 1px solid var(--line); padding: 30px 22px; }
    .contacts-col:last-child { border-bottom: 0; }
    .contacts-map iframe { height: 340px; }
}


/* ===================================================================
   Cabinet, auth modals, checkout extras, order-done (2026-07-01)
   =================================================================== */
[x-cloak] { display: none !important; }

/* Auth / edit modals */
body.auth-open { overflow: hidden; }
.auth-overlay {
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(20, 15, 2, .55);
    display: flex; align-items: flex-start; justify-content: center;
    padding: 80px 20px 40px; overflow-y: auto;
}
.auth-modal {
    position: relative; width: 100%; max-width: 520px;
    background: #fff; border-radius: 10px; padding: 40px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}
.auth-modal__close {
    position: absolute; top: 22px; right: 22px;
    background: none; border: 0; color: var(--text); cursor: pointer; padding: 4px; line-height: 0;
}
.auth-modal__close:hover { color: var(--accent-dark); }
.auth-modal__title {
    font-family: var(--font-brand); font-size: 30px; font-weight: 700;
    color: var(--text); margin: 0 0 6px; padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}
.auth-form { display: flex; flex-direction: column; }
.auth-text { color: var(--text-light); font-size: 15px; line-height: 1.5; margin: 18px 0 4px; }
.auth-field { display: flex; flex-direction: column; margin-top: 18px; }
.auth-field > span { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.auth-field > span em { font-weight: 400; color: var(--text-light); font-style: normal; }
.auth-field input, .auth-field textarea, .auth-field select {
    width: 100%; padding: 13px 15px; font: inherit; font-size: 15px;
    border: 1px solid var(--line-form, #8B8B8B); border-radius: 8px; background: #fff; color: var(--text);
}
.auth-field textarea { resize: vertical; min-height: 96px; }
.auth-field input:focus, .auth-field textarea:focus, .auth-field select:focus {
    outline: none; border-color: var(--accent-dark);
    box-shadow: 0 0 0 3px rgba(250, 192, 0, .18);
}
.auth-pass { position: relative; display: block; }
.auth-pass input { padding-right: 46px; }
.auth-eye {
    position: absolute; top: 50%; right: 10px; transform: translateY(-50%);
    background: none; border: 0; color: #8B8B8B; cursor: pointer; padding: 4px; line-height: 0;
}
.auth-eye:hover { color: var(--text); }
.auth-hint { color: var(--text-light); font-size: 13px; margin-top: 6px; }
.auth-error { color: #cc2b2b; font-size: 13px; margin-top: 6px; font-style: normal; }
.auth-error:empty { display: none; }
.auth-success { color: #1c7a3d; font-size: 14px; margin-top: 14px; }
.auth-row-right { display: flex; justify-content: flex-end; margin-top: 10px; }
.auth-link {
    background: none; border: 0; padding: 0; cursor: pointer; font: inherit;
    color: #2f6fd4; font-size: 14px; text-decoration: none;
}
.auth-link:hover { text-decoration: underline; }
.auth-link--center { text-align: center; margin-top: 14px; }
.auth-submit {
    margin-top: 22px; padding: 15px 20px; border: 0; border-radius: 40px; cursor: pointer;
    font: inherit; font-weight: 700; font-size: 16px; color: #241c00;
    background: var(--accent); transition: background .15s;
}
.auth-submit:hover { background: var(--accent-dark); }
.auth-submit:disabled { opacity: .6; cursor: default; }
.auth-submit--danger { background: #e24747; color: #fff; }
.auth-submit--danger:hover { background: #c93b3b; }
.auth-google {
    margin-top: 12px; padding: 14px 20px; border: 1px solid var(--line-form, #8B8B8B); border-radius: 40px;
    cursor: pointer; font: inherit; font-weight: 600; font-size: 15px; color: var(--text);
    background: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
}
.auth-google:hover { background: var(--bg-soft); }
.auth-google__g { font-weight: 800; color: #4285F4; }
.auth-foot { text-align: center; margin: 20px 0 0; font-size: 14px; color: var(--text-light); }

/* Checkout: errors + recipient */
.co-errors {
    background: #fdecec; border: 1px solid #f3b6b6; color: #b02525;
    padding: 12px 16px; margin-bottom: 18px; border-radius: 6px;
}
.co-errors ul { margin: 0; padding-left: 18px; }
.co-recipient { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 4px; }
@media (max-width: 640px) { .co-recipient { grid-template-columns: 1fr; } }

/* Cabinet */
.cab { padding: 30px 0 70px; }
.cab-title { font-family: var(--font-brand); font-size: clamp(30px, 4vw, 52px); font-weight: 700; color: var(--text); margin: 8px 0 24px; }
.cab-flash { background: #e4f5e8; border: 1px solid #b6e0c1; color: #1c7a3d; padding: 12px 16px; border-radius: 6px; margin-bottom: 18px; }
.cab-verify { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: #fff7e0; border: 1px solid #f2d489; color: #6b5300; padding: 14px 18px; border-radius: 6px; margin-bottom: 18px; }
.cab-verify__text { font-size: 14px; line-height: 1.5; flex: 1 1 320px; }
.cab-verify__text strong { display: block; margin-bottom: 2px; }
.cab-verify__btn { white-space: nowrap; }
.cab-box { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: start; }
.cab-nav { display: flex; flex-direction: column; background: var(--bg-soft); border: 1px solid var(--line); }
.cab-nav__item {
    display: block; width: 100%; text-align: left; background: none; border: 0;
    border-bottom: 1px solid var(--line); padding: 17px 22px; font: inherit; font-size: 16px;
    color: var(--text); cursor: pointer; transition: background .15s;
}
.cab-nav__item:hover { background: #e8e6df; }
.cab-nav__item.is-active { background: var(--accent); font-weight: 700; }
.cab-nav__logout { margin: 0; }
.cab-nav__item--exit { color: #b02525; }
.cab-content { min-width: 0; }
.cab-panel { display: flex; flex-direction: column; gap: 22px; }
.cab-card { border: 1px solid var(--line); background: #fff; padding: 26px 28px; }
.cab-card--center { text-align: center; padding: 46px 28px; }
.cab-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.cab-card__head h2 { font-family: var(--font-brand); font-size: 22px; font-weight: 700; margin: 0; color: var(--text); }
.cab-edit { background: var(--accent); border: 0; border-radius: 40px; padding: 9px 22px; font: inherit; font-weight: 600; font-size: 14px; color: #241c00; cursor: pointer; }
.cab-edit:hover { background: var(--accent-dark); }
.cab-data { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 30px; margin: 0; }
.cab-data > div { display: flex; flex-direction: column; }
.cab-data dt { font-size: 13px; color: var(--text-light); margin-bottom: 4px; }
.cab-data dd { margin: 0; font-size: 16px; color: var(--text); }
.cab-link { background: none; border: 0; padding: 0; color: #2f6fd4; cursor: pointer; font: inherit; font-size: 14px; }
.cab-link:hover { text-decoration: underline; }
@media (max-width: 560px) { .cab-data { grid-template-columns: 1fr; } }
.cab-bonus { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cab-bonus__num { font-family: var(--font-brand); font-size: 56px; font-weight: 700; color: var(--accent-dark); }
.cab-bonus__label { font-size: 18px; color: var(--text); }
.cab-empty { font-size: 18px; color: var(--text-light); margin: 0 0 20px; }
.cab-order { border: 1px solid var(--line); background: #fff; margin-bottom: 14px; }
.cab-order__head {
    display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 18px;
    width: 100%; background: none; border: 0; padding: 18px 24px; cursor: pointer; text-align: left;
}
.cab-order__id { display: flex; flex-direction: column; gap: 3px; }
.cab-order__id b { font-size: 17px; color: var(--text); }
.cab-order__id span { font-size: 13px; color: var(--text-light); }
.cab-order__thumbs { display: flex; gap: 6px; }
.cab-order__thumb {
    width: 42px; height: 42px; border: 1px solid var(--line); background: var(--bg-soft);
    display: inline-flex; align-items: center; justify-content: center; overflow: hidden;
    font-weight: 700; color: var(--text-light); font-size: 15px;
}
.cab-order__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cab-order__chev { color: var(--text-light); transition: transform .2s; flex-shrink: 0; }
.cab-status { display: inline-block; padding: 5px 14px; border-radius: 40px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.cab-status.is-new { background: #fff3cf; color: #8a6d00; }
.cab-status.is-processing { background: #e0ecff; color: #1f4e9c; }
.cab-status.is-done { background: #dcf3e2; color: #1c7a3d; }
.cab-status.is-canceled { background: #fbe0e0; color: #b02525; }
.cab-order__body { border-top: 1px solid var(--line); padding: 24px; }
.cab-order__grid { display: grid; grid-template-columns: 300px 1fr; gap: 30px; }
.cab-order__side { display: flex; flex-direction: column; gap: 14px; }
.cab-order__status { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.cab-order__date { font-size: 13px; color: var(--text-light); }
.cab-order__cancel { align-self: flex-start; background: none; border: 1px solid #e0a0a0; color: #b02525; border-radius: 40px; padding: 9px 20px; font: inherit; font-size: 14px; cursor: pointer; }
.cab-order__cancel:hover { background: #fdf2f2; }
.cab-order__sep { height: 1px; background: var(--line); }
.cab-order__meta { display: flex; flex-direction: column; gap: 14px; }
.cab-order__meta-row { display: flex; gap: 10px; font-size: 14px; color: var(--text); line-height: 1.5; }
.cab-order__meta-ic { flex-shrink: 0; }
.cab-order__reason { font-size: 13px; color: #b02525; }
.cab-order__items { display: flex; flex-direction: column; gap: 14px; }
.cab-oi { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; }
.cab-oi__media { width: 64px; height: 64px; border: 1px solid var(--line); background: var(--bg-soft); display: flex; align-items: center; justify-content: center; overflow: hidden; font-weight: 700; color: var(--text-light); }
.cab-oi__media img { width: 100%; height: 100%; object-fit: cover; }
.cab-oi__name { font-size: 15px; color: var(--text); font-weight: 600; }
.cab-oi__opts { font-size: 13px; color: var(--text-light); margin-top: 3px; }
.cab-oi__price { font-size: 15px; font-weight: 600; color: var(--text); white-space: nowrap; }
.cab-order__totals { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.cab-order__total-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--text-light); }
.cab-order__total-row b { color: var(--text); }
.cab-order__total-row--grand { font-size: 17px; }
.cab-order__paid { color: #8a6d00; }
@media (max-width: 900px) {
    .cab-box { grid-template-columns: 1fr; }
    .cab-nav { flex-direction: row; overflow-x: auto; }
    .cab-nav__item { border-bottom: 0; border-right: 1px solid var(--line); white-space: nowrap; }
    .cab-order__head { grid-template-columns: 1fr auto; row-gap: 10px; }
    .cab-order__thumbs { grid-column: 1 / -1; }
    .cab-order__grid { grid-template-columns: 1fr; }
}

/* Order success */
.order-done { padding: 50px 0 80px; }
.order-done__card { max-width: 620px; margin: 0 auto; border: 1px solid var(--line); background: #fff; padding: 46px 40px; text-align: center; }
.order-done__icon { color: #1c9a4b; margin-bottom: 14px; }
.order-done__title { font-family: var(--font-brand); font-size: clamp(28px, 4vw, 42px); font-weight: 700; margin: 0 0 10px; color: var(--text); }
.order-done__num { font-size: 17px; color: var(--text); margin: 0 0 12px; }
.order-done__text { font-size: 15px; color: var(--text-light); line-height: 1.6; margin: 0 0 26px; }
.order-done__summary { text-align: left; border: 1px solid var(--line); padding: 18px 22px; margin-bottom: 26px; }
.order-done__item { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; font-size: 15px; color: var(--text); }
.order-done__item--total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; font-size: 17px; font-weight: 700; }
.order-done__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.order-done__actions .btn-outline { border: 1px solid var(--text); background: #fff; color: var(--text); padding: 14px 26px; font-weight: 600; }
.order-done__actions .btn-outline:hover { background: var(--text); color: #fff; }

/* --- Плаваючі кнопки звʼязку (ліворуч знизу) --- */
.contact-fab {
    position: fixed; left: 18px; bottom: 18px; z-index: 900;
    display: flex; flex-direction: column; gap: 12px;
}
.contact-fab__btn {
    width: 52px; height: 52px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
    transition: transform .18s ease, box-shadow .18s ease;
}
.contact-fab__btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .28); }
.contact-fab__btn:active { transform: translateY(0); }
.contact-fab__btn svg { width: 24px; height: 24px; }
.contact-fab__btn--call { background: var(--accent); color: var(--dark); }
.contact-fab__btn--viber { background: transparent; box-shadow: none; padding: 0; overflow: hidden; }
.contact-fab__btn--viber:hover { box-shadow: 0 10px 24px rgba(0, 0, 0, .28); }
.contact-fab__btn--viber img { width: 52px; height: 52px; display: block; border-radius: 50%; }
.contact-fab__btn--tg { background: #29a9eb; }

@media (max-width: 640px) {
    .contact-fab { left: 12px; bottom: 12px; gap: 10px; }
    .contact-fab__btn { width: 44px; height: 44px; }
    .contact-fab__btn svg { width: 20px; height: 20px; }
    .contact-fab__btn--viber img { width: 44px; height: 44px; }
}

/* --- Сторінка помилки 404 --- */
.error-page{text-align:center;padding:80px 0 100px;}
.error-page__code{font-family:'Exo 2',Montserrat,sans-serif;font-size:120px;line-height:1;font-weight:700;color:#f7a800;letter-spacing:2px;}
.error-page__title{font-size:30px;margin:12px 0 10px;}
.error-page__text{color:#555;max-width:520px;margin:0 auto 28px;font-size:16px;}
.error-page__actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;}
.error-page__actions a{text-decoration:none;display:inline-flex;align-items:center;}
@media(max-width:640px){.error-page__code{font-size:84px;}.error-page__title{font-size:24px;}}

/* ===== SEO-правки: нові секції головної ===== */
.about-title { font-size: 34px; }
@media (max-width: 600px) { .about-title { font-size: 26px; } }

/* Як замовити друк: кнопки та етапи */
.howto-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
.steps-title { font-size: 20px; font-weight: 700; color: var(--text); padding: 40px 0 6px; }
.steps-list li { padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
.steps-list li:last-child { border-bottom: 0; }
.steps-list strong { display: block; color: var(--text); font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.steps-list p { color: var(--text-light); font-size: 14px; line-height: 1.6; }
@media (max-width: 768px) { .steps-title { padding-top: 28px; } }

/* Чому обирають: компактніший список на 6 пунктів */
.advantages--top-line { border-top: 1px solid var(--line-dark); }
.advantages-list--tight li { padding: 18px 0; }
.advantages-list--tight strong { font-size: 16px; }

/* ===== FAQ ===== */
.faq-section { border-bottom: 1px solid var(--line-dark); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.7fr; margin: 0 80px; position: relative; }
.faq-grid::before { content: ''; position: absolute; left: 0; top: 0; bottom: -24px; width: 1px; background: var(--line-dark); }
@media (max-width: 1024px) { .faq-grid { margin: 0 40px; } }
@media (max-width: 768px) {
    .faq-grid { grid-template-columns: 1fr; margin: 0; }
    .faq-grid::before { display: none; }
}
.faq-left { background: var(--bg-soft); padding: 56px 64px; border-right: 1px solid var(--line-dark); }
@media (max-width: 768px) { .faq-left { padding: 40px 24px; border-right: 0; border-bottom: 1px solid var(--line-dark); } }
.faq-right { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 26px 40px; cursor: pointer; list-style: none;
    font-size: 19px; font-weight: 700; color: var(--text); line-height: 1.4;
    transition: background .2s;
}
.faq-item summary:hover { background: var(--cream); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { flex-shrink: 0; transition: transform .25s ease; color: var(--dark); }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-body { padding: 20px 40px 26px; border-top: 1px solid var(--line); }
.faq-body p { color: var(--text-light); font-size: 15px; line-height: 1.7; }
@media (max-width: 600px) {
    .faq-item summary { padding: 20px 20px; font-size: 16px; }
    .faq-body { padding: 16px 20px 22px; }
}

/* ===== SEO-текст, що розгортається ===== */
.seo-block { padding: 72px 0 64px; }
.seo-block-title { margin-bottom: 28px; }
.seo-text p { color: var(--text-light); font-size: 15px; line-height: 1.75; margin-bottom: 16px; }
.seo-text h3 {
    font-family: var(--font-brand); font-weight: 500; font-size: 34px; line-height: 1.25;
    color: var(--dark); margin: 44px 0 18px;
}
.seo-text h4 {
    font-family: var(--font-brand); font-weight: 500; font-size: 24px; line-height: 1.3;
    color: var(--dark); margin: 36px 0 14px;
}
.seo-table-wrap { overflow-x: auto; margin: 24px 0 28px; }
.seo-table { width: 100%; max-width: 880px; margin: 0 auto; border-collapse: collapse; font-size: 14.5px; }
.seo-table th, .seo-table td { border: 1px solid var(--line); padding: 12px 16px; text-align: left; vertical-align: top; }
.seo-table th { color: var(--text); font-weight: 700; }
.seo-table td { color: var(--text-light); line-height: 1.55; }
.seo-table td:first-child { color: var(--text); min-width: 140px; }
.seo-toggle-wrap { text-align: center; margin-top: 28px; }
.seo-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--link); font-size: 15px; font-weight: 600;
    text-decoration: underline; text-underline-offset: 3px;
}
.seo-toggle:hover { color: var(--dark); }
.seo-toggle svg { transition: transform .25s ease; }
@media (max-width: 600px) {
    .seo-text h3 { font-size: 26px; }
    .seo-text h4 { font-size: 20px; }
}
@media (max-width: 600px) {
    .faq-left .section-title, .seo-block-title { font-size: 32px; }
}
