/* ── Variables ─────────────────────────────────────────────── */
:root {
    --accent:       #0062cc;
    --accent-dark:  #0056b3;
    --text:         #1a1a1a;
    --muted:        #888;
    --border:       #e8e8e8;
    --bg:           #fff;
    --bg-light:     #f8f9fa;
    --radius:       8px;
    --radius-sm:    6px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    font-size: 15px;
    line-height: 1.5;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Header ────────────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.header-city {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--muted);
    cursor: pointer;
    white-space: nowrap;
    flex: 0 0 auto;
}
.header-city svg { color: var(--accent); flex-shrink: 0; }
.header-logo {
    flex: 1;
    text-align: center;
}
.header-logo-img {
    height: 58px;
    width: auto;
    display: inline-block;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 0 0 auto;
}
.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text);
    font-size: 14px;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    transition: background 0.15s;
    text-decoration: none;
}
.cart-btn:hover { background: var(--bg-light); text-decoration: none; color: var(--text); }
.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
}
.cart-badge.hidden { display: none; }

/* ── Layout ────────────────────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.page-content { padding: 32px 0 60px; }

/* ── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 24px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); text-decoration: none; }
.breadcrumb-sep { color: #ccc; }

/* ── Category section ───────────────────────────────────────── */
.category-section {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 32px;
    margin-bottom: 48px;
    align-items: start;
}
.category-section.reverse {
    grid-template-columns: 1fr 320px;
}
.category-section.reverse .category-banner { order: 2; }
.category-section.reverse .category-products { order: 1; }

.category-banner {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    background: #f0f4ff;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}
.category-banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.category-banner-content {
    position: relative;
    z-index: 1;
    background: rgba(255,255,255,0.88);
    border-radius: 6px;
    padding: 16px;
}
.category-banner-content h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.category-banner-content p  { font-size: 13px; color: var(--muted); }

.category-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.category-title a {
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 6px;
}
.category-title a:hover { color: var(--accent); text-decoration: none; }

/* ── Product row (horizontal list) ─────────────────────────── */
.product-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}
.product-row:first-child { border-top: 1px solid var(--border); }

.product-row-img {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    background: #f5f5f5;
    position: relative;
}
.product-row-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.product-row-info { flex: 1; min-width: 0; }
.product-row-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-row-name:hover { color: var(--accent); text-decoration: none; }
.product-row-meta {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 4px;
}
.product-row-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
}
.product-row-price .balls {
    font-size: 12px;
    font-weight: 400;
    color: var(--muted);
}
.product-row-old {
    font-size: 12px;
    color: #bbb;
    text-decoration: line-through;
}
.product-row-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.wish-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #ccc;
    padding: 4px;
    font-size: 18px;
    line-height: 1;
    transition: color 0.15s;
}
.wish-btn:hover { color: #e57373; }

/* ── Product card (grid) ────────────────────────────────────── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.product-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
    transition: box-shadow 0.15s;
    position: relative;
}
.product-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }

.product-card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}
.product-card-wish {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    background: none;
    border: none;
    cursor: pointer;
    color: #ccc;
    font-size: 20px;
    line-height: 1;
    padding: 2px;
    transition: color 0.15s;
}
.product-card-wish:hover { color: #e57373; }

.badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.badge-new      { background: #555;    color: #fff; }
.badge-hit      { background: #f57c00; color: #fff; }
.badge-discount { background: #e53935; color: #fff; }

.product-card-img {
    width: 100%;
    aspect-ratio: 1;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 12px;
}
.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.product-card-body {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.product-card-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
}
.product-card-name:hover { color: var(--accent); text-decoration: none; }
.product-card-meta { font-size: 12px; color: var(--muted); }

.product-card-pricing {
    margin-top: auto;
    padding-top: 8px;
}
.product-card-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
}
.product-card-price .balls {
    font-size: 12px;
    font-weight: 400;
    color: var(--muted);
}
.product-card-old {
    font-size: 12px;
    color: #bbb;
    text-decoration: line-through;
    margin-top: 2px;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: background 0.15s, opacity 0.15s;
    text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary {
    background: var(--accent);
    color: #fff;
}
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-primary:disabled { background: #c0c0c0; cursor: default; }

.btn-outline {
    background: #fff;
    color: var(--accent);
    border: 1px solid var(--accent);
}
.btn-outline:hover { background: var(--accent); color: #fff; }

.btn-full { width: 100%; }

/* Кнопка купить — вариант в карточке */
.btn-buy {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
}
.btn-buy:hover { background: var(--accent-dark); }

/* Счётчик товара */
.qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.qty-btn {
    background: none;
    border: none;
    width: 32px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: var(--accent);
    transition: background 0.1s;
    line-height: 1;
}
.qty-btn:hover { background: var(--bg-light); }
.qty-value {
    min-width: 36px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    padding: 0 4px;
    line-height: 36px;
}

/* ── Cart page ──────────────────────────────────────────────── */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    align-items: start;
}
.cart-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}
.cart-item-img {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #f5f5f5;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: contain; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 15px; font-weight: 500; margin-bottom: 4px; color: var(--text); }
.cart-item-name:hover { color: var(--accent); text-decoration: none; }
.cart-item-meta { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.cart-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    flex-shrink: 0;
}
.cart-item-price { font-size: 16px; font-weight: 700; }
.cart-item-remove {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    padding: 0;
    transition: color 0.15s;
}
.cart-item-remove:hover { color: #e53935; }

/* ── Order summary box ──────────────────────────────────────── */
.summary-box {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    position: sticky;
    top: 80px;
    background: #fff;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--muted);
}
.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 14px 0;
    border-top: 1px solid var(--border);
    margin-top: 4px;
    margin-bottom: 4px;
}
.summary-total .label { font-size: 16px; font-weight: 600; color: var(--text); }
.summary-total .value { font-size: 22px; font-weight: 700; color: var(--text); }
.summary-balls { font-size: 13px; color: var(--muted); margin-bottom: 20px; }

/* ── Checkout page ──────────────────────────────────────────── */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
}
.checkout-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 20px;
}
.checkout-back:hover { color: var(--accent); text-decoration: none; }
.checkout-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text);
}
.step-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 20px;
}
.step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}
.form-group { margin-bottom: 16px; }
.form-label {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 5px;
}
.form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #d0d0d0;
    border-radius: var(--radius-sm);
    font-size: 15px;
    color: var(--text);
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
    outline: none;
    -webkit-appearance: none;
}
.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0,98,204,0.12);
}
.form-control::placeholder { color: #bbb; }

.phone-wrap {
    display: flex;
    border: 1px solid #d0d0d0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.phone-wrap:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0,98,204,0.12);
}
.phone-flag {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    background: #f8f8f8;
    border-right: 1px solid #d0d0d0;
    font-size: 14px;
    color: var(--muted);
    white-space: nowrap;
    flex-shrink: 0;
}
.phone-flag img { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; }
.phone-wrap .form-control {
    border: none;
    border-radius: 0;
    box-shadow: none;
}
.phone-wrap .form-control:focus { box-shadow: none; }

.check-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
}
.check-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: var(--accent);
    cursor: pointer;
    margin-top: 1px;
}
.check-group label { cursor: pointer; color: var(--text); line-height: 1.4; }
.check-group a { color: var(--accent); }

.delivery-options { margin-bottom: 20px; }
.delivery-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    cursor: pointer;
    transition: border-color 0.15s;
}
.delivery-option:hover { border-color: var(--accent); }
.delivery-option.selected { border-color: var(--accent); background: rgba(0,98,204,0.03); }
.delivery-option input[type="radio"] { accent-color: var(--accent); }
.delivery-option-info { flex: 1; }
.delivery-option-name { font-size: 14px; font-weight: 500; }
.delivery-option-price { font-size: 13px; color: var(--muted); }
.delivery-fields { display: none; margin-top: 16px; }
.delivery-fields.active { display: block; }

.checkout-section { margin-bottom: 36px; }

.form-hint { font-size: 12px; color: var(--muted); margin-top: 16px; }
.form-hint a { color: var(--accent); }

/* ── Payment page ───────────────────────────────────────────── */
.payment-methods { margin-top: 20px; }

/* ── Success page ───────────────────────────────────────────── */
.success-page {
    text-align: center;
    padding: 80px 20px;
    max-width: 500px;
    margin: 0 auto;
}
.success-icon {
    width: 72px;
    height: 72px;
    background: #e8f5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 36px;
}
.success-page h1 { font-size: 26px; font-weight: 700; margin-bottom: 12px; }
.success-page p  { font-size: 15px; color: var(--muted); margin-bottom: 32px; }

/* ── Filters (catalog) ──────────────────────────────────────── */
.filters-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.filter-price {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}
.filter-price input {
    width: 90px;
    padding: 7px 10px;
    border: 1px solid #d0d0d0;
    border-radius: var(--radius-sm);
    font-size: 14px;
    outline: none;
}
.filter-price input:focus { border-color: var(--accent); }
.filter-check {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    cursor: pointer;
}
.filter-check input { accent-color: var(--accent); }

/* ── Empty cart ─────────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--muted);
}
.empty-state svg { margin-bottom: 20px; opacity: 0.3; }
.empty-state h2 { font-size: 20px; margin-bottom: 8px; color: var(--text); }
.empty-state p  { margin-bottom: 24px; }

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 32px 0;
    font-size: 13px;
    color: var(--muted);
    margin-top: 40px;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 991px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .category-section,
    .category-section.reverse { grid-template-columns: 1fr; }
    .category-section .category-banner { display: none; }
    .cart-layout,
    .checkout-layout { grid-template-columns: 1fr; }
    .summary-box { position: static; }
    .hero-banner { grid-template-columns: 1fr; min-height: auto; }
    .hero-banner-images { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 80px); }
    .hero-banner-text { padding: 32px 28px; }
    .hero-banner-title { font-size: 22px; }
}
@media (max-width: 575px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .header-city  { display: none; }
    .checkout-title { font-size: 22px; }
}
@media (max-width: 380px) {
    .products-grid { grid-template-columns: 1fr; }
}

/* ── Product detail page ────────────────────────────────────── */
.pd-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
    margin-bottom: 56px;
}
/* Галерея */
.pd-gallery { display: flex; flex-direction: column; gap: 12px; }
.pd-main-img {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fafafa;
    padding: 28px;
    cursor: zoom-in;
}
.pd-main-img img {
    width: 100%;
    object-fit: contain;
    max-height: 420px;
    display: block;
}
.pd-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.pd-thumb {
    width: 68px; height: 68px;
    border: 2px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    padding: 4px;
    background: #fafafa;
    transition: border-color .15s;
}
.pd-thumb.active { border-color: var(--accent); }
.pd-thumb:hover  { border-color: #aac; }
.pd-thumb img    { width: 100%; height: 100%; object-fit: contain; }

/* Инфо */
.pd-article { font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.pd-title   { font-size: 26px; font-weight: 700; line-height: 1.25; margin-bottom: 12px; }
.pd-short-descr { font-size: 14px; color: #555; line-height: 1.6; margin-bottom: 20px; }
.pd-price-block { margin-bottom: 20px; }
.pd-price { font-size: 34px; font-weight: 800; color: var(--text); letter-spacing: -0.5px; }

/* Кол-во + кнопка */
.pd-buy-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.pd-qty-block {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}
.pd-qty-btn {
    background: none;
    border: none;
    width: 40px;
    height: 48px;
    font-size: 20px;
    cursor: pointer;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .1s;
}
.pd-qty-btn:hover { background: var(--bg-light); }
.pd-qty-val {
    min-width: 40px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    line-height: 48px;
}
.pd-cart-btn { height: 48px; font-size: 15px; font-weight: 600; letter-spacing: 0.2px; }

/* Доставка */
.pd-delivery {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: var(--radius);
    margin-bottom: 24px;
}
.pd-delivery-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #444;
}
.pd-delivery-item svg { color: var(--accent); flex-shrink: 0; }

/* Преимущества */
.pd-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.pd-benefit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    padding: 16px 8px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.pd-benefit-icon {
    width: 44px; height: 44px;
    background: rgba(0,98,204,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}
.pd-benefit span { font-size: 12px; color: #555; line-height: 1.4; font-weight: 500; }

/* Вкладки описания */
.pd-tabs-section {
    border-top: 2px solid var(--border);
    padding-top: 40px;
    margin-bottom: 48px;
}
.pd-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 28px;
    border-bottom: 2px solid var(--border);
}
.pd-tab {
    background: none;
    border: none;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 500;
    color: var(--muted);
    cursor: pointer;
    position: relative;
    bottom: -2px;
    border-bottom: 2px solid transparent;
    transition: color .15s;
}
.pd-tab:hover { color: var(--text); }
.pd-tab.active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }
.pd-tab-content { display: none; }
.pd-tab-content.active { display: block; }

/* Лайтбокс кнопки */
.lb-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.15);
    border: none;
    border-radius: 50%;
    width: 52px; height: 52px;
    font-size: 32px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lb-prev { left: 20px; }
.lb-next { right: 20px; }

/* nav стрелки на главном фото */
.img-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.88);
    border: none;
    border-radius: 50%;
    width: 36px; height: 36px;
    font-size: 24px;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0,0,0,.18);
    opacity: 0;
    transition: opacity .15s;
    padding: 0;
}
.pd-main-img:hover .img-nav { opacity: 1; }
.img-prev { left: 12px; }
.img-next { right: 12px; }

@media (max-width: 768px) {
    .pd-layout { grid-template-columns: 1fr; gap: 28px; }
    .pd-title  { font-size: 22px; }
    .pd-price  { font-size: 28px; }
    .pd-benefits { grid-template-columns: repeat(3,1fr); gap: 8px; }
}

/* ── Ribbon «Акция» — правый верхний угол ───────────────────── */
.ribbon-label {
    position: absolute;
    top: 16px;
    right: -30px;
    width: 110px;
    text-align: center;
    background: #e53935;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 5px 0;
    transform: rotate(45deg);
    z-index: 3;
    pointer-events: none;
    box-shadow: 0 2px 6px rgba(229,57,53,0.35);
}

/* ── Hero banner ────────────────────────────────────────────── */
.hero-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 16px;
    min-height: 320px;
    background: linear-gradient(135deg, #003d80 0%, #0062cc 100%);
}
.hero-banner-text {
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}
.hero-banner-tag {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    opacity: 0.75;
    margin-bottom: 14px;
}
.hero-banner-title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 18px;
}
.hero-banner-list {
    list-style: none;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.hero-banner-list li {
    font-size: 14px;
    opacity: 0.85;
    padding-left: 14px;
    position: relative;
}
.hero-banner-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    opacity: 0.6;
}
.hero-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    color: #0062cc;
    padding: 11px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    align-self: flex-start;
    transition: opacity 0.15s;
}
.hero-banner-btn:hover { opacity: 0.9; text-decoration: none; color: #0062cc; }
.hero-banner-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
    padding: 24px;
    background: rgba(255,255,255,0.08);
}
.hero-banner-img-wrap {
    background: rgba(255,255,255,0.92);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    overflow: hidden;
    transition: transform 0.15s;
}
.hero-banner-img-wrap:hover { transform: scale(1.04); }
.hero-banner-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    aspect-ratio: 1;
}

/* ── Promo section (homepage) ───────────────────────────────── */
.promo-section {
    margin-bottom: 48px;
    padding: 28px 32px;
    background: linear-gradient(135deg, #fff8f0 0%, #fff3e0 100%);
    border: 1px solid #ffe0b2;
    border-radius: 12px;
}
.promo-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.promo-section-header h2 {
    font-size: 20px;
    font-weight: 700;
    flex: 1;
    color: var(--text);
}
.promo-fire { font-size: 22px; line-height: 1; }
.promo-see-all {
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    white-space: nowrap;
}
.promo-products { display: flex; flex-direction: column; gap: 0; }
.promo-row {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 8px;
    border: 1px solid #ffe0b2;
}
.promo-row:last-child { margin-bottom: 0; }
