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

:root {
    --green: #2d8a4e;
    --green-dark: #236d3d;
    --green-light: #e8f5ec;
    --green-accent: #4ade80;
    --red: #e53e3e;
    --yellow: #f59e0b;
    --purple: #8b5cf6;
    --pink: #ec4899;
    --blue: #0ea5e9;
    --dark: #1a1a1a;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 12px 40px rgba(0,0,0,0.16);
    --transition: all 0.3s ease;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.5;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }

/* ===== SVG Icons ===== */
.icon, .icon-sm { display: inline-block; vertical-align: middle; }
.icon { width: 20px; height: 20px; }
.icon-sm { width: 14px; height: 14px; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.75rem 1.5rem; border-radius: var(--radius-md); font-size: 0.875rem;
    font-weight: 600; text-decoration: none; border: none; cursor: pointer;
    transition: var(--transition); white-space: nowrap;
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); }
.btn-outline { background: transparent; color: var(--gray-300); border: 1px solid var(--gray-600); }
.btn-outline:hover { background: var(--gray-700); color: var(--white); }
.btn-outline-dark { background: transparent; color: var(--gray-700); border: 1px solid var(--gray-300); }
.btn-outline-dark:hover { border-color: var(--green); color: var(--green); }
.btn-details {
    flex: 1; background: var(--green); color: var(--white); padding: 0.625rem 1rem;
    font-weight: 500; font-size: 0.8125rem;
}
.btn-details:hover { background: var(--green-dark); }
.btn-icon-cart {
    width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
    background: var(--gray-100); border: 1px solid var(--gray-200); border-radius: var(--radius-md);
    color: var(--gray-600); cursor: pointer; transition: var(--transition); flex-shrink: 0;
}
.btn-icon-cart svg { width: 18px; height: 18px; }
.btn-icon-cart:hover { background: var(--green); border-color: var(--green); color: var(--white); }

/* ===== TOP BAR ===== */
.top-bar { background: var(--dark); color: var(--gray-400); font-size: 0.875rem; transition: var(--transition); overflow: hidden; }
.top-bar.hidden-bar { max-height: 0; opacity: 0; padding: 0; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; padding-top: 0.5rem; padding-bottom: 0.5rem; }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 0.75rem; }

.top-phone-group { display: flex; align-items: center; gap: 0.75rem; }
.top-phone-main {
    color: var(--white); text-decoration: none; display: flex; align-items: center; gap: 0.375rem;
    font-size: 1.125rem; font-weight: 700; transition: color 0.2s;
}
.top-phone-main:hover { color: var(--green-accent); }
.top-phone-main svg { width: 18px; height: 18px; }
.top-phone-sec { color: var(--gray-400); text-decoration: none; font-size: 0.875rem; transition: color 0.2s; }
.top-phone-sec:hover { color: var(--green-accent); }

.top-hours, .top-address {
    display: flex; align-items: center; gap: 0.375rem;
    color: var(--gray-400); font-size: 0.875rem;
}
.top-hours svg, .top-address svg { width: 14px; height: 14px; }

.top-link { color: var(--gray-400); text-decoration: none; transition: color 0.2s; }
.top-link:hover { color: var(--green-accent); }

.divider { color: var(--gray-600); }

/* ===== SECONDARY NAV ===== */
.secondary-nav { background: var(--white); border-bottom: 1px solid var(--gray-100); transition: var(--transition); overflow: hidden; }
.secondary-nav.hidden-bar { max-height: 0; opacity: 0; }
.secondary-inner { display: flex; justify-content: space-between; align-items: center; padding-top: 0.375rem; padding-bottom: 0.375rem; }
.secondary-links { display: flex; gap: 1.5rem; }

.sec-link { color: var(--gray-600); text-decoration: none; font-size: 0.9375rem; font-weight: 500; transition: color 0.2s; }
.sec-link:hover { color: var(--green); }

.btn-juridical {
    display: inline-flex; align-items: center; gap: 0.375rem;
    background: var(--green-light); color: var(--green);
    border: 1px solid var(--green); padding: 0.375rem 0.875rem;
    border-radius: var(--radius-md); font-size: 0.875rem; font-weight: 600;
    text-decoration: none; cursor: pointer; transition: var(--transition);
}
.btn-juridical:hover { background: var(--green); color: var(--white); }

/* ===== MAIN HEADER ===== */
.main-header { background: var(--white); position: sticky; top: 0; z-index: 100; transition: var(--transition); }
.main-header.scrolled { box-shadow: var(--shadow-lg); }

.header-inner { display: flex; align-items: center; gap: 1.25rem; padding-top: 0.875rem; padding-bottom: 0.875rem; }

.mobile-menu-btn { display: none; background: none; border: none; padding: 0.5rem; cursor: pointer; color: var(--gray-700); border-radius: var(--radius-sm); flex-shrink: 0; }
.mobile-menu-btn:hover { background: var(--gray-100); }
.mobile-menu-btn svg { width: 24px; height: 24px; }

/* Logo */
.logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo img { height: 70px; width: auto; }

/* ===== CATALOG DROPDOWN ===== */
.catalog-dropdown { position: relative; flex-shrink: 0; }
.catalog-btn {
    display: flex; align-items: center; gap: 0.5rem; background: var(--green); color: var(--white);
    border: none; padding: 0.75rem 1.5rem; border-radius: var(--radius-md);
    font-size: 1rem; font-weight: 600; cursor: pointer; transition: background 0.2s; white-space: nowrap;
}
.catalog-btn:hover { background: var(--green-dark); }
.catalog-btn .chevron { transition: transform 0.2s; width: 18px; height: 18px; }
.catalog-btn.active .chevron { transform: rotate(180deg); }

.catalog-menu {
    position: absolute; top: calc(100% + 0.5rem); left: 0;
    width: 900px; background: var(--white); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl); border: 1px solid var(--gray-100);
    padding: 1.5rem; opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: var(--transition); z-index: 50;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.catalog-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }

.catalog-col-title {
    font-size: 0.9375rem; font-weight: 700; color: var(--gray-900);
    text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 0.75rem;
    padding-bottom: 0.5rem; border-bottom: 2px solid var(--green-light);
}
.catalog-menu a {
    display: block; padding: 0.5rem 0.5rem; margin-left: -0.5rem; color: var(--gray-600); text-decoration: none;
    font-size: 0.9375rem; transition: var(--transition); line-height: 1.4;
    border-left: 2px solid transparent;
}
.catalog-menu a:hover { color: var(--green); border-left-color: var(--green); }
.catalog-special { color: var(--green) !important; font-weight: 600; }
.catalog-special:hover { color: var(--green-dark) !important; }

/* Search */
.search-box { flex: 1; min-width: 200px; position: relative; }
.search-input {
    width: 100%; padding: 0.75rem 3rem 0.75rem 1.25rem; border: 1px solid var(--gray-200);
    border-radius: var(--radius-md); font-size: 0.9375rem; font-family: inherit; outline: none;
    transition: var(--transition);
}
.search-input:focus { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-light); }
.search-btn {
    position: absolute; right: 0.5rem; top: 50%; transform: translateY(-50%);
    background: none; border: none; padding: 0.5rem; color: var(--gray-400);
    cursor: pointer; border-radius: var(--radius-sm); transition: color 0.2s;
}
.search-btn:hover { color: var(--green); }

/* Header Actions - right aligned */
.header-actions {
    display: flex; align-items: center; gap: 0.25rem; flex-shrink: 0; margin-left: auto;
}

.action-btn {
    display: flex; align-items: center; gap: 0.375rem; background: none; border: none;
    padding: 0.5rem 0.75rem; color: var(--gray-600); cursor: pointer;
    border-radius: var(--radius-sm); transition: var(--transition); position: relative;
}
.action-btn:hover { color: var(--green); background: var(--green-light); }
.action-label { font-size: 0.875rem; font-weight: 500; }

.mobile-expandable-search { display: none; }

.action-btn.search-toggle-btn {
    display: none;
}

.cart-badge {
    position: absolute; top: 0; right: 0; min-width: 18px; height: 18px;
    background: var(--red); color: var(--white); font-size: 0.625rem;
    font-weight: 700; border-radius: 50%; display: flex; align-items: center;
    justify-content: center; padding: 0 4px;
}

/* ===== MOBILE MENU ===== */
.mobile-menu { display: none; background: var(--white); border-top: 1px solid var(--gray-100); padding: 1rem; }
.mobile-menu.open { display: block; }
.mobile-menu-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; }
.mobile-search { display: flex; position: relative; margin-bottom: 1rem; }
.mobile-section-title { font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-400); margin: 0 0 0.5rem; }
.mobile-catalog a, .mobile-nav a {
    display: block; padding: 0.5rem 0; color: var(--gray-700);
    text-decoration: none; font-size: 0.8125rem; transition: var(--transition);
    border-bottom: 1px solid var(--gray-50);
}
.mobile-catalog a:hover, .mobile-nav a:hover { color: var(--green); }
.mobile-catalog a:last-child, .mobile-nav a:last-child { border-bottom: none; }

/* Mobile contacts */
.mobile-contacts { grid-column: 1 / -1; border-top: 1px solid var(--gray-100); padding-top: 1rem; margin-top: 0.5rem; }
.mobile-contacts p { font-size: 0.8125rem; color: var(--gray-600); margin-bottom: 0.375rem; display: flex; align-items: center; gap: 0.5rem; }
.mobile-contacts p svg { width: 14px; height: 14px; color: var(--green); flex-shrink: 0; }
.mobile-contacts a { color: var(--gray-700); text-decoration: none; font-weight: 600; }
.mobile-contacts a:hover { color: var(--green); }

/* ===== HERO SLIDER ===== */
.hero-slider { position: relative; width: 100%; height: 500px; overflow: hidden; background: var(--gray-900); }
.slider-container { position: relative; width: 100%; height: 100%; }

.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.7s ease; }
.slide.active { opacity: 1; }
.slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, transparent 100%); }

.slide-content {
    position: relative; z-index: 2; max-width: 600px; padding: 4rem 1rem 0;
    margin: 0 auto; height: 100%; display: flex; flex-direction: column;
    justify-content: center; animation: fadeSlideIn 0.5s ease forwards;
}
@keyframes fadeSlideIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }

.slide-badge {
    display: inline-block; width: fit-content; background: var(--green); color: var(--white);
    padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 0.6875rem;
    font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem;
}
.slide-title { font-size: 2.75rem; font-weight: 800; color: var(--white); line-height: 1.15; margin-bottom: 1rem; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.slide-desc { font-size: 1rem; color: rgba(255,255,255,0.85); margin-bottom: 1.25rem; line-height: 1.6; text-shadow: 0 1px 4px rgba(0,0,0,0.3); }
.slide-price { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.price-current { font-size: 1.75rem; font-weight: 800; color: var(--white); text-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.price-old { font-size: 1.125rem; color: var(--gray-400); text-decoration: line-through; }

.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; width: 48px; height: 48px; background: rgba(255,255,255,0.2); backdrop-filter: blur(8px); border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); cursor: pointer; transition: var(--transition); }
.slider-arrow:hover { background: rgba(255,255,255,0.35); }
.slider-arrow svg { width: 24px; height: 24px; }
.slider-prev { left: 1rem; }
.slider-next { right: 1rem; }

.slider-dots { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: 0.5rem; }
.dot { width: 10px; height: 10px; border-radius: 9999px; background: rgba(255,255,255,0.4); border: none; cursor: pointer; transition: var(--transition); }
.dot.active { background: var(--green); width: 28px; }

/* ===== CATEGORIES ===== */
.categories { padding: 3rem 0; }

.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.section-title-wrap { display: flex; align-items: center; gap: 0.75rem; }
.section-icon { width: 40px; height: 40px; background: var(--green); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: var(--white); flex-shrink: 0; }
.section-icon svg { width: 20px; height: 20px; }
.section-title { font-size: 1.5rem; font-weight: 700; }
.link-all { color: var(--green); text-decoration: none; font-size: 0.9375rem; font-weight: 600; display: flex; align-items: center; gap: 0.25rem; transition: color 0.2s; }
.link-all:hover { color: var(--green-dark); }

.categories-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.75rem; }

.cat-card {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    justify-content: flex-start;
    padding: 1.5rem 0.75rem; border: 2px solid var(--gray-100); border-radius: var(--radius-xl);
    background: var(--white); text-decoration: none; transition: var(--transition);
    min-height: 170px;
}
.cat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(45,138,78,0.12);
    border-color: var(--green);
}
.cat-card:hover span { color: var(--green); }

.cat-img-wrap {
    width: 90px; height: 90px; min-height: 90px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 0.75rem;
}
.cat-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.35s ease;
}
.cat-card:hover .cat-img-wrap img {
    transform: scale(1.08);
    filter: drop-shadow(0 0 8px rgba(45, 138, 78, 0.4));
}

.cat-card span { font-size: 0.9375rem; font-weight: 600; color: var(--gray-800); line-height: 1.3; transition: color 0.2s; }

/* ===== PRODUCT SLIDER ===== */
.products-section { padding: 2.5rem 0; }
.products-bg { background: var(--gray-50); }

.slider-nav { display: flex; gap: 0.5rem; }
.nav-btn {
    width: 40px; height: 40px; border: 1px solid var(--gray-300); border-radius: 50%;
    background: var(--white); color: var(--gray-700); cursor: pointer;
    transition: var(--transition); display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.nav-btn:hover { background: var(--green); color: var(--white); border-color: var(--green); }
.nav-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.nav-btn svg { pointer-events: none; }

/* Center images in catalog grid */
.catalog-grid .product-img { text-align: center; display: block; }
.catalog-grid .product-img img { display: inline-block; margin: 0 auto; max-width: 90%; max-height: 90%; object-fit: contain; vertical-align: middle; position: relative; top: 50%; transform: translateY(-50%); }

.products-slider { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 0.75rem; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; }
.products-slider::-webkit-scrollbar { display: none; }

/* ===== PRODUCT CARD ===== */
.product-card { flex: 0 0 280px; background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-xl); overflow: hidden; transition: var(--transition); }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }

.product-img { position: relative; height: 200px; background: var(--gray-50); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.product-img img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Multiple badges */
.badge-group { position: absolute; top: 0.75rem; left: 0.75rem; display: flex; flex-direction: column; gap: 0.25rem; z-index: 2; }
.badge-group .badge { position: static; }

.badge { display: inline-flex; align-items: center; justify-content: center; padding: 0.25rem 0.625rem; border-radius: var(--radius-md); font-size: 0.6875rem; font-weight: 700; color: var(--white); z-index: 2; line-height: 1; height: 22px; }
.badge-hit { background: var(--red); }
.badge-sale { background: var(--yellow); }
.badge-new { background: var(--green); }
.badge-discount { background: var(--purple); }
.badge-season { background: var(--blue); }
.badge-top { background: var(--red); }

.wishlist-btn {
    position: absolute; top: 0.75rem; right: 0.75rem; width: 40px; height: 40px;
    background: var(--white); border: none; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; color: var(--gray-400);
    cursor: pointer; box-shadow: var(--shadow-sm); transition: var(--transition); z-index: 2;
}
.wishlist-btn svg { width: 22px; height: 22px; }
.wishlist-btn:hover { color: var(--red); background: rgba(229,62,62,0.08); }
.wishlist-btn.active { color: var(--red); }

.product-info { padding: 1rem; }

.product-name { font-size: 1rem; font-weight: 600; color: var(--gray-900); line-height: 1.4; margin-bottom: 0.375rem; height: 2.8rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.product-price { display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 0.25rem; }
.product-price .current { font-size: 1.125rem; font-weight: 800; color: var(--gray-900); }
.product-price .old { font-size: 0.8125rem; color: var(--gray-400); text-decoration: line-through; }

/* Stock status */
.product-stock { font-size: 0.8125rem; font-weight: 500; height: 1.25rem; display: flex; align-items: center; margin-bottom: 0.5rem; }
.product-stock.in-stock { color: var(--green); }
.product-stock:empty { opacity: 0; }

.product-info { padding: 1rem; display: flex; flex-direction: column; }
.product-actions { display: flex; gap: 0.5rem; align-items: center; margin-top: auto; }

/* ===== ADVANTAGES ===== */
.advantages { padding: 3rem 0; background: var(--white); }

.section-title-center { text-align: center; font-size: 1.75rem; font-weight: 700; margin-bottom: 2.5rem; }
.text-green { color: var(--green); }
.text-red { color: var(--red); }

.advantages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

.adv-card {
    display: flex; align-items: flex-start; gap: 1.25rem;
    padding: 1.5rem; border: 1px solid var(--gray-100); border-radius: var(--radius-xl);
    transition: var(--transition);
}
.adv-card:hover { border-color: rgba(45,138,78,0.2); background: #f0f9f2; }
.adv-card:hover .adv-icon { background: var(--green); color: var(--white); }

.adv-icon {
    width: 64px; height: 64px; min-width: 64px; background: var(--green-light);
    border-radius: var(--radius-md); display: flex; align-items: center;
    justify-content: center; color: var(--green); transition: var(--transition);
}
.adv-icon svg { width: 32px; height: 32px; }

.adv-text { flex: 1; }
.adv-text h3 { font-size: 1.125rem; font-weight: 700; color: var(--gray-900); margin-bottom: 0.375rem; }
.adv-text p { font-size: 0.9375rem; color: var(--gray-500); line-height: 1.5; }

/* ===== CREDIT BANNER ===== */
.credit-banner { padding: 2.5rem 0; }

.credit-inner {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, var(--dark) 0%, #2d2d2d 100%);
    border-radius: var(--radius-xl); display: flex;
    align-items: center; justify-content: space-between;
    padding: 3rem; gap: 2rem; min-height: 380px;
}

.credit-bg-img {
    position: absolute; inset: 0; z-index: 0; opacity: 0.15;
    background: url('images/hero2.jpg') center/cover no-repeat;
}

.credit-glow {
    position: absolute; top: -50%; right: -10%; width: 400px; height: 400px;
    background: rgba(45,138,78,0.08); border-radius: 50%; pointer-events: none; z-index: 1;
}

.credit-content { position: relative; z-index: 2; flex: 1; }

.credit-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--green); color: var(--white); padding: 0.375rem 0.875rem;
    border-radius: 9999px; font-size: 0.8125rem; font-weight: 500; margin-bottom: 1rem;
}
.credit-badge svg { width: 16px; height: 16px; }

.credit-content h2 { font-size: 2.25rem; font-weight: 800; color: var(--white); line-height: 1.2; margin-bottom: 1rem; }
.text-accent { color: var(--green-accent); }

.credit-content p { color: var(--gray-400); font-size: 1rem; line-height: 1.6; margin-bottom: 1.5rem; max-width: 500px; }

.credit-buttons { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.credit-card {
    position: relative; z-index: 2; width: 340px; flex-shrink: 0;
    background: var(--white); border-radius: var(--radius-lg);
    padding: 1.25rem; box-shadow: var(--shadow-xl);
}
.credit-card h3 { font-size: 0.9375rem; font-weight: 600; color: var(--gray-900); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }

.payment-options { display: flex; flex-direction: column; gap: 0.5rem; }
.payment-option {
    display: flex; align-items: center; gap: 0.75rem; padding: 0.625rem 0.75rem;
    background: var(--gray-50); border-radius: var(--radius-md); cursor: pointer;
    font-size: 0.8125rem; color: var(--gray-700); transition: var(--transition);
}
.payment-option:hover { background: var(--green-light); }
.payment-option input[type="radio"] { width: 18px; height: 18px; accent-color: var(--green); }

.payment-banks { display: flex; align-items: center; gap: 0.5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--gray-100); font-size: 0.75rem; color: var(--gray-500); }
.bank-tag { background: var(--gray-100); padding: 0.25rem 0.5rem; border-radius: var(--radius-sm); font-size: 0.6875rem; font-weight: 600; color: var(--gray-600); }

/* ===== ABOUT STORE ===== */
.about-store { padding: 3rem 0; background: var(--gray-50); }

.about-inner { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-xl); overflow: hidden; display: flex; }
.about-content { flex: 1; padding: 2.5rem; }

.about-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--green-light); color: var(--green);
    padding: 0.5rem 1rem; border-radius: 9999px;
    font-size: 0.9375rem; font-weight: 500; margin-bottom: 1.25rem;
}
.about-badge svg { width: 18px; height: 18px; }

.about-content h2 { font-size: 2.25rem; font-weight: 800; color: var(--gray-900); line-height: 1.3; margin-bottom: 1.25rem; }
.about-content > p { color: var(--gray-700); font-size: 1.0625rem; line-height: 1.7; margin-bottom: 2rem; }

.about-contacts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-bottom: 2rem; }

.contact-card { display: flex; align-items: flex-start; gap: 0.75rem; padding: 1.25rem; background: var(--gray-50); border-radius: var(--radius-lg); }
.contact-icon { width: 44px; height: 44px; background: var(--green-light); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: var(--green); flex-shrink: 0; }
.contact-icon svg { width: 22px; height: 22px; }
.contact-card span { font-size: 0.8125rem; color: var(--gray-500); display: block; margin-bottom: 0.25rem; }
.contact-card p, .contact-card a { font-size: 0.9375rem; font-weight: 600; color: var(--gray-900); text-decoration: none; line-height: 1.5; }
.contact-card a:hover { color: var(--green); }

.about-buttons { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.about-map { width: 440px; position: relative; background: var(--gray-100); min-height: 350px; }
.about-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-label { position: absolute; bottom: 1rem; left: 1rem; background: var(--white); border-radius: var(--radius-md); padding: 0.75rem; box-shadow: var(--shadow-lg); z-index: 2; }
.map-label strong { display: block; font-size: 0.9375rem; margin-bottom: 0.125rem; }
.map-label span { font-size: 0.8125rem; color: var(--gray-500); }

/* ===== FOOTER ===== */
footer { background: var(--dark); color: var(--gray-400); padding-top: 3rem; }

.footer-grid { display: grid; grid-template-columns: 2.5fr 1fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; }

.footer-logo img { height: 70px; width: auto; margin-bottom: 1rem; }
.footer-desc { font-size: 0.9375rem; line-height: 1.6; margin-bottom: 1rem; max-width: 320px; }

.footer-contact { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-contact a, .footer-contact span {
    display: flex; align-items: center; gap: 0.5rem; color: var(--gray-300);
    text-decoration: none; font-size: 0.875rem; transition: color 0.2s;
}
.footer-contact a:hover { color: var(--green-accent); }
.footer-contact svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; }

.footer-col h4 { color: var(--white); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; }
.footer-col a { display: block; color: var(--gray-400); text-decoration: none; font-size: 0.875rem; padding: 0.25rem 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--green-accent); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.25rem 0; }

.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; }

.footer-legal { display: flex; align-items: center; gap: 1rem; }
.footer-legal p { font-size: 0.8125rem; color: var(--gray-500); margin: 0; }

.legal-links { display: flex; align-items: center; gap: 0.5rem; }
.legal-links a { color: var(--gray-400); text-decoration: none; font-size: 0.8125rem; transition: color 0.2s; }
.legal-links a:hover { color: var(--green-accent); }
.legal-links span { color: var(--gray-600); font-size: 0.8125rem; }

.payment-methods { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: var(--gray-500); }
.method { background: rgba(255,255,255,0.06); padding: 0.25rem 0.5rem; border-radius: var(--radius-sm); font-size: 0.6875rem; font-weight: 600; color: var(--gray-400); }

.footer-artlex { margin-left: auto; }
.footer-artlex a { color: var(--gray-400); text-decoration: none; font-size: 0.75rem; transition: color 0.2s; }
.footer-artlex a:hover { color: var(--green-accent); }

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
    display: flex; align-items: center; gap: 0.375rem;
    padding: 0.875rem 0; font-size: 0.8125rem;
    color: var(--gray-500); flex-wrap: wrap;
}
.breadcrumbs a { color: var(--gray-500); text-decoration: none; transition: color 0.2s; }
.breadcrumbs a:hover { color: var(--green); }
.breadcrumbs svg { width: 14px; height: 14px; flex-shrink: 0; }
.breadcrumbs span { color: var(--gray-900); font-weight: 500; }

/* ===== CATALOG LAYOUT ===== */
.catalog-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; }

/* ===== CATALOG SIDEBAR (STICKY) ===== */
.catalog-sidebar {
    position: sticky; top: 100px; align-self: start;
    background: var(--white); border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl); padding: 1.25rem;
}

.catalog-sidebar-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.catalog-sidebar-header h3 { font-size: 1rem; font-weight: 700; }
.filter-close { display: none; width: 32px; height: 32px; background: var(--gray-100); border: none; border-radius: 50%; align-items: center; justify-content: center; cursor: pointer; color: var(--gray-600); }
.filter-close svg { width: 16px; height: 16px; }
.filter-reset { background: none; border: none; color: var(--green); font-size: 0.75rem; font-weight: 600; cursor: pointer; padding: 0; }
.filter-reset:hover { text-decoration: underline; }

.filter-block { margin-bottom: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--gray-100); }
.filter-block:last-of-type { border-bottom: none; margin-bottom: 0; }
.filter-title { font-size: 0.8125rem; font-weight: 700; color: var(--gray-900); margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.03em; }

.filter-list { display: flex; flex-direction: column; gap: 0.375rem; }
.filter-item { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; font-size: 0.875rem; color: var(--gray-600); padding: 0.25rem 0; }
.filter-item input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--green); flex-shrink: 0; }
.filter-item:hover { color: var(--gray-900); }

/* Price range */
.price-range { display: flex; gap: 0.5rem; margin-bottom: 0.75rem; }
.price-input { width: 100%; padding: 0.5rem 0.75rem; border: 1px solid var(--gray-200); border-radius: var(--radius-md); font-size: 0.8125rem; outline: none; transition: border-color 0.2s; }
.price-input:focus { border-color: var(--green); }
.price-input::placeholder { color: var(--gray-400); }
.price-slider-track { position: relative; height: 4px; background: var(--gray-200); border-radius: 2px; margin-bottom: 0.5rem; }
.price-slider-fill { position: absolute; left: 0; right: 0; top: 0; height: 100%; background: var(--green); border-radius: 2px; }
.price-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; background: transparent; outline: none; position: relative; margin-top: -8px; display: block; }
.price-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--green); cursor: pointer; border: 2px solid var(--white); box-shadow: 0 1px 4px rgba(0,0,0,0.15); }
.price-slider::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--green); cursor: pointer; border: 2px solid var(--white); box-shadow: 0 1px 4px rgba(0,0,0,0.15); }

.filter-apply { width: 100%; margin-top: 0.5rem; }

/* ===== CATALOG MAIN ===== */
.catalog-main { min-width: 0; }

.catalog-header { margin-bottom: 1rem; }
.catalog-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.25rem; }
.catalog-count { font-size: 0.875rem; color: var(--gray-500); }
.catalog-count strong { color: var(--gray-900); font-weight: 600; }

/* Sort bar */
.sort-bar { display: flex; align-items: center; justify-content: flex-end; gap: 1rem; margin-bottom: 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--gray-100); }
.filter-toggle-btn { display: none; align-items: center; gap: 0.5rem; padding: 0.5rem 0.875rem; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); font-size: 0.8125rem; font-weight: 600; color: var(--gray-700); cursor: pointer; }
.filter-toggle-btn svg { width: 16px; height: 16px; }
.sort-select-wrap { display: flex; align-items: center; gap: 0.5rem; }
.sort-select-wrap label { font-size: 0.8125rem; color: var(--gray-500); }
.sort-select { padding: 0.5rem 2rem 0.5rem 0.75rem; border: 1px solid var(--gray-200); border-radius: var(--radius-md); font-size: 0.8125rem; color: var(--gray-700); background: var(--white); cursor: pointer; outline: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.5rem center; }

/* Catalog grid */
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; }
.catalog-grid .product-card { flex: none; }

/* Pagination */
.pagination { display: flex; align-items: center; justify-content: center; gap: 0.25rem; padding: 1.5rem 0; }
.page-btn {
    min-width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    padding: 0 0.5rem; background: var(--white); border: 1px solid var(--gray-200);
    border-radius: var(--radius-md); font-size: 0.8125rem; font-weight: 600;
    color: var(--gray-600); cursor: pointer; transition: var(--transition);
}
.page-btn:hover { border-color: var(--green); color: var(--green); }
.page-btn.active { background: var(--green); color: var(--white); border-color: var(--green); }
.page-btn svg { width: 16px; height: 16px; }
.page-prev, .page-next { padding: 0 0.625rem; }
.page-dots { color: var(--gray-400); font-size: 0.8125rem; padding: 0 0.25rem; }

/* ===== FEEDBACK SECTION ===== */
.feedback-section { padding: 2.5rem 0; background: var(--gray-50); margin-top: 2rem; }
.feedback-card { max-width: 640px; margin: 0 auto; }
.feedback-content { text-align: center; margin-bottom: 1.5rem; }
.feedback-subtitle { font-size: 0.9375rem; color: var(--gray-500); }

/* Feedback form */
.feedback-form { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-xl); padding: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 0.75rem; }
.form-field { margin-bottom: 0.75rem; }
.form-field label { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--gray-700); margin-bottom: 0.375rem; }
.form-field input, .form-field textarea {
    width: 100%; padding: 0.625rem 0.875rem; border: 1px solid var(--gray-200);
    border-radius: var(--radius-md); font-size: 0.875rem; color: var(--gray-900);
    outline: none; transition: border-color 0.2s; font-family: inherit;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--green); }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--gray-400); }
.form-field textarea { resize: vertical; }
.form-policy { font-size: 0.75rem; color: var(--gray-400); text-align: center; margin-top: 0.75rem; margin-bottom: 0; }
.form-policy a { color: var(--green); text-decoration: none; }
.form-policy a:hover { text-decoration: underline; }

/* ===== PRODUCT DETAIL PAGE ===== */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-bottom: 2rem; }

/* Gallery */
.product-gallery { display: flex; flex-direction: column; gap: 0.75rem; }
.gallery-main { position: relative; background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 3; }
.gallery-slides { position: relative; width: 100%; height: 100%; }
.gallery-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s ease; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.gallery-slide.active { opacity: 1; z-index: 1; }
.gallery-slide img { max-width: 100%; max-height: 100%; object-fit: contain; }

.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; background: var(--white); border: 1px solid var(--gray-200); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow-md); color: var(--gray-700); transition: var(--transition); }
.gallery-arrow:hover { background: var(--green); color: var(--white); border-color: var(--green); }
.gallery-arrow svg { width: 20px; height: 20px; pointer-events: none; }
.gallery-prev { left: 0.75rem; }
.gallery-next { right: 0.75rem; }

.gallery-counter { position: absolute; bottom: 0.75rem; right: 0.75rem; z-index: 3; background: rgba(0,0,0,0.6); color: var(--white); padding: 0.25rem 0.625rem; border-radius: var(--radius-sm); font-size: 0.75rem; font-weight: 600; }

/* Gallery thumbs */
.gallery-thumbs { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.gallery-thumb { width: 72px; height: 72px; background: var(--white); border: 2px solid var(--gray-100); border-radius: var(--radius-md); overflow: hidden; cursor: pointer; padding: 0; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.gallery-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; padding: 0.25rem; }
.gallery-thumb.active { border-color: var(--green); box-shadow: 0 0 0 2px rgba(45,138,78,0.15); }
.gallery-thumb:hover { border-color: var(--gray-300); }

/* Product info panel */
.product-info-panel { display: flex; flex-direction: column; gap: 0.75rem; }
.product-badges-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.product-detail-name { font-size: 1.75rem; font-weight: 800; color: var(--gray-900); line-height: 1.2; margin: 0; }
.product-detail-sku { font-size: 0.8125rem; color: var(--gray-500); margin: 0; }
.product-detail-sku strong { color: var(--gray-700); font-weight: 600; }

.product-detail-price { display: flex; align-items: baseline; gap: 0.75rem; flex-wrap: wrap; margin: 0.5rem 0; }
.detail-current { font-size: 1.75rem; font-weight: 800; color: var(--gray-900); }
.detail-old { font-size: 1.0625rem; color: var(--gray-400); text-decoration: line-through; }
.detail-discount { font-size: 0.8125rem; font-weight: 600; color: var(--green); background: var(--green-light); padding: 0.25rem 0.625rem; border-radius: var(--radius-md); }

.product-detail-stock { display: flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; font-weight: 600; color: var(--green); margin-bottom: 0.25rem; }
.product-detail-stock svg { width: 18px; height: 18px; }

.product-detail-actions { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.5rem; flex-wrap: wrap; }
.quantity-control { display: flex; align-items: center; border: 1px solid var(--gray-200); border-radius: var(--radius-md); overflow: hidden; }
.qty-btn { width: 44px; height: 44px; background: var(--white); border: none; font-size: 1.25rem; color: var(--gray-600); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.qty-btn:hover { background: var(--gray-50); }
.qty-input { width: 56px; height: 44px; border: none; border-left: 1px solid var(--gray-200); border-right: 1px solid var(--gray-200); text-align: center; font-size: 0.9375rem; font-weight: 600; color: var(--gray-900); outline: none; -moz-appearance: textfield; }
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

.btn-cart-large { display: flex; align-items: center; gap: 0.5rem; padding: 0.875rem 1.75rem; font-size: 1rem; }
.btn-cart-large svg { width: 20px; height: 20px; }

.btn-wishlist { width: 48px; height: 48px; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--gray-400); transition: var(--transition); }
.btn-wishlist svg { width: 22px; height: 22px; }
.btn-wishlist:hover { color: var(--red); border-color: var(--red); background: rgba(229,62,62,0.05); }
.btn-wishlist.active { color: var(--red); border-color: var(--red); }

.btn-credit-link { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--green); font-size: 0.875rem; font-weight: 600; text-decoration: none; padding: 0.5rem 0; transition: color 0.2s; background: none; border: none; cursor: pointer; }
.btn-credit-link:hover { color: var(--green-dark); }
.btn-credit-link svg { width: 18px; height: 18px; }

.product-detail-delivery { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 0.5rem; padding-top: 1rem; border-top: 1px solid var(--gray-100); }
.delivery-item { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.8125rem; color: var(--gray-500); }
.delivery-item svg { width: 20px; height: 20px; color: var(--green); flex-shrink: 0; margin-top: 0.125rem; }
.delivery-item strong { display: block; font-weight: 600; color: var(--gray-900); }
.delivery-item span { display: block; }

/* ===== PRODUCT TABS ===== */
.product-tabs-section { margin-bottom: 2rem; }
.tabs-header { display: flex; gap: 0; border-bottom: 2px solid var(--gray-100); margin-bottom: 1.5rem; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tabs-header::-webkit-scrollbar { display: none; }
.tab-btn { padding: 0.875rem 1.25rem; background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -2px; font-size: 0.9375rem; font-weight: 600; color: var(--gray-500); cursor: pointer; white-space: nowrap; transition: var(--transition); font-family: inherit; }
.tab-btn:hover { color: var(--gray-700); }
.tab-btn.active { color: var(--green); border-bottom-color: var(--green); }

.tab-panel { display: none; animation: fadeIn 0.3s ease; }
.tab-panel.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

/* Tab description */
.tab-description h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; }
.tab-description h4 { font-size: 1rem; font-weight: 700; margin: 1.25rem 0 0.75rem; }
.tab-description p { font-size: 0.9375rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 1rem; }
.tab-description ul { list-style: none; padding: 0; }
.tab-description ul li { font-size: 0.9375rem; color: var(--gray-600); padding: 0.375rem 0 0.375rem 1.5rem; position: relative; line-height: 1.5; }
.tab-description ul li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* Specs table */
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table th { text-align: left; padding: 0.75rem 1rem; font-size: 0.8125rem; font-weight: 700; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.03em; background: var(--gray-50); border-bottom: 2px solid var(--gray-200); }
.specs-table td { padding: 0.75rem 1rem; font-size: 0.9375rem; border-bottom: 1px solid var(--gray-100); color: var(--gray-700); }
.specs-table tr:nth-child(even) td { background: var(--gray-50); }
.specs-table tr:hover td { background: var(--green-light); }
.specs-table th:first-child, .specs-table td:first-child { font-weight: 600; color: var(--gray-900); width: 40%; }

/* Reviews */
.review-card { padding: 1.25rem; border: 1px solid var(--gray-100); border-radius: var(--radius-lg); margin-bottom: 0.75rem; }
.review-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.review-avatar { width: 40px; height: 40px; background: var(--green); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.875rem; font-weight: 700; }
.review-header > div { flex: 1; }
.review-header strong { display: block; font-size: 0.875rem; color: var(--gray-900); }
.review-date { font-size: 0.75rem; color: var(--gray-400); }
.review-stars { color: var(--yellow); font-size: 0.9375rem; letter-spacing: 0.1em; }
.review-card > p { font-size: 0.875rem; color: var(--gray-600); line-height: 1.6; margin: 0; }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    background: var(--white); border-top: 1px solid var(--gray-200);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1); padding: 1rem 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}
.cookie-banner.hidden { transform: translateY(100%); opacity: 0; pointer-events: none; }

.cookie-inner { max-width: 1280px; margin: 0 auto; padding: 0 1rem; display: flex; align-items: center; gap: 1.5rem; }

.cookie-text { display: flex; align-items: flex-start; gap: 0.75rem; flex: 1; }
.cookie-icon { width: 24px; height: 24px; color: var(--green); flex-shrink: 0; margin-top: 0.125rem; }
.cookie-text p { font-size: 0.875rem; color: var(--gray-600); line-height: 1.6; margin: 0; }
.cookie-more { color: var(--green); text-decoration: underline; font-weight: 500; }
.cookie-more:hover { color: var(--green-dark); }

.cookie-buttons { display: flex; gap: 0.5rem; flex-shrink: 0; }

.btn-cookie-agree { background: var(--green); color: var(--white); padding: 0.625rem 1.25rem; font-weight: 600; }
.btn-cookie-agree:hover { background: var(--green-dark); }
.btn-cookie-close { background: var(--gray-100); color: var(--gray-600); padding: 0.625rem 1.25rem; font-weight: 500; }
.btn-cookie-close:hover { background: var(--gray-200); color: var(--gray-800); }

/* ===== Show/Hide Utilities ===== */
.show-mobile-only { display: none; }

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--green-dark); }

/* ===== SCROLL TO TOP ===== */
.scroll-top-btn {
    position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--green); color: var(--white);
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(20px);
    transition: all 0.3s ease;
}
.scroll-top-btn.show { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top-btn:hover { background: var(--green-dark); transform: translateY(-2px); }
.scroll-top-btn svg { width: 20px; height: 20px; }

/* ===== TEXT PAGE WITH SIDEBAR ===== */
.text-page-layout { display: grid; grid-template-columns: 1fr 300px; gap: 2.5rem; }
.text-page-sidebar { position: sticky; top: 100px; align-self: start; }
.sidebar-title { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; color: var(--gray-900); }
.sidebar-news-list { display: flex; flex-direction: column; gap: 0.75rem; }
.sidebar-news-item { display: flex; gap: 0.75rem; text-decoration: none; padding: 0.75rem; background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-lg); transition: var(--transition); }
.sidebar-news-item:hover { border-color: var(--green); box-shadow: var(--shadow-sm); }
.sidebar-news-img { width: 60px; height: 60px; border-radius: var(--radius-md); overflow: hidden; flex-shrink: 0; }
.sidebar-news-img img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-news-body { flex: 1; min-width: 0; }
.sidebar-news-date { font-size: 0.6875rem; color: var(--gray-400); display: block; margin-bottom: 0.25rem; }
.sidebar-news-body p { font-size: 0.8125rem; font-weight: 600; color: var(--gray-700); line-height: 1.4; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sidebar-news-item:hover p { color: var(--green); }

/* ===== CHECKOUT PAGE ===== */
.checkout-page { padding: 2rem 0 4rem; }
.checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 2.5rem; }
.checkout-block { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-xl); padding: 1.5rem; margin-bottom: 1rem; }
.checkout-block-title { font-size: 1.0625rem; font-weight: 700; margin-bottom: 1rem; color: var(--gray-900); }

/* Radio cards */
.radio-group { display: flex; flex-direction: column; gap: 0.75rem; }
.radio-card { display: flex; align-items: flex-start; gap: 0.75rem; padding: 1rem; border: 2px solid var(--gray-100); border-radius: var(--radius-lg); cursor: pointer; transition: var(--transition); background: var(--white); }
.radio-card:hover { border-color: var(--gray-300); }
.radio-card input[type="radio"] { width: 20px; height: 20px; accent-color: var(--green); flex-shrink: 0; margin-top: 0.125rem; }
.radio-card:has(input:checked) { border-color: var(--green); background: var(--green-light); }
.radio-card-content { display: flex; flex-direction: column; gap: 0.25rem; }
.radio-card-content strong { font-size: 0.875rem; font-weight: 600; color: var(--gray-900); }
.radio-card-content span { font-size: 0.8125rem; color: var(--gray-500); }
.radio-card-content .price-free { color: var(--green); font-weight: 600; }
.radio-card-content .price-tag { color: var(--gray-700); font-weight: 600; }

/* Hidden field */
.hidden-field { display: none; margin-top: 1rem; }
.hidden-field.show { display: block; animation: fadeIn 0.3s ease; }
.field-hint { font-size: 0.75rem; color: var(--gray-500); margin-top: 0.375rem; margin-bottom: 0; }
.field-hint strong { color: var(--gray-700); }

.btn-submit-order { width: 100%; padding: 0.875rem; font-size: 1rem; margin-top: 0.5rem; }

/* Checkout summary */
.checkout-summary { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-xl); padding: 1.5rem; height: fit-content; position: sticky; top: 100px; }
.checkout-summary h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 1.25rem; }
.checkout-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.625rem 0; font-size: 0.8125rem; border-bottom: 1px solid var(--gray-50); }
.checkout-item img { width: 48px; height: 48px; object-fit: contain; border: 1px solid var(--gray-100); border-radius: var(--radius-sm); flex-shrink: 0; }
.checkout-item div { flex: 1; display: flex; flex-direction: column; }
.checkout-item div span:first-child { color: var(--gray-700); font-weight: 500; }
.checkout-item div span:last-child { color: var(--gray-400); font-size: 0.75rem; }
.checkout-item strong { font-weight: 600; color: var(--gray-900); white-space: nowrap; }

/* ===== CART PAGE ===== */
.cart-page { padding: 2rem 0 4rem; }
.cart-title { font-size: 1.75rem; font-weight: 800; margin-bottom: 1.5rem; }
.cart-count { font-size: 1rem; font-weight: 400; color: var(--gray-500); }
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; }
.cart-item { display: grid; grid-template-columns: 80px 1fr auto auto 40px; gap: 1rem; align-items: center; padding: 1.25rem 0; border-bottom: 1px solid var(--gray-100); }
.cart-item-img { width: 80px; height: 80px; background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cart-item-img img { max-width: 90%; max-height: 90%; object-fit: contain; }
.cart-item-name { font-size: 0.9375rem; font-weight: 600; margin-bottom: 0.25rem; }
.cart-item-sku { font-size: 0.75rem; color: var(--gray-400); margin-bottom: 0.25rem; }
.cart-item-stock { font-size: 0.75rem; }
.cart-item-price { text-align: right; }
.cart-item-price .current { display: block; font-weight: 700; font-size: 0.9375rem; }
.cart-item-price .old { display: block; font-size: 0.75rem; color: var(--gray-400); text-decoration: line-through; }
.cart-item-remove { width: 36px; height: 36px; background: none; border: none; color: var(--gray-400); cursor: pointer; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.cart-item-remove:hover { color: var(--red); background: var(--red-light); }
.cart-item-remove svg { width: 18px; height: 18px; }
.cart-actions { display: flex; justify-content: space-between; align-items: center; padding-top: 1.5rem; }
.cart-summary { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-xl); padding: 1.5rem; height: fit-content; position: sticky; top: 100px; }
.cart-summary h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 1.25rem; }
.summary-row { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0; font-size: 0.875rem; color: var(--gray-600); }
.summary-row .discount { color: var(--red); font-weight: 600; }
.summary-row .delivery-free { color: var(--green); font-weight: 600; }
.summary-divider { height: 1px; background: var(--gray-100); margin: 0.75rem 0; }
.summary-row.total { font-size: 1.125rem; font-weight: 700; color: var(--gray-900); padding-top: 0.25rem; }
.btn-checkout { width: 100%; margin-top: 1rem; padding: 0.875rem; font-size: 1rem; text-align: center; display: block; text-decoration: none; }
.payment-methods { margin-top: 1rem; text-align: center; }
.payment-methods p { font-size: 0.75rem; color: var(--gray-400); margin-bottom: 0.5rem; }
.payment-icons { display: flex; justify-content: center; gap: 0.5rem; }

/* ===== CART SUCCESS PAGE ===== */
.success-page { padding: 3rem 0 4rem; }
.success-card { max-width: 640px; margin: 0 auto; text-align: center; }
.success-icon { width: 80px; height: 80px; margin: 0 auto 1.5rem; }
.success-title { font-size: 1.75rem; font-weight: 800; margin-bottom: 0.5rem; }
.success-number { font-size: 1.0625rem; color: var(--gray-600); margin-bottom: 0.75rem; }
.success-number strong { color: var(--gray-900); }
.success-text { font-size: 0.9375rem; color: var(--gray-500); margin-bottom: 2rem; }
.success-details { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-xl); padding: 1.5rem; margin-bottom: 1.5rem; text-align: left; }
.success-details h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.success-item { display: flex; justify-content: space-between; padding: 0.5rem 0; font-size: 0.875rem; border-bottom: 1px solid var(--gray-50); }
.success-item span:first-child { flex: 1; color: var(--gray-700); }
.success-item span:nth-child(2) { color: var(--gray-400); margin: 0 1rem; }
.success-item span:last-child { font-weight: 600; color: var(--gray-900); }
.success-total { display: flex; justify-content: space-between; padding-top: 0.75rem; font-size: 1.0625rem; font-weight: 700; color: var(--gray-900); }
.success-delivery { background: var(--green-light); border-radius: var(--radius-lg); padding: 1.25rem; margin-bottom: 1.5rem; text-align: left; }
.success-delivery h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--green-dark); }
.success-delivery p { font-size: 0.875rem; color: var(--gray-600); margin-bottom: 0.375rem; }
.success-actions { display: flex; gap: 1rem; justify-content: center; }

/* ===== TEXT PAGE / TYPOGRAPHY ===== */
.text-page { padding: 2rem 0 4rem; }
.page-title { font-size: 1.75rem; font-weight: 800; margin-bottom: 1.5rem; }
.typography { max-width: 800px; }
.typography h1 { font-size: 2rem; font-weight: 800; margin-bottom: 1rem; line-height: 1.2; }
.typography h2 { font-size: 1.5rem; font-weight: 700; margin: 2rem 0 1rem; color: var(--gray-900); }
.typography h3 { font-size: 1.125rem; font-weight: 700; margin: 1.5rem 0 0.75rem; color: var(--gray-900); }
.typography p { font-size: 0.9375rem; line-height: 1.7; color: var(--gray-700); margin-bottom: 1rem; }
.typography p.lead { font-size: 1.0625rem; color: var(--gray-600); font-weight: 400; }
.typography a { color: var(--green); text-decoration: none; }
.typography a:hover { text-decoration: underline; }
.typography ul { list-style: none; padding: 0; margin-bottom: 1.5rem; }
.typography ul li { font-size: 0.9375rem; color: var(--gray-700); padding: 0.375rem 0 0.375rem 1.5rem; position: relative; line-height: 1.6; }
.typography ul li::before { content: "—"; position: absolute; left: 0; color: var(--green); }
.typography ol { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.typography ol li { font-size: 0.9375rem; color: var(--gray-700); padding: 0.375rem 0; line-height: 1.6; }
.typography blockquote { background: var(--green-light); border-left: 3px solid var(--green); padding: 1rem 1.25rem; margin: 1.5rem 0; border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.typography blockquote p { margin: 0; font-size: 0.9375rem; color: var(--gray-700); font-style: italic; }
.typography table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.typography table th { text-align: left; padding: 0.75rem 1rem; font-size: 0.8125rem; font-weight: 700; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.03em; background: var(--gray-50); border-bottom: 2px solid var(--gray-200); }
.typography table td { padding: 0.75rem 1rem; font-size: 0.9375rem; border-bottom: 1px solid var(--gray-100); color: var(--gray-700); }
.typography table tr:nth-child(even) td { background: var(--gray-50); }
.typography table tr:hover td { background: var(--green-light); }

/* ===== NEWS PAGE ===== */
.news-page { padding: 2rem 0 4rem; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2rem; }
.news-card { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-xl); overflow: hidden; transition: var(--transition); display: flex; flex-direction: column; }
.news-card:hover { box-shadow: var(--shadow-lg); border-color: var(--gray-200); transform: translateY(-2px); }
.news-img { height: 180px; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.news-card:hover .news-img img { transform: scale(1.05); }
.news-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.news-date { font-size: 0.75rem; color: var(--gray-400); margin-bottom: 0.5rem; }
.news-badge { display: inline-block; font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.25rem 0.5rem; border-radius: var(--radius-sm); background: var(--green-light); color: var(--green); margin-bottom: 0.75rem; width: fit-content; }
.news-title { font-size: 1rem; font-weight: 700; line-height: 1.4; margin-bottom: 0.5rem; color: var(--gray-900); }
.news-excerpt { font-size: 0.8125rem; color: var(--gray-500); line-height: 1.6; margin-bottom: 1rem; flex: 1; }
.news-link { font-size: 0.8125rem; font-weight: 600; color: var(--green); text-decoration: none; }
.news-link:hover { text-decoration: underline; }

/* ===== ACCOUNT PAGE ===== */
.account-page { padding: 2rem 0 4rem; }
.account-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; }
.account-sidebar { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-xl); padding: 1.25rem; height: fit-content; }
.account-user { display: flex; align-items: center; gap: 0.875rem; padding-bottom: 1.25rem; margin-bottom: 1rem; border-bottom: 1px solid var(--gray-100); }
.user-avatar { width: 48px; height: 48px; background: var(--green); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; font-weight: 700; flex-shrink: 0; }
.user-name { font-weight: 700; font-size: 0.9375rem; color: var(--gray-900); }
.user-phone { font-size: 0.75rem; color: var(--gray-400); }
.account-nav { display: flex; flex-direction: column; gap: 0.25rem; }
.account-nav a { display: flex; align-items: center; gap: 0.625rem; padding: 0.625rem 0.75rem; font-size: 0.875rem; color: var(--gray-600); text-decoration: none; border-radius: var(--radius-md); transition: var(--transition); }
.account-nav a svg { width: 18px; height: 18px; flex-shrink: 0; }
.account-nav a:hover { background: var(--green-light); color: var(--green); }
.account-nav a.active { background: var(--green); color: var(--white); font-weight: 600; }
.account-nav a.logout { color: var(--gray-400); margin-top: 0.5rem; border-top: 1px solid var(--gray-100); }
.account-nav a.logout:hover { color: var(--red); background: var(--red-light); }
.account-content { min-width: 0; }
.account-section { display: none; }
.account-section.active { display: block; animation: fadeIn 0.3s ease; }
.account-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 1.25rem; }
.order-card { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-xl); padding: 1.25rem; margin-bottom: 1rem; }
.order-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; flex-wrap: wrap; gap: 0.5rem; }
.order-num { font-weight: 700; font-size: 0.9375rem; color: var(--gray-900); }
.order-date { font-size: 0.75rem; color: var(--gray-400); margin-left: 0.5rem; }
.order-status { font-size: 0.75rem; font-weight: 600; padding: 0.25rem 0.625rem; border-radius: var(--radius-md); }
.status-delivered { background: var(--green-light); color: var(--green); }
.status-processing { background: #dbeafe; color: #1d4ed8; }
.status-cancelled { background: var(--red-light); color: var(--red); }
.order-items { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 0.75rem; }
.order-item { display: flex; align-items: center; gap: 0.75rem; font-size: 0.8125rem; color: var(--gray-600); padding: 0.375rem 0; }
.order-item img { width: 40px; height: 40px; object-fit: contain; border: 1px solid var(--gray-100); border-radius: var(--radius-sm); }
.order-item span:nth-child(2) { flex: 1; }
.order-item span:last-child { font-weight: 600; color: var(--gray-900); }
.order-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 0.75rem; border-top: 1px solid var(--gray-100); font-size: 0.875rem; }
.order-footer strong { font-weight: 700; color: var(--gray-900); }
.account-form { max-width: 500px; }
.account-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.address-list { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1rem; }
.address-card { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-lg); }
.address-card.active { border-color: var(--green); background: var(--green-light); }
.address-card strong { display: block; font-size: 0.875rem; margin-bottom: 0.25rem; }
.address-card p { margin: 0; font-size: 0.8125rem; color: var(--gray-500); }
.address-actions { display: flex; gap: 0.5rem; }
.btn-danger { color: var(--red); }
.btn-danger:hover { color: #c53030; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .catalog-menu { width: 700px; grid-template-columns: repeat(3, 1fr); }
    .categories-grid { grid-template-columns: repeat(4, 1fr); }
    .credit-inner { flex-direction: column; }
    .credit-card { width: 100%; }
    .credit-glow { display: none; }
    .about-map { width: 350px; }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .about-content h2 { font-size: 1.75rem; }
    .about-content > p { font-size: 0.9375rem; }
}

@media (max-width: 768px) {
    /* ===== MOBILE: Fixed header ===== */
    .top-bar {
        position: fixed;
        top: 0; left: 0; right: 0;
        z-index: 99;
        font-size: 0.8125rem;
    }
    .main-header {
        position: fixed;
        top: 28px; left: 0; right: 0;
        z-index: 100;
        box-shadow: 0 1px 4px rgba(0,0,0,0.08);
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        will-change: transform;
        transition: top 0.3s ease;
    }
    main { padding-top: 76px; }

    .show-mobile-only { display: block; }
    .mobile-menu-btn { display: block; padding: 0.25rem; }
    .mobile-menu-btn svg { width: 22px; height: 22px; }
    .catalog-dropdown { display: none; }
    .action-label { display: none; }
    .header-actions { margin-left: auto; gap: 0; }

    /* Compact header inner — with side padding */
    .header-inner { padding: 0.375rem 0.75rem; gap: 0.375rem; }

    /* Tiny logo */
    .logo img { height: 34px; }

    /* Compact action buttons */
    .action-btn { padding: 0.25rem; }
    .action-btn svg { width: 20px; height: 20px; }
    .cart-badge { min-width: 14px; height: 14px; font-size: 0.55rem; top: -1px; right: -1px; }

    /* Search toggle always visible on mobile */
    .action-btn.search-toggle-btn {
        display: flex;
        opacity: 1;
        visibility: visible;
    }

    /* Mobile expandable search */
    .mobile-expandable-search {
        display: block;
        padding: 0.5rem 0.75rem;
        background: var(--white);
        border-bottom: 1px solid var(--gray-100);
    }
    .mobile-expandable-search.hidden { display: none !important; }

    /* ===== MOBILE: Top bar - phone + email only, ultra-compact ===== */
    .top-bar { font-size: 0.8125rem; }
    .top-phone-sec,
    .top-hours,
    .top-address { display: none !important; }
    .top-bar .divider { display: none !important; }
    .top-bar-inner { padding: 0.3125rem 0; }
    .top-bar-right { display: none; }
    .top-bar-left {
        width: 100%;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
        padding: 0 0.75rem;
    }
    .top-phone-main {
        font-size: 0.8125rem;
        font-weight: 600;
        white-space: nowrap;
        flex-shrink: 0;
    }
    .top-phone-main svg { width: 13px; height: 13px; }
    .top-link {
        font-size: 0.6875rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 140px;
        text-align: right;
    }

    /* ===== CATALOG PAGE (MOBILE <768px) ===== */
    .catalog-layout { grid-template-columns: 1fr; gap: 0; }
    .catalog-sidebar {
        position: fixed; inset: 0; z-index: 200; background: var(--white);
        border-radius: 0; max-height: 100vh; padding: 1rem;
        transform: translateX(-100%); transition: transform 0.3s ease;
        top: 0; overflow-y: auto;
    }
    .catalog-sidebar.open { transform: translateX(0); }
    .catalog-sidebar-header { margin-bottom: 1rem; position: relative; }
    .filter-close { display: flex; position: absolute; right: 0; top: 0; }
    .catalog-sidebar h3 { padding-right: 40px; }
    .filter-toggle-btn { display: flex; }
    .filter-apply { position: sticky; bottom: 0; margin: 1rem -1rem -1rem; border-radius: 0; padding: 0.875rem; }
    .catalog-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
    .catalog-title { font-size: 1.25rem; }
    .catalog-header { margin-bottom: 0.75rem; }
    .sort-bar { margin-bottom: 1rem; padding-bottom: 0.75rem; }
    .sort-select-wrap label { display: none; }
    .page-btn { min-width: 36px; height: 36px; font-size: 0.75rem; }
    .feedback-section { padding: 1.5rem 0; }
    .feedback-card { padding: 0 0.5rem; }
    .feedback-form { padding: 1rem; }
    .form-row { grid-template-columns: 1fr; gap: 0; }

    /* ===== PRODUCT PAGE (MOBILE <768px) ===== */
    .product-detail { grid-template-columns: 1fr; gap: 1.5rem; }
    .product-detail-name { font-size: 1.375rem; }
    .detail-current { font-size: 1.5rem; }
    .gallery-main { aspect-ratio: 1 / 1; }
    .gallery-thumb { width: 60px; height: 60px; }
    .gallery-arrow { width: 36px; height: 36px; }
    .gallery-arrow svg { width: 16px; height: 16px; }
    .product-detail-actions { gap: 0.5rem; }
    .btn-cart-large { padding: 0.75rem 1.25rem; font-size: 0.875rem; flex: 1; }
    .tab-btn { padding: 0.75rem 1rem; font-size: 0.8125rem; }
    .specs-table th, .specs-table td { padding: 0.625rem 0.75rem; font-size: 0.8125rem; }

    /* Hide secondary nav */
    .secondary-nav { display: none; }

    /* Hide desktop search in header */
    .header-inner > .search-box { display: none; }

    /* Hero slider: arrows moved to bottom row with dots */
    .hero-slider { height: 380px; }
    .slide-content { padding: 1.5rem 1rem 3.5rem; }
    .slide-title { font-size: 1.5rem; }
    .slider-arrow {
        top: auto;
        bottom: 0.75rem;
        transform: none;
        width: 36px;
        height: 36px;
        background: rgba(255,255,255,0.25);
    }
    .slider-arrow svg { width: 18px; height: 18px; }
    .slider-prev { left: 0.75rem; }
    .slider-next { right: 0.75rem; }
    .slider-dots {
        bottom: 0.75rem;
        left: 50%;
        transform: translateX(-50%);
        gap: 0.375rem;
    }
    .dot { width: 8px; height: 8px; }
    .dot.active { width: 22px; }

    .categories-grid { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
    .cat-card { min-height: auto; padding: 0.75rem 0.25rem; border-radius: var(--radius-md); }
    .cat-img-wrap { width: 56px; height: 56px; min-height: 56px; margin-bottom: 0.5rem; }
    .cat-card span { font-size: 0.6875rem; font-weight: 500; }

    /* Product cards: 2 per screen */
    .product-card { flex: 0 0 170px; }
    .product-img { height: 120px; padding: 0.5rem; background: var(--white); text-align: center; display: block; }
    .product-img img { display: inline-block; margin: 0 auto; max-width: 90%; max-height: 90%; object-fit: contain; vertical-align: middle; position: relative; top: 50%; transform: translateY(-50%); }
    .wishlist-btn { width: 28px; height: 28px; top: 0.375rem; right: 0.375rem; }
    .wishlist-btn svg { width: 14px; height: 14px; }
    .badge-group { top: 0.375rem; left: 0.375rem; gap: 0.125rem; }
    .badge { font-size: 0.5625rem; padding: 0.125rem 0.375rem; height: 16px; }
    .product-info { padding: 0.625rem; }
    .product-name { font-size: 0.75rem; height: 2.2rem; line-height: 1.3; margin-bottom: 0.25rem; }
    .product-price { margin-bottom: 0.125rem; gap: 0.25rem; }
    .product-price .current { font-size: 0.8125rem; white-space: nowrap; }
    .product-price .old { font-size: 0.6875rem; white-space: nowrap; }
    .product-stock { font-size: 0.6875rem; height: 1rem; margin-bottom: 0.375rem; }
    .product-actions { gap: 0.25rem; }
    .btn-details { padding: 0.375rem 0.5rem; font-size: 0.6875rem; }
    .btn-icon-cart { width: 30px; height: 30px; }
    .btn-icon-cart svg { width: 14px; height: 14px; }

    .adv-card { gap: 0.75rem; padding: 1rem; }
    .adv-icon { width: 44px; height: 44px; min-width: 44px; }
    .adv-icon svg { width: 22px; height: 22px; }

    .about-content h2 { font-size: 1.375rem; }

    /* Tighter section spacing */
    .categories { padding: 1.5rem 0; }
    .products-section { padding: 1.5rem 0; }
    .products-bg { padding: 1.5rem 0; }
    .advantages { padding: 1.5rem 0; }
    .section-title-center { margin-bottom: 1.5rem; font-size: 1.375rem; }
    .credit-banner { padding: 1.5rem 0; }
    .about-store { padding: 1.5rem 0; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 1.25rem; align-items: start; }
    .footer-col-large { grid-column: span 2; }
    .footer-col { text-align: left; }
    .footer-col h4 { margin-bottom: 0.75rem; }
    .footer-logo img { height: 50px; }
    .footer-desc { max-width: none; }
    .footer-contact a, .footer-contact span { justify-content: flex-start; }

    .credit-content h2 { font-size: 1.375rem; }

    .cookie-inner { flex-direction: column; gap: 0.75rem; }
    .cookie-buttons { width: 100%; }
    .cookie-buttons .btn { flex: 1; padding: 0.5rem; font-size: 0.8125rem; }

    .footer-bottom-inner { flex-direction: column; gap: 0.75rem; align-items: flex-start; text-align: left; }
    .footer-legal { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .legal-links { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
    .legal-links span { display: none; }
    .footer-artlex { margin-left: 0; }

    /* Text page sidebar mobile */
    .text-page-layout { grid-template-columns: 1fr; }
    .text-page-sidebar { position: static; margin-top: 1rem; }

    /* Checkout mobile */
    .checkout-layout { grid-template-columns: 1fr; }
    .checkout-summary { position: static; margin-top: 1rem; }
    .radio-card { padding: 0.75rem; }

    /* Cart page mobile */
    .cart-layout { grid-template-columns: 1fr; }
    .cart-summary { position: static; margin-top: 1rem; }
    .cart-item {
        display: grid;
        grid-template-columns: 56px 1fr 80px 36px;
        grid-template-rows: auto auto;
        gap: 0.5rem 0.75rem;
        align-items: start;
        padding: 1rem 0;
    }
    .cart-item-img { width: 56px; height: 56px; grid-row: 1 / 3; }
    .cart-item-info { grid-column: 2; min-width: 0; }
    .cart-item-name { font-size: 0.8125rem; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
    .cart-item-price {
        display: block;
        grid-column: 3;
        grid-row: 1;
        text-align: right;
        font-size: 0.8125rem;
    }
    .cart-item-price .current { font-size: 0.8125rem; }
    .cart-item-price .old { font-size: 0.6875rem; }
    .cart-item-remove { grid-column: 4; grid-row: 1; width: 32px; height: 32px; }
    .cart-item-qty {
        grid-column: 2 / 4;
        grid-row: 2;
        display: flex;
        align-items: center;
    }
    .cart-item-qty .qty-btn { width: 32px; height: 32px; font-size: 1rem; }
    .cart-item-qty .qty-input { width: 44px; height: 32px; }
    .cart-actions { flex-direction: column; gap: 0.75rem; align-items: stretch; }

    /* Success page mobile */
    .success-page { padding-top: 6rem; }
    .success-actions { flex-direction: column; }
    .success-details, .success-delivery { padding: 1rem; }
    .success-icon { width: 60px; height: 60px; }

    /* News page mobile */
    .news-grid { grid-template-columns: 1fr; gap: 1rem; }

    /* Account page mobile */
    .account-layout { grid-template-columns: 1fr; }
    .account-sidebar { margin-bottom: 1rem; }
    .account-nav { flex-direction: row; flex-wrap: wrap; gap: 0.25rem; }
    .account-nav a { flex: 1 0 auto; min-width: 120px; justify-content: center; }
    .account-nav a.logout { border-top: none; margin-top: 0; }
    .account-form .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    /* Catalog on small screens */
    .catalog-grid { gap: 0.375rem; }
    .catalog-title { font-size: 1.125rem; }
    .pagination { gap: 0.125rem; }
    .page-btn { min-width: 32px; height: 32px; font-size: 0.6875rem; }
    .page-dots { display: none; }
    .product-detail-name { font-size: 1.125rem; }
    .detail-current { font-size: 1.25rem; }
    .gallery-main { aspect-ratio: 1 / 1; }
    .gallery-thumb { width: 52px; height: 52px; }
    .quantity-control { transform: scale(0.9); transform-origin: left; }

    .hero-slider { height: 350px; }
    .slide-title { font-size: 1.5rem; }
    .slide-desc { font-size: 0.875rem; }
    .price-current { font-size: 1.375rem; }
    .slide-content { padding: 1.5rem 1rem; }

    .categories-grid { grid-template-columns: repeat(3, 1fr); gap: 0.375rem; }
    .cat-card { padding: 0.625rem 0.25rem; }
    .cat-img-wrap { width: 50px; height: 50px; min-height: 50px; }
    .cat-card span { font-size: 0.625rem; }

    .advantages-grid { grid-template-columns: 1fr; }

    .about-contacts { grid-template-columns: 1fr; }
    .about-content { padding: 1.5rem; }

    /* About: map below contacts */
    .about-inner { flex-direction: column; }
    .about-map { width: 100%; min-height: 250px; height: 250px; position: relative; }

    .credit-buttons { flex-direction: column; }
    .credit-buttons .btn { width: 100%; }

    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-col-large { grid-column: span 2; }

    .section-title { font-size: 1.25rem; }
    .about-content h2 { font-size: 1.375rem; }

    .product-card { flex: 0 0 155px; }
    .product-name { font-size: 0.6875rem; height: 2rem; }

    .logo img { height: 32px; }

    .top-phone-main { font-size: 0.75rem; }
    .top-link { max-width: 120px; font-size: 0.625rem; }
}
