@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

:root {
    --accent: #E05A2B;
    --acc-dk: #C04A1E;
    --blue: #2563EB;
    --green: #16A34A;
    --red: #DC2626;
    --bg: #F4F4F4;
    --card: #fff;
    --border: #E2E2E2;
    --text: #1A1A1A;
    --muted: #6B7280;
    --font: 'Roboto', system-ui, sans-serif;
    --r: 6px;
    --tr: .18s ease;
    --sh: 0 1px 6px rgba(0, 0, 0, .07);
    --sh-hv: 0 6px 24px rgba(0, 0, 0, .13);
}

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

html {
    scroll-behavior: smooth
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    overflow-x: hidden
}

img {
    max-width: 100%;
    display: block
}

a {
    text-decoration: none;
    color: inherit
}

ul, ol {
    list-style: none
}

button {
    cursor: pointer;
    font-family: var(--font)
}

::-webkit-scrollbar {
    width: 5px
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px
}

/* ═══════════════════════════════
   SHARED: TOPBAR
═══════════════════════════════ */
.topbar {
    background: #222;
    color: #999;
    font-size: .72rem;
    padding: 6px 0;
    text-align: center
}

.topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap
}

.topbar strong {
    color: #fff
}

/* ═══════════════════════════════
   SHARED: HEADER
═══════════════════════════════ */
header {
    background: #fff;
    border-bottom: 3px solid var(--accent);
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .07)
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    height: 62px;
    display: flex;
    align-items: center;
    gap: 16px
}

.logo {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--text);
    flex-shrink: 0;
    letter-spacing: -.01em;
    white-space: nowrap
}

.logo span {
    color: var(--accent)
}

.main-nav {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 2px
}

.main-nav a {
    font-size: .79rem;
    font-weight: 500;
    color: var(--muted);
    padding: 8px 11px;
    border-radius: var(--r);
    transition: color var(--tr), background var(--tr);
    white-space: nowrap
}

.main-nav a:hover {
    color: var(--text);
    background: #f5f5f5
}

.header-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0
}

/* Перемикач мов — як на firanka */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    flex-shrink: 0
}

.lang-switch a {
    font-size: .72rem;
    font-weight: 600;
    padding: 5px 9px;
    color: var(--muted);
    transition: all var(--tr)
}

.lang-switch a.active {
    background: var(--accent);
    color: #fff
}

.lang-switch a:hover:not(.active) {
    background: #f5f5f5;
    color: var(--text)
}

.header-phone {
    display: flex;
    flex-direction: column;
    align-items: flex-end
}

.header-phone a {
    font-size: .9rem;
    font-weight: 700;
    color: var(--text);
    transition: color var(--tr)
}

.header-phone a:hover {
    color: var(--accent)
}

.header-phone span {
    font-size: .6rem;
    color: var(--muted)
}

.btn-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--r);
    padding: 8px 12px;
    font-size: .8rem;
    font-weight: 600;
    transition: background var(--tr);
    white-space: nowrap;
    text-decoration: none;
}

.btn-cart svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
    flex-shrink: 0;
}

.btn-cart:hover {
    background: var(--acc-dk)
}

.cart-badge {
    background: #fff;
    color: var(--accent);
    border-radius: 50%;
    width: 17px;
    height: 17px;
    font-size: .62rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 4px;
    flex-shrink: 0
}

.burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px
}

/* ═══════════════════════════════
   SHARED: FOOTER
═══════════════════════════════ */
footer {
    background: #111827;
    color: rgba(255, 255, 255, .42);
    padding: 44px 0 20px
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px
}

.footer-top {
    display: grid;
    grid-template-columns:2fr 1fr 1fr;
    gap: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    margin-bottom: 20px
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 9px
}

.footer-logo span {
    color: var(--accent)
}

.footer-desc {
    font-size: .77rem;
    line-height: 1.7;
    margin-bottom: 14px;
    max-width: 240px
}

.footer-contacts a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    color: #fff;
    margin-bottom: 6px;
    transition: color var(--tr)
}

.footer-contacts a:hover {
    color: var(--accent)
}

.footer-contacts p {
    font-size: .76rem;
    color: rgba(255, 255, 255, .4);
    line-height: 1.7;
    margin-bottom: 2px
}

.footer-col h4 {
    font-size: .67rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 11px
}

.footer-col ul li {
    margin-bottom: 5px
}

.footer-col ul li a {
    font-size: .77rem;
    transition: color var(--tr)
}

.footer-col ul li a:hover {
    color: var(--accent)
}

.footer-social {
    display: flex;
    gap: 8px;
    margin-top: 10px
}

.footer-social a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    transition: background var(--tr)
}

.footer-social a:hover {
    background: var(--accent)
}

.footer-viber {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #7360F2;
    color: #fff;
    border-radius: var(--r);
    padding: 6px 12px;
    font-size: .75rem;
    font-weight: 500;
    margin-top: 10px;
    transition: background var(--tr)
}

.footer-viber:hover {
    background: #5B4CD4
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .66rem;
    gap: 10px;
    flex-wrap: wrap
}

.footer-bottom a:hover {
    color: var(--accent)
}

/* ═══════════════════════════════
   SHARED: MODAL
═══════════════════════════════ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    backdrop-filter: blur(3px)
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: all
}

.modal {
    background: #fff;
    border-radius: 10px;
    padding: 28px 24px;
    max-width: 400px;
    width: 100%;
    position: relative;
    transform: scale(.96) translateY(8px);
    transition: transform .2s ease
}

.modal-overlay.open .modal {
    transform: scale(1) translateY(0)
}

/* Хрестик — тільки button всередині .modal */
.modal > button.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--muted);
    transition: color var(--tr);
    z-index: 1;
    line-height: 1;
    padding: 4px 6px
}

.modal > button.modal-close:hover {
    color: var(--text)
}

.modal h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
    padding-right: 28px
}

.modal-sub {
    font-size: .8rem;
    color: var(--muted);
    margin-bottom: 18px
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.modal-form input {
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: var(--r);
    padding: 10px 12px;
    font-family: var(--font);
    font-size: .84rem;
    color: var(--text);
    outline: none;
    transition: border-color var(--tr);
    width: 100%
}

.modal-form input:focus {
    border-color: var(--accent)
}

.modal-form .btn-primary {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
    padding: 11px;
    font-size: .84rem
}

.modal-success {
    text-align: center;
    display: none
}

.modal-success h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px
}

.modal-success p {
    font-size: .8rem;
    color: var(--muted)
}

.ok-icon {
    width: 50px;
    height: 50px;
    background: #DCFCE7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 12px
}

/* Кнопки попапу кошика — завжди колонкою, ніяких absolute */
.modal-cart-btns {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
    position: static
}

.btn-continue, .btn-checkout {
    display: block;
    width: 100%;
    padding: 11px 16px;
    border-radius: var(--r);
    font-family: var(--font);
    font-size: .84rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all var(--tr);
    position: static;
}

.btn-continue {
    background: none;
    border: 1.5px solid var(--border);
    color: var(--text)
}

.btn-continue:hover {
    border-color: var(--accent);
    color: var(--accent)
}

.btn-checkout {
    background: var(--accent);
    border: none;
    color: #fff
}

.btn-checkout:hover {
    background: var(--acc-dk)
}

/* ═══════════════════════════════
   SHARED: MOBILE NAV
═══════════════════════════════ */
.mob-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 300;
    flex-direction: column;
    overflow-y: auto;
    padding: 60px 20px 30px
}

.mob-nav.open {
    display: flex
}

.mob-nav-close {
    position: absolute;
    top: 13px;
    right: 13px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text)
}

.mob-nav a {
    font-size: .95rem;
    font-weight: 500;
    color: var(--text);
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
    display: block
}

.mob-nav-langs {
    display: flex;
    gap: 8px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border)
}

.mob-nav-langs a {
    font-size: .85rem;
    font-weight: 600;
    padding: 4px 10px;
    border: 1px solid var(--border);
    border-radius: var(--r)
}

.mob-nav-langs a.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent)
}

/* ═══════════════════════════════
   SHARED: BUTTONS
═══════════════════════════════ */
.btn-primary {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--r);
    padding: 12px 24px;
    font-size: .87rem;
    font-weight: 600;
    transition: all var(--tr);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer
}

.btn-primary:hover {
    background: var(--acc-dk);
    transform: translateY(-1px)
}

.btn-secondary {
    background: none;
    color: var(--blue);
    border: 1.5px solid var(--blue);
    border-radius: var(--r);
    padding: 11px 22px;
    font-size: .87rem;
    font-weight: 500;
    transition: all var(--tr);
    cursor: pointer
}

.btn-secondary:hover {
    background: var(--blue);
    color: #fff
}

/* ═══════════════════════════════
   SHARED: BREADCRUMB
═══════════════════════════════ */
.breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .75rem;
    color: var(--muted);
    flex-wrap: wrap
}

.breadcrumb a {
    color: var(--muted);
    transition: color var(--tr)
}

.breadcrumb a:hover {
    color: var(--accent)
}

.breadcrumb span {
    color: var(--text)
}

.breadcrumb-sep {
    color: var(--border)
}

/* ═══════════════════════════════
   SHARED: STICKY CTA
═══════════════════════════════ */
.sticky-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 50;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 100px;
    padding: 10px 18px 10px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .8rem;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(224, 90, 43, .4);
    transition: all var(--tr);
    animation: float 3s ease-in-out infinite
}

.sticky-cta:hover {
    background: var(--acc-dk);
    animation: none;
    transform: translateY(-2px)
}

@keyframes float {
    0%, 100% {
        transform: translateY(0)
    }
    50% {
        transform: translateY(-4px)
    }
}

/* ═══════════════════════════════════════════════
   INDEX PAGE — NEW HERO
═══════════════════════════════════════════════ */

/* HERO */
.hero {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #1a2a1a;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: .45;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(15, 30, 15, .92) 0%, rgba(15, 30, 15, .75) 45%, rgba(15, 30, 15, .2) 100%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 16px 48px;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--accent);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 8px;
}

.hero h1 em {
    font-style: normal;
    color: var(--accent);
    display: block;
}

.hero-discount {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 700;
    color: #FFD580;
    margin-bottom: 10px;
}

.hero-discount span {
    font-size: 1.6em;
    color: var(--accent)
}

.hero-sub {
    font-size: .92rem;
    color: rgba(255, 255, 255, .7);
    margin-bottom: 28px;
    line-height: 1.65;
    max-width: 420px;
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--tr);
    box-shadow: 0 6px 24px rgba(224, 90, 43, .45);
}

.hero-cta-btn:hover {
    background: var(--acc-dk);
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(224, 90, 43, .5)
}

.hero-cta-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0
}

/* Trust icons під кнопкою — як на референсі */
.hero-trust-row {
    display: flex;
    gap: 28px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 9px;
}

.hero-trust-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    border: 1.5px solid rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.hero-trust-item strong {
    font-size: .82rem;
    font-weight: 600;
    color: #fff;
    display: block;
    line-height: 1.2
}

.hero-trust-item span {
    font-size: .7rem;
    color: rgba(255, 255, 255, .55)
}

/* Статистика і таймер — білий блок під hero */
.hero-bottom {
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.hero-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns:1fr 1fr;
    border-left: 1px solid var(--border);
}

/* Статистика (ліва половина) */
.hero-stats-block {
    display: flex;
    gap: 0;
    border-right: 1px solid var(--border);
}

.hstat {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 24px;
    border-right: 1px solid var(--border);
}

.hstat:last-child {
    border-right: none
}

.hstat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.hstat-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1
}

.hstat-lbl {
    font-size: .72rem;
    color: var(--muted);
    margin-top: 2px
}

/* Таймер (права половина) */
.hero-timer-block {
    padding: 18px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.htimer-label {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.htimer-label::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: blink 1.2s infinite;
    flex-shrink: 0;
}

.htimer-nums {
    display: flex;
    align-items: center;
    gap: 4px
}

.htimer-box {
    background: var(--accent);
    color: #fff;
    border-radius: 6px;
    min-width: 52px;
    height: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
}

.htimer-box .t-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1
}

.htimer-box .t-sub {
    font-size: .5rem;
    color: rgba(255, 255, 255, .7);
    letter-spacing: .04em;
    text-transform: uppercase
}

.htimer-sep {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 10px
}

.htimer-text {
    flex: 1;
    min-width: 160px
}

.htimer-title {
    font-size: .95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px
}

.htimer-sub {
    font-size: .78rem;
    color: var(--muted)
}

.htimer-gift {
    font-size: 3rem;
    line-height: 1;
    flex-shrink: 0
}

/* Переваги (4 іконки) — як на референсі */
.hero-features {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 28px 0;
}

.hero-features-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 16px;
}

.hfeature {
    text-align: center;
    padding: 12px 8px
}

.hfeature-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    line-height: 1
}

.hfeature strong {
    display: block;
    font-size: .85rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px
}

.hfeature span {
    font-size: .75rem;
    color: var(--muted);
    line-height: 1.4
}

/* Популярні категорії — як на референсі */
.popular-cats {
    padding: 40px 0 8px
}

.popular-cats-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px
}

.popular-cats-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.popular-cats-header h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text)
}

.popular-cats-header a {
    font-size: .82rem;
    font-weight: 600;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap var(--tr);
}

.popular-cats-header a:hover {
    gap: 8px
}

.popular-cats-grid {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 40px;
}

.pop-cat {
    border-radius: var(--r);
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--border);
    position: relative;
    aspect-ratio: 4/3;
    display: flex;
    align-items: flex-end;
    transition: box-shadow var(--tr), transform var(--tr);
    cursor: pointer;
}

.pop-cat:hover {
    box-shadow: var(--sh-hv);
    transform: translateY(-3px)
}

.pop-cat-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.pop-cat:hover .pop-cat-img {
    transform: scale(1.06)
}

.pop-cat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .65) 0%, transparent 60%);
}

.pop-cat-body {
    position: relative;
    z-index: 1;
    padding: 14px;
}

.pop-cat-name {
    font-size: .9rem;
    font-weight: 700;
    color: #fff;
    display: block;
    margin-bottom: 2px
}

.pop-cat-price {
    font-size: .76rem;
    color: rgba(255, 255, 255, .75)
}

/* TRUST */
.trust-strip {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 12px 0
}

.trust-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap
}

.ts-item {
    display: flex;
    align-items: center;
    gap: 8px
}

.ts-icon {
    font-size: 1.2rem
}

.ts-item strong {
    font-size: .78rem;
    font-weight: 600;
    color: var(--text);
    display: block
}

.ts-item span {
    font-size: .68rem;
    color: var(--muted)
}

.ts-div {
    width: 1px;
    height: 30px;
    background: var(--border)
}

/* CATALOG */
.catalog {
    padding: 40px 0 64px
}

.catalog-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
    letter-spacing: .04em
}

/* Перемикач вигляду — Змінити відображення */
.view-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    justify-content: flex-end
}

.view-toggle-lbl {
    font-size: .75rem;
    color: var(--muted)
}

.view-btn {
    background: none;
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 5px 7px;
    cursor: pointer;
    color: var(--muted);
    transition: all var(--tr);
    line-height: 1
}

.view-btn.active, .view-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff
}

/* Дворівнеі категорії */
.cat-l1 {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border);
    flex-wrap: wrap
}

.cat-l1-item {
    position: relative
}

.cat-l1-btn {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--muted);
    padding: 10px 14px 11px;
    font-size: .79rem;
    font-weight: 500;
    transition: all var(--tr);
    white-space: nowrap;
    margin-bottom: -2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px
}

.cat-l1-btn .arr {
    font-size: .55rem;
    transition: transform var(--tr);
    display: inline-block
}

.cat-l1-item.open .cat-l1-btn .arr {
    transform: rotate(180deg)
}

.cat-l1-btn:hover {
    color: var(--text)
}

.cat-l1-item.sel > .cat-l1-btn {
    color: var(--accent);
    border-bottom-color: var(--accent);
    font-weight: 600
}

.cat-l2 {
    display: none;
    background: #fff;
    border-bottom: 2px solid var(--border);
    padding: 6px 0
}

.cat-l2.open {
    display: flex;
    flex-wrap: wrap
}

.cat-l2-btn {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--muted);
    padding: 7px 14px 8px;
    font-size: .77rem;
    font-weight: 400;
    transition: all var(--tr);
    white-space: nowrap;
    margin-bottom: -2px;
    cursor: pointer
}

.cat-l2-btn:hover {
    color: var(--text)
}

.cat-l2-btn.sel {
    color: var(--accent);
    border-bottom-color: var(--accent);
    font-weight: 600
}

/* Product grid */
.product-grid {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 16px;
    margin-top: 20px
}

/* LIST VIEW */
.product-grid.list-view {
    grid-template-columns:1fr;
    gap: 10px
}

.product-grid.list-view .product-card {
    flex-direction: row;
    height: 160px;
    overflow: hidden;
}

.product-grid.list-view .product-card:hover {
    transform: translateY(-2px)
}

.product-grid.list-view .product-img-wrap {
    width: 120px;
    min-width: 120px;
    max-width: 120px;
    aspect-ratio: unset;
    height: 160px;
    flex-shrink: 0;
}

.product-grid.list-view .product-body {
    flex: 1;
    padding: 10px 12px 8px;
    min-width: 0;
    overflow: hidden;
}

.product-grid.list-view .product-specs {
    margin-bottom: 4px
}

.product-grid.list-view .size-group,
.product-grid.list-view .size-label,
.product-grid.list-view .stock-low {
    display: none
}

.product-grid.list-view .product-prices {
    margin-top: auto;
    padding: 6px 0
}

.product-grid.list-view .card-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    gap: 6px;
    padding: 0 12px;
    flex-shrink: 0;
    width: 130px;
    border-left: 1px solid var(--border);
    align-self: stretch;
}

.product-grid.list-view .btn-buy,
.product-grid.list-view .btn-more {
    display: block;
    width: 100%;
    height: 36px;
    padding: 0;
    font-size: .75rem;
    line-height: 36px;
    text-align: center;
    flex-shrink: 0;
    flex-grow: 0;
}

/* PRODUCT CARD */
.product-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--tr), transform var(--tr)
}

.product-card:hover {
    box-shadow: var(--sh-hv);
    transform: translateY(-3px)
}

.product-img-wrap {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #f0f0f0;
    display: block
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.04)
}

.badge-hit {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--green);
    color: #fff;
    font-size: .6rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 3px;
    text-transform: uppercase
}

.badge-sale {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--accent);
    color: #fff;
    font-size: .63rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 3px
}

.product-body {
    padding: 11px 13px 0;
    flex: 1;
    display: flex;
    flex-direction: column
}

.product-name {
    font-size: .87rem;
    font-weight: 500;
    color: var(--text);
    line-height: 1.35;
    margin-bottom: 9px
}

.product-specs {
    border-top: 1px solid var(--border);
    padding-top: 8px;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    gap: 2px
}

.spec-row {
    font-size: .72rem;
    color: var(--muted);
    line-height: 1.5
}

.spec-row strong {
    font-weight: 600;
    color: var(--text)
}

.size-label {
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--muted);
    text-transform: uppercase;
    margin-bottom: 4px
}

.size-group {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 8px
}

.size-group input[type="radio"] {
    display: none
}

.size-group label {
    border: 1.5px solid var(--border);
    border-radius: 4px;
    padding: 4px 8px;
    font-size: .71rem;
    font-weight: 500;
    color: var(--muted);
    cursor: pointer;
    transition: all var(--tr);
    user-select: none;
    white-space: nowrap
}

.size-group label:hover {
    border-color: var(--accent);
    color: var(--accent)
}

.size-group input:checked + label {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    font-weight: 600
}

.stock-low {
    font-size: .7rem;
    color: var(--red);
    font-weight: 500;
    margin-bottom: 5px
}

.product-prices {
    margin-top: auto;
    padding: 8px 0;
    border-top: 1px solid var(--border)
}

.price-normal {
    font-size: .72rem;
    color: var(--muted);
    margin-bottom: 2px
}

.price-normal span {
    text-decoration: line-through
}

.price-sale {
    font-size: .72rem;
    color: var(--text);
    font-weight: 500
}

.price-sale span {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--red)
}

.card-actions {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 6px;
    padding: 0 13px 13px
}

.btn-buy {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--r);
    padding: 9px 0;
    font-size: .76rem;
    font-weight: 600;
    text-align: center;
    transition: background var(--tr);
    width:100%;
}

.btn-buy:hover {
    background: var(--acc-dk)
}

.btn-more {
    background: none;
    color: var(--blue);
    border: 1.5px solid var(--blue);
    border-radius: var(--r);
    padding: 9px 0;
    font-size: .76rem;
    font-weight: 500;
    text-align: center;
    transition: all var(--tr);
    display: flex;
    align-items: center;
    justify-content: center
}

.btn-more:hover {
    background: var(--blue);
    color: #fff
}

/* ABOUT */
.about-section {
    background: #1B3F6A;
    padding: 56px 0
}

.about-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px
}

.about-section h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: .04em;
    margin-bottom: 32px
}

.about-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 14px
}

.about-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--r);
    padding: 22px 18px;
    transition: background var(--tr)
}

.about-card:hover {
    background: rgba(255, 255, 255, .1)
}

.about-icon {
    font-size: 1.3rem;
    margin-bottom: 12px
}

.about-card h3 {
    font-size: .95rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 7px
}

.about-card p {
    font-size: .79rem;
    color: rgba(255, 255, 255, .48);
    line-height: 1.65
}

/* DELIVERY / EXCHANGE sections */
.info-section {
    padding: 40px 0;
    background: #fff
}

.info-section + .info-section {
    border-top: 1px solid var(--border)
}

.info-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px
}

.info-inner h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: .03em
}

.info-inner p, .info-inner li {
    font-size: .84rem;
    color: var(--text);
    line-height: 1.75
}

.info-inner ul {
    padding-left: 16px;
    list-style: disc
}

.info-inner ul li {
    margin-bottom: 4px
}

.info-inner h3 {
    font-size: .95rem;
    font-weight: 600;
    margin: 16px 0 8px
}

/* ═══════════════════════════════════════════════
   PRODUCT PAGE
═══════════════════════════════════════════════ */
.product-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px 64px
}

.product-layout {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 40px;
    align-items: start
}

/* Gallery */
.product-gallery {
    position: sticky;
    top: 80px
}

.gallery-main {
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    background: #f5f5f5;
    aspect-ratio: 1/1;
    cursor: zoom-in;
    position: relative
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease
}

.gallery-main:hover img {
    transform: scale(1.04)
}

.gallery-badge-hit {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--green);
    color: #fff;
    font-size: .62rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 3px;
    text-transform: uppercase
}

.gallery-badge-sale {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 3px
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap
}

.gallery-thumb {
    width: 68px;
    height: 68px;
    border: 2px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color var(--tr);
    background: #f0f0f0
}

.gallery-thumb.active {
    border-color: var(--accent)
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

/* Product info */
.product-info {
}

.product-back {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .78rem;
    color: var(--muted);
    margin-bottom: 14px;
    transition: color var(--tr)
}

.product-back:hover {
    color: var(--accent)
}

.product-article {
    font-size: .72rem;
    color: var(--muted);
    margin-bottom: 6px
}

.product-article span {
    font-weight: 500;
    color: var(--text)
}

.product-page-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 8px
}

.product-page-badges {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    flex-wrap: wrap
}

.pbadge {
    font-size: .65rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 3px
}

.pbadge-hit {
    background: var(--green);
    color: #fff;
    text-transform: uppercase
}

.pbadge-sale {
    background: var(--accent);
    color: #fff
}

/* Size selector on product page */
.pp-size-label {
    font-size: .78rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px
}

.pp-size-group {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 12px
}

.pp-size-group input[type="radio"] {
    display: none
}

.pp-size-group label {
    border: 1.5px solid var(--border);
    border-radius: var(--r);
    padding: 8px 16px;
    font-size: .82rem;
    font-weight: 500;
    color: var(--muted);
    cursor: pointer;
    transition: all var(--tr);
    user-select: none
}

.pp-size-group label:hover {
    border-color: var(--accent);
    color: var(--accent)
}

.pp-size-group input:checked + label {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    font-weight: 600
}

.pp-stock {
    font-size: .78rem;
    color: var(--red);
    font-weight: 500;
    margin-bottom: 14px
}

/* Prices on product page */
.pp-prices {
    margin-bottom: 20px
}

.pp-price-normal {
    font-size: .82rem;
    color: var(--muted);
    margin-bottom: 4px
}

.pp-price-normal span {
    text-decoration: line-through
}

.pp-price-sale {
    font-size: .82rem;
    color: var(--text);
    font-weight: 500
}

.pp-price-sale span {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--red)
}

/* Actions on product page */
.pp-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap
}

.pp-actions .btn-primary {
    flex: 1;
    min-width: 140px;
    justify-content: center;
    padding: 13px
}

.pp-actions .btn-secondary {
    flex: 1;
    min-width: 140px;
    justify-content: center;
    padding: 13px
}

/* Tabs */
.pp-tabs {
    border-bottom: 2px solid var(--border);
    display: flex;
    gap: 0;
    margin-bottom: 0
}

.pp-tab-btn {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--muted);
    padding: 10px 16px 11px;
    font-size: .8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--tr);
    margin-bottom: -2px
}

.pp-tab-btn:hover {
    color: var(--text)
}

.pp-tab-btn.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
    font-weight: 600
}

.pp-tab-content {
    display: none;
    padding: 16px 0
}

.pp-tab-content.active {
    display: block
}

.pp-tab-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: .83rem
}

.pp-tab-content td {
    padding: 7px 10px;
    border: 1px solid var(--border);
    vertical-align: top
}

.pp-tab-content td:first-child {
    font-weight: 600;
    width: 140px;
    background: #fafafa;
    color: var(--muted)
}

.pp-tab-content p {
    font-size: .83rem;
    color: var(--text);
    line-height: 1.75;
    margin-bottom: 8px
}

.pp-tab-content ul {
    padding-left: 18px;
    list-style: disc
}

.pp-tab-content li {
    font-size: .83rem;
    color: var(--text);
    line-height: 1.75;
    margin-bottom: 3px
}

.pp-tab-content h3 {
    font-size: .88rem;
    font-weight: 700;
    color: var(--text);
    margin: 14px 0 6px
}

/* ═══════════════════════════════════════════════
   CART PAGE
═══════════════════════════════════════════════ */
.cart-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px 64px
}

.cart-page h1 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 24px;
    letter-spacing: .03em
}

/* Empty cart */
.cart-empty {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r)
}

.cart-empty-icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
    line-height: 1
}

.cart-empty h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px
}

.cart-empty p {
    font-size: .85rem;
    color: var(--muted);
    margin-bottom: 24px
}

/* Cart with items */
.cart-layout {
    display: grid;
    grid-template-columns:1fr 340px;
    gap: 24px;
    align-items: start
}

.cart-items-wrap {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden
}

.cart-item {
    display: grid;
    grid-template-columns:80px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border)
}

.cart-item:last-child {
    border-bottom: none
}

.cart-item-img {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    background: #f0f0f0;
    flex-shrink: 0
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.cart-item-name {
    font-size: .85rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 4px
}

.cart-item-meta {
    font-size: .73rem;
    color: var(--muted)
}

.cart-item-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--red);
    white-space: nowrap
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--muted);
    font-size: 1rem;
    cursor: pointer;
    padding: 4px;
    transition: color var(--tr);
    display: block;
    margin-top: 6px
}

.cart-item-remove:hover {
    color: var(--red)
}

.cart-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px
}

/* Cart qty */
.qty-control {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden
}

.qty-btn {
    background: none;
    border: none;
    width: 28px;
    height: 28px;
    font-size: 1rem;
    cursor: pointer;
    transition: background var(--tr);
    color: var(--text)
}

.qty-btn:hover {
    background: #f0f0f0
}

.qty-val {
    width: 32px;
    text-align: center;
    font-size: .83rem;
    font-weight: 600;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    height: 28px;
    outline: none;
    color: var(--text)
}

/* Cart summary */
.cart-summary {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 20px
}

.cart-summary h2 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .83rem;
    margin-bottom: 10px
}

.summary-row.total {
    border-top: 1px solid var(--border);
    padding-top: 12px;
    margin-top: 4px;
    font-weight: 700;
    font-size: .95rem
}

.summary-row.total .sum {
    font-size: 1.2rem;
    color: var(--red)
}

/* Cart order form */
.cart-order-form {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px
}

.cart-order-form input, .cart-order-form select {
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: var(--r);
    padding: 10px 12px;
    font-family: var(--font);
    font-size: .83rem;
    color: var(--text);
    outline: none;
    transition: border-color var(--tr);
    width: 100%
}

.cart-order-form input:focus, .cart-order-form select:focus {
    border-color: var(--accent)
}

.cart-order-form .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 13px;
    font-size: .88rem
}

.cart-note {
    font-size: .7rem;
    color: var(--muted);
    text-align: center;
    margin-top: 4px
}

/* ═══════════════════════════════
   RESPONSIVE
═══════════════════════════════ */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns:repeat(3, 1fr)
    }

    .about-grid {
        grid-template-columns:repeat(2, 1fr)
    }

    .footer-top {
        grid-template-columns:1fr 1fr
    }

    .footer-top > div:first-child {
        grid-column: 1/-1
    }

    .main-nav {
        display: none
    }

    .cart-layout {
        grid-template-columns:1fr
    }
}

@media (max-width: 768px) {
    .hero-inner {
        flex-direction: column;
        gap: 24px
    }

    .hero-stats {
        grid-template-columns:repeat(4, 1fr)
    }

    .product-grid {
        grid-template-columns:repeat(2, 1fr);
        gap: 12px
    }

    .header-phone {
        display: none
    }

    .burger {
        display: flex
    }

    .trust-inner {
        justify-content: center
    }

    .ts-div {
        display: none
    }

    .cat-l1 {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        scrollbar-width: none;
        padding-bottom: 4px;
        position: relative;
        mask-image: linear-gradient(to right, black 85%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
    }

    .cat-l1::-webkit-scrollbar {
        display: none;
    }

    .cat-l1-btn {
        white-space: nowrap;
    }

    .product-layout {
        grid-template-columns:1fr
    }

    .product-gallery {
        position: static
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 9px
    }

    .hero h1 {
        font-size: 1.6rem
    }

    .hero-stats {
        grid-template-columns:repeat(2, 1fr)
    }

    .footer-top {
        grid-template-columns:1fr
    }

    .sticky-cta .stxt {
        display: none
    }
}

/* HERO RESPONSIVE */
@keyframes blink {
    0%, 100% {
        opacity: 1
    }
    50% {
        opacity: .15
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 420px
    }

    .hero-trust-row {
        gap: 16px
    }

    .hero-bottom-inner {
        grid-template-columns:1fr
    }

    .hero-stats-block {
        border-right: none;
        border-bottom: 1px solid var(--border)
    }

    .hstat {
        padding: 16px 20px
    }

    .hstat-num {
        font-size: 1.3rem
    }

    .hero-features-inner {
        grid-template-columns:repeat(2, 1fr)
    }

    .popular-cats-grid {
        grid-template-columns:repeat(2, 1fr)
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.7rem
    }

    .hero-cta-btn {
        width: 100%;
        justify-content: center
    }

    .hero-features-inner {
        grid-template-columns:repeat(2, 1fr)
    }

    .popular-cats-grid {
        grid-template-columns:repeat(2, 1fr)
    }

    .htimer-gift {
        display: none
    }
}

/* === LARAVEL CATALOG === */
.tabs__item {
    display: none;
}

.tabs__item.open {
    display: block;
}

.catalog-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 24px;
}

ul.cat-l2.cats__sublist {
    display: none;
    list-style: none;
    padding: 6px 0;
    border-bottom: 2px solid var(--border);
    flex-wrap: wrap;
}

ul.cat-l2.cats__sublist.open {
    display: flex;
    flex-direction: row;
}

ul.cat-l2.cats__sublist li {
    list-style: none;
}

/* === PRODUCT PAGE === */
.breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    font-size: .82rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--muted);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb-sep {
    color: var(--border);
}

.product-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.gallery-main {
    position: relative;
    border-radius: var(--r);
    overflow: hidden;
    background: #f5f5f5;
    aspect-ratio: 1/1;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-badge-hit {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #2d7a2d;
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.gallery-badge-sale {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.gallery-thumb {
    width: 70px;
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color .2s;
}

.gallery-thumb.active {
    border-color: var(--accent);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: .82rem;
    text-decoration: none;
    margin-bottom: 12px;
}

.product-back:hover {
    color: var(--accent);
}

.product-article {
    font-size: .78rem;
    color: var(--muted);
    margin-bottom: 6px;
}

.product-page-name {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
}

.product-page-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.pbadge {
    font-size: .72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.pbadge-hit {
    background: #2d7a2d;
    color: #fff;
}

.pbadge-sale {
    background: var(--accent);
    color: #fff;
}

.pbadge-new {
    background: #1a6fba;
    color: #fff;
}

.pp-size-label {
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--muted);
    text-transform: uppercase;
}

.pp-size-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.pp-size-group input[type=radio] {
    display: none;
}

.pp-size-group label {
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 6px 14px;
    font-size: .82rem;
    cursor: pointer;
    transition: all .2s;
}

.pp-size-group input[type=radio]:checked + label {
    border-color: var(--accent);
    color: var(--accent);
    font-weight: 600;
}

.pp-size-group input[type=radio]:disabled + label {
    opacity: .4;
    cursor: not-allowed;
}

.pp-stock {
    font-size: .8rem;
    color: var(--muted);
    margin-bottom: 12px;
}

.pp-prices {
    margin-bottom: 16px;
}

.pp-price-normal {
    font-size: .85rem;
    color: var(--muted);
    text-decoration: line-through;
}

.pp-price-sale {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent);
}

.pp-qty {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.pp-qty .qty-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: none;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pp-qty .qty-val {
    width: 60px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 6px;
    font-size: 1rem;
}

.pp-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.pp-actions .btn-buy, .pp-actions .btn-more {
    flex: 1;
    min-width: 140px;
    justify-content: center;
}

.pp-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.pp-tab-btn {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 10px 16px 11px;
    font-size: .82rem;
    font-weight: 500;
    color: var(--muted);
    cursor: pointer;
    margin-bottom: -2px;
    transition: all .2s;
    white-space: nowrap;
}

.pp-tab-btn.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
    font-weight: 600;
}

.pp-tab-content {
    display: none;
}

.pp-tab-content.active {
    display: block;
}

.pp-tab-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: .88rem;
}

.pp-tab-content td {
    padding: 8px 12px;
    border-bottom: 1px solid var(--border);
}

.pp-tab-content td:first-child {
    color: var(--muted);
    width: 45%;
}

.pp-tab-content ul {
    padding-left: 20px;
    margin: 8px 0;
}

.pp-tab-content li {
    margin-bottom: 4px;
    font-size: .88rem;
}

.pp-tab-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 16px 0 8px;
}

.pp-tab-content p {
    font-size: .88rem;
    margin-bottom: 8px;
}

/* === CART PAGE === */
.cart-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.cart-page > h1 {
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 32px;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 32px;
    align-items: start;
}

.cart-items-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding:15px;
}

.cart-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.cart-item {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    gap: 16px;
    align-items: start;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 16px;
}

.cart-item-img img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
}

.cart-item-name a {
    font-weight: 600;
    font-size: .9rem;
    color: var(--text);
    text-decoration: none;
}

.cart-item-name a:hover {
    color: var(--accent);
}

.cart-item-meta {
    font-size: .8rem;
    color: var(--muted);
    margin-top: 4px;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.cart-item-qty .qty-val {
    width: 48px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 4px;
}

.cart-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.cart-item-price {
    font-weight: 700;
    font-size: 1rem;
    color: var(--accent);
}

.cart-item-price-old {
    font-size: .8rem;
    color: var(--muted);
    text-decoration: line-through;
}

.cart-item-remove {
    background: none;
    border: none;
    font-size: .75rem;
    color: var(--muted);
    cursor: pointer;
    padding: 0;
}

.cart-item-remove:hover {
    color: var(--accent);
}

.cart-summary {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 24px;
    position: sticky;
    top: 80px;
}

.cart-summary > h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: .9rem;
}

.summary-row.total {
    font-weight: 700;
    font-size: 1rem;
    border-bottom: none;
    margin-top: 8px;
}

.summary-row .sum {
    color: var(--accent);
}

.cart-form-section {
    margin-top: 20px;
}

.cart-form-section > h3 {
    font-size: .9rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    color: var(--muted);
}

.cart-note {
    text-align: center;
    font-size: .75rem;
    color: var(--muted);
    margin-top: 8px;
}

.cart-empty {
    text-align: center;
    padding: 80px 20px;
}

.cart-empty-icon {
    font-size: 4rem;
    margin-bottom: 16px;
}

.cart-empty h2 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.cart-empty p {
    color: var(--muted);
    margin-bottom: 24px;
}

/* === MODALS === */
.modal__all {
    display: none;
}

.modal__container {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal__inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal__bg {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    cursor: pointer;
}

.modal__wrapper {
    position: relative;
    z-index: 1;
}

.modal__content {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    max-width: 480px;
    position: relative;
}

.modal__close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--muted);
}

.modal__title-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.modal__title-description {
    font-size: .85rem;
    color: var(--muted);
    margin-bottom: 20px;
}

.label {
    display: block;
    margin-bottom: 12px;
}

.input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--r);
    font-size: .9rem;
    outline: none;
    transition: border-color .2s;
    box-sizing: border-box;
}

.input:focus {
    border-color: var(--accent);
}

.modal__block-bottom {
    margin-top: 16px;
}

.form__done-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.form__done-text {
    color: var(--muted);
    margin-bottom: 16px;
}

.error {
    display: block;
    font-size: .75rem;
    color: red;
    margin-top: 4px;
}

.hidden {
    display: none !important;
}

.wysiwyg p {
    margin-bottom: 8px;
    font-size: .9rem;
}

.wysiwyg ul {
    padding-left: 20px;
    margin-bottom: 8px;
}

.wysiwyg li {
    margin-bottom: 4px;
    font-size: .9rem;
}

.wysiwyg h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 12px 0 6px;
}

@media (max-width: 768px) {
    .product-layout {
        grid-template-columns: 1fr;
    }

    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 70px 1fr;
    }

    .cart-item-right {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.cats__content {
    max-width: 100%;
    overflow: hidden;
}

ul.cat-l2.cats__sublist {
    width: auto;
    display: none;
}

ul.cat-l2.cats__sublist.open {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: auto;
}

ul.cat-l2.cats__sublist li {
    width: auto;
    flex: 0 0 auto;
}

.cat-l1-item.cats__list-item {
    flex: 0 0 auto;
    width: auto;
}
.pp-size-group input[type=radio]:checked + label {
    border-color: var(--accent);
    color: var(--accent);
    font-weight: 600;
    background: #fff;
}
.product__price { font-size: 1.6rem; font-weight: 700; color: var(--accent); }
.product__price-sale { font-size: .85rem; color: var(--muted); text-decoration: line-through; display: block; }
.product__discount { margin-bottom: 4px; }
.product__label-item.discountLabel { background: var(--accent); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 4px; display: inline-block; margin-bottom: 8px; }
#difference { position: absolute; top: 12px; right: 12px; }
#difference .product__label-item.discountLabel { background: var(--accent); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 4px; display: inline-block; }
#difference:empty { display: none; }
.modal__content .btn-more,
.modal__content .btn-buy {
    white-space: nowrap;
    min-width: 160px;
    text-align: center;
    justify-content: center;
}
.modal__block > div {
    display: flex;
    gap: 12px;
    align-items: center;
}
.card-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
    margin-bottom: 10px;
    border-top: 1px solid var(--border);
    padding-top: 10px;
}
.card-size-btn {
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 3px 10px;
    font-size: .75rem;
    cursor: pointer;
    background: none;
    transition: all .2s;
}
.card-size-btn.active {
    border-color: var(--accent);
    color: var(--accent);
    font-weight: 600;
}
/* === CART PAGE === */
.cart-page { max-width: 1200px; margin: 0 auto; padding: 40px 20px; }
.cart-page > h1 { font-size: 1.6rem; font-weight: 700; text-transform: uppercase; text-align: center; margin-bottom: 32px; }
.cart-layout { display: grid; grid-template-columns: 1fr 560px; gap: 32px; align-items: start; }
.cart-section-title {
    font-size: 1rem; font-weight: 600; margin-bottom: 16px;

}
.cart-section-title span { color: var(--muted); font-weight: 400; }

/* Cart item */
.cart-item { display: grid; grid-template-columns: 80px 1fr auto; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 14px; margin-bottom: 10px; }
.cart-item-img img { width: 80px; height: 80px; object-fit: cover; border-radius: 6px; display: block; }
.cart-item-name a { font-weight: 600; font-size: .9rem; color: var(--text); text-decoration: none; }
.cart-item-name a:hover { color: var(--accent); }
.cart-item-meta { font-size: .78rem; color: var(--muted); margin-top: 3px; }
.cart-item-qty { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.cart-item-qty .qty-btn { width: 28px; height: 28px; border: 1px solid var(--border); border-radius: 4px; background: none; cursor: pointer; font-size: 1rem; }
.cart-item-qty .qty-val { width: 44px; text-align: center; border: 1px solid var(--border); border-radius: 4px; padding: 4px; font-size: .85rem; }
.cart-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.cart-item-price { font-weight: 700; color: var(--accent); font-size: 1rem; }
.cart-item-price-old { font-size: .78rem; color: var(--muted); text-decoration: line-through; }
.cart-item-remove { background: none; border: none; font-size: .72rem; color: var(--muted); cursor: pointer; white-space: nowrap; }
.cart-item-remove:hover { color: var(--accent); }

/* Total row under items */
.cart-total-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0 0; font-size: 1rem; font-weight: 600; border-top: 2px solid var(--border); margin-top: 8px; }
.cart-total-row .cartTotalSum { color: var(--accent); font-size: 1.2rem; }

/* Cart summary (form) */
.cart-summary { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 24px; position: sticky; top: 80px; }
.cart-form-section { margin-bottom: 4px; }

/* Override old partials styles */
.order__block { margin-bottom: 0; }
.order__block-title { font-size: .78rem; font-weight: 700; text-transform: uppercase; color: var(--muted); letter-spacing: .05em; margin-bottom: 10px; padding-top: 16px; border-top: 1px solid var(--border); }
.cart-form-section:first-child .order__block-title { border-top: none; padding-top: 0; }
.order__block-content { padding-bottom: 4px; }
.order__block-list { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-direction: column; gap: 6px; }
.order__block-list .label { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: .88rem; }
.input__radio { accent-color: var(--accent); width: 16px; height: 16px; cursor: pointer; }
.label__radio { cursor: pointer; font-size: .88rem; }
.delivery__item { display: none; }
.delivery__item.active { display: block; }
.payment__item { display: none; }
.payment__item.active { display: block; }
.input { width: 100%; padding: 9px 12px; border: 1px solid var(--border); border-radius: var(--r); font-size: .88rem; box-sizing: border-box; outline: none; transition: border-color .2s; }
.input:focus { border-color: var(--accent); }
.input__textarea { resize: vertical; min-height: 80px; }
.label__title { display: block; font-size: .78rem; color: var(--muted); margin-bottom: 4px; }
.label { display: block; margin-bottom: 10px; }

/* Submit block */
.cart-submit-wrap { border-top: 2px solid var(--border); padding-top: 16px; margin-top: 8px; }
.cart-submit-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: .95rem; }
.cart-submit-total strong { color: var(--accent); font-size: 1.3rem; }
.cart-submit-btn { width: 100%; justify-content: center; }
.cart-note { text-align: center; font-size: .72rem; color: var(--muted); margin-top: 8px; }

@media (max-width: 900px) {
    .cart-layout { grid-template-columns: 1fr; }
    .cart-summary { position: static; }
    .cart-item { grid-template-columns: 70px 1fr; }
    .cart-item-right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}
.search__datalist-list { display: none; }
.search__datalist-list[data-toggle="true"] { display: block; }
.search__datalist { position: relative; }
.search__datalist-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r);
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    max-height: 200px;
    overflow-y: auto;
    list-style: none;
    padding: 4px 0;
    margin: 0;
}
.search__datalist-list[data-toggle="true"] { display: block; }
.search__datalist-item { padding: 8px 14px; font-size: .88rem; cursor: pointer; }
.search__datalist-item:hover { background: #f5f5f5; }
.search__datalist-item[data-display="false"] { display: none; }
.search__datalist-field { position: relative; }
.search__datalist-reset {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--muted);
    font-size: .8rem;
}

/* === VIBER FLOATING BUTTON === */
.viber-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
    background: #7360f2;
    color: #fff;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(115,96,242,.4);
    transition: transform .2s, box-shadow .2s;
}
.viber-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(115,96,242,.5);
}
.viber-float svg {
    width: 28px;
    height: 28px;
}

/* === SCROLL TO TOP === */
.scroll-top-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
    transition: transform .2s, box-shadow .2s;
}
.scroll-top-btn.visible {
    display: flex;
}
.scroll-top-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.2);
}
.scroll-top-btn svg {
    width: 24px;
    height: 24px;
}

/* === CALL FLOATING BUTTON === */
.call-float {
    position: fixed;
    bottom: 88px;
    left: 24px;
    z-index: 9999;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(37,211,102,.4);
    transition: transform .2s, box-shadow .2s;
}
.call-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,211,102,.5);
}
.call-float svg {
    width: 26px;
    height: 26px;
}


.topbar-show-mobile {
    display: none;
}
@media (max-width: 768px) {
    .topbar-hide-mobile {
        display: none;
    }
    .topbar-show-mobile {
        display: inline;
        color: #fff;
        text-decoration: none;
    }
    .topbar-show-mobile {
        display: inline;
        color: #fff;
        text-decoration: none;
    }
    .topbar-hide-mobile_hours {
        display: inline;
        color: #fff;
        text-decoration: none;
    }
}
