﻿/* ==========================================================================
   Well in ton — Premium Theme CSS v2.0
   ========================================================================== */

/* --- Page transitions ----------------------------------------------------- */
body { opacity: 1; }

/* --- Fonts ---------------------------------------------------------------- */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/inter-400.woff2) format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(../fonts/inter-600.woff2) format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(../fonts/inter-700.woff2) format('woff2');
}
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/playfair-400.woff2) format('woff2');
}
@font-face {
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/playfair-400i.woff2) format('woff2');
}
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(../fonts/playfair-700.woff2) format('woff2');
}

/* --- Reset & Base --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --gold: #d4a853;
    --gold-light: #e8c275;
    --gold-dark: #b8860b;
    --gold-glow: rgba(212, 168, 83, 0.15);
    --gold-glow-strong: rgba(212, 168, 83, 0.3);
    --black: #0a0a0a;
    --black-light: #111111;
    --black-card: #141414;
    --black-hover: #1a1a1a;
    --gray-900: #1a1a1a;
    --gray-800: #222222;
    --gray-700: #333333;
    --gray-600: #555555;
    --gray-500: #8a8a8a;
    --gray-400: #999999;
    --gray-300: #bbbbbb;
    --gray-200: #dddddd;
    --white: #ffffff;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
    --shadow-gold: 0 4px 30px rgba(212,168,83,0.2);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    background: var(--black);
}

body {
    font-family: var(--font-body);
    background: transparent;
    color: var(--gray-300);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: clip;
}

.wit-page {
    position: relative;
    background: transparent;
    min-height: 100vh;
    overflow-x: clip;
}

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

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

/* --- Skip Link -------------------------------------------------------------- */
/* --- Container -------------------------------------------------------------- */
.wit-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- Typography ------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--white);
    font-weight: 700;
    line-height: 1.2;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
em { font-style: italic; color: var(--gold); }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.wit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
}
.wit-btn svg { flex-shrink: 0; }

.wit-btn--gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--black);
    border-color: var(--gold);
}
.wit-btn--gold:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--black);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

.wit-btn--wb {
    background: linear-gradient(135deg, #cb11ab, #9b1a8e);
    color: var(--white);
    border-color: #cb11ab;
}
.wit-btn--wb:hover {
    background: linear-gradient(135deg, #e01cc0, #cb11ab);
    color: var(--white);
    transform: translateY(-2px);
}

.wit-btn--ym {
    background: linear-gradient(135deg, #fc0, #f5c400);
    color: var(--black);
    border-color: #fc0;
}
.wit-btn--ym:hover {
    background: linear-gradient(135deg, #ffe44d, #fc0);
    color: var(--black);
    transform: translateY(-2px);
}

.wit-btn--outline {
    background: transparent;
    color: var(--gold);
    border-color: rgba(212,168,83,0.3);
}
.wit-btn--outline:hover {
    background: var(--gold-glow);
    border-color: var(--gold);
    color: var(--gold);
}

.wit-btn--ghost {
    background: transparent;
    color: var(--gray-400);
    border-color: transparent;
    padding: 10px 16px;
}
.wit-btn--ghost:hover { color: var(--gold); }

.wit-btn--sm { padding: 10px 20px; font-size: 0.85rem; }
.wit-btn--lg { padding: 18px 40px; font-size: 1.05rem; }
.wit-btn--block { width: 100%; justify-content: center; }

/* ==========================================================================
   CATALOG LAYOUT — SIDEBAR
   ========================================================================== */

.wit-catalog-layout {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}
.wit-catalog-sidebar {
    width: 260px;
    min-width: 220px;
    flex-shrink: 0;
    padding: 0;
    margin: 0;
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}
.wit-catalog-main {
    flex: 1;
    min-width: 0;
}
.wit-sidebar-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px;
    background: var(--gray-800);
    border-radius: 16px;
    border: 1px solid var(--gray-700);
}
.wit-sidebar-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

/* ==========================================================================
   CATALOG FILTERS
   ========================================================================== */
.wit-catalog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}
.wit-catalog-filters--sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 0;
}
.wit-filter-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-400);
    background: var(--gray-800);
    border: 1px solid var(--gray-700);
    text-decoration: none;
    transition: all 0.3s;
    font-family: var(--font-body);
    text-align: left;
    white-space: nowrap;
}
.wit-filter-btn:hover {
    color: var(--white);
    border-color: var(--gold);
    background: rgba(212, 168, 83, 0.1);
}
.wit-filter-btn.active {
    color: var(--black);
    background: var(--gold);
    border-color: var(--gold);
}

/* Catalog sorting */
.wit-catalog-sort {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}
.wit-catalog-sort--sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 0;
}
.wit-catalog-sort__label {
    font-size: 0.9rem;
    color: var(--gray-500);
    font-weight: 600;
}
.wit-sort-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-400);
    background: var(--gray-800);
    border: 1px solid var(--gray-700);
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-body);
    text-align: left;
    white-space: nowrap;
}
.wit-sort-btn:hover {
    color: var(--white);
    border-color: var(--gold);
    background: rgba(212, 168, 83, 0.1);
}
.wit-sort-btn.active {
    color: var(--black);
    background: var(--gold);
    border-color: var(--gold);
}

.wit-empty {
    text-align: center;
    color: var(--gray-500);
    padding: 60px 20px;
    font-size: 1.1rem;
}
.wit-product-wrap {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.wit-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
}
.wit-header.scrolled {
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212,168,83,0.1);
    padding: 10px 0;
}

.wit-header__inner {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Logo */
.wit-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.wit-logo__icon { flex-shrink: 0; }
.wit-logo__text { display: flex; flex-direction: column; }
.wit-logo__name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
}
.wit-logo__name em { font-style: italic; color: var(--gold); }
.wit-logo__tagline {
    font-size: 0.7rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Nav */
.wit-nav { display: flex; }
.wit-nav__list {
    list-style: none;
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
}
.wit-nav__list li {
    margin: 0;
    padding: 0;
}
.wit-nav__link {
    display: block;
    padding: 8px 16px;
    color: var(--gray-400);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    text-decoration: none;
}
.wit-nav__link:hover {
    color: var(--white);
    background: rgba(255,255,255,0.05);
}

/* Header actions */
.wit-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

/* Search toggle button */
.wit-header-search {
    display: flex;
    align-items: center;
    position: relative;
}
.wit-header-search__form {
    display: flex;
    width: 0;
    overflow: hidden;
    opacity: 0;
    transition: width 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
    margin-right: 0;
}
.wit-header-search.open .wit-header-search__form {
    width: 200px;
    opacity: 1;
    margin-right: 8px;
}
.wit-header-search__input {
    width: 100%;
    padding: 8px 14px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-md);
    color: var(--white);
    font-size: 0.85rem;
    font-family: var(--font-body);
    outline: none;
    white-space: nowrap;
}
.wit-header-search__input::placeholder {
    color: rgba(255,255,255,0.5);
}
.wit-header-search__input:focus {
    border-color: var(--gold);
}
.wit-search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--white);
    border-radius: var(--radius-md);
    transition: all var(--transition);
    flex-shrink: 0;
}
.wit-search-toggle:hover {
    background: rgba(255,255,255,0.1);
    color: var(--gold);
}

/* Burger */
.wit-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}
.wit-burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}
.wit-burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.wit-burger.active span:nth-child(2) { opacity: 0; }
.wit-burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
body.menu-open { overflow: hidden; position: fixed; width: 100%; }
.wit-mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0a0a0a;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 10000;
    padding: 100px 24px 40px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    overflow-y: auto;
}
.wit-mobile-menu.active { opacity: 1; visibility: visible; }
.wit-mobile-menu__inner { max-width: 400px; margin: 0 auto; }
.wit-mobile-menu__close {
    display: none;
    position: fixed; top: 20px; right: 20px; z-index: 10001;
    background: rgba(10,10,10,0.6); border: 1px solid var(--gray-700); border-radius: 50%;
    color: var(--white); width: 44px; height: 44px;
    font-size: 1.5rem; cursor: pointer; align-items: center; justify-content: center;
    transition: all var(--transition);
}
.wit-mobile-menu.active ~ .wit-mobile-menu__close,
.wit-mobile-menu__close.visible { display: flex; }
.wit-mobile-menu__close:hover { background: var(--gold); color: var(--black); }
.wit-mobile-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.wit-mobile-nav a {
    display: block;
    padding: 16px 20px;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition);
}
.wit-mobile-nav a:hover { background: var(--gold-glow); color: var(--gold); }
.wit-mobile-menu__auth {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.wit-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.wit-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(212,168,83,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(212,168,83,0.05) 0%, transparent 50%),
        linear-gradient(180deg, var(--black) 0%, #0d0d0d 100%);
}

.wit-hero__particles {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.wit-hero__content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.wit-hero__badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gold-glow);
    border: 1px solid rgba(212,168,83,0.2);
    border-radius: var(--radius-xl);
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 32px;
}

.wit-hero__title {
    margin-bottom: 24px;
    line-height: 1.1;
}
.wit-hero__title em {
    font-style: italic;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wit-hero__subtitle {
    font-size: 1.15rem;
    color: var(--gray-400);
    max-width: 500px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.wit-hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.wit-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
}
.wit-stat { display: flex; flex-direction: column; }
.wit-stat__number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}
.wit-stat__label {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 4px;
}

.wit-hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
.wit-hero__scroll a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(212,168,83,0.2);
    color: var(--gold);
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.wit-section {
    padding: 120px 0;
    position: relative;
}
.wit-section .wit-container {
    max-width: 1200px;
    margin: 0 auto;
}
.wit-section__header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
    overflow: hidden;
}

.wit-catalog-page .wit-container {
    max-width: 1440px;
}
.wit-section__label {
    display: inline-block;
    padding: 6px 16px;
    background: var(--gold-glow);
    border-radius: var(--radius-xl);
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.wit-section__title { margin-bottom: 16px; }
.wit-section__desc { color: var(--gray-400); font-size: 1.05rem; }
.wit-section__cta { text-align: center; margin-top: 48px; }

/* ==========================================================================
   PRODUCTS GRID
   ========================================================================== */
.wit-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.wit-product {
    background: var(--black-card);
    border: 1px solid var(--gray-800);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.wit-product__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: flex-start;
}
.wit-product:hover {
    border-color: rgba(212,168,83,0.3);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.wit-product__image {
    position: relative;
    display: block;
    min-height: 200px;
    overflow: hidden;
    background: var(--gray-900);
}
.wit-product__image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform var(--transition-slow);
}
.wit-product:hover .wit-product__image img { transform: scale(1.08); }

.wit-product__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--gray-700);
}

/* Badges */
.wit-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}
.wit-badge--hit { background: var(--gold); color: var(--black); }
.wit-badge--new { background: #22c55e; color: var(--white); }
.wit-badge--sale { background: #ef4444; color: var(--white); }
.wit-badge--popular { background: #8b5cf6; color: var(--white); }
.wit-badge--limited { background: linear-gradient(135deg, #f59e0b, #ef4444); color: var(--white); }
.wit-badge--default { background: var(--gray-700); color: var(--white); }
.wit-badge--ozon { background: #005bff; color: var(--white); }
.wit-badge--wb { background: #cb11ab; color: var(--white); }
.wit-badge--ym { background: #ffcc00; color: #000; }

/* Product body */
.wit-product__body { padding: 20px; text-align: center; }
.wit-product__title {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}
.wit-product__title a { color: var(--white); }
.wit-product__title a:hover { color: var(--gold); }

.wit-product__excerpt {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 16px;
}

.wit-product__footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.wit-product__prices { display: flex; align-items: baseline; justify-content: center; gap: 10px; }
.wit-product__price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold);
    white-space: nowrap;
}
.wit-product__old-price {
    font-size: 0.85rem;
    color: var(--gray-600);
    text-decoration: line-through;
}

.wit-empty {
    text-align: center;
    color: var(--gray-500);
    font-style: italic;
    padding: 80px 20px;
    font-size: 1.1rem;
}

/* ==========================================================================
   FEATURES
   ========================================================================== */
.wit-features {
    background: transparent;
}

.wit-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.wit-feature {
    text-align: center;
    padding: 40px 32px;
    background: var(--black-card);
    border: 1px solid var(--gray-800);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}
.wit-feature:hover {
    border-color: rgba(212,168,83,0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}

.wit-feature__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: var(--gold-glow);
    border-radius: 50%;
    color: var(--gold);
    margin-bottom: 24px;
    transition: all var(--transition);
}
.wit-feature:hover .wit-feature__icon {
    background: var(--gold);
    color: var(--black);
    transform: scale(1.1);
}
.wit-feature__icon--text {
    font-size: 32px;
    font-weight: 700;
    font-family: var(--font-body);
}

.wit-feature__title {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
}
.wit-feature__text { color: var(--gray-400); font-size: 0.9rem; }

/* ==========================================================================
   PRODUCT DETAIL
   ========================================================================== */
.wit-product-detail { padding: 120px 0 60px; }
.wit-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 32px; font-size: 0.85rem; color: var(--gray-500); }
.wit-breadcrumb__link { color: var(--gray-400); text-decoration: none; transition: color 0.3s; }
.wit-breadcrumb__link:hover { color: var(--gold); }
.wit-breadcrumb__sep { color: var(--gray-600); }
.wit-breadcrumb__sep::before { content: '→'; }
.wit-breadcrumb__current { color: var(--gray-300); }

.wit-product-detail__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.wit-product-detail__gallery { position: sticky; top: 100px; }
.wit-product-detail__main-img {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--gray-900);
    margin-bottom: 16px;
    max-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wit-product-detail__main-img img { max-width: 100%; max-height: 700px; object-fit: contain; display: block; margin: 0 auto; }

/* Gallery arrows */
.wit-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    backdrop-filter: blur(4px);
}
.wit-gallery-arrow:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.wit-gallery-arrow--prev { left: 12px; }
.wit-gallery-arrow--next { right: 12px; }

.wit-product-detail__thumbs { display: flex; gap: 8px; }
.wit-thumb {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid var(--gray-700);
    background: var(--gray-900);
    cursor: pointer;
    padding: 0;
    transition: border-color 0.3s;
}
.wit-thumb img { width: 100%; height: 100%; object-fit: cover; }
.wit-thumb.active, .wit-thumb:hover { border-color: var(--gold); }

.wit-product-detail__title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 16px;
    line-height: 1.3;
}

.wit-product-detail__prices { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.wit-product-detail__price { font-size: 1.8rem; font-weight: 700; color: var(--gold); }
.wit-product-detail__old-price { font-size: 1.1rem; color: var(--gray-500); text-decoration: line-through; }
.wit-product-detail__discount { font-size: 0.85rem; font-weight: 700; color: #ef4444; background: rgba(239,68,68,0.1); padding: 4px 10px; border-radius: var(--radius-sm); }

.wit-product-detail__excerpt { color: var(--gray-400); margin-bottom: 24px; line-height: 1.7; }

.wit-product-detail__specs { margin-bottom: 24px; }
.wit-product-detail__specs h3 { font-size: 1rem; font-weight: 600; margin-bottom: 12px; color: var(--white); }
.wit-specs-list { display: flex; flex-direction: column; gap: 8px; }
.wit-spec { display: flex; justify-content: space-between; padding: 10px 16px; background: var(--gray-800); border-radius: var(--radius-md); font-size: 0.9rem; }
.wit-spec__key { color: var(--gray-400); }
.wit-spec__val { color: var(--white); font-weight: 600; }

.wit-product-detail__buy { margin-top: 24px; }
.wit-product-detail__buy > div { display: flex; align-items: center; gap: 12px; flex-wrap: nowrap; }
.wit-product-detail__buy .wit-buy-dropdown { flex-shrink: 0; }
.wit-product-detail__buy .wit-buy-toggle { padding: 12px 20px; font-size: 0.9rem; }
.wit-product-detail__buy .wit-add-to-cart { flex-shrink: 0; margin-top: 0; padding: 12px 20px; font-size: 0.9rem; }
.wit-product-detail__buy-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.wit-product-detail__note { font-size: 0.8rem; color: var(--gray-500); margin-top: 10px; width: 100%; }
@media (max-width: 600px) {
    .wit-product-detail__buy > div { flex-wrap: wrap; }
    .wit-product-detail__buy .wit-buy-toggle,
    .wit-product-detail__buy .wit-add-to-cart { width: 100%; justify-content: center; }
}

/* Buy dropdown */
.wit-buy-dropdown { position: relative; }
.wit-buy-toggle { display: inline-flex; align-items: center; gap: 6px; }
.wit-buy-toggle svg { transition: transform 0.3s; }
.wit-buy-dropdown.open .wit-buy-toggle svg { transform: rotate(180deg); }
.wit-buy-dropdown__list {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: var(--black-card);
    border: 1px solid var(--gray-700);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 32px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s;
    z-index: 100;
    overflow: hidden;
}
.wit-buy-dropdown.open .wit-buy-dropdown__list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
/* Product card: dropdown shows inline (no overflow clipping) */
.wit-product .wit-buy-dropdown { position: static; flex-shrink: 0; }
.wit-product .wit-buy-dropdown__list {
    display: none;
    position: static;
    transform: none;
    box-shadow: none;
    border: 1px solid var(--gray-700);
    margin-top: 8px;
    min-width: 0;
    width: 100%;
    opacity: 1;
    visibility: visible;
}
.wit-product .wit-buy-dropdown.open .wit-buy-dropdown__list {
    display: flex;
    flex-direction: column;
}
.wit-product .wit-buy-dropdown .wit-buy-toggle { width: 100%; justify-content: center; }
.wit-product .wit-product__actions .wit-add-to-cart { flex-shrink: 0; }
.wit-buy-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    color: var(--white);
    text-decoration: none;
    transition: background 0.2s;
    font-size: 0.95rem;
    font-weight: 500;
}
.wit-buy-option:hover { background: rgba(212,168,83,0.1); }
.wit-buy-option svg { color: var(--gray-500); }
.wit-buy-option:hover svg { color: var(--gold); }

.wit-product-detail__content { margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--gray-800); }
.wit-product-detail__content h2 { font-size: 1.3rem; margin-bottom: 16px; }
.wit-entry-content { color: var(--gray-400); line-height: 1.8; }

/* ==========================================================================
   CART
   ========================================================================== */
/* Header icon links */
.wit-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
}
.wit-header-icon:hover { color: var(--gold); }
.wit-header-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--gold);
    color: var(--black);
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
}
.wit-header-badge:not(:empty) { display: flex; }

.wit-cart-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--gray-400);
    transition: color 0.3s;
}
.wit-cart-icon:hover { color: var(--gold); }
.wit-cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--gold);
    color: var(--black);
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wit-cart-page { padding: 120px 0 60px; }
.wit-cart-empty, .wit-cart-success {
    text-align: center;
    padding: 60px 20px;
}
.wit-cart-empty svg, .wit-cart-success svg { margin-bottom: 16px; color: var(--gray-600); }
.wit-cart-empty h2, .wit-cart-success h2 { margin-bottom: 8px; }
.wit-cart-empty p, .wit-cart-success p { color: var(--gray-400); margin-bottom: 24px; }

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

.wit-cart-layout { transition: opacity 0.2s ease; }
.wit-cart-items { display: flex; flex-direction: column; gap: 12px; }
.wit-cart-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--black-card);
    border: 1px solid var(--gray-800);
    border-radius: var(--radius-lg);
}
.wit-cart-item__img { width: 72px; height: 72px; border-radius: var(--radius-md); overflow: hidden; flex-shrink: 0; background: var(--gray-900); }
.wit-cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.wit-cart-item__info { flex: 1; }
.wit-cart-item__info h3 { font-size: 0.95rem; margin-bottom: 4px; }
.wit-cart-item__info h3 a { color: var(--white); text-decoration: none; }
.wit-cart-item__info h3 a:hover { color: var(--gold); }
.wit-cart-item__price { font-size: 0.85rem; color: var(--gray-500); }
.wit-cart-item__qty { display: flex; align-items: center; gap: 8px; }
.wit-qty-btn {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-md);
    background: var(--gray-800);
    border: 1px solid var(--gray-700);
    color: var(--white);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.wit-qty-btn:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.wit-qty-val { font-weight: 600; min-width: 24px; text-align: center; }
.wit-cart-item__total { font-weight: 700; color: var(--gold); min-width: 80px; text-align: right; }
.wit-cart-item__remove { background: none; border: none; color: var(--gray-600); cursor: pointer; padding: 4px; transition: color 0.3s; }
.wit-cart-item__remove:hover { color: #ef4444; }

.wit-cart-order {
    padding: 24px;
    background: var(--black-card);
    border: 1px solid var(--gray-800);
    border-radius: var(--radius-lg);
    position: sticky;
    top: 100px;
}
.wit-cart-order h3 { margin-bottom: 12px; }
.wit-cart-order__type { font-size: 0.9rem; color: var(--gold); font-weight: 600; }
.wit-cart-order__address { font-size: 0.85rem; color: var(--gray-400); margin-bottom: 16px; }
.wit-cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-top: 1px solid var(--gray-700);
    border-bottom: 1px solid var(--gray-700);
    margin-bottom: 20px;
    font-size: 1.1rem;
}
.wit-cart-total__val { font-size: 1.3rem; font-weight: 700; color: var(--gold); }

.wit-product__actions { display: flex; gap: 8px; align-items: flex-start; justify-content: center; }

@media (max-width: 768px) {
    .wit-cart-layout { grid-template-columns: 1fr; }
    .wit-cart-item { flex-wrap: wrap; }
    .wit-cart-item__total { width: 100%; text-align: left; }
}

@media (max-width: 768px) {
    .wit-product-detail__layout { grid-template-columns: 1fr; gap: 24px; }
    .wit-product-detail__gallery { position: static; }
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.wit-testimonials {
    background: transparent;
}

.wit-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.wit-testimonial {
    background: var(--black-card);
    border: 1px solid var(--gray-800);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
}
.wit-testimonial:hover {
    border-color: rgba(212,168,83,0.2);
}

.wit-testimonial__stars {
    color: var(--gold);
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.wit-testimonial__text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--gray-300);
    margin-bottom: 24px;
    font-style: italic;
}

.wit-testimonial__author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.wit-testimonial__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}
.wit-testimonial__name { font-weight: 600; color: var(--white); font-size: 0.9rem; }
.wit-testimonial__date { color: var(--gray-600); font-size: 0.8rem; }

/* ==========================================================================
   CTA
   ========================================================================== */
.wit-cta {
    padding: 100px 0;
}

.wit-cta-box {
    text-align: center;
    padding: 80px 40px;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(212,168,83,0.12) 0%, transparent 60%),
        var(--black-card);
    border: 1px solid rgba(212,168,83,0.15);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}
.wit-cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.wit-cta-box__title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 16px;
}
.wit-cta-box__text {
    color: var(--gray-400);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto 32px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.wit-footer {
    border-top: 1px solid var(--gray-800);
}

.wit-footer__top {
    padding: 80px 0 60px;
}

.wit-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
}

.wit-footer__desc {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin: 20px 0 24px;
    line-height: 1.7;
}

.wit-footer__socials {
    display: flex;
    gap: 12px;
}
.wit-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-800);
    color: var(--gray-400);
    transition: all var(--transition);
}
.wit-social:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-3px);
}

.wit-footer__title {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
    margin-bottom: 24px;
}

.wit-footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.wit-footer__links a {
    color: var(--gray-500);
    font-size: 0.9rem;
    transition: all var(--transition);
}
.wit-footer__links a:hover { color: var(--gold); padding-left: 4px; }

.wit-footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.wit-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--gray-500);
    font-size: 0.9rem;
}
.wit-contact-item svg { flex-shrink: 0; color: var(--gold); margin-top: 2px; }
.wit-contact-item a { color: var(--gray-500); }
.wit-contact-item a:hover { color: var(--gold); }

.wit-footer__bottom {
    border-top: 1px solid var(--gray-800);
    padding: 24px 0;
}
.wit-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.wit-footer__bottom p {
    color: var(--gray-600);
    font-size: 0.8rem;
}

.wit-footer__payments {
    display: flex;
    gap: 8px;
}
.wit-payment-icon {
    padding: 4px 12px;
    background: var(--gray-800);
    border-radius: var(--radius-sm);
    color: var(--gray-400);
    font-size: 0.7rem;
    font-weight: 700;
}

/* ==========================================================================
   COOKIE
   ========================================================================== */
.wit-cookie {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(212,168,83,0.15);
    padding: 16px 0;
    z-index: 900;
    transform: translateY(100%);
    transition: transform var(--transition);
}
.wit-cookie.visible { transform: translateY(0); }

.wit-cookie__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.wit-cookie__text {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}
.wit-cookie__text svg { flex-shrink: 0; color: var(--gold); }
.wit-cookie__text p { color: var(--gray-400); font-size: 0.85rem; }
.wit-cookie__text a { color: var(--gold); }

/* ==========================================================================
   SCROLL TOP
   ========================================================================== */
.wit-scroll-top {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold);
    color: var(--black);
    border-radius: 50%;
    box-shadow: var(--shadow-gold);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    z-index: 800;
}
.wit-scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.wit-scroll-top:hover { background: var(--gold-light); color: var(--black); transform: translateY(-3px); }

/* ==========================================================================
   AUTH FORMS
   ========================================================================== */
.wit-auth {
    max-width: 480px;
    margin: 120px auto 80px;
    padding: 0 24px;
    overflow: hidden;
}
.wit-auth__card {
    background: var(--black-card);
    border: 1px solid var(--gray-800);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    overflow: hidden;
}
.wit-auth__title {
    text-align: center;
    margin-bottom: 32px;
    font-size: clamp(1.8rem, 4vw, 2.5rem) !important;
    word-break: break-word;
    overflow-wrap: break-word;
}
.wit-auth__title em { font-style: italic; }

.wit-form-group { margin-bottom: 20px; }
.wit-form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-300);
}
.wit-form-input {
    width: 100%;
    padding: 14px 16px;
    background: var(--black);
    border: 1px solid var(--gray-700);
    border-radius: var(--radius-md);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all var(--transition);
}
.wit-form-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-glow);
}

.wit-form-check {
    display: flex;
    align-items: center;
    gap: 8px;
}
.wit-form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--gold);
}

.wit-captcha-box {
    border-radius: var(--radius-md);
    padding: 0;
    text-align: center;
    display: flex;
    justify-content: center;
}
.wit-captcha-box label {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 8px;
}

.wit-auth__links {
    margin-top: 24px;
    text-align: center;
}
.wit-auth__links a {
    display: block;
    margin-top: 12px;
    color: var(--gray-500);
    font-size: 0.9rem;
}
.wit-auth__links a:hover { color: var(--gold); }

.wit-auth__msg {
    padding: 14px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 0.9rem;
}
.wit-auth__msg--error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}
.wit-auth__msg--success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

/* ==========================================================================
   PAGE CONTENT
   ========================================================================== */
.wit-page-content {
    max-width: 800px;
    margin: 120px auto 80px;
    padding: 0 24px;
}
.wit-page-content h1 {
    color: var(--gold);
    margin-bottom: 32px;
    text-align: center;
}
.wit-entry-content { line-height: 1.9; color: var(--gray-300); }
.wit-entry-content p { margin-bottom: 1.4em; }
.wit-entry-content h2 { color: var(--gold); margin: 2.5em 0 1em; font-size: 1.6rem; }
.wit-entry-content h3 { color: var(--gold-light); margin: 2em 0 0.8em; }
.wit-entry-content ul, .wit-entry-content ol { padding-left: 24px; margin-bottom: 1.4em; }
.wit-entry-content li { margin-bottom: 0.5em; }
.wit-entry-content a { border-bottom: 1px solid rgba(212,168,83,0.3); }
.wit-entry-content a:hover { border-color: var(--gold); }

/* ==========================================================================
   404
   ========================================================================== */
.wit-404 {
    text-align: center;
    padding: 200px 24px 120px;
}
.wit-404__number {
    font-family: var(--font-display);
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 24px;
}
.wit-404__text { color: var(--gray-400); margin-bottom: 32px; font-size: 1.1rem; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1200px) {
    .wit-container { max-width: 100%; padding: 0 24px; }
}

@media (max-width: 1024px) {
    .wit-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 769px) and (max-width: 1100px) {
    .wit-container { padding: 0 16px; }
    .wit-products-grid { gap: 16px; }
    .wit-product__body { padding: 14px; }
    .wit-product__title { font-size: 0.88rem; }
    .wit-product__excerpt { font-size: 0.78rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .wit-product__price { font-size: 1rem; }
    .wit-product__image { min-height: 150px; }
    .wit-product__actions .wit-btn { padding: 6px 12px; font-size: 0.78rem; }
}

@media (max-width: 768px) {
    .wit-nav { display: none; }
    .wit-burger { display: flex; }
    .wit-mobile-menu { display: block; }
    .wit-hide-mobile { display: none !important; }

    .wit-hero { padding: 100px 0 60px; min-height: auto; }
    .wit-hero__stats { gap: 32px; }
    .wit-stat__number { font-size: 1.5rem; }
    .wit-hero__scroll { display: none; }

    .wit-section { padding: 80px 0; }

    .wit-products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

    .wit-features-grid { grid-template-columns: 1fr; gap: 16px; }
    .wit-feature { padding: 32px 24px; }

    .wit-testimonials-grid { grid-template-columns: 1fr; }

    .wit-footer__grid { grid-template-columns: 1fr; gap: 40px; }

    .wit-cookie__inner { flex-direction: column; text-align: center; }
    .wit-cookie__text { flex-direction: column; }

    .wit-auth__card { padding: 32px 24px; }

    .wit-catalog-layout {
        display: flex;
        flex-direction: column;
    }
    .wit-catalog-sidebar {
        width: 100%;
        position: static;
        max-height: none;
    }
    .wit-sidebar-inner {
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .wit-hero__actions { flex-direction: column; }
    .wit-hero__actions .wit-btn { width: 100%; justify-content: center; }
    .wit-products-grid { grid-template-columns: 1fr; }
    .wit-cta-box { padding: 48px 24px; }
}

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.wit-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}
.wit-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    user-select: none;
}
.wit-lightbox__close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10001;
    line-height: 1;
    padding: 8px;
    transition: color 0.2s;
}
.wit-lightbox__close:hover { color: var(--gold); }
.wit-lightbox__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: all 0.2s;
}
.wit-lightbox__arrow:hover { background: rgba(255,255,255,0.2); border-color: var(--gold); }
.wit-lightbox__arrow--prev { left: 24px; }
.wit-lightbox__arrow--next { right: 24px; }

/* ==========================================================================
   ANIMATIONS (AOS fallback)
   ========================================================================== */
[data-aos] {
    opacity: 1;
    transform: none;
}

/* Particle dots */
.wit-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0.5;
    animation: float linear infinite;
}
@keyframes float {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 0.5; }
    90% { opacity: 0.5; }
    100% { transform: translateY(-100vh) translateX(50px); opacity: 0; }
}

/* ==========================================================================
   ACCOUNT
   ========================================================================== */
.wit-account-info { display: flex; align-items: center; gap: 16px; padding: 20px; background: var(--gray-800); border-radius: var(--radius-md); margin-bottom: 24px; }
.wit-account-avatar { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 700; color: var(--black); flex-shrink: 0; }
.wit-account-details p { margin: 0 0 4px; color: var(--gray-300); font-size: 0.9rem; }
.wit-account-details p strong { color: var(--white); font-size: 1rem; }
.wit-account-phone { color: var(--gold); }
.wit-account-date { color: var(--gray-500); font-size: 0.8rem; }
.wit-account-tab-content { min-height: 200px; }
.wit-tabs .wit-tab.active { background: var(--gold); color: var(--black); }

/* Product card icon buttons */
.wit-product__icons {
    display: flex;
    gap: 8px;
    justify-content: center;
}
.wit-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--gray-700);
    color: var(--gray-400);
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}
.wit-icon-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(212, 168, 83, 0.1);
}
.wit-icon-btn.active {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(212, 168, 83, 0.15);
}
.wit-icon-btn.active svg {
    fill: var(--gold);
}
.wit-icon-btn svg {
    width: 16px;
    height: 16px;
}

/* ==========================================================================
   COMPARE / FAVORITES ACTIVE STATE
   ========================================================================== */
.wit-compare-toggle.active,
.wit-fav-toggle.active {
    background: var(--gold) !important;
    color: var(--black) !important;
    border-color: var(--gold) !important;
}
.wit-compare-btn.active svg,
.wit-fav-btn.active svg {
    fill: var(--black);
    stroke: var(--black);
}

/* Tools hidden by default, visible on card hover */
.wit-product__tools {
    display: none;
    gap: 6px;
    margin-top: 8px;
}
.wit-compare-btn, .wit-fav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 10px;
    background: var(--gray-800);
    border: 1px solid var(--gray-700);
    border-radius: var(--radius-md);
    color: var(--gray-400);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}
.wit-compare-btn:hover, .wit-fav-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}
.wit-product:hover .wit-product__tools {
    display: flex;
}
@media (max-width: 480px) {
    .wit-compare-btn, .wit-fav-btn {
        font-size: 0;
        padding: 6px;
        gap: 0;
        min-width: 32px;
    }
    .wit-compare-btn svg, .wit-fav-btn svg {
        margin: 0;
    }
}

/* ==========================================================================
   REVIEWS
   ========================================================================== */
.wit-reviews { padding: 60px 0; }
.wit-reviews__summary { margin-bottom: 32px; }
.wit-reviews__avg { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.wit-reviews__avg-num { font-size: 2.5rem; font-weight: 700; color: var(--white); }
.wit-reviews__avg-stars { display: flex; gap: 2px; }
.wit-reviews__avg-count { color: var(--gray-400); font-size: 0.9rem; }
.wit-reviews__list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.wit-reviews__empty { color: var(--gray-500); text-align: center; padding: 40px 0; }

.wit-review-card {
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: border-color 0.3s;
}
.wit-review-card:hover { border-color: var(--gray-700); }
.wit-review-card__header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.wit-review-card__avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: var(--black); font-size: 1rem; flex-shrink: 0;
}
.wit-review-card__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; flex: 1; }
.wit-review-card__name { color: var(--white); font-size: 0.95rem; }
.wit-review-card__date { color: var(--gray-500); font-size: 0.8rem; }
.wit-review-card__stars { display: flex; gap: 1px; flex-shrink: 0; }
.wit-review-card__text { color: var(--gray-300); font-size: 0.9rem; line-height: 1.6; }

.wit-review-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.wit-review-badge--site { background: rgba(212,168,83,0.15); color: var(--gold); border: 1px solid rgba(212,168,83,0.3); }
.wit-review-badge--ozon { background: #005bff20; color: #005bff; border: 1px solid #005bff40; }
.wit-review-badge--wb { background: #cb11ab20; color: #cb11ab; border: 1px solid #cb11ab40; }
.wit-review-badge--ym { background: rgba(255,204,0,0.15); color: #ffcc00; border: 1px solid rgba(255,204,0,0.4); }

/* Review tabs */
.wit-reviews__tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.wit-reviews-tab {
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    color: var(--gray-400);
    padding: 10px 20px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition);
}
.wit-reviews-tab:hover {
    border-color: var(--gold);
    color: var(--gold);
}
.wit-reviews-tab.active {
    background: rgba(212,168,83,0.15);
    border-color: var(--gold);
    color: var(--gold);
}
.wit-reviews__loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px;
    color: var(--gray-500);
}
@keyframes wit-spin { to { transform: rotate(360deg); } }
.wit-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid var(--gray-700);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: wit-spin 0.8s linear infinite;
}

.wit-review-form {
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: var(--radius-lg);
    padding: 24px;
}
.wit-review-form h3 { margin: 0 0 16px; font-size: 1.1rem; color: var(--white); }
.wit-review-form__rating { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.wit-review-form__rating label { color: var(--gray-400); font-size: 0.9rem; }
.wit-stars-input { display: flex; gap: 4px; }
.wit-stars-input .wit-star-btn svg { transition: fill 0.2s, stroke 0.2s; }
.wit-stars-input .wit-star-btn:hover svg { fill: var(--gold); stroke: var(--gold); }
.wit-review-note { color: var(--gray-500); font-size: 0.9rem; }
.wit-link { color: var(--gold); text-decoration: none; }
.wit-link:hover { text-decoration: underline; }

/* Password toggle */
.wit-input-wrap { position: relative; }
.wit-input-wrap .wit-form-input { padding-right: 44px; }
.wit-pwd-toggle {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    background: none; border: none; cursor: pointer; padding: 4px;
    color: var(--gray-400); display: flex; align-items: center; justify-content: center;
    transition: color 0.2s;
}
.wit-pwd-toggle:hover { color: var(--gold); }

/* Phone prefix */
.wit-phone-wrap{display:flex;gap:8px;align-items:stretch}
.wit-phone-prefix{width:70px;flex-shrink:0;text-align:center;display:flex;align-items:center;justify-content:center;background:var(--gray-800);border:1px solid var(--gray-700);border-radius:var(--radius-md);color:var(--gold);font-weight:700;font-size:1rem;padding:10px 0;user-select:none}
.wit-form-input--phone{flex:1;border-radius:var(--radius-md)}

/* Modal */
.wit-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.wit-modal.open { display: flex; }
.wit-modal__content {
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: var(--radius-lg);
    padding: 32px;
    max-width: 480px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}
.wit-modal__close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: var(--gray-400);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}
.wit-modal__close:hover { color: var(--white); }

/* --- WCAG: prefers-reduced-motion ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    body { opacity: 1 !important; }
    [data-aos] { opacity: 1 !important; transform: none !important; }
}

/* --- WCAG: :focus-visible ------------------------------------------------ */
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}
.wit-btn:focus-visible,
.wit-buy-toggle:focus-visible,
.wit-add-to-cart:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px var(--gold-glow);
}

/* --- WCAG: screen-reader only ------------------------------------------- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* --- WCAG: star rating buttons ------------------------------------------ */
.wit-star-btn {
    background: none;
    border: none;
    padding: 2px;
    cursor: pointer;
    line-height: 1;
    color: var(--gray-600);
    transition: color 0.2s, transform 0.2s;
}
.wit-star-btn:hover { transform: scale(1.2); }
.wit-star-btn.active { color: var(--gold); }

/* --- WCAG: focus skip link ---------------------------------------------- */
.wit-skip-link {
    position: fixed;
    top: -100%;
    left: 16px;
    z-index: 9999;
    background: var(--gold);
    color: var(--black);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s;
}
.wit-skip-link:focus {
    top: 16px;
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* Feedback consent checkbox */
.wit-feedback__consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.4;
    cursor: pointer;
}
.wit-feedback__consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin: 2px 0 0;
    accent-color: var(--color-accent);
    cursor: pointer;
}
.wit-feedback__consent a {
    color: var(--color-accent);
    text-decoration: underline;
}
/* Search Dropdown */
.wit-header-search {
    position: relative;
}
.wit-search-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 420px;
    max-height: 70vh;
    overflow-y: auto;
    background: var(--white, #fff);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
    margin-top: 8px;
}
.wit-search-dropdown.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.wit-search-dropdown__inner {
    padding: 8px 0;
}
.wit-search-dropdown__section {
    padding: 0;
}
.wit-search-dropdown__label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999;
    padding: 8px 16px 4px;
}
.wit-search-dropdown__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
}
.wit-search-dropdown__item:hover {
    background: #f8f6f3;
}
.wit-search-dropdown__img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}
.wit-search-dropdown__info {
    flex: 1;
    min-width: 0;
}
.wit-search-dropdown__title {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wit-search-dropdown__cat-name {
    font-size: 12px;
    color: #999;
}
.wit-search-dropdown__excerpt {
    font-size: 12px;
    color: #777;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wit-search-dropdown__price {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold, #d4a853);
    white-space: nowrap;
}
.wit-search-dropdown__cat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
}
.wit-search-dropdown__cat:hover {
    background: #f8f6f3;
}
.wit-search-dropdown__cat .wit-search-dropdown__cat-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}
.wit-search-dropdown__cat-count {
    font-size: 12px;
    color: #999;
}
.wit-search-dropdown__footer {
    border-top: 1px solid #eee;
    padding: 10px 16px;
    text-align: center;
}
.wit-search-dropdown__all {
    font-size: 13px;
    font-weight: 600;
    color: var(--gold, #d4a853);
    text-decoration: none;
}
.wit-search-dropdown__all:hover {
    text-decoration: underline;
}
.wit-search-dropdown__empty {
    padding: 24px 16px;
    text-align: center;
    color: #999;
    font-size: 14px;
}
@media (max-width: 480px) {
    .wit-search-dropdown {
        width: calc(100vw - 32px);
        right: -8px;
    }
}

/* Mobile header fix */
@media (max-width: 768px) {
    .wit-header__inner {
        gap: 12px;
    }
    .wit-header__actions {
        gap: 6px;
    }
    .wit-header-icon svg,
    .wit-cart-icon svg,
    .wit-search-toggle svg {
        width: 18px;
        height: 18px;
    }
    .wit-burger {
        width: 36px;
        height: 36px;
        padding: 6px;
    }
}

/* ==========================================================================
   MOBILE CATALOG FILTER — compact horizontal bar
   ========================================================================== */
.wit-mobile-select {
    display: none;
}
@media (max-width: 768px) {
    .wit-catalog-sidebar {
        width: 100% !important;
        position: relative !important;
        top: auto !important;
        max-height: none !important;
        overflow: visible !important;
        margin-bottom: 16px;
    }
    .wit-sidebar-inner {
        flex-direction: row !important;
        flex-wrap: wrap;
        gap: 8px !important;
        padding: 12px !important;
        align-items: center;
    }
    .wit-sidebar-section {
        width: 100%;
    }
    .wit-sidebar-title {
        display: none !important;
    }
    .wit-catalog-filters--sidebar,
    .wit-catalog-sort--sidebar {
        display: none !important;
    }
    .wit-mobile-select {
        display: block;
        width: 100%;
        padding: 12px 40px 12px 16px;
        font-size: 0.85rem;
        font-weight: 600;
        font-family: var(--font-body);
        color: var(--white);
        background: linear-gradient(135deg, rgba(30,30,30,0.95), rgba(40,40,40,0.95));
        border: 1px solid var(--gray-600);
        border-left: 3px solid var(--gold);
        border-radius: 12px;
        appearance: none;
        -webkit-appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' fill='none'%3E%3Cpath d='M1 1.5l6 5 6-5' stroke='%23d4a853' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 14px center;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    }
    .wit-mobile-select:hover {
        border-color: var(--gold);
        box-shadow: 0 4px 16px rgba(212,168,83,0.2);
    }
    .wit-mobile-select:focus {
        outline: none;
        border-color: var(--gold);
        border-left-color: var(--gold);
        box-shadow: 0 4px 20px rgba(212,168,83,0.3);
    }
    .wit-mobile-select option {
        background: var(--gray-800);
        color: var(--white);
        padding: 10px;
    }
    .wit-catalog-layout {
        gap: 0 !important;
    }
}
@media (max-width: 480px) {
    .wit-sidebar-inner {
        padding: 8px !important;
        gap: 6px !important;
    }
    .wit-mobile-select {
        padding: 10px 36px 10px 14px;
        font-size: 0.8rem;
        border-radius: 10px;
    }
}

/* Language Switcher */
.wit-lang-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.wit-lang-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
}
.wit-lang-btn:hover {
    border-color: var(--gold, #d4a853);
    color: var(--gold, #d4a853);
}
.wit-lang-code {
    font-weight: 600;
}
.wit-lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    overflow: hidden;
    z-index: 1000;
    min-width: 60px;
}
.wit-lang-option {
    display: block;
    width: 100%;
    padding: 8px 14px;
    background: none;
    border: none;
    color: #ccc;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
}
.wit-lang-option:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
}
.wit-lang-option.active {
    color: var(--gold, #d4a853);
    background: rgba(212,168,83,0.1);
}
@media (max-width: 768px) {
    .wit-lang-switcher {
        display: none;
    }
}
