@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:wght@400;600&display=swap');

/* ============================================================
   1. ПЕРЕМЕННЫЕ И БАЗА
   ============================================================ */
:root {
    --bg: #ffffff;
    --text: #111111;
    --muted: #888888;
    --border: #eeeeee;
    --hover: #f9f9f9;
    --accent: #e44d26;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================================
   2. ШАПКА
   ============================================================ */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s ease;
}
header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo img { display: block; transition: opacity 0.3s; }
.logo img:hover { opacity: 0.8; }

.header-actions {
    display: flex;
    gap: 25px;
    align-items: center;
    font-size: 14px;
}
.header-actions a {
    text-decoration: none;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
}

.header-phone {
    font-weight: 600;
    font-size: 15px;
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;
}
.header-phone:hover { color: var(--accent); }

.nav-menu {
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 40px;
}
.nav-menu ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 40px;
    flex-wrap: wrap;
}
.nav-menu a {
    text-decoration: none;
    color: var(--text);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: opacity 0.3s;
}
.nav-menu a:hover { opacity: 0.5; }

/* ============================================================
   3. УМНЫЙ ПОИСК В ШАПКЕ
   ============================================================ */
.search-container {
    position: relative;
    flex-grow: 1;
    max-width: 500px;
    margin: 0 40px;
}
.search-bar {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
    transition: border-color 0.3s;
}
.search-bar:focus-within { border-color: var(--text); }
.search-bar input {
    width: 100%;
    padding: 12px 20px 12px 0;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    outline: none;
    background: transparent;
}
.search-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    transition: color 0.3s;
}
.search-btn:hover { color: var(--text); }

.search-preview {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-height: 400px;
    overflow-y: auto;
    z-index: 100;
    margin-top: 5px;
}
.search-preview::-webkit-scrollbar { width: 5px; }
.search-preview::-webkit-scrollbar-track { background: #f9f9f9; }
.search-preview::-webkit-scrollbar-thumb { background: #ddd; border-radius: 4px; }

.search-preview-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 15px;
    text-decoration: none;
    color: var(--text);
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.2s;
}
.search-preview-item:hover { background: #fafafa; }
.s-img {
    width: 45px; height: 45px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.s-img img { max-width: 90%; max-height: 90%; object-fit: contain; }
.s-info { flex-grow: 1; overflow: hidden; }
.s-title {
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}
.s-price { font-size: 12px; color: var(--muted); }
.search-preview-all {
    display: block;
    text-align: center;
    padding: 12px;
    font-size: 13px;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    background: #fafafa;
}
.search-preview-all:hover { background: #f0f0f0; }
.search-preview-empty {
    padding: 20px;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
}

/* ============================================================
   4. ГЛАВНАЯ: БАННЕР, ЗАГОЛОВКИ
   ============================================================ */
.hero-banner-full {
    width: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 150px 20px;
    text-align: center;
    color: #fff;
    margin-bottom: 60px;
}
.hero-banner-full::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}
.hero-content-full {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}
.hero-content-full h1 {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    margin-bottom: 20px;
    font-weight: 400;
}
.hero-content-full p {
    font-size: 20px;
    margin-bottom: 40px;
    font-weight: 300;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 30px;
    text-align: left;
    width: 100%;
}
.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 10px;
}
.page-subtitle {
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 50px;
}

.btn-dark {
    display: inline-block;
    padding: 15px 40px;
    background: #fff;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.3s;
    cursor: pointer;
    border: none;
}
.btn-dark:hover { background: #eee; }

/* ============================================================
   5. БЛОК "ВЫБЕРИТЕ ФОРМАТ" — ровная сетка, крупные плитки
   ============================================================ */
.format-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    width: 100%;
    margin-top: 30px;
}
.format-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 24px 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: box-shadow .2s, transform .2s, border-color .2s;
}
.format-item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transform: translateY(-2px);
    border-color: #e5dcc3;
}
.format-item__icon {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.format-item__icon img {
    max-height: 110px;
    max-width: 100%;
    object-fit: contain;
    display: block;
}
.format-item__emoji { font-size: 56px; line-height: 1; }
.format-name {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    min-height: 42px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

/* ============================================================
   6. БРЕНДЫ
   ============================================================ */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}
.brand-item {
    border: 1px solid var(--border);
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    transition: border-color 0.3s;
}
.brand-item:hover { border-color: var(--text); }

/* ============================================================
   7. СЕТКА ТОВАРОВ И КАРТОЧКИ
   ============================================================ */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px 20px;
    width: 100%;
    align-items: stretch;
}
.card {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
    position: relative;
    text-decoration: none;
    color: inherit;
}
.card-image-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    background: #fdfdfd;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid transparent;
    transition: border-color 0.3s;
}
.card:hover .card-image-wrapper { border-color: var(--border); }
.card-image {
    width: 80%;
    height: 80%;
    object-fit: contain;
    transition: transform 0.5s ease;
}
.card:hover .card-image { transform: scale(1.05); }

.placeholder-icon {
    width: 100px;
    height: 150px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23cccccc" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"><path d="M12 2v20M8 6h8M6 10h12M4 14h16M6 18h12"/></svg>') no-repeat center center;
    opacity: 0.5;
}
.card-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--text);
    text-decoration: none !important;
    flex-grow: 1;
}
.card-sku {
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 10px;
    letter-spacing: 1px;
}
.card-price { font-size: 16px; font-weight: 500; margin-bottom: 15px; }
.card-btn {
    align-self: center;
    margin-top: 10px;
    padding: 10px 30px;
    border: 1px solid var(--text);
    background: transparent;
    color: var(--text);
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}
.card-btn:hover { background: var(--text); color: #fff; }

.badge-choice {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #f5a623;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

/* ============================================================
   8. ПАГИНАЦИЯ
   ============================================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 80px 0;
}
.pagination a {
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    padding: 8px 16px;
    border: 1px solid transparent;
    transition: all 0.3s;
}
.pagination a.active,
.pagination a:hover { border-color: var(--text); }

/* ============================================================
   9. ХЛЕБНЫЕ КРОШКИ И SEO
   ============================================================ */
.breadcrumbs {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 20px;
}
.breadcrumbs a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumbs a:hover { color: var(--text); }
.breadcrumbs span { color: var(--text); }

.seo-links-box {
    margin-top: 20px;
    padding: 15px;
    background: #fafafa;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
}
.seo-links-box a {
    color: var(--text);
    text-decoration: underline;
    font-weight: 500;
}
.seo-links-box a:hover { color: var(--accent); }

/* ============================================================
   10. СТРАНИЦА ТОВАРА: ГАЛЕРЕЯ И ЛУПА
   ============================================================ */
.product-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 40px;
    align-items: flex-start;
}
.product-gallery-col {
    flex: 1 1 400px;
    max-width: 500px;
    margin: 0 auto;
    position: sticky;
    top: 20px;
}
.product-info-col { flex: 1 1 400px; }

.zoom-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #ffffff;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    cursor: crosshair;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}
.zoom-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: opacity 0.3s;
}
.zoom-lens {
    display: none;
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background-repeat: no-repeat;
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    z-index: 10;
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
}
.gallery-thumbnails::-webkit-scrollbar { height: 4px; }
.gallery-thumbnails::-webkit-scrollbar-track { background: #f1f1f1; }
.gallery-thumbnails::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }
.gallery-thumbnails .thumb {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    object-fit: contain;
    border: 1px solid var(--border);
    cursor: pointer;
    background: #fafafa;
    border-radius: 4px;
    padding: 5px;
    transition: border-color 0.3s;
}
.gallery-thumbnails .thumb:hover,
.gallery-thumbnails .thumb.active { border-color: var(--text); }

/* ============================================================
   11. СТРАНИЦА ТОВАРА: ВАРИАЦИИ
   ============================================================ */
.variations-scroll-box {
    max-height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 15px;
    margin-bottom: 30px;
}
.variations-scroll-box::-webkit-scrollbar { width: 5px; }
.variations-scroll-box::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 4px; }
.variations-scroll-box::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }

.variation-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
}
.variation-row:hover { border-color: #bbb; background: #fafafa; }
.variation-row.active {
    border-color: var(--text);
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.variation-info { display: flex; gap: 15px; align-items: center; }
.variation-thumb {
    width: 50px;
    height: 50px;
    background: #fdfdfd;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    flex-shrink: 0;
}
.variation-thumb img { max-width: 85%; max-height: 85%; object-fit: contain; }
.variation-title { font-weight: 500; font-size: 15px; }
.variation-sku { font-size: 12px; color: #888; margin-top: 3px; }
.variation-buy { display: flex; align-items: center; gap: 15px; }
.variation-price { font-size: 18px; font-weight: 600; }

.btn-buy {
    padding: 8px 15px;
    background: var(--text);
    color: #fff;
    border: 1px solid var(--text);
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s;
}
.btn-buy:hover { background: #fff; color: var(--text); }
.btn-buy.in-cart {
    background: #e8f5e9;
    color: #2e7d32;
    border-color: #2e7d32;
    cursor: pointer;
}
.btn-buy.in-cart:hover { background: #2e7d32; color: #fff; }

/* ============================================================
   12. СПЕЦПРЕДЛОЖЕНИЕ (BUNDLE)
   ============================================================ */
.bundle-offer {
    border: 1px solid var(--accent);
    background: #fffaf9;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 30px;
}
.bundle-title { font-weight: 600; color: var(--accent); margin-bottom: 15px; font-size: 16px; }
.bundle-content { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.bundle-images { display: flex; align-items: center; gap: 10px; }
.bundle-images img {
    width: 60px; height: 60px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 5px;
}
.bundle-images span { font-size: 24px; color: #888; }
.bundle-info { flex-grow: 1; }
.bundle-name { font-size: 14px; font-weight: 500; margin-bottom: 5px; }
.bundle-price-wrap { display: flex; align-items: center; gap: 10px; }
.bundle-old-price { text-decoration: line-through; color: #888; font-size: 14px; }
.bundle-new-price { font-weight: 700; color: var(--accent); font-size: 20px; }
.btn-bundle {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: opacity 0.3s;
}
.btn-bundle:hover { opacity: 0.8; }

/* ============================================================
   13. ОТЗЫВЫ
   ============================================================ */
.reviews-section { border-top: 1px solid var(--border); padding-top: 40px; }
.reviews-grid { display: flex; gap: 50px; }
.review-form-wrap {
    flex: 1;
    background: #fafafa;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--border);
    height: fit-content;
}
.review-form-wrap h3 { margin-bottom: 20px; font-size: 18px; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 500; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
}
.reviews-list { flex: 2; }
.review-item { border-bottom: 1px solid var(--border); padding-bottom: 20px; margin-bottom: 20px; }
.review-header { display: flex; justify-content: space-between; margin-bottom: 5px; }
.review-date { font-size: 12px; color: #888; }
.review-rating { color: #f5a623; font-size: 16px; margin-bottom: 10px; }
.review-text { font-size: 14px; line-height: 1.6; color: #444; }

/* ============================================================
   14. КАРУСЕЛЬ РЕКОМЕНДАЦИЙ
   ============================================================ */
.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 20px;
}
.carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 10px 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-card {
    flex: 0 0 240px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto;
    text-decoration: none;
}
.carousel-card .card-image-wrapper { margin-bottom: 15px; }
.carousel-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    color: var(--text);
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-btn:hover { background: var(--text); color: #fff; border-color: var(--text); }
.carousel-btn.prev { left: -22px; }
.carousel-btn.next { right: -22px; }

.clamp-text {
    font-size: 14px;
    line-height: 1.4;
    min-height: 2.8em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 15px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    word-break: break-word;
}

/* ============================================================
   15. КОРЗИНА И ОФОРМЛЕНИЕ
   ============================================================ */
.cart-layout,
.checkout-layout {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    align-items: flex-start;
}
.cart-items,
.checkout-form {
    flex: 1;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
}
.cart-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.cart-item-img {
    width: 80px;
    height: 80px;
    background: #fafafa;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-item-img img { max-width: 90%; max-height: 90%; object-fit: contain; }
.cart-item-info { flex: 1; }
.cart-item-title { font-weight: 500; font-size: 16px; margin-bottom: 5px; }
.cart-item-format { font-size: 13px; color: #888; margin-bottom: 15px; }
.cart-item-actions { display: flex; align-items: center; gap: 20px; }
.qty-form {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
}
.qty-btn {
    background: #f9f9f9;
    border: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 16px;
}
.qty-btn:hover { background: #eee; }
.qty-btn:focus,
.remove-btn:focus { outline: none; }
.qty-val { width: 40px; text-align: center; font-size: 14px; }
.remove-btn {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
}
.cart-item-price { font-weight: 700; font-size: 18px; width: 100px; text-align: right; }

.cart-summary {
    background: #fafafa;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 25px;
}
.cart-summary h3 { margin-bottom: 20px; font-size: 18px; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 15px; font-size: 14px; }
.summary-row.total {
    font-weight: 700;
    font-size: 20px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

/* ============================================================
   16. КАСТОМНЫЕ РАДИОКНОПКИ (ЧЕКАУТ)
   ============================================================ */
.radio-group { display: flex; gap: 15px; }
.radio-card {
    flex: 1;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    background: #fff;
}
.radio-card:hover { border-color: #bbb; background: #fafafa; }
.radio-card input[type="radio"] { display: none; }
.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s;
}
.radio-card input[type="radio"]:checked + .radio-custom {
    border-color: var(--text);
    background: var(--text);
}
.radio-card input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
}
.radio-card:has(input[type="radio"]:checked) {
    border-color: var(--text);
    background: #f4f4f4;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.radio-label { font-size: 14px; font-weight: 500; }

/* ============================================================
   17. АДАПТИВ
   ============================================================ */
@media (max-width: 1024px) {
    .grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px 15px; }
    .hero-content-full h1 { font-size: 40px; }
    .format-links { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 992px) {
    .product-layout { flex-direction: column; gap: 30px; }
    .product-gallery-col { position: relative; top: 0; max-width: 100%; }
}

@media (max-width: 900px) {
    .format-links { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 768px) {
    .zoom-lens { display: none !important; }
    .variation-row { flex-direction: column; align-items: flex-start; gap: 15px; }
    .variation-buy { width: 100%; justify-content: space-between; }
    .bundle-content { flex-direction: column; align-items: flex-start; }
    .btn-bundle { width: 100%; }
    .reviews-grid { flex-direction: column; }
    .carousel-btn { display: none; }
    .carousel-card { flex: 0 0 200px; }
    .cart-layout,
    .checkout-layout { flex-direction: column; }
    .cart-item { flex-direction: column; text-align: center; }
    .cart-item-price { width: auto; text-align: center; margin-top: 10px; }
    .cart-item-actions { justify-content: center; width: 100%; }
    .radio-group { flex-direction: column; }
    .search-container { margin: 15px 0; max-width: 100%; }
}

@media (max-width: 640px) {
    .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 15px 10px; }
    .hero-banner-full { padding: 80px 15px; }
    .hero-content-full h1 { font-size: 28px; }
    .hero-content-full p { font-size: 15px; }
    .section-title { font-size: 22px; }
    .container { padding-left: 12px; padding-right: 12px; }
}

@media (max-width: 560px) {
    .format-links { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .format-item { padding: 18px 10px; border-radius: 12px; }
    .format-item__icon { height: 84px; margin-bottom: 10px; }
    .format-item__icon img { max-height: 76px; }
    .format-item__emoji { font-size: 40px; }
    .format-name { font-size: 13.5px; min-height: 36px; }
}