/* ============================================
   AMACARS - Ozon-inspired Theme
   ============================================ */

:root {
    --oz-blue: #005BFF;
    --oz-blue-hover: #0047CC;
    --oz-blue-light: #E5EFFF;
    --oz-pink: #F91155;
    --oz-yellow: #FFDB4D;
    --oz-green: #0A9931;
    --oz-red: #FC4037;
    --oz-bg: #F7F8FA;
    --oz-text: #001A34;
    --oz-text-muted: #707A8E;
    --oz-border: #E7E8EB;
    --oz-card: #FFFFFF;
    --oz-surface: #FFFFFF;
    --oz-radius: 8px;
    --oz-radius-lg: 12px;
    --oz-shadow: 0 2px 8px rgba(0,0,0,0.04);
    --oz-shadow-hover: 0 4px 16px rgba(0,0,0,0.08);
}

html[data-theme="dark"] {
    --oz-blue: #3B82F6;
    --oz-blue-hover: #60A5FA;
    --oz-blue-light: rgba(59,130,246,0.12);
    --oz-pink: #F91155;
    --oz-yellow: #FFDB4D;
    --oz-green: #22C55E;
    --oz-red: #F87171;
    --oz-bg: #0B0F17;
    --oz-text: #E5E7EB;
    --oz-text-muted: #9CA3AF;
    --oz-border: #1F2937;
    --oz-card: #131A26;
    --oz-surface: #131A26;
    --oz-shadow: 0 2px 8px rgba(0,0,0,0.4);
    --oz-shadow-hover: 0 6px 20px rgba(0,0,0,0.5);
}
html[data-theme="dark"] body { color-scheme: dark; }
html[data-theme="dark"] .oz-card,
html[data-theme="dark"] .oz-cat-tile,
html[data-theme="dark"] .oz-brand-tile,
html[data-theme="dark"] .oz-trust,
html[data-theme="dark"] .oz-cart-items,
html[data-theme="dark"] .oz-cart-summary,
html[data-theme="dark"] .oz-acc-nav,
html[data-theme="dark"] .oz-acc-main,
html[data-theme="dark"] .oz-checkout-card,
html[data-theme="dark"] .oz-checkout-summary,
html[data-theme="dark"] .oz-filters,
html[data-theme="dark"] .oz-cat-toolbar,
html[data-theme="dark"] .oz-pd-gallery,
html[data-theme="dark"] .oz-pd-buy,
html[data-theme="dark"] .oz-footer,
html[data-theme="dark"] .oz-header,
html[data-theme="dark"] .oz-nav-strip { background: var(--oz-card); }
html[data-theme="dark"] .oz-pd-main-img { background: #0B0F17; }
html[data-theme="dark"] .oz-cart-img img { background: #0B0F17; }
html[data-theme="dark"] .oz-card-img { background: #FFFFFF; }
html[data-theme="dark"] .oz-search input { background: #1F2937; color: var(--oz-text); border-color: var(--oz-blue); }
html[data-theme="dark"] .oz-field input,
html[data-theme="dark"] .oz-field select,
html[data-theme="dark"] .oz-field textarea,
html[data-theme="dark"] .oz-auth-field input,
html[data-theme="dark"] .oz-auth-field textarea { background: #1F2937; color: var(--oz-text); border-color: var(--oz-border); }
html[data-theme="dark"] .oz-pay-option { background: #1A2231; }
html[data-theme="dark"] .oz-pay-option:has(input:checked) { background: rgba(59,130,246,0.15); }
html[data-theme="dark"] .oz-counter { background: #1F2937; }
html[data-theme="dark"] .oz-counter-btn { background: #2D3748; color: var(--oz-text); }
html[data-theme="dark"] .oz-cart-empty-icon,
html[data-theme="dark"] .oz-trust-icon { background: rgba(59,130,246,0.18); }
html[data-theme="dark"] .oz-auth-card { background: var(--oz-card); }
html[data-theme="dark"] .oz-auth-tabs { background: #0B0F17; }
html[data-theme="dark"] .oz-auth-tab.active { background: var(--oz-card); }
html[data-theme="dark"] .oz-err-card { background: var(--oz-card); }
html[data-theme="dark"] .sb-built-by { background: #1F2937; }
html[data-theme="dark"] .oz-cat-tile img { background: linear-gradient(135deg, var(--oz-blue-light), #1F2937); }

* { box-sizing: border-box; }
html {
    background: var(--oz-bg) !important;
    color: var(--oz-text) !important;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif !important;
    -webkit-font-smoothing: antialiased;
    margin: 0;
}
body {
    background: var(--oz-bg) !important;
    color: var(--oz-text) !important;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif !important;
    margin: 0;
    overflow-x: hidden;
    max-width: 100vw;
    padding-top: 0 !important;
}
img, video, iframe { max-width: 100%; height: auto; }
table { max-width: 100%; }
.oz-container { width: 100%; }
a { color: var(--oz-text); text-decoration: none; }
a:hover { color: var(--oz-blue); }

.oz-container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 768px) { .oz-container { padding: 0 12px; } }

/* ============================================
   HEADER
============================================ */
.oz-header { background: #fff; border-bottom: 1px solid var(--oz-border); position: sticky; top: 0; z-index: 100; }
.oz-header-top { display: flex; align-items: center; gap: 20px; padding: 12px 0; }
.oz-logo { flex-shrink: 0; display:flex; align-items:center; text-decoration: none; }
.oz-logo img { height: 44px; width: auto; display: block; }

.oz-catalog-btn {
    display:inline-flex; align-items:center; gap:8px;
    background: var(--oz-blue); color:#fff !important;
    height:44px; padding: 0 18px; border-radius: var(--oz-radius);
    font-weight:600; font-size:14px;
    transition: background .15s;
}
.oz-catalog-btn:hover { background: var(--oz-blue-hover); color:#fff !important; }
.oz-catalog-btn svg { width:18px; height:18px; }

.oz-search { flex:1; position:relative; max-width: 720px; }
.oz-search input {
    width:100%; height:44px;
    border: 2px solid var(--oz-blue);
    border-radius: var(--oz-radius);
    padding: 0 56px 0 16px; font-size: 14px; outline:none;
    background:#fff; color: var(--oz-text);
}
.oz-search input::placeholder { color: var(--oz-text-muted); }
.oz-search button {
    position:absolute; right:4px; top:4px;
    height:36px; padding: 0 16px;
    background: var(--oz-blue); color:#fff;
    border:none; border-radius: 6px;
    font-weight:600; cursor:pointer; font-size:14px;
    display: flex; align-items: center; justify-content: center;
}
.oz-search button:hover { background: var(--oz-blue-hover); }

.oz-header-actions { display:flex; align-items:center; gap:6px; }
.oz-icon-btn {
    display:flex; flex-direction:column; align-items:center; gap:2px;
    color: var(--oz-text); font-size:11px; font-weight:500;
    min-width: 56px; cursor:pointer; padding:8px 6px; border-radius:8px;
    text-align:center; text-decoration: none;
}
.oz-icon-btn:hover { color: var(--oz-blue); background: var(--oz-blue-light); }
.oz-icon-btn svg { width:24px; height:24px; }
.oz-icon-btn .oz-badge { position:absolute; top:0; right:8px; background: var(--oz-pink); color:#fff; font-size:10px; font-weight:700; min-width:16px; height:16px; border-radius:8px; padding:0 4px; display:flex; align-items:center; justify-content:center; }
.oz-action-wrap { position: relative; }

/* Top nav strip */
.oz-nav-strip { background: #fff; border-bottom: 1px solid var(--oz-border); position: relative; z-index: 50; }
.oz-nav-strip ul {
    list-style:none; padding:0; margin:0;
    display:flex; align-items: center;
    gap: 2px;
    overflow: visible;
    flex-wrap: wrap;
}
@media (max-width: 900px) {
    .oz-nav-strip ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .oz-nav-strip ul::-webkit-scrollbar { display: none; }
}
.oz-nav-strip li { flex-shrink: 0; }
.oz-nav-strip li a {
    display: inline-block;
    color: var(--oz-text); font-size: 13px; font-weight: 500;
    white-space: nowrap;
    padding: 12px 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: background .15s, color .15s;
    letter-spacing: 0.1px;
}
.oz-nav-strip li a:hover { background: var(--oz-blue-light); color: var(--oz-blue); }
.oz-nav-strip li a.oz-hot {
    color: var(--oz-pink); font-weight: 700;
    display: inline-flex; align-items: center; gap: 4px;
}
.oz-nav-strip li a.oz-hot:hover { background: rgba(249,17,85,0.08); color: var(--oz-pink); }
.oz-nav-strip li.oz-nav-sep { width: 1px; height: 20px; background: var(--oz-border); margin: 0 8px; flex-shrink: 0; }
.oz-nav-strip .oz-nav-all {
    background: var(--oz-bg);
    font-weight: 600; color: var(--oz-text);
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 14px; border-radius: 8px;
    font-size: 13px; cursor: pointer; border: none;
    transition: background .15s, color .15s;
    font-family: inherit;
}
.oz-nav-strip .oz-nav-all:hover, .oz-nav-strip .oz-nav-all.open { background: var(--oz-blue); color: #fff; }
.oz-nav-strip .oz-nav-all svg { width: 14px; height: 14px; }
.oz-nav-strip .oz-nav-all .oz-mega-chev { transition: transform .2s; }
.oz-nav-strip .oz-nav-all.open .oz-mega-chev { transform: rotate(180deg); }

/* Mega menu */
.oz-mega-wrap { position: relative; }
.oz-mega {
    position: absolute; top: calc(100% + 10px); left: 0;
    width: min(900px, 88vw);
    background: var(--oz-card); border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0,26,52,0.18);
    border: 1px solid var(--oz-border);
    padding: 24px; z-index: 500;
    opacity: 0; visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility 0s linear .2s;
}
.oz-mega.open { opacity: 1; visibility: visible; transform: translateY(0); transition: opacity .2s, transform .2s, visibility 0s; }
.oz-mega-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; }
.oz-mega-col h4 {
    margin: 0 0 14px;
    font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--oz-text-muted);
    padding-bottom: 10px; border-bottom: 1px solid var(--oz-border);
}
.oz-mega-list { list-style: none; padding: 0; margin: 0; max-height: 320px; overflow-y: auto; }
.oz-mega-list li { margin-bottom: 2px; }
.oz-mega-list a {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 10px; border-radius: 6px;
    color: var(--oz-text); text-decoration: none;
    font-size: 13px; font-weight: 500;
    transition: background .12s, color .12s;
}
.oz-mega-list a:hover { background: var(--oz-blue-light); color: var(--oz-blue); }
.oz-mega-list a span {
    font-size: 11px; color: var(--oz-text-muted);
    background: var(--oz-bg); padding: 1px 8px; border-radius: 100px;
}
.oz-mega-list a:hover span { background: #fff; color: var(--oz-blue); }
.oz-mega-list--icons a { gap: 10px; padding: 10px; }
.oz-mega-list--icons a svg {
    width: 18px; height: 18px; flex-shrink: 0;
    color: var(--oz-blue);
    transition: transform .15s;
}
.oz-mega-list--icons a:hover svg { transform: scale(1.1); }
.oz-mega-list--icons li { margin-bottom: 4px; }
.oz-mega-promo .oz-mega-cta {
    display: flex; align-items: center; justify-content: space-between;
    background: var(--oz-blue); color: #fff !important;
    padding: 12px 16px; border-radius: 8px;
    font-size: 13px; font-weight: 700;
    margin-top: 12px; text-decoration: none;
    transition: background .15s;
}
.oz-mega-promo .oz-mega-cta:hover { background: var(--oz-blue-hover); }
.oz-mega-promo .oz-mega-cta svg { width: 16px; height: 16px; }

.oz-mega-header { display: none; }

@media (max-width: 900px) {
    /* Mobile mega menu - rendered as full-screen sheet portal-style */
    .oz-mega {
        position: fixed !important;
        top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
        width: 100% !important; height: 100% !important;
        max-width: 100vw !important; max-height: 100vh; max-height: 100dvh;
        border-radius: 0 !important; padding: 0 !important;
        margin: 0 !important;
        z-index: 99999 !important;
        opacity: 0; visibility: hidden; pointer-events: none;
        transform: translateY(20px);
        transition: opacity .25s, transform .25s, visibility 0s linear .25s;
        background: var(--oz-card);
        border: none;
        display: flex; flex-direction: column;
        overflow: hidden;
        box-shadow: none;
    }
    .oz-mega.open {
        opacity: 1; visibility: visible; pointer-events: auto;
        transform: translateY(0);
        transition: opacity .25s, transform .25s, visibility 0s;
    }
    .oz-mega-header {
        display: flex; align-items: center; justify-content: space-between;
        padding: 14px 18px;
        background: var(--oz-card);
        border-bottom: 1px solid var(--oz-border);
        flex-shrink: 0;
    }
    .oz-mega-title { font-size: 17px; font-weight: 800; color: var(--oz-text); }
    .oz-mega-close {
        width: 38px; height: 38px; border: none; background: var(--oz-bg);
        border-radius: 50%; cursor: pointer; color: var(--oz-text);
        display: flex; align-items: center; justify-content: center;
        flex-shrink: 0; padding: 0;
    }
    .oz-mega-close:hover, .oz-mega-close:active { background: var(--oz-border); }
    .oz-mega-close svg { width: 18px; height: 18px; }
    .oz-mega-inner {
        padding: 16px; grid-template-columns: 1fr; gap: 22px;
        overflow-y: auto; -webkit-overflow-scrolling: touch;
        flex: 1 1 auto; min-height: 0;
    }
    body.oz-mega-open { overflow: hidden; position: fixed; width: 100%; }
    .oz-mega-list { max-height: none; }
}

.oz-theme-toggle {
    width: 38px; height: 38px; border-radius: 50%;
    border: 1px solid var(--oz-border); background: var(--oz-card);
    color: var(--oz-text); cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    transition: all .2s; padding: 0; flex-shrink: 0;
}
.oz-theme-toggle:hover { background: var(--oz-blue-light); color: var(--oz-blue); border-color: var(--oz-blue); }
.oz-theme-toggle svg { width: 18px; height: 18px; transition: transform .25s; }
.oz-theme-toggle .oz-theme-moon { display: none; }
html[data-theme="dark"] .oz-theme-toggle .oz-theme-sun { display: none; }
html[data-theme="dark"] .oz-theme-toggle .oz-theme-moon { display: block; }
.oz-theme-toggle:hover svg { transform: rotate(20deg); }

.oz-lang { display:flex; gap:2px; margin-left: 4px; padding-left: 12px; border-left: 1px solid var(--oz-border); }
.oz-lang a { font-size:12px; color: var(--oz-text-muted); padding: 6px 8px; border-radius: 6px; font-weight:700; text-transform:uppercase; text-decoration: none; letter-spacing: 0.5px; }
.oz-lang a.active { background: var(--oz-blue-light); color: var(--oz-blue); }
.oz-lang a:hover { color: var(--oz-blue); }

/* ============================================
   HERO CAROUSEL
============================================ */
/* ============================================
   HERO — Premium cinematic with side boxes
============================================ */
.oz-hero { margin: 20px 0 32px; }
.oz-hero-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 16px;
}
@media (max-width: 1024px) {
    .oz-hero-layout { grid-template-columns: 1fr; }
    .oz-hero-side { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
}
@media (max-width: 640px) { .oz-hero-side { grid-template-columns: 1fr; } }
.oz-hero-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,26,52,0.15);
}
.oz-hero-slide {
    position: relative; min-height: 420px;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    color: #fff; padding: 48px 52px;
    display: flex; flex-direction: column; justify-content: center;
    overflow: hidden;
}

/* Side boxes */
.oz-hero-side { display: flex; flex-direction: column; gap: 16px; }
.oz-side-box {
    flex: 1; border-radius: 16px; overflow: hidden;
    padding: 24px; color: #fff;
    display: flex; flex-direction: column; justify-content: space-between;
    position: relative; min-height: 200px;
    text-decoration: none;
    transition: transform .25s, box-shadow .25s;
}
.oz-side-box::after {
    content: ''; position: absolute; inset: 0;
    background-size: cover; background-position: center;
    z-index: 1; opacity: 0.4;
    transition: opacity .3s, transform .3s;
}
.oz-side-box > * { position: relative; z-index: 2; }
.oz-side-box:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.18); }
.oz-side-box:hover::after { opacity: 0.55; transform: scale(1.05); }

.oz-side-box-1 {
    background: linear-gradient(135deg, #5B0F00 0%, #B12704 100%);
    color: #fff !important;
}
.oz-side-box-1::after { background-image: url('/web/templates/amacars/images/back_car.png'); background-position: right center; }

.oz-side-box-2 {
    background: linear-gradient(135deg, #001A34 0%, #005BFF 100%);
    color: #fff !important;
}
.oz-side-box-2::after { background-image: url('/web/templates/amacars/images/main_back_mob.png'); }

.oz-side-box-tag {
    display: inline-block; background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(8px);
    color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
    padding: 5px 10px; border-radius: 100px;
    align-self: flex-start;
}
.oz-side-box h3 {
    font-size: 22px; font-weight: 900; line-height: 1.1; margin: 12px 0 6px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.oz-side-box p { font-size: 13px; opacity: 0.9; margin: 0 0 16px; line-height: 1.4; }
.oz-side-box-cta {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 700; color: #fff;
    text-decoration: none;
    align-self: flex-start;
}
.oz-side-box-cta svg { transition: transform .15s; width: 14px; height: 14px; }
.oz-side-box:hover .oz-side-box-cta svg { transform: translateX(4px); }
.oz-side-box-big-num {
    position: absolute; bottom: -10px; right: 16px; z-index: 1;
    font-size: 110px; font-weight: 900; line-height: 1;
    color: rgba(255,255,255,0.1); letter-spacing: -4px;
}
.oz-hero-slide::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(105deg, rgba(0,0,0,0.85) 0%, rgba(0,26,52,0.65) 40%, rgba(0,0,0,0.15) 75%, rgba(0,0,0,0) 100%);
    z-index: 1;
}
.oz-hero-slide::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 50%, rgba(0,91,255,0.18) 0%, transparent 60%);
    z-index: 1;
}
.oz-hero-slide > * { position: relative; z-index: 2; }
.oz-hero-slide { background-image: url('/web/templates/amacars/images/main_back_desk.png'); }
.oz-hero-slide.alt-1 { background-image: url('/web/templates/amacars/images/back_car.png'); }
.oz-hero-slide.alt-1::before { background: linear-gradient(105deg, rgba(60,0,0,0.85) 0%, rgba(177,39,4,0.45) 40%, transparent 80%); }
.oz-hero-slide.alt-2 { background-image: url('/web/templates/amacars/images/main_back_mob.png'); }
.oz-hero-slide.alt-2::before { background: linear-gradient(105deg, rgba(0,26,52,0.88) 0%, rgba(0,91,255,0.45) 40%, transparent 80%); }

.oz-hero-tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(12px); color: #fff;
    font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
    padding: 8px 16px; border-radius: 100px; margin-bottom: 20px; align-self: flex-start;
}
.oz-hero-tag::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: var(--oz-blue); box-shadow: 0 0 12px var(--oz-blue);
    animation: oz-pulse 2s ease-in-out infinite;
}
@keyframes oz-pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.6; transform: scale(1.3); } }

.oz-hero h1 {
    font-size: 44px; font-weight: 900; margin: 0 0 16px; max-width: 75%;
    line-height: 1.05; letter-spacing: -1.5px;
    text-shadow: 0 4px 24px rgba(0,0,0,0.5);
    background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.85) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.oz-hero p {
    font-size: 16px; max-width: 80%; opacity: 0.92; margin: 0 0 28px;
    line-height: 1.5; text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.oz-hero-cta-row {
    display: flex; align-items: center; gap: 14px;
    flex-wrap: wrap;
}
.oz-hero .oz-btn {
    background: var(--oz-blue); color: #fff !important;
    padding: 16px 32px; border-radius: 100px;
    font-weight: 700; font-size: 15px; letter-spacing: 0.2px;
    display: inline-flex; align-items: center; gap: 10px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0,91,255,0.4), 0 2px 6px rgba(0,91,255,0.3);
    transition: all .25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.oz-hero .oz-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,91,255,0.55), 0 4px 10px rgba(0,91,255,0.4);
}
.oz-hero .oz-btn-ghost {
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(10px); color: #fff !important;
    box-shadow: none;
}
.oz-hero .oz-btn-ghost:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); }

.oz-hero-stats {
    display: flex; gap: 32px; margin-top: 36px;
    padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.12);
}
.oz-hero-stat-num { font-size: 28px; font-weight: 900; letter-spacing: -1px; line-height: 1; }
.oz-hero-stat-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; opacity: 0.7; margin-top: 6px; }

.oz-hero .swiper-pagination { bottom: 24px; left: 72px; text-align: left; width: auto; }
.oz-hero .swiper-pagination-bullet {
    background: #fff; opacity: 0.35;
    width: 8px; height: 8px;
    transition: all .25s;
}
.oz-hero .swiper-pagination-bullet-active { opacity: 1; width: 32px; border-radius: 4px; background: var(--oz-blue); }

.oz-hero .swiper-button-prev, .oz-hero .swiper-button-next {
    color: #fff !important; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    width: 48px !important; height: 48px !important;
    border-radius: 50%;
    transition: all .2s;
}
.oz-hero .swiper-button-prev:hover, .oz-hero .swiper-button-next:hover {
    background: var(--oz-blue); border-color: var(--oz-blue); transform: scale(1.08);
}
.oz-hero .swiper-button-prev::after, .oz-hero .swiper-button-next::after { font-size: 18px !important; font-weight: 800; }

@media (max-width: 1024px) {
    .oz-hero-slide { padding: 40px; min-height: 380px; }
    .oz-hero h1 { font-size: 36px; max-width: 90%; }
    .oz-hero p { max-width: 90%; }
    .oz-hero .swiper-pagination { left: 40px; }
}
@media (max-width: 768px) {
    .oz-hero-wrap { border-radius: 12px; }
    .oz-hero-slide { padding: 24px; min-height: 300px; }
    .oz-hero-slide::before { background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.85) 100%); }
    .oz-hero h1 { font-size: 24px; max-width: 100%; letter-spacing: -0.3px; }
    .oz-hero p { font-size: 13px; max-width: 100%; margin-bottom: 18px; }
    .oz-hero-stats { gap: 16px; margin-top: 20px; padding-top: 16px; }
    .oz-hero-stat-num { font-size: 18px; }
    .oz-hero-stat-label { font-size: 10px; }
    .oz-hero .swiper-pagination { left: 24px; }
    .oz-hero .oz-btn { padding: 12px 20px; font-size: 13px; }
    .oz-hero-tag { font-size: 10px; padding: 6px 12px; margin-bottom: 14px; }
}

/* ============================================
   CATEGORY TILES
============================================ */
.oz-section { margin: 44px 0; }
.oz-section-head { display:flex; align-items:baseline; justify-content:space-between; margin-bottom: 20px; gap: 16px; }
.oz-section-head h2 {
    font-size: 28px; font-weight: 900; margin: 0; letter-spacing: -0.8px;
    color: var(--oz-text);
    position: relative;
}
.oz-section-head a {
    color: var(--oz-blue); font-size: 14px; font-weight: 600;
    text-decoration: none;
    display: inline-flex; align-items: center; gap: 4px;
    transition: gap .15s, color .15s;
}
.oz-section-head a:hover { gap: 8px; color: var(--oz-blue-hover); }
@media (max-width: 768px) { .oz-section { margin: 32px 0; } .oz-section-head h2 { font-size: 22px; } }

.oz-cat-tiles {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}
@media (max-width: 1024px) { .oz-cat-tiles { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px)  { .oz-cat-tiles { grid-template-columns: repeat(3, 1fr); } }

.oz-cat-tile {
    background: #fff; border-radius: 14px;
    padding: 16px 12px; text-align:center;
    display:flex; flex-direction:column; align-items:center; gap:10px;
    transition: transform .2s, box-shadow .2s, background .2s;
    text-decoration: none;
    color: var(--oz-text);
    border: 1px solid transparent;
}
.oz-cat-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0,26,52,0.08);
    color: var(--oz-blue);
    border-color: rgba(0,91,255,0.1);
}
.oz-cat-tile img {
    width: 100px; height: 100px; object-fit: cover; border-radius: 50%;
    background: linear-gradient(135deg, var(--oz-blue-light), #fff);
    padding: 4px;
    transition: transform .25s;
}
.oz-cat-tile:hover img { transform: scale(1.05) rotate(-3deg); }
.oz-cat-tile .oz-cat-tile-name { font-size: 13px; font-weight: 600; line-height: 1.25; }

/* ============================================
   PRODUCT CARD (Ozon style)
============================================ */
.oz-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}
@media (max-width: 1280px) { .oz-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1024px) { .oz-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .oz-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

.oz-card {
    background: #fff; border-radius: 12px;
    padding: 14px; position: relative;
    display: flex; flex-direction: column;
    transition: box-shadow .25s, transform .25s;
    border: 1px solid transparent;
}
.oz-card:hover {
    box-shadow: 0 8px 28px rgba(0,26,52,0.08);
    transform: translateY(-2px);
    border-color: rgba(0,91,255,0.08);
}
.oz-card-img {
    position: relative; width: 100%; aspect-ratio: 4/3;
    background: #fff; border-radius: 6px; overflow:hidden;
    display:flex; align-items:center; justify-content:center;
}
.oz-card-img img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    transition: transform .25s;
}
.oz-card:hover .oz-card-img img { transform: scale(1.05); }

.oz-card-badges { position: absolute; top: 8px; left: 8px; z-index: 2; display: flex; flex-direction: column; gap: 4px; }
.oz-badge-pill { background: var(--oz-pink); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 12px; line-height: 1; }
.oz-badge-pill.green { background: var(--oz-green); }
.oz-badge-pill.yellow { background: var(--oz-yellow); color: var(--oz-text); }
.oz-badge-pill.scale { background: rgba(0,26,52,0.85); color:#fff; }

.oz-card-fav {
    position: absolute; top: 8px; right: 8px; z-index: 2;
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(255,255,255,0.9); display:flex; align-items:center; justify-content:center;
    cursor:pointer; transition: all .15s; border:none;
}
.oz-card-fav:hover { background:#fff; transform: scale(1.1); }
.oz-card-fav svg { width: 18px; height: 18px; stroke: var(--oz-text); fill: none; stroke-width: 2; }
.oz-card-fav.active svg { fill: var(--oz-pink); stroke: var(--oz-pink); }

.oz-card-body { padding-top: 10px; flex: 1; display:flex; flex-direction:column; }
.oz-card-price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.oz-card-price { font-size: 20px; font-weight: 800; color: var(--oz-text); }
.oz-card-price-old { font-size: 13px; color: var(--oz-text-muted); text-decoration: line-through; }
.oz-card-price-discount { background: var(--oz-pink); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 4px; }

.oz-card-title { font-size: 13px; line-height: 1.35; color: var(--oz-text); display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 4px 0 6px; min-height: 36px; }
.oz-card:hover .oz-card-title { color: var(--oz-blue); }

.oz-card-meta { display:flex; align-items:center; gap: 6px; font-size: 12px; color: var(--oz-text-muted); margin-bottom: 4px; }
.oz-card-rating { display:flex; align-items:center; gap:3px; }
.oz-card-rating-star { color: var(--oz-yellow); }

.oz-card-delivery { font-size: 12px; color: var(--oz-green); font-weight: 600; display:flex; align-items:center; gap:4px; }

.oz-card-actions { margin-top: auto; padding-top: 10px; }
.oz-card-btn {
    width: 100%; background: var(--oz-blue); color: #fff !important;
    border: none; border-radius: 6px; height: 36px;
    font-weight: 600; font-size: 13px; cursor:pointer;
    display: flex; align-items: center; justify-content: center; gap: 6px;
    transition: background .15s;
}
.oz-card-btn:hover { background: var(--oz-blue-hover); color:#fff !important; }
.oz-card-btn.in-cart { background: var(--oz-green); }

/* ============================================
   BRAND SHOWCASE
============================================ */
.oz-brands {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
}
@media (max-width: 768px) { .oz-brands { grid-template-columns: repeat(3, 1fr); } }
.oz-brand-tile {
    background: #fff; border-radius: 12px;
    padding: 24px 12px; text-align: center;
    display: flex; align-items: center; justify-content: center;
    height: 100px;
    transition: all .25s;
    filter: grayscale(0.7); opacity: 0.75;
    text-decoration: none;
    border: 1px solid var(--oz-border);
}
.oz-brand-tile:hover {
    filter: grayscale(0); opacity: 1;
    box-shadow: 0 8px 24px rgba(0,26,52,0.08);
    transform: translateY(-3px);
    border-color: var(--oz-blue);
}
.oz-brand-tile img { max-width: 100%; max-height: 60px; object-fit: contain; }
.oz-brand-tile-name {
    font-size: 14px; font-weight: 900; letter-spacing: 1.5px; color: var(--oz-text);
    text-transform: uppercase;
}

/* ============================================
   TRUST STRIP
============================================ */
.oz-trust { background:#fff; border-radius: var(--oz-radius-lg); padding: 24px; display:grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 28px 0; }
@media (max-width: 768px) { .oz-trust { grid-template-columns: repeat(2, 1fr); padding: 16px; } }
.oz-trust-item { display:flex; align-items:center; gap: 12px; }
.oz-trust-icon { width: 44px; height: 44px; background: var(--oz-blue-light); border-radius: 50%; display:flex; align-items:center; justify-content:center; color: var(--oz-blue); flex-shrink:0; }
.oz-trust-icon svg { width:24px; height:24px; }
.oz-trust-text { font-size: 13px; line-height: 1.3; }
.oz-trust-text strong { display:block; font-weight:700; color: var(--oz-text); margin-bottom: 2px; }
.oz-trust-text span { color: var(--oz-text-muted); }

/* ============================================
   CATEGORY PAGE
============================================ */
.oz-cat-layout { display: grid; grid-template-columns: 260px 1fr; gap: 20px; margin-top: 16px; }
@media (max-width: 1024px) { .oz-cat-layout { grid-template-columns: 1fr; } .oz-filters { display:none; } }

.oz-filters {
    background: var(--oz-card); border-radius: var(--oz-radius); padding: 16px;
    align-self: start; position: sticky; top: 80px;
    max-height: calc(100vh - 100px); overflow-y: auto;
    scrollbar-width: thin;
}
.oz-filters::-webkit-scrollbar { width: 6px; }
.oz-filters::-webkit-scrollbar-thumb { background: var(--oz-border); border-radius: 3px; }
.oz-filter-group { padding: 14px 0; border-bottom: 1px solid var(--oz-border); }
.oz-filter-group:last-child { border-bottom: none; }
.oz-filter-title { font-size: 14px; font-weight: 700; margin-bottom: 10px; color: var(--oz-text); }
.oz-filter-list { max-height: 240px; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; }
.oz-filter-list::-webkit-scrollbar { width: 6px; }
.oz-filter-list::-webkit-scrollbar-thumb { background: var(--oz-border); border-radius: 3px; }
.oz-filter-option { display: flex; align-items: center; gap: 8px; padding: 5px 2px; font-size: 13px; color: var(--oz-text); cursor:pointer; border-radius: 4px; }
.oz-filter-option:hover { background: var(--oz-bg); }
.oz-filter-option input { accent-color: var(--oz-blue); flex-shrink: 0; }
.oz-filter-option .oz-count { color: var(--oz-text-muted); font-size: 12px; margin-left: auto; }
.oz-filter-search {
    width: 100%; padding: 8px 10px; margin-bottom: 8px;
    border: 1px solid var(--oz-border); border-radius: 6px;
    font-size: 12px; background: var(--oz-bg); color: var(--oz-text);
}
.oz-filter-search:focus { outline: none; border-color: var(--oz-blue); background: var(--oz-card); }

.oz-cat-main h1 { font-size: 28px; font-weight: 800; margin: 0 0 16px; }
.oz-cat-toolbar { background: #fff; border-radius: var(--oz-radius); padding: 12px 16px; display:flex; gap:12px; align-items:center; margin-bottom: 12px; }
.oz-cat-toolbar select { border: 1px solid var(--oz-border); border-radius: 6px; padding: 8px 12px; font-size: 13px; background:#fff; }
.oz-cat-count { font-size: 13px; color: var(--oz-text-muted); }

/* ============================================
   PRODUCT DETAIL
============================================ */
.oz-pd { display: grid; grid-template-columns: 520px 1fr 320px; gap: 24px; margin: 16px 0; }
@media (max-width: 1200px) { .oz-pd { grid-template-columns: 1fr 1fr; } .oz-pd-buy { grid-column: 1/-1; } }
@media (max-width: 768px) { .oz-pd { grid-template-columns: 1fr; } }

.oz-pd-gallery { background:#fff; border-radius: var(--oz-radius-lg); padding: 16px; }
.oz-pd-main-img { width: 100%; aspect-ratio: 4/3; background: #fff; border-radius: var(--oz-radius); display:flex; align-items:center; justify-content:center; overflow:hidden; }
.oz-pd-main-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.oz-pd-thumbs { display:flex; gap:8px; margin-top: 12px; overflow-x:auto; }
.oz-pd-thumb { width: 80px; height: 60px; flex-shrink:0; background: #fff; border-radius:6px; border: 2px solid transparent; cursor:pointer; overflow:hidden; }
.oz-pd-thumb.active { border-color: var(--oz-blue); }
.oz-pd-thumb img { width:100%; height:100%; object-fit: cover; }

.oz-pd-info h1 { font-size: 24px; font-weight: 800; margin: 0 0 8px; line-height: 1.25; }
.oz-pd-meta { display:flex; align-items:center; gap: 14px; font-size:13px; color: var(--oz-text-muted); margin-bottom: 16px; }
.oz-pd-scale { background: var(--oz-text); color:#fff; padding: 4px 10px; border-radius: 6px; font-weight:700; font-size:13px; }
.oz-pd-section { margin: 18px 0; }
.oz-pd-section h3 { font-size: 15px; font-weight: 700; margin: 0 0 8px; }
.oz-pd-specs { width:100%; border-collapse:collapse; font-size:13px; }
.oz-pd-specs td { padding: 8px 0; border-bottom: 1px solid var(--oz-border); }
.oz-pd-specs td:first-child { color: var(--oz-text-muted); width:40%; }
.oz-pd-specs td:last-child { font-weight:600; }

.oz-pd-buy { background:#fff; border-radius: var(--oz-radius-lg); padding: 20px; align-self:start; position:sticky; top: 80px; }
.oz-pd-price-block { margin-bottom: 16px; }
.oz-pd-price-now { font-size: 32px; font-weight: 800; color: var(--oz-text); display:flex; align-items:baseline; gap:8px; }
.oz-pd-price-old { font-size: 16px; text-decoration: line-through; color: var(--oz-text-muted); margin-top: 4px; }
.oz-pd-discount { background: var(--oz-pink); color:#fff; padding: 4px 10px; border-radius: 6px; font-size: 13px; font-weight: 700; display:inline-block; margin-top: 6px; }

.oz-btn-primary { width:100%; background: var(--oz-blue); color:#fff !important; border:none; border-radius: var(--oz-radius); padding: 14px; font-weight:700; font-size: 15px; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:8px; margin-bottom: 8px; }
.oz-btn-primary:hover { background: var(--oz-blue-hover); }
.oz-btn-secondary { width:100%; background:#fff; color: var(--oz-blue) !important; border:2px solid var(--oz-blue); border-radius: var(--oz-radius); padding: 12px; font-weight:700; font-size: 15px; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:8px; margin-bottom: 8px; }
.oz-btn-secondary:hover { background: var(--oz-blue-light); }

.oz-pd-delivery { background: var(--oz-bg); border-radius: 6px; padding: 12px; font-size: 13px; line-height: 1.5; margin-top: 12px; }
.oz-pd-delivery strong { color: var(--oz-green); }

/* ============================================
   FOOTER
============================================ */
.oz-footer { background: #fff; padding: 40px 0 24px; margin-top: 48px; border-top: 1px solid var(--oz-border); }
.oz-footer-grid { display:grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 30px; }
@media (max-width: 1024px) { .oz-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .oz-footer-grid { grid-template-columns: 1fr; } }
.oz-footer h4 { font-size: 14px; font-weight: 700; margin: 0 0 12px; }
.oz-footer ul { list-style:none; padding:0; margin:0; }
.oz-footer li { margin-bottom: 8px; }
.oz-footer a { font-size: 13px; color: var(--oz-text-muted); }
.oz-footer a:hover { color: var(--oz-blue); }
.oz-pay-icons { display:flex; gap: 8px; margin-top: 12px; flex-wrap:wrap; }
.oz-pay-icon { background: var(--oz-bg); border-radius: 6px; padding: 6px 10px; font-size: 11px; font-weight: 700; color: var(--oz-text); }
.oz-footer-bottom { border-top: 1px solid var(--oz-border); margin-top: 32px; padding-top: 16px; display:flex; justify-content:space-between; font-size:12px; color: var(--oz-text-muted); }

/* ============================================
   FORM FIELDS (used everywhere)
============================================ */
.oz-field { margin-bottom: 16px; }
.oz-field label, .oz-auth-field label {
    display: block; font-size: 13px; font-weight: 600;
    margin-bottom: 6px; color: var(--oz-text);
}
.oz-field input, .oz-field select, .oz-field textarea,
.oz-auth-field input, .oz-auth-field select, .oz-auth-field textarea {
    width: 100%; padding: 12px 14px;
    border: 1.5px solid var(--oz-border); border-radius: 8px;
    font-size: 14px; outline: none; background: #fff; color: var(--oz-text);
    font-family: inherit;
    transition: border-color .15s, box-shadow .15s;
    box-sizing: border-box;
}
.oz-field input:focus, .oz-field select:focus, .oz-field textarea:focus,
.oz-auth-field input:focus, .oz-auth-field select:focus, .oz-auth-field textarea:focus {
    border-color: var(--oz-blue);
    box-shadow: 0 0 0 3px rgba(0,91,255,0.1);
}
.oz-field textarea, .oz-auth-field textarea { resize: vertical; min-height: 90px; }
.oz-field .error, .oz-auth-field .error { color: var(--oz-red); font-size: 12px; margin-top: 4px; }
.oz-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .oz-grid-2 { grid-template-columns: 1fr; } }
.oz-form-section { padding: 22px 0; border-top: 1px solid var(--oz-border); margin-top: 8px; }
.oz-form-section:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.oz-form-section h3 { font-size: 15px; font-weight: 700; margin: 0 0 14px; color: var(--oz-text); }

/* ============================================
   CART / CHECKOUT shared styles
============================================ */
.oz-cart-sum-row {
    display: flex; justify-content: space-between; padding: 10px 0;
    font-size: 14px; color: var(--oz-text);
}
.oz-cart-sum-total {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 14px 0; margin: 8px 0 16px;
    border-top: 1px solid var(--oz-border); border-bottom: 1px solid var(--oz-border);
}
.oz-cart-sum-total > span:first-child { font-size: 15px; font-weight: 700; }
.oz-cart-sum-total-val { font-size: 24px; font-weight: 900; color: var(--oz-text); letter-spacing: -0.5px; }

/* ============================================
   Misc
============================================ */
.oz-divider { height: 1px; background: var(--oz-border); margin: 24px 0; }
.swiper-button-prev, .swiper-button-next { color: var(--oz-blue) !important; background: #fff; width: 44px !important; height: 44px !important; border-radius: 50%; box-shadow: var(--oz-shadow); }
.swiper-button-prev::after, .swiper-button-next::after { font-size: 16px !important; }
.oz-flash {
    background: linear-gradient(90deg, #F91155 0%, #FF6B00 100%);
    color: #fff; border-radius: 14px;
    padding: 20px 28px; display: flex; align-items: center; gap: 18px;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(249,17,85,0.25);
    position: relative; overflow: hidden;
}
.oz-flash::before {
    content: ''; position: absolute; right: -50px; top: -50px;
    width: 200px; height: 200px; border-radius: 50%;
    background: rgba(255,255,255,0.08);
}
.oz-flash > * { position: relative; z-index: 1; }
.oz-flash strong { font-size: 22px; font-weight: 900; letter-spacing: -0.3px; }
.oz-flash-timer {
    background: rgba(0,0,0,0.25); padding: 8px 14px; border-radius: 8px;
    font-weight: 800; font-family: 'SF Mono', 'Monaco', monospace; margin-left: auto;
    letter-spacing: 1px; font-size: 15px;
}

/* Hide old GNL styles where they break Ozon look */
.luxury-overlay, .gnl-fade { display: none !important; }

/* ============================================
   MOBILE / RESPONSIVE OVERRIDES
============================================ */
@media (max-width: 1024px) {
    .oz-cat-tiles { grid-template-columns: repeat(5, 1fr); gap: 10px; }
}

@media (max-width: 900px) {
    .oz-header-top { gap: 10px; padding: 10px 0; flex-wrap: wrap; }
    .oz-catalog-btn { height: 40px; padding: 0 12px; }
    .oz-catalog-btn span { display: none; }
    .oz-search input { height: 40px; font-size: 13px; padding-right: 48px; }
    .oz-search button { height: 32px; padding: 0 12px; }
    .oz-logo img { height: 36px; }
    .oz-header-actions { gap: 2px; }
    .oz-icon-btn { min-width: 44px; padding: 6px 4px; }
    .oz-icon-btn svg { width: 20px; height: 20px; }
    .oz-icon-btn span { font-size: 10px; }
    .oz-theme-toggle { width: 34px; height: 34px; }
    .oz-lang { gap: 0; padding-left: 6px; margin-left: 0; }
    .oz-lang a { padding: 4px 6px; font-size: 11px; }
    .oz-nav-strip li a { padding: 10px 12px; font-size: 13px; }
    .oz-nav-strip li.oz-nav-sep { margin: 0 4px; }
}

@media (max-width: 768px) {
    .oz-container { padding: 0 12px; max-width: 100%; }
    .oz-header-top { gap: 8px; padding: 8px 0; }

    /* Header: stack search to a second row */
    .oz-header-top { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; gap: 8px 10px; min-width: 0; }
    .oz-logo { grid-row: 1; min-width: 0; }
    .oz-catalog-btn { grid-row: 1; grid-column: 3; }
    .oz-search { grid-row: 2; grid-column: 1 / -1; max-width: none; min-width: 0; }
    .oz-header-actions { display: none; }

    /* Prevent any wide element from overflowing */
    .oz-section, .oz-grid, .oz-cat-tiles, .oz-brands, .oz-cart-layout, .oz-checkout-layout,
    .oz-acc-layout, .oz-pd, .oz-cat-layout, .oz-hero-layout, .oz-hero-wrap, .oz-footer-grid { min-width: 0; max-width: 100%; }
    .oz-card-title, .oz-cart-name, .oz-pd-info h1 { word-break: break-word; overflow-wrap: anywhere; }

    /* Cat tiles */
    .oz-cat-tiles { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .oz-cat-tile { padding: 12px 8px; }
    .oz-cat-tile img { width: 70px; height: 70px; }
    .oz-cat-tile-name { font-size: 12px; }

    /* Section heads */
    .oz-section { margin: 28px 0; }
    .oz-section-head h2 { font-size: 19px; }
    .oz-section-head a { font-size: 13px; }

    /* Hero layout */
    .oz-hero { margin: 12px 0 24px; }
    .oz-hero-layout { gap: 12px; }
    .oz-hero-side { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .oz-side-box { padding: 18px; min-height: 140px; }
    .oz-side-box h3 { font-size: 16px; }
    .oz-side-box p { font-size: 12px; margin-bottom: 10px; }
    .oz-side-box-big-num { font-size: 70px; bottom: -6px; right: 8px; }
    .oz-hero-stats { flex-wrap: wrap; gap: 14px 24px; }

    /* Brands */
    .oz-brands { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .oz-brand-tile { height: 70px; padding: 14px 8px; }
    .oz-brand-tile img { max-height: 40px; }
    .oz-brand-tile-name { font-size: 11px; letter-spacing: 1px; }

    /* Trust */
    .oz-trust { grid-template-columns: 1fr 1fr; padding: 16px; gap: 12px; }
    .oz-trust-icon { width: 36px; height: 36px; }
    .oz-trust-icon svg { width: 18px; height: 18px; }
    .oz-trust-text strong { font-size: 12px; }
    .oz-trust-text span { font-size: 11px; }

    /* Product card */
    .oz-card { padding: 8px; border-radius: 8px; }
    .oz-card-price { font-size: 16px; }
    .oz-card-price-old { font-size: 11px; }
    .oz-card-title { font-size: 12px; min-height: 30px; }
    .oz-card-meta { font-size: 11px; }
    .oz-card-delivery { font-size: 11px; }
    .oz-card-btn { height: 32px; font-size: 12px; }
    .oz-card-fav { width: 28px; height: 28px; top: 6px; right: 6px; }
    .oz-card-fav svg { width: 15px; height: 15px; }
    .oz-badge-pill { font-size: 10px; padding: 3px 6px; }

    /* Category page */
    .oz-cat-layout { grid-template-columns: 1fr; gap: 12px; }
    .oz-filters { display: none; }
    .oz-mobile-filter-btn { display: flex !important; }
    .oz-cat-main h1 { font-size: 22px; }
    .oz-cat-toolbar { padding: 10px 12px; flex-wrap: wrap; gap: 8px; }
    .oz-cat-toolbar select { font-size: 12px; }

    /* Product detail */
    .oz-pd { gap: 14px; margin: 12px 0; }
    .oz-pd-gallery, .oz-pd-buy, .oz-pd-info { padding: 14px; }
    .oz-pd-info h1 { font-size: 19px; line-height: 1.25; }
    .oz-pd-price-now { font-size: 26px; }
    .oz-pd-section h3 { font-size: 14px; }
    .oz-pd-thumb { width: 56px; height: 56px; }
    .oz-pd-buy { position: static !important; }

    /* Footer */
    .oz-footer { padding: 28px 0 20px; margin-top: 32px; }
    .oz-footer h4 { font-size: 13px; }
    .oz-footer a { font-size: 12px; }
    .oz-footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; font-size: 11px; }

    /* Cart / checkout */
    .oz-cart-layout, .oz-checkout-layout { grid-template-columns: 1fr; gap: 12px; }
    .oz-cart-items { padding: 4px 12px; }
    .oz-cart-summary, .oz-checkout-summary { position: static !important; padding: 18px; }
    .oz-checkout-card { padding: 16px; }
    .oz-checkout-step h3 { font-size: 15px; }
    .oz-pay-option { padding: 12px 14px; gap: 10px; }
    .oz-pay-title { font-size: 13px; }
    .oz-pay-sub { font-size: 11px; }
    .oz-pay-icons .oz-pay-icon { padding: 3px 6px; font-size: 9px; }

    /* Account */
    .oz-acc-layout { grid-template-columns: 1fr; gap: 12px; }
    .oz-acc-nav { padding: 14px; position: static; }
    .oz-acc-main { padding: 16px; }
    .oz-acc-main h1 { font-size: 20px; margin-bottom: 14px; }
    .oz-acc-menu a { padding: 8px 10px; font-size: 13px; }

    /* Order list */
    .oz-order-row { padding: 14px; }
    .oz-order-head { flex-direction: column; align-items: flex-start; }
    .oz-order-product-thumb { width: 50px; height: 50px; }

    /* Auth */
    .oz-auth-card { padding: 22px; border-radius: 12px; }
    .oz-auth-logo a { font-size: 24px; }
    .oz-auth-tab { padding: 8px; font-size: 13px; }
    .oz-auth-submit { padding: 12px; font-size: 14px; }

    /* Error pages */
    .oz-err-card { padding: 36px 22px; }
    .oz-err-code { font-size: 80px; }
    .oz-err-title { font-size: 18px; }

    /* Tables on order info */
    .oz-acc-main h1 + nav { font-size: 12px; }
}

@media (max-width: 480px) {
    .oz-cat-tiles { grid-template-columns: repeat(2, 1fr); }
    .oz-brands { grid-template-columns: repeat(2, 1fr); }
    .oz-trust { grid-template-columns: 1fr; }
    .oz-section-head h2 { font-size: 17px; }
    .oz-card-actions .oz-card-btn span { display: inline; }
    .oz-hero-side { grid-template-columns: 1fr; }
    .oz-side-box-big-num { font-size: 60px; }
    .oz-hero-stat-num { font-size: 18px; }
}

/* Mobile filter drawer */
.oz-mobile-filter-btn { display: none; }
@media (max-width: 768px) {
    .oz-mobile-filter-btn {
        display: flex; align-items: center; gap: 6px;
        background: var(--oz-card); border: 1px solid var(--oz-border); border-radius: 8px;
        padding: 10px 14px; font-size: 13px; font-weight: 600; color: var(--oz-text); cursor: pointer;
        width: auto;
    }
    .oz-mobile-filter-btn svg { width: 16px; height: 16px; }
    body.oz-filters-open { overflow: hidden; }
    body.oz-filters-open .oz-filters {
        display: block !important; position: fixed; inset: 0;
        background: var(--oz-bg); z-index: 1000; padding: 60px 16px 20px;
        overflow-y: auto; border-radius: 0;
    }
    body.oz-filters-open::before {
        content: 'Filters'; position: fixed; top: 0; left: 0; right: 0;
        background: var(--oz-card); padding: 16px; font-weight: 700;
        z-index: 1001; border-bottom: 1px solid var(--oz-border);
    }
}
