/* assets/css/style.css */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #f5f5f5;
    --accent-color: #d4af37; /* Gold */
    --text-color: #333;
    --text-light: #595959;
    --bg-color: #ffffff;
    --border-color: #eaeaea;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --font-family: 'Montserrat', sans-serif;
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --shadow: 0 4px 12px rgba(0,0,0,0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    color: var(--primary-color);
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    flex-shrink: 1;
    min-width: 0;
    white-space: nowrap;
}

.logo .text-accent {
    font-weight: 400;
    color: var(--accent-color);
    margin-left: 2px;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.icon-btn {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

/* ===== Hamburger Button ===== */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    padding: 4px;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 201;
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== Navigation Drawer ===== */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 199;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    max-width: 85vw;
    height: 100%;
    background: #fff;
    z-index: 200;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
}

.nav-drawer.active {
    transform: translateX(0);
}

.nav-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.nav-drawer-logo {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-drawer-logo .text-accent {
    font-weight: 400;
    color: var(--accent-color);
}

.nav-drawer-close {
    font-size: 1.8rem;
    color: var(--text-light);
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
}

.nav-links {
    list-style: none;
    padding: 10px 0;
    flex: 1;
}

.nav-links li a {
    display: block;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    transition: var(--transition);
    text-decoration: none;
    border-left: 3px solid transparent;
}

.nav-links li a:hover,
.nav-links li a.active {
    background-color: var(--secondary-color);
    border-left-color: var(--accent-color);
    color: var(--accent-color);
}

.nav-drawer-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-social {
    font-size: 0.9rem;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.nav-social:hover {
    color: var(--accent-color);
}

/* ===== Static Pages ===== */
.page-section {
    padding: 40px 20px 60px;
    min-height: 60vh;
}

.page-container {
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.page-block {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    margin-bottom: 16px;
}

.page-block .page-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.page-block h2 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.page-block p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

.page-list {
    list-style: none;
    padding: 0;
}

.page-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.page-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

.page-cta {
    text-align: center;
    margin-top: 30px;
}

.page-cta .btn {
    max-width: 300px;
    display: inline-block;
}

/* Contacts Grid */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.contact-card {
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    padding: 24px 20px;
    text-align: center;
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.contact-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.contact-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.5;
}

/* FAQ Accordion */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.faq-item summary {
    padding: 18px 20px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--accent-color);
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 12px;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item[open] summary {
    border-bottom: 1px solid var(--border-color);
    background: #fff;
}

.faq-item p {
    padding: 18px 20px;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
    background: #fff;
}

@media (max-width: 500px) {
    .contacts-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) {
    .page-title {
        font-size: 2.2rem;
    }
}

/* ===== End Static Pages ===== */

/* Hero Section */
.hero {
    padding: 40px 20px;
    text-align: center;
    background-color: var(--secondary-color);
    margin-bottom: 30px;
}

.promo-badge {
    display: inline-block;
    background-color: #b8941f;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.hero-title {
    font-size: 2rem;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 25px;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 300px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    padding: 14px 24px;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    width: 100%;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #333;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--secondary-color);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Features */
.features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0 20px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--bg-color);
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
}

/* Catalog */
.catalog {
    padding: 0 20px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.catalog-header {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.catalog-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
    color: var(--primary-color);
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--bg-color);
}

.sort-select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--bg-color);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
}

/* Filters Panel */
.filters-panel {
    display: none;
    background-color: var(--secondary-color);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.filters-panel.active {
    display: block;
}

.filter-group {
    margin-bottom: 15px;
}

.filter-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 0.9rem;
}

.filter-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    outline: none;
}

.filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/* Catalog Grid */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

/* Product Card */
.product-card {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    contain: layout style paint;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.product-image {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    background-color: var(--secondary-color);
}

.product-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-brand {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.product-price {
    font-weight: 700;
    color: var(--primary-color);
}

.product-volume {
    color: var(--text-light);
}

.stock-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
    align-self: flex-start;
}

.stock-in {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
}

.stock-out {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
}

.stock-coming {
    background-color: rgba(255, 165, 0, 0.12);
    color: #b06c00;
}

.product-card .btn {
    margin-top: auto;
}

/* Skeleton Loading */
.skeleton-card {
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    aspect-ratio: 3/4;
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
}

.empty-state p {
    margin-bottom: 15px;
}

/* ===== SEO About Section ===== */
.seo-about {
    padding: 50px 20px 60px;
    background: linear-gradient(180deg, #fff 0%, var(--secondary-color) 100%);
    border-top: 1px solid var(--border-color);
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
}

.seo-about-inner {
    max-width: 900px;
    margin: 0 auto;
}

.seo-about-heading {
    text-align: center;
    margin-bottom: 36px;
}

.seo-about-heading h2 {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.3;
}

.seo-about-lead {
    font-size: 0.95rem;
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Advantages grid */
.seo-advantages {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 36px;
}

.seo-adv-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 18px 16px;
    box-shadow: var(--shadow);
}

.seo-adv-icon {
    font-size: 1.6rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.seo-adv-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.seo-adv-text strong {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
}

.seo-adv-text span {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Brand pills row */
.seo-brands-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.seo-brands-row span {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--text-light);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 5px 14px;
    background: #fff;
    transition: var(--transition);
}

.seo-brands-row span:hover {
    color: var(--primary-color);
    border-color: var(--accent-color);
    background: rgba(212,175,55,0.06);
}

@media (min-width: 640px) {
    .seo-about-heading h2 {
        font-size: 1.7rem;
    }

    .seo-advantages {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 900px) {
    .seo-advantages {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 40px 20px 20px;
    text-align: center;
    content-visibility: auto;
    contain-intrinsic-size: auto 400px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-logo span {
    color: var(--accent-color);
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.footer-contacts a {
    color: #ccc;
    transition: var(--transition);
}

.footer-contacts a:hover {
    color: white;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.footer-links a {
    color: #999;
    text-decoration: underline;
}

.copyright {
    font-size: 0.8rem;
    color: #666;
    border-top: 1px solid #333;
    padding-top: 20px;
}

/* Modals & Bottom Sheets */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.bottom-sheet {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    max-height: 90vh;
    background-color: var(--bg-color);
    border-radius: 20px 20px 0 0;
    z-index: 1000;
    transition: bottom 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}

.bottom-sheet.active {
    bottom: 0;
}

.sheet-handle {
    width: 40px;
    height: 4px;
    background-color: #ddd;
    border-radius: 2px;
    margin: 12px auto;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--text-light);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-color);
    border-radius: 50%;
}

.sheet-content {
    padding: 0 20px 30px;
    overflow-y: auto;
    flex-grow: 1;
}

/* Product Modal Content */
.modal-gallery {
    width: 100%;
    aspect-ratio: 1/1;
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    overflow: hidden;
}

.modal-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-brand {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.modal-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.modal-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.modal-price {
    font-size: 1.25rem;
    font-weight: 700;
}

.modal-desc {
    margin-bottom: 20px;
    color: var(--text-color);
}

.modal-notes {
    margin-bottom: 20px;
    background-color: var(--secondary-color);
    padding: 15px;
    border-radius: var(--border-radius);
}

.modal-notes h4 {
    margin-bottom: 10px;
    font-size: 1rem;
}

.note-group {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.note-group span {
    font-weight: 600;
}

.modal-params {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.param-badge {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.volume-selector {
    margin-bottom: 25px;
}

.volume-selector h4 {
    margin-bottom: 10px;
    font-size: 1rem;
}

.volume-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.volume-option {
    padding: 8px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.volume-option.active {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: white;
}

.volume-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Order Form */
.order-form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
}

.order-product-summary {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.summary-img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.summary-info h4 {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.summary-info p {
    font-size: 0.8rem;
    color: var(--text-light);
}

.success-message {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 60px;
    height: 60px;
    background-color: var(--success-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.success-message h3 {
    margin-bottom: 10px;
}

.success-message p {
    color: var(--text-light);
    margin-bottom: 25px;
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .catalog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features {
        flex-direction: row;
        justify-content: center;
    }
    
    .feature-item {
        flex: 1;
        max-width: 300px;
    }
    
    .hero-actions {
        flex-direction: row;
        max-width: 500px;
    }
    
    .bottom-sheet {
        max-width: 500px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 20px 20px 0 0;
    }
}

@media (min-width: 1024px) {
    .catalog-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .catalog-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

@media (max-width: 380px) {
    .catalog-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
    display: flex;
    align-items: center;
    background-color: var(--secondary-color);
    border-radius: 6px;
    padding: 2px;
    gap: 0;
    height: 28px;
}
.lang-btn {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-light);
    padding: 0 8px;
    height: 24px;
    line-height: 24px;
    border-radius: 5px;
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.5px;
    font-family: inherit;
}
.lang-btn.active {
    color: #fff;
    background-color: var(--primary-color);
}
.lang-btn:hover:not(.active) {
    color: var(--primary-color);
}
.lang-divider {
    display: none;
}

/* ===== CART ===== */

/* Cart icon in header */
.cart-icon-btn {
    position: relative;
}
.cart-count {
    position: absolute;
    top: -4px;
    right: -6px;
    background-color: var(--accent-color);
    color: #000;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* Promo hint banner */
.cart-promo-hint {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: var(--border-radius);
    padding: 12px 15px;
    font-size: 0.9rem;
    margin: 15px 0;
    text-align: center;
    color: var(--text-color);
}

/* Cart item row */
.cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition);
}
.cart-item:last-child {
    border-bottom: none;
}
.cart-item-img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background-color: var(--secondary-color);
}
.cart-item-info {
    flex: 1;
    min-width: 0;
}
.cart-item-brand {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
}
.cart-item-name {
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cart-item-meta {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 2px;
}
.cart-item-price {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-color);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

/* Free item (promo 1+1=3) */
.cart-item-free {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0.02) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
}
.cart-item-price .price-original {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 400;
}
.cart-item-price .price-free {
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
}
.cart-total-price .price-original {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 400;
    margin-right: 8px;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.2rem;
    padding: 4px 8px;
    cursor: pointer;
    flex-shrink: 0;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.cart-item-remove:hover {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
}

/* Cart footer / totals */
.cart-footer {
    padding-top: 15px;
    margin-top: 5px;
    border-top: 2px solid var(--border-color);
}
.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
}
.cart-total-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Empty cart */
.cart-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
}
.cart-empty p {
    margin-bottom: 15px;
    font-size: 1rem;
}

/* Cart order summary items */
.cart-order-summary-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
}
.cart-order-summary-item:last-child {
    border-bottom: none;
    margin-bottom: 10px;
}
.cart-order-summary-item img {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--secondary-color);
}

/* Add to cart button in product modal */
.add-to-cart-btn {
    margin-bottom: 10px;
}

/* ===== FLOATING CHAT WIDGET ===== */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 998;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* Bubble hint — positioned relative to toggle button */
.chat-bubble {
    position: absolute;
    bottom: 64px;
    right: 0;
    background: var(--primary-color);
    color: #fff;
    padding: 10px 16px;
    border-radius: 12px 12px 4px 12px;
    font-size: 0.85rem;
    font-weight: 500;
    max-width: 220px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    opacity: 0;
    transform: translateY(6px) scale(0.95);
    pointer-events: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
    white-space: normal;
    min-width: 180px;
}

.chat-bubble.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.chat-bubble-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0 0 0 4px;
    line-height: 1;
    flex-shrink: 0;
}

.chat-bubble-close:hover {
    color: #fff;
}

/* Chat links (Telegram / Instagram) */
.chat-buttons {
    position: absolute;
    bottom: 64px;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: all 0.3s ease;
}

.chat-buttons.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.chat-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.chat-link:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.22);
}

.chat-tg {
    background: linear-gradient(135deg, #0088cc, #0077b5);
}

.chat-ig {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

/* Main toggle button */
.chat-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent-color);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(212,175,55,0.4);
    transition: all 0.3s ease;
}

.chat-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(212,175,55,0.5);
}

.chat-toggle:active {
    transform: scale(0.95);
}

/* Pulse animation on button */
.chat-toggle::before {
    content: '';
    position: absolute;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent-color);
    opacity: 0;
    animation: chatPulse 2.5s infinite;
    z-index: -1;
}

@keyframes chatPulse {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Responsive */
@media (max-width: 480px) {
    .chat-widget {
        bottom: 16px;
        right: 16px;
    }

    .chat-toggle {
        width: 50px;
        height: 50px;
    }

    .chat-toggle::before {
        width: 50px;
        height: 50px;
    }

    .chat-bubble {
        font-size: 0.8rem;
        max-width: 190px;
    }

    .chat-link {
        padding: 9px 14px;
        font-size: 0.85rem;
    }
}

/* ========== REVIEWS SECTION ========== */
.reviews-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color, #e0e0e0);
}

.reviews-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: var(--heading-color, #1a1a2e);
}

.reviews-title span {
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--text-secondary, #888);
}

.reviews-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.reviews-avg {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--heading-color, #1a1a2e);
}

.reviews-total {
    font-size: 0.85rem;
    color: var(--text-secondary, #888);
}

.stars-display {
    color: #f5a623;
    font-size: 1rem;
    letter-spacing: 1px;
}

.stars-display .star-half {
    position: relative;
    display: inline-block;
    color: #f5a623;
    overflow: hidden;
    width: 0.55em;
}

.stars-display .star-empty {
    color: #ddd;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.review-card {
    background: var(--card-bg, #fafafa);
    border: 1px solid var(--border-color, #eee);
    border-radius: 10px;
    padding: 12px 14px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.review-author {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--heading-color, #1a1a2e);
}

.review-date {
    font-size: 0.78rem;
    color: var(--text-secondary, #999);
}

.review-rating {
    margin-bottom: 6px;
}

.review-rating .stars-display {
    font-size: 0.85rem;
}

.review-text {
    font-size: 0.88rem;
    line-height: 1.45;
    color: var(--text-color, #333);
}

/* Review Form */
.review-form {
    background: var(--card-bg, #fafafa);
    border: 1px solid var(--border-color, #eee);
    border-radius: 10px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.review-stars-input {
    display: flex;
    gap: 4px;
    font-size: 1.6rem;
    cursor: pointer;
}

.review-stars-input .star-input {
    color: #ddd;
    transition: color 0.15s, transform 0.15s;
    user-select: none;
}

.review-stars-input .star-input.active,
.review-stars-input .star-input.hovered {
    color: #f5a623;
    transform: scale(1.15);
}

.review-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color, #ddd);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    background: var(--bg-color, #fff);
    color: var(--text-color, #333);
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.review-input:focus {
    outline: none;
    border-color: var(--primary-color, #c9a96e);
}

textarea.review-input {
    resize: vertical;
    min-height: 60px;
}

/* ========== 404 NOT FOUND ========== */
.product-not-found {
    text-align: center;
    padding: 60px 20px;
    max-width: 420px;
    margin: 0 auto;
}

.product-not-found .not-found-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.product-not-found h2 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--heading-color, #1a1a2e);
}

.product-not-found p {
    color: var(--text-secondary, #888);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.product-not-found .btn {
    display: inline-block;
    text-decoration: none;
}

/* ========== BRAND PAGE ========== */
.brand-page-header {
    text-align: center;
    padding: 20px 16px 10px;
}

.brand-back-link {
    display: inline-block;
    color: var(--primary-color, #c9a96e);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.brand-back-link:hover {
    text-decoration: underline;
}

.brand-page-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--heading-color, #1a1a2e);
    margin: 0 0 4px;
}

.brand-page-count {
    color: var(--text-secondary, #888);
    font-size: 0.9rem;
    margin: 0;
}

/* ========== GALLERY SWIPE ========== */
.modal-gallery-swipe {
    position: relative;
    overflow: hidden;
    cursor: grab;
    user-select: none;
}

.modal-gallery-swipe:active {
    cursor: grabbing;
}

.gallery-track {
    display: flex;
    transition: transform 0.3s ease;
    will-change: transform;
}

.gallery-slide {
    min-width: 100%;
    flex-shrink: 0;
}

.gallery-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.gallery-dot.active {
    background: #fff;
    transform: scale(1.2);
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}


