:root {
    --primary: #2a5a3b;
    --primary-light: #3e7c53;
    --primary-dark: #1b3d26;
    --accent: #d4af37;
    --bg-main: #f8f9fa;
    --bg-secondary: #ffffff;
    --text-main: #1a1a1a;
    --text-muted: #666666;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: 'Playfair Display', serif;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg-main);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--primary-light);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin { 100% { transform: rotate(360deg); } }

/* Navbar */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 25, 15, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled .logo,
.navbar.scrolled .nav-links a,
.navbar.scrolled .btn-icon {
    color: var(--text-main);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    width: 68px;
    height: 68px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
    transition: var(--transition);
    overflow: hidden;
}

.navbar.scrolled .logo {
    background: transparent;
    box-shadow: none;
    border-radius: 50%;
}

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

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0;
    width: 0; height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* CRM button — visible only in mobile drawer */
.nav-crm-btn {
    display: none;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.6rem 1.4rem;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.nav-crm-btn:hover { background: rgba(255,255,255,0.28); }

/* Buttons */
button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}

.btn-icon {
    background: transparent;
    position: relative;
    color: #ffffff;
    transition: var(--transition);
}

.btn-icon:hover {
    color: var(--primary);
}

.badge {
    position: absolute;
    top: -8px; right: -8px;
    background: var(--accent);
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-primary, .btn-secondary {
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.btn-primary.large, .btn-secondary.large {
    padding: 1rem 2.2rem;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 60%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(42, 90, 59, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(42, 90, 59, 0.35);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 8rem 5% 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to right, rgba(15, 35, 20, 0.95) 0%, rgba(15, 35, 20, 0.5) 100%), url('hero_bg.png') center/cover no-repeat;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 150px;
    background: linear-gradient(to bottom, transparent, var(--bg-main));
    pointer-events: none;
}

.hero-content {
    flex: 1;
    max-width: 650px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.highlight {
    color: var(--accent);
    font-style: italic;
    background: linear-gradient(45deg, #d4af37, #f3e5ab);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 90%;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
    z-index: 2;
}

/* Glassmorphism Card Mockup */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 1.5rem;
    width: 480px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(255,255,255,0.1);
    transform: rotate(1.5deg) translateY(-12px);
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.55s cubic-bezier(0.16, 1, 0.3, 1), background 0.55s cubic-bezier(0.16, 1, 0.3, 1);
    animation: heroDrift 10s ease-in-out infinite;
}

.glass-card:hover {
    transform: rotate(0deg) translateY(-18px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}

.plant-video-frame {
    height: 420px;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.05);
    background: #000;
}

.plant-info-mockup h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.plant-info-mockup .price {
    font-weight: 700;
    color: var(--accent);
    font-size: 1.4rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.btn-add {
    position: absolute;
    bottom: 1.5rem; right: 1.5rem;
    background: var(--primary);
    color: white;
    width: 40px; height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(22px);
    animation: heroRise 0.95s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fade-in {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
    animation: heroReveal 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes heroRise {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heroReveal {
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes heroDrift {
    0%, 100% { transform: rotate(1.5deg) translateY(-12px); }
    50% { transform: rotate(1deg) translateY(-18px); }
}

/* Catalog Grid */
.catalog-section {
    padding: 4rem 5% 5rem;
}

.section-header {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.sticky-catalog-header {
    position: sticky;
    top: 78px;
    z-index: 40;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    background: rgba(247, 251, 247, 0.88);
    border: 1px solid rgba(33, 85, 54, 0.12);
    box-shadow: 0 12px 30px rgba(11, 33, 18, 0.09);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.active-category-meta {
    margin-top: 0.55rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.active-category-label {
    font-size: 0.76rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
}

.active-category-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(42, 90, 59, 0.14), rgba(212, 175, 55, 0.16));
    color: var(--primary-dark);
    font-size: 0.78rem;
    font-weight: 700;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    position: relative;
    display: inline-block;
    padding-bottom: 0.6rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 60px; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.filters {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    background: white;
    border: 1px solid rgba(0,0,0,0.08);
    padding: 0.5rem 1.1rem;
    border-radius: 30px;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.85rem;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    white-space: nowrap;
    flex-shrink: 0;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(42, 90, 59, 0.2);
    transform: translateY(-2px);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.product-card {
    background: var(--bg-secondary);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(42, 90, 59, 0.12);
    border-color: rgba(42, 90, 59, 0.15);
}

.product-card.parallax-hover {
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.18s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.product-card.parallax-hover .product-img img {
    transform: translateZ(0);
    transition: transform 0.35s ease;
}

.product-card.parallax-hover:hover .product-img img {
    transform: scale(1.06) translate3d(var(--img-shift-x, 0), var(--img-shift-y, 0), 0);
}

.product-img {
    height: 280px;
    aspect-ratio: 4 / 3;
    background: #f4f6f3;
    overflow: hidden;
    position: relative;
}

.product-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-img img {
    transform: scale(1.08);
}

.product-details {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 0.75rem;
    color: var(--primary-light);
    background: rgba(42, 90, 59, 0.08);
    padding: 4px 10px;
    border-radius: 12px;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-title {
    font-size: 1.15rem;
    color: var(--text-main);
    margin-bottom: auto;
    font-weight: 700;
    line-height: 1.4;
    min-height: 4.05em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.01em;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.2rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(0,0,0,0.04);
    gap: 10px;
}

.product-price-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.product-price {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-main);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    font-family: 'Montserrat', -apple-system, sans-serif;
}

.product-low-stock {
    font-size: 0.7rem;
    color: #c05000;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.add-to-cart-btn {
    background: var(--primary);
    color: white;
    height: 38px;
    padding: 0 14px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.02em;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    box-shadow: 0 3px 10px rgba(42, 90, 59, 0.25);
    cursor: pointer;
    border: none;
}

.add-to-cart-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(42, 90, 59, 0.32);
}

.add-to-cart-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(42, 90, 59, 0.2);
}

.add-to-cart-btn--disabled,
.add-to-cart-btn:disabled {
    background: #b0b8b4;
    box-shadow: none;
    cursor: default;
    opacity: 0.75;
}

.add-to-cart-btn--disabled:hover,
.add-to-cart-btn:disabled:hover {
    background: #b0b8b4;
    transform: none;
    box-shadow: none;
}

/* Cart Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}
.modal.active { display: flex; }

.modal-content.cart-content {
    background: linear-gradient(180deg, #ffffff 0%, #f9fcfa 100%);
    width: min(580px, 96vw);
    border-radius: 24px;
    padding: 1.75rem;
    max-height: 92vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid rgba(33, 85, 54, 0.14);
    box-shadow: 0 22px 60px rgba(8, 30, 17, 0.2);
    animation: slideInRight 0.3s ease;
}

/* Cart steps header */
.cart-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}
.cart-steps {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}
.cart-step {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: #bbb;
    font-weight: 500;
    transition: color 0.2s;
}
.cart-step.active { color: var(--primary); }
.cart-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: #eee;
    font-size: 0.78rem;
    font-weight: 700;
    transition: background 0.2s, color 0.2s;
}
.cart-step.active .cart-step-num { background: var(--primary); color: #fff; }

.cart-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 0.88rem;
    font-family: inherit;
    cursor: pointer;
    padding: 0.25rem 0;
    margin-bottom: 1rem;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cart-back-btn:hover { opacity: 0.75; }

/* Delivery tabs */
.delivery-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.delivery-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 0.5rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    background: #fff;
    font-family: inherit;
    font-size: 0.9rem;
    color: #666;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.delivery-tab.active {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(42,90,59,0.05);
    font-weight: 600;
}

/* Payment tabs — same style as delivery tabs */
.payment-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.payment-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 0.5rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    background: #fff;
    font-family: inherit;
    font-size: 0.9rem;
    color: #666;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.payment-tab.active {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(42,90,59,0.05);
    font-weight: 600;
}
.checkout-hint {
    font-size: 0.82rem;
    color: #8a9a8e;
    margin: 0;
}

/* Checkout sections */
.checkout-section { margin-bottom: 1.25rem; }
.checkout-section-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #7a8f7e;
    margin-bottom: 0.6rem;
}
.checkout-fields-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}
@media (max-width: 420px) {
    .checkout-fields-row { grid-template-columns: 1fr; }
}

/* Icon-wrapped input */
.checkout-input-icon-wrap {
    position: relative;
    display: block;
}
.checkout-field-icon {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    pointer-events: none;
    z-index: 1;
}
.checkout-input-icon-wrap input {
    padding-left: 32px !important;
}

/* Order summary on step 2 */
.checkout-summary-block {
    background: rgba(42,90,59,0.04);
    border: 1px solid rgba(42,90,59,0.12);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
}
.checkout-summary-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #7a8f7e;
    margin-bottom: 0.6rem;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(42,90,59,0.08);
    gap: 0.5rem;
}
.summary-row:last-child { border-bottom: none; }
.summary-row-title { color: #444; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.summary-row-price { font-weight: 600; color: var(--primary); white-space: nowrap; }
.summary-row--total {
    margin-top: 0.3rem;
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
    border-top: 2px solid rgba(42,90,59,0.15);
    padding-top: 0.5rem;
}

/* Btn-go-checkout disabled state */
#btn-go-checkout:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* Submit button icon */
#btn-submit-order svg { margin-right: 0.3rem; vertical-align: middle; }

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.close-cart-btn {
    background: none;
    font-size: 1.5rem;
    color: var(--text-muted);
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f5f5f5;
}

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

.cart-item-info flex { flex: 1; }
.cart-item-title { font-weight: 500; font-size: 1rem; margin-bottom: 0.2rem; }
.cart-item-price { color: var(--primary); font-weight: 700; }

.cart-item-remove {
    color: #e74c3c;
    background: none;
    font-size: 1.2rem;
    padding: 0.5rem;
}

.cart-total {
    font-size: 1.2rem;
    text-align: right;
    margin: 1.5rem 0;
}

.checkout-form {
    background: linear-gradient(170deg, rgba(245, 251, 246, 0.95), rgba(239, 247, 241, 0.95));
    padding: 1.35rem;
    border-radius: 16px;
    border: 1px solid rgba(42, 90, 59, 0.14);
}

.checkout-form h3 {
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
}

.checkout-form input {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.checkout-form select {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    background: white;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.checkout-form input:focus,
.checkout-form select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(42, 90, 59, 0.14);
    background: #ffffff;
}
.delivery-hidden {
    display: none;
}
.checkout-hint {
    margin: 0.2rem 0 1rem;
    font-size: 0.85rem;
    color: #5f6b66;
}
.w-100 { width: 100%; }

.logo-img {
    height: 58px;
    width: 58px;
    object-fit: contain;
    display: block;
    border-radius: 50%;
}


.search-box { position: relative; width: 100%; max-width: 360px; }
.search-box input { width: 100%; padding: 10px 18px 10px 40px; border-radius: 25px; border: 1px solid rgba(0,0,0,0.1); outline: none; font-family: inherit; font-size: 0.95rem; transition: border-color 0.3s, box-shadow 0.3s; background: var(--bg-secondary); }
.search-box input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(42,90,59,0.1); }
.search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #aaa; pointer-events: none; }


.product-modal-content { max-width: 800px; width: 90%; padding: 0; overflow: hidden; background: #ffffff; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.2); position: relative; animation: slideUp 0.3s ease; }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.close-product-btn { position: absolute; right: 15px; top: 15px; font-size: 24px; background: none; border: none; cursor: pointer; color: #555; z-index: 10; }
.product-modal-body { display: flex; flex-direction: column; }
@media (min-width: 768px) { .product-modal-body { flex-direction: row; } }
.product-modal-img { flex: 1; min-height: 300px; background: #f9f9f9; display: flex; align-items: center; justify-content: center; }
.product-modal-img img { width: 100%; height: 100%; object-fit: cover; max-height: 500px; }
.product-modal-info { flex: 1; padding: 40px; }
.product-description ul { padding-left: 20px; }
.product-description p { margin-bottom: 10px; }


/* About & Delivery Sections */
.info-section {
    padding: 6rem 5%;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.about-gallery-section {
    padding: 0 5% 6rem;
    background: var(--bg-light);
}

.about-gallery-header {
    max-width: 760px;
    margin: 0 auto 2rem;
    text-align: center;
}

.about-gallery-header h2 {
    font-size: 2.3rem;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.about-gallery-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.about-gallery-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 220px;
    gap: 1rem;
}

.about-gallery-card {
    margin: 0;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    background: #edf3ed;
    cursor: zoom-in;
}

.about-gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.about-gallery-card:hover img {
    transform: scale(1.04);
}

.about-gallery-card--wide {
    grid-column: span 2;
}

.about-gallery-card--tall {
    grid-row: span 2;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(8, 14, 10, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 2000;
}

.image-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.image-lightbox img {
    max-width: min(1100px, 92vw);
    max-height: 88vh;
    width: auto;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.image-lightbox-close {
    position: absolute;
    top: 22px;
    right: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.14);
    color: white;
    font-size: 2rem;
    line-height: 1;
}

.image-lightbox-close:hover {
    background: rgba(255,255,255,0.22);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.delivery-bg {
    background: #f8faf9;
}

.delivery-container {
    max-width: 1200px;
    margin: 0 auto;
}

.delivery-header {
    text-align: center;
    margin-bottom: 4rem;
}

.delivery-header h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.delivery-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.delivery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.delivery-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: var(--transition);
}

.delivery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(42, 90, 59, 0.08);
}

.delivery-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.delivery-card h3 {
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.delivery-card p {
    color: var(--text-muted);
}

.delivery-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.8rem;
}

.delivery-detail-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.04);
    display: flex;
    gap: 1.2rem;
    transition: var(--transition);
}

.delivery-detail-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(42, 90, 59, 0.08);
}

.delivery-detail-icon {
    font-size: 2.2rem;
    flex-shrink: 0;
    line-height: 1;
}

.delivery-detail-card h3 {
    font-size: 1.15rem;
    color: var(--primary-dark);
    margin-bottom: 0.6rem;
}

.delivery-detail-card p,
.delivery-detail-card li {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.4rem;
}

.delivery-detail-card ul {
    padding-left: 1.2rem;
    margin: 0.5rem 0;
}

.delivery-detail-card a {
    color: var(--primary);
    text-decoration: none;
}

.delivery-note {
    margin-top: 0.8rem;
    font-size: 0.88rem !important;
    color: #888 !important;
    border-left: 3px solid var(--primary);
    padding-left: 0.8rem;
}

[data-theme="dark"] .delivery-detail-card { background: var(--bg-secondary); }
[data-theme="dark"] .delivery-detail-card h3 { color: var(--text-main); }
.site-footer {
    background: linear-gradient(160deg, #0b1e11 0%, #142b1a 40%, #0d2015 100%);
    padding: 5rem 5% 2rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    border-top: none;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary-light));
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 1;
}

.footer-col h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.8rem;
}

.contact-list a, .footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: var(--transition);
}

.contact-list a:hover, .footer-links a:hover {
    color: var(--accent);
}

.contact-list strong { color: rgba(255,255,255,0.85); }
.contact-list span {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.38);
}

.address-block {
    margin-bottom: 1.2rem;
}

.address-block strong {
    display: block;
    margin-bottom: 0.3rem;
    color: rgba(255,255,255,0.85);
}
.address-block p { color: rgba(255,255,255,0.55); margin: 0; }

.schedule-list span {
    display: inline-block;
    width: 100px;
    color: rgba(255,255,255,0.85);
}
.schedule-list li { color: rgba(255,255,255,0.6); }

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    position: relative;
    z-index: 1;
}

.social-links {
    display: flex;
    gap: 0.8rem;
}

.social-links a {
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
}

.social-links a:hover {
    color: white;
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(42,90,59,0.4);
}

/* ============================================
   SECTION TAG
   ============================================ */
.section-tag {
    display: inline-block;
    background: rgba(42, 90, 59, 0.1);
    color: var(--primary);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.8rem;
    border: 1px solid rgba(42, 90, 59, 0.2);
}
[data-theme="dark"] .section-tag {
    background: rgba(62,124,83,0.15);
    color: var(--primary-light);
    border-color: rgba(62,124,83,0.3);
}

/* ============================================
   HERO BADGES
   ============================================ */
.hero-badges {
    display: flex;
    gap: 1.2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.hero-badge {
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 14px;
    padding: 0.75rem 1.2rem;
    text-align: center;
    min-width: 90px;
}

.hero-badge .badge-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

.hero-badge .badge-text {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.2rem;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    background: var(--bg-secondary);
    padding: 4rem 5%;
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(42,90,59,0.15), transparent);
}

.features-section::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(42,90,59,0.1), transparent);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 20px;
    background: var(--bg-main);
    border: 1px solid rgba(42,90,59,0.07);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    width: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: translateX(-50%);
    transition: width 0.4s ease;
    border-radius: 2px;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(42,90,59,0.08);
    border-color: rgba(42,90,59,0.15);
}

.feature-card:hover::after {
    width: 60%;
}

.feature-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(42, 90, 59, 0.1);
    border: 1.5px solid rgba(42, 90, 59, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    color: var(--primary);
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
}

.feature-card:hover .feature-icon-wrap {
    transform: scale(1.08) translateY(-3px);
    background: rgba(42, 90, 59, 0.16);
    box-shadow: 0 6px 20px rgba(42, 90, 59, 0.15);
}

.feature-card h3 {
    font-size: 1.05rem;
    color: var(--primary-dark);
    margin-bottom: 0.7rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

[data-theme="dark"] .features-section { background: var(--bg-secondary); }
[data-theme="dark"] .feature-card { background: var(--bg-main); border-color: rgba(255,255,255,0.05); }
[data-theme="dark"] .feature-card h3 { color: #c8e6c9; }

@media (max-width: 1024px) {
    .features-container { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
}
@media (max-width: 480px) {
    .features-container { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
    .feature-card { padding: 1.5rem 1rem; }
    .feature-icon-wrap { width: 52px; height: 52px; border-radius: 14px; }
    .hero-badges { gap: 0.7rem; }
    .hero-badge .badge-num { font-size: 1.2rem; }
}

/* ============================================
   НОВІ ФУНКЦІЇ — 2026
   ============================================ */

/* ---------- Dark Mode ---------- */
[data-theme="dark"] {
    --bg-main: #121212;
    --bg-secondary: #1e1e1e;
    --text-main: #e2e2e2;
    --text-muted: #9e9e9e;
    --glass-bg: rgba(30,30,30,0.8);
    --glass-border: rgba(255,255,255,0.08);
}
[data-theme="dark"] body { background-color: var(--bg-main); color: var(--text-main); }
[data-theme="dark"] .product-card { background: var(--bg-secondary); border-color: rgba(255,255,255,0.05); }
[data-theme="dark"] .product-title { color: var(--text-main); }
[data-theme="dark"] .product-price { color: var(--text-main); }
[data-theme="dark"] .filter-btn { background: #2a2a2a; border-color: rgba(255,255,255,0.1); color: var(--text-muted); }
[data-theme="dark"] .filter-btn.active,
[data-theme="dark"] .filter-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }
[data-theme="dark"] .search-box input { background: #2a2a2a; border-color: #3a3a3a; color: var(--text-main); }
[data-theme="dark"] .search-box input::placeholder { color: #666; }
[data-theme="dark"] .site-footer { background: linear-gradient(160deg, #070f0a 0%, #0e1e12 100%); }
[data-theme="dark"] .footer-col h3 { color: #ffffff; }
[data-theme="dark"] .contact-list a,
[data-theme="dark"] .footer-links a { color: rgba(255,255,255,0.5); }
[data-theme="dark"] .modal-content { background: var(--bg-secondary); color: var(--text-main); }
[data-theme="dark"] .modal-header { border-bottom-color: #3a3a3a; }
[data-theme="dark"] .cart-modal-header { border-bottom-color: #3a3a3a; }
[data-theme="dark"] .cart-step:not(.active) { color: #555; }
[data-theme="dark"] .cart-step-num { background: #3a3a3a; }
[data-theme="dark"] .cart-item { border-bottom-color: #2e2e2e; }
[data-theme="dark"] .cart-total { color: var(--text-main); }
[data-theme="dark"] .checkout-form { background: #2a2a2a; }
[data-theme="dark"] .checkout-form h3 { color: var(--text-main); }
[data-theme="dark"] .checkout-form input { background: #333; border-color: #444; color: var(--text-main); }
[data-theme="dark"] .checkout-form select { background: #333; border-color: #444; color: var(--text-main); }
[data-theme="dark"] .checkout-form input::placeholder { color: #666; }
[data-theme="dark"] .checkout-hint { color: #a9b0ad; }
[data-theme="dark"] .checkout-section-title { color: #8fa88e; }
[data-theme="dark"] .delivery-tab { border-color: #3a3a3a; background: #2a2a2a; color: #aaa; }
[data-theme="dark"] .delivery-tab.active { border-color: var(--primary-light); color: var(--primary-light); background: rgba(62,124,83,0.12); }
[data-theme="dark"] .payment-tab { border-color: #3a3a3a; background: #2a2a2a; color: #aaa; }
[data-theme="dark"] .payment-tab.active { border-color: var(--primary-light); color: var(--primary-light); background: rgba(62,124,83,0.12); }
[data-theme="dark"] .checkout-summary-block { background: rgba(62,124,83,0.08); border-color: rgba(62,124,83,0.2); }
[data-theme="dark"] .summary-row { border-bottom-color: rgba(62,124,83,0.12); }
[data-theme="dark"] .summary-row-title { color: #ccc; }
[data-theme="dark"] .cart-back-btn { color: var(--primary-light); }
[data-theme="dark"] .delivery-card { background: var(--bg-secondary); }
[data-theme="dark"] .delivery-card h3 { color: var(--text-main); }
[data-theme="dark"] .about-content h2,
[data-theme="dark"] .about-gallery-header h2,
[data-theme="dark"] .section-header h2,
[data-theme="dark"] .delivery-header h2 { color: #c8e6c9; }
[data-theme="dark"] .stat-number { color: var(--primary-light); }
[data-theme="dark"] .product-category { background: rgba(62,124,83,0.2); color: var(--primary-light); }
[data-theme="dark"] .about-gallery-section { background: var(--bg-primary); }
[data-theme="dark"] .about-gallery-card { background: #263126; }

/* Dark Mode Toggle Button */
.btn-dark-mode {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.btn-dark-mode:hover { background: rgba(255,255,255,0.12); }
.navbar.scrolled .btn-dark-mode { color: var(--text-main); }

/* ---------- Hamburger ---------- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}
.navbar.scrolled .hamburger span { background: var(--text-main); }
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Nav Overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 998;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}
.nav-overlay.active { display: block; }

/* ============================================
   CATALOG LAYOUT — SIDEBAR + GRID
   ============================================ */
.catalog-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2rem;
    align-items: start;
}

/* Sidebar */
.catalog-sidebar {
    position: sticky;
    top: 90px;
}

.sidebar-toggle {
    display: none;
    width: 100%;
    align-items: center;
    gap: 0.6rem;
    background: var(--bg-secondary);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    margin-bottom: 0;
    transition: var(--transition);
}

.sidebar-toggle-arrow {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.sidebar-toggle[aria-expanded="true"] .sidebar-toggle-arrow {
    transform: rotate(180deg);
}

/* Filters — vertical list */
.filters {
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow: visible;
    padding: 0;
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 0.75rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.05);
}

.filter-btn {
    background: transparent;
    border: none;
    padding: 0.55rem 0.9rem;
    border-radius: 10px;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.875rem;
    transition: background 0.2s, color 0.2s;
    box-shadow: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    width: 100%;
    cursor: pointer;
}

.filter-btn.active {
    background: var(--primary);
    color: white;
    font-weight: 600;
}

.filter-btn:hover:not(.active) {
    background: rgba(42, 90, 59, 0.08);
    color: var(--primary);
}

/* Dark mode sidebar */
[data-theme="dark"] .filters { background: var(--bg-secondary); border-color: rgba(255,255,255,0.06); }
[data-theme="dark"] .filter-btn { color: var(--text-muted); }
[data-theme="dark"] .filter-btn.active { background: var(--primary); color: white; }
[data-theme="dark"] .filter-btn:hover:not(.active) { background: rgba(62,124,83,0.15); color: var(--primary-light); }
[data-theme="dark"] .sidebar-toggle { background: var(--bg-secondary); border-color: rgba(255,255,255,0.1); color: var(--text-main); }

/* Catalog main */
.catalog-main { min-width: 0; }

/* Mobile: collapse sidebar */
@media (max-width: 900px) {
    .catalog-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .catalog-sidebar {
        position: static;
    }

    .sidebar-toggle {
        display: flex;
    }

    .filters {
        display: none;
        border-radius: 0 0 12px 12px;
        border-top: none;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        margin-top: -4px;
        max-height: 260px;
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: rgba(42,90,59,0.3) transparent;
    }

    .filters.open {
        display: flex;
    }

    .sidebar-toggle {
        border-radius: 12px;
    }

    .sidebar-toggle[aria-expanded="true"] {
        border-radius: 12px 12px 0 0;
        border-bottom-color: transparent;
    }
}

/* ---------- Favorites Button ---------- */
.btn-favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255,255,255,0.92);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
    z-index: 2;
    color: #666;
}
.btn-favorite:hover { transform: scale(1.15); background: white; }
.btn-favorite.active { background: #fff0f0; color: #e74c3c; }
[data-theme="dark"] .btn-favorite { background: rgba(40,40,40,0.92); color: #bbb; }
[data-theme="dark"] .btn-favorite.active { background: rgba(60,15,15,0.9); color: #e74c3c; }

/* ---------- Cart Quantity Controls ---------- */
.cart-qty-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 6px;
}
.cart-qty-btn {
    background: #f0f0f0;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    color: #333;
    flex-shrink: 0;
}
.cart-qty-btn:hover { background: var(--primary); color: white; }
.cart-qty-value { font-weight: 700; min-width: 20px; text-align: center; font-size: 1rem; }
[data-theme="dark"] .cart-qty-btn { background: #3a3a3a; color: #e0e0e0; }

/* ---------- Nova Poshta Autocomplete ---------- */
.autocomplete-wrapper { position: relative; z-index: 5; margin-bottom: 1rem; }
.autocomplete-wrapper:focus-within { z-index: 3600; }
.autocomplete-wrapper input { margin-bottom: 0 !important; }
.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 10px 10px;
    max-height: 260px;
    overflow-y: auto;
    z-index: 3601;
    display: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.autocomplete-item {
    padding: 10px 14px;
    cursor: pointer;
    font-size: 0.88rem;
    color: #333;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.15s;
}
.autocomplete-item:last-child { border-bottom: none; }
.autocomplete-item:hover { background: #f0f7f3; }
.autocomplete-status {
    padding: 10px 14px;
    font-size: 0.85rem;
    color: #6b7280;
    border-bottom: 1px solid #f5f5f5;
    background: #fafafa;
}
[data-theme="dark"] .autocomplete-dropdown { background: #2a2a2a; border-color: #3a3a3a; }
[data-theme="dark"] .autocomplete-item { color: #e0e0e0; border-bottom-color: #333; }
[data-theme="dark"] .autocomplete-item:hover { background: #353535; }
[data-theme="dark"] .autocomplete-status { color: #b7c0ba; border-bottom-color: #333; background: #2f2f2f; }

/* ---------- Journey Animation Strip ---------- */
.journey-anim-wrap {
    max-width: 920px;
    margin: 0 auto 2.75rem;
    padding: 0 0.5rem;
}
.ja-scenes {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0;
}
.ja-scene {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 0;
}
.ja-scene-svg {
    width: 100%;
    max-width: 200px;
    display: block;
    filter: drop-shadow(0 4px 14px rgba(42,90,59,0.10));
    border-radius: 18px;
    overflow: visible;
}
.ja-arrow {
    font-size: 2rem;
    color: #a5d6a7;
    font-weight: 300;
    line-height: 1;
    padding: 0 0.2rem;
    padding-bottom: 2.2rem;
    flex-shrink: 0;
    user-select: none;
}
.ja-label {
    margin-top: 0.55rem;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #6a8f6a;
}
@media (max-width: 600px) {
    .ja-arrow { font-size: 1.3rem; padding-bottom: 1.8rem; }
    .ja-label { font-size: 0.68rem; }
}

/* ── Scene 1: Digging ── */
/* Plant lifts up smoothly then settles */
.ja-s1-plant {
    transform-box: fill-box;
    transform-origin: 50% 100%;
    animation: s1PlantLift 2.8s cubic-bezier(.4,0,.2,1) infinite;
}
@keyframes s1PlantLift {
    0%           { transform: translateY(4px);  }
    30%, 55%     { transform: translateY(-16px); }
    100%         { transform: translateY(4px);  }
}
/* Shovel: plant in, push down, lever up, repeat */
.ja-s1-shovel {
    transform-box: fill-box;
    transform-origin: 50% 15%;
    animation: s1Shovel 2.8s cubic-bezier(.4,0,.2,1) infinite;
}
@keyframes s1Shovel {
    0%       { transform: rotate(-28deg); }
    18%      { transform: rotate(14deg);  }
    38%      { transform: rotate(-5deg);  }
    60%      { transform: rotate(-32deg); }
    100%     { transform: rotate(-28deg); }
}
/* Dirt crumbs pop up then fall */
.ja-s1-dirt {
    transform-box: fill-box;
    transform-origin: 50% 50%;
    animation: s1Dirt 2.8s ease-in-out infinite;
}
@keyframes s1Dirt {
    0%, 10%  { transform: translate(0,0);    opacity: 0;   }
    25%      { transform: translate(6px,-14px); opacity: 0.85;}
    45%      { transform: translate(10px,4px);  opacity: 0.5; }
    55%, 100%{ transform: translate(0,0);    opacity: 0;   }
}

/* ── Scene 2: Packing ── */
/* Lid opens (flips up) then closes */
.ja-s2-lid {
    transform-box: fill-box;
    transform-origin: 50% 100%;
    animation: s2Lid 3.4s cubic-bezier(.4,0,.2,1) infinite;
}
@keyframes s2Lid {
    0%, 5%     { transform: scaleY(1)   translateY(0);  opacity: 1; }
    18%, 62%   { transform: scaleY(-0.18) translateY(-38px); opacity: 0.2; }
    80%, 100%  { transform: scaleY(1)   translateY(0);  opacity: 1; }
}
/* Plant appears inside open box, hides when closed */
.ja-s2-plant {
    transform-box: fill-box;
    transform-origin: 50% 100%;
    animation: s2Plant 3.4s cubic-bezier(.4,0,.2,1) infinite;
}
@keyframes s2Plant {
    0%, 10%   { transform: translateY(12px); opacity: 0; }
    24%, 60%  { transform: translateY(0);    opacity: 1; }
    76%, 100% { transform: translateY(12px); opacity: 0; }
}
/* Tape appears when box is sealed */
.ja-s2-tape {
    animation: s2Tape 3.4s ease-in-out infinite;
}
@keyframes s2Tape {
    0%, 74%   { opacity: 0; }
    88%, 100% { opacity: 1; }
}

/* ── Scene 3: Loading ── */
/* Box drops from above into the truck bed */
.ja-s3-box {
    transform-box: fill-box;
    transform-origin: 50% 50%;
    animation: s3BoxDrop 3s cubic-bezier(.4,0,.2,1) infinite;
}
@keyframes s3BoxDrop {
    0%, 8%    { transform: translateY(-52px); opacity: 0; }
    22%       { transform: translateY(-52px); opacity: 1; }
    42%, 90%  { transform: translateY(22px);  opacity: 1; }
    100%      { transform: translateY(22px);  opacity: 1; }
}
/* Wheels idle spin (parked) */
.ja-s3-wheel-r { transform-box: fill-box; transform-origin: center; animation: wheelSpin 2.2s linear infinite; }
.ja-s3-wheel-f { transform-box: fill-box; transform-origin: center; animation: wheelSpin 2.2s linear infinite; }

/* ── Scene 4: Driving ── */
/* Truck drives right, slight bounce */
.ja-s4-truck {
    transform-box: fill-box;
    transform-origin: 50% 100%;
    animation: s4Drive 1.8s ease-in-out infinite;
}
@keyframes s4Drive {
    0%, 100% { transform: translateY(0); }
    25%      { transform: translateY(-5px) rotate(0.6deg); }
    75%      { transform: translateY(-3px) rotate(-0.4deg); }
}
/* Wheels spin fast while driving */
.ja-s4-wheel {
    transform-box: fill-box;
    transform-origin: center;
    animation: wheelSpin 0.55s linear infinite;
}
/* Clouds drift left slowly */
.ja-s4-cloud1 {
    animation: cloudDrift 14s linear infinite;
}
.ja-s4-cloud2 {
    animation: cloudDrift 10s linear infinite 3s;
}
@keyframes cloudDrift {
    0%   { transform: translateX(12px); opacity: 0.7; }
    50%  { opacity: 0.9; }
    100% { transform: translateX(-30px); opacity: 0.5; }
}
/* Speed streaks flicker */
.ja-s4-streaks {
    animation: streakFlash 0.55s ease-in-out infinite;
}
@keyframes streakFlash {
    0%, 100% { opacity: 1;   transform: translateX(0); }
    50%      { opacity: 0.4; transform: translateX(4px); }
}

/* Shared wheel spin keyframe */
@keyframes wheelSpin { to { transform: rotate(360deg); } }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .ja-s1-plant, .ja-s1-shovel, .ja-s1-dirt,
    .ja-s2-lid, .ja-s2-plant, .ja-s2-tape,
    .ja-s3-box, .ja-s3-wheel-r, .ja-s3-wheel-f,
    .ja-s4-truck, .ja-s4-wheel, .ja-s4-cloud1, .ja-s4-cloud2, .ja-s4-streaks {
        animation: none;
    }
    .ja-s2-lid   { opacity: 1; }
    .ja-s2-plant { opacity: 1; transform: translateY(0); }
    .ja-s2-tape  { opacity: 1; }
    .ja-s3-box   { transform: translateY(22px); opacity: 1; }
}

[data-theme="dark"] .ja-label { color: #a5d6a7; }
[data-theme="dark"] .ja-arrow { color: #4caf50; }
[data-theme="dark"] .ja-scene-svg { filter: drop-shadow(0 4px 14px rgba(0,0,0,0.35)) brightness(0.92); }

/* ---------- Product Detail Page (product.html) ---------- */
.product-page {
    padding: 8rem 5% 5rem;
    max-width: 1200px;
    margin: 0 auto;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 2.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: #ccc; }
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.product-detail-img {
    border-radius: 20px;
    overflow: hidden;
    background: #f4f6f3;
    aspect-ratio: 4/5;
    max-height: 600px;
}
.product-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-info { padding: 0.5rem 0; }
.product-detail-title {
    font-size: 2.2rem;
    color: var(--text-main);
    margin: 1rem 0;
    line-height: 1.25;
    font-family: 'Playfair Display', serif;
}
.product-detail-price {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 1.5rem 0;
    font-variant-numeric: tabular-nums;
}
.product-detail-desc { color: var(--text-muted); line-height: 1.8; margin-bottom: 2rem; }
.product-detail-desc p { margin-bottom: 0.6rem; }
.product-detail-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.product-detail-actions .btn-primary,
.product-detail-actions .btn-secondary { flex: 1; min-width: 180px; text-align: center; }
[data-theme="dark"] .product-detail-img { background: #2a2a2a; }
[data-theme="dark"] .product-detail-title { color: var(--text-main); }

/* ---------- Contacts Page ---------- */
.contacts-section { padding: 5rem 5% 4rem; background: var(--bg-light); }
.contacts-section.info-section { padding: 4rem 5%; }
.contacts-container { max-width: 1200px; margin: 0 auto; }
.contacts-header { text-align: center; margin-bottom: 3rem; }
.contacts-header h1 { font-size: 2.8rem; color: var(--primary-dark); margin-bottom: 0.8rem; }
.contacts-header p { font-size: 1.1rem; color: var(--text-muted); }

.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contacts-info { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.04);
    transition: var(--transition);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 12px 35px rgba(42, 90, 59, 0.08); }
.contact-icon { font-size: 2.4rem; margin-bottom: 1rem; display: block; }
.contact-card h3 { font-size: 1.15rem; color: var(--primary-dark); margin-bottom: 1rem; }
.contact-card p, .contact-card li { color: var(--text-muted); line-height: 1.8; margin-bottom: 0.5rem; }
.contact-card a { color: var(--primary); text-decoration: none; font-weight: 500; }
.contact-card a:hover { text-decoration: underline; }
.contact-card ul { list-style: none; padding: 0; }
.contact-card span { color: #999; font-size: 0.85rem; margin-left: 0.3rem; }

.social-card .social-links { margin-top: 1rem; }
.social-links { display: flex; gap: 1rem; align-items: center; }
.social-links a { color: var(--primary); transition: var(--transition); }
.social-links a:hover { color: var(--primary-dark); transform: scale(1.1); }

.contacts-map { border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }

[data-theme="dark"] .contacts-section { background: var(--bg-primary); }
[data-theme="dark"] .contact-card { background: var(--bg-secondary); }
[data-theme="dark"] .contact-card h3 { color: var(--text-main); }
[data-theme="dark"] .contacts-header h1 { color: #c8e6c9; }

/* ---------- Responsive / Mobile ---------- */
@media (max-width: 900px) {
    .product-detail-grid { grid-template-columns: 1fr; gap: 2rem; }
    .product-detail-img { aspect-ratio: 16/9; max-height: 340px; }
    .about-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
    .hamburger { display: flex; }

    .nav-links {
        position: fixed;
        top: 0; left: -100%;
        width: 300px; height: 100%;
        background: var(--primary-dark);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 5rem 2.5rem;
        gap: 2rem;
        transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
        box-shadow: 4px 0 30px rgba(0,0,0,0.25);
    }
    .nav-links.open { left: 0; }
    .nav-links a { font-size: 1.2rem; color: white !important; }
    .nav-links a::after { background: rgba(255,255,255,0.5); }
    .nav-crm-btn { display: block; }

    .hero { flex-direction: column; padding: 7rem 5% 3rem; text-align: center; }
    .hero h1 { font-size: 2.8rem; }
    .hero p { max-width: 100%; font-size: 1.1rem; }
    .hero-buttons { justify-content: center; flex-wrap: wrap; }
    .hero-image { display: none; }

    .about-gallery-section { padding: 0 5% 4rem; }
    .about-gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 240px;
    }
    .about-gallery-card--wide,
    .about-gallery-card--tall {
        grid-column: span 1;
        grid-row: span 1;
    }
    .image-lightbox {
        padding: 1rem;
    }
    .image-lightbox-close {
        top: 14px;
        right: 14px;
    }

    .section-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .sticky-catalog-header { top: 70px; }
    .search-box { max-width: 100%; }

    .grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.2rem; }
    .footer-container { grid-template-columns: 1fr 1fr; }
    .product-page { padding: 7rem 5% 3rem; }
}

@media (max-width: 480px) {
    .logo {
        width: 58px;
        height: 58px;
    }
    .logo-img {
        width: 50px;
        height: 50px;
    }
    .hero h1 { font-size: 2.2rem; }
    .sticky-catalog-header {
        top: 64px;
        padding: 0.8rem;
        border-radius: 12px;
    }
    .active-category-meta { margin-top: 0.4rem; }
    .grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
    .product-img { height: 190px; aspect-ratio: 1 / 1; }
    .product-details { padding: 1rem; }
    .product-title { font-size: 0.9rem; min-height: 2.75em; -webkit-line-clamp: 2; }
    .product-price { font-size: 1.1rem; }
    .modal-content.cart-content {
        width: calc(100vw - 1rem);
        padding: 1.1rem;
        border-radius: 16px;
        max-height: 92vh;
    }
    .modal-header {
        margin-bottom: 1rem;
        padding-bottom: 0.8rem;
    }
    .checkout-form {
        padding: 1rem;
        border-radius: 12px;
    }
    .checkout-form h3 {
        font-size: 1rem;
    }
    .footer-container { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .product-detail-title { font-size: 1.7rem; }
    .product-detail-price { font-size: 1.8rem; }
}

/* ============================================
   QUICK VIEW
   ============================================ */

/* Hover overlay button on product card */
.product-img {
    position: relative;
}

.quick-view-btn {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: rgba(10, 25, 15, 0.78);
    color: white;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 0.7rem;
    border: none;
    cursor: pointer;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.product-card:hover .quick-view-btn {
    opacity: 1;
    transform: translateY(0);
}

@media (hover: none), (pointer: coarse) {
    .quick-view-btn {
        opacity: 1;
        transform: none;
        font-size: 0.76rem;
        padding: 0.55rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .product-card.parallax-hover {
        transform: none !important;
    }
}

/* Quick view modal */
.quick-view-content {
    background: white;
    border-radius: 24px;
    width: min(880px, 94vw);
    max-height: 92vh;
    overflow: hidden;
    position: relative;
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
}

.close-quick-view-btn {
    position: absolute;
    top: 14px; right: 16px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.07);
    color: #444;
    font-size: 1.4rem;
    line-height: 1;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
    z-index: 10;
    border: none;
    cursor: pointer;
}
.close-quick-view-btn:hover { background: rgba(0,0,0,0.14); }

.quick-view-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 460px;
    max-height: 90vh;
    overflow: hidden;
}

.quick-view-img {
    background: #f4f6f3;
    overflow: hidden;
}

.quick-view-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

.quick-view-info {
    padding: 2.5rem 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
}

.quick-view-info h2 {
    font-size: 1.5rem;
    color: var(--text-main);
    line-height: 1.3;
    font-family: 'Playfair Display', serif;
}

.quick-view-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.quick-view-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    flex: 1;
    overflow-y: auto;
    max-height: 180px;
}

.quick-view-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}
.quick-view-actions .btn-primary,
.quick-view-actions .btn-secondary { flex: 1; min-width: 140px; text-align: center; }

/* Dark mode */
[data-theme="dark"] .quick-view-content { background: var(--bg-secondary); }
[data-theme="dark"] .quick-view-img { background: #2a2a2a; }
[data-theme="dark"] .quick-view-info h2 { color: var(--text-main); }
[data-theme="dark"] .close-quick-view-btn { background: rgba(255,255,255,0.1); color: #ccc; }
[data-theme="dark"] .quick-view-actions { border-top-color: rgba(255,255,255,0.07); }

@media (max-width: 640px) {
    .quick-view-body { grid-template-columns: 1fr; }
    .quick-view-img { height: 220px; }
    .quick-view-info { padding: 1.5rem; }
    .quick-view-btn { opacity: 1; transform: none; font-size: 0.78rem; }
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   DARK MODE EXTRA OVERRIDES
   ============================================ */
[data-theme="dark"] .btn-secondary {
    border-color: var(--primary-light);
    color: var(--primary-light);
}
[data-theme="dark"] .btn-secondary:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
[data-theme="dark"] .section-tag {
    background: rgba(62,124,83,0.15);
    color: #81c784;
    border-color: rgba(62,124,83,0.3);
}
[data-theme="dark"] .section-header h2 { color: #c8e6c9; }

/* ============================================
   PAGE HERO (delivery / contacts / about)
   ============================================ */
.page-hero {
    background: linear-gradient(135deg, #0a1a0e 0%, #142b1a 50%, #0f2416 100%);
    padding: calc(80px + 4rem) 5% 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 40%, rgba(42,90,59,0.25) 0%, transparent 70%);
    pointer-events: none;
}
.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
}
.page-hero .section-tag {
    background: rgba(255,255,255,0.08);
    color: #a5d6a7;
    border: 1px solid rgba(255,255,255,0.12);
    margin-bottom: 1.2rem;
    display: inline-block;
}
.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    color: #fff;
    margin: 0 0 1rem;
    line-height: 1.2;
}
.page-hero p {
    color: rgba(255,255,255,0.65);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* ============================================
   DELIVERY PAGE (dp-*)
   ============================================ */
.dp-section {
    padding: 5rem 5%;
    background: var(--bg-main);
}
.dp-section--alt {
    background: var(--bg-secondary);
}
.dp-container {
    max-width: 1200px;
    margin: 0 auto;
}
.dp-section-head {
    text-align: center;
    margin-bottom: 3.5rem;
}
.dp-section-head h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--text-main);
    margin: 0.6rem 0 0.8rem;
}
.dp-section-head p {
    color: var(--text-muted);
    font-size: 1.05rem;
}
.dp-methods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
}
.dp-method-card {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 2rem 1.8rem;
    border: 1px solid rgba(42,90,59,0.08);
    display: flex;
    gap: 1.4rem;
    align-items: flex-start;
    transition: box-shadow 0.3s, transform 0.3s;
    position: relative;
    overflow: hidden;
}
.dp-method-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s;
}
.dp-method-card:hover {
    box-shadow: 0 12px 40px rgba(42,90,59,0.12);
    transform: translateY(-4px);
}
.dp-method-card:hover::before { opacity: 1; }
.dp-method-num {
    font-size: 2.8rem;
    font-weight: 800;
    color: rgba(42,90,59,0.12);
    line-height: 1;
    min-width: 3.2rem;
    font-family: 'Montserrat', sans-serif;
    position: absolute;
    top: 1.2rem;
    right: 1.6rem;
}
.dp-method-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: linear-gradient(135deg, rgba(42,90,59,0.12), rgba(42,90,59,0.06));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}
.dp-method-body { flex: 1; }
.dp-method-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 0.6rem;
}
.dp-method-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}
.dp-badge {
    background: rgba(42,90,59,0.1);
    color: var(--primary);
    border: 1px solid rgba(42,90,59,0.2);
    border-radius: 20px;
    padding: 0.2rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}
.dp-badge--fast { background: rgba(255,152,0,0.1); color: #e65100; border-color: rgba(255,152,0,0.3); }
.dp-badge--free { background: rgba(46,125,50,0.12); color: #2e7d32; border-color: rgba(46,125,50,0.25); }
.dp-method-body p { font-size: 0.93rem; color: var(--text-muted); margin-bottom: 0.7rem; line-height: 1.6; }
.dp-list {
    list-style: none;
    padding: 0;
    margin: 0 0 0.8rem;
}
.dp-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 0.25rem 0 0.25rem 1.2rem;
    position: relative;
}
.dp-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}
.dp-note {
    font-size: 0.82rem !important;
    color: var(--text-muted) !important;
    background: rgba(42,90,59,0.05);
    border-left: 3px solid var(--primary-light);
    padding: 0.5rem 0.8rem !important;
    border-radius: 0 8px 8px 0;
    margin-top: 0.6rem;
}
.dp-note a { color: var(--primary); }

/* Payment + Returns two-col */
.dp-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}
.dp-info-block {
    background: var(--bg-main);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(42,90,59,0.1);
}
.dp-info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1.2rem;
    box-shadow: 0 4px 16px rgba(42,90,59,0.25);
}
.dp-info-icon--accent {
    background: linear-gradient(135deg, #2e7d32, #1b5e20);
}
.dp-info-block h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 0.8rem;
}
.dp-info-block > p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 1rem; }
.dp-payment-methods {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}
.dp-pay-chip {
    background: var(--bg-secondary);
    border: 1px solid rgba(42,90,59,0.2);
    border-radius: 20px;
    padding: 0.3rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-main);
}
.dp-check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}
.dp-check-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 0.35rem 0 0.35rem 1.6rem;
    position: relative;
}
.dp-check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* Delivery CTA */
.dp-cta {
    background: linear-gradient(135deg, #0b1e11 0%, #142b1a 50%, #0d2015 100%);
    padding: 5rem 5%;
    text-align: center;
}
.dp-cta-inner { max-width: 620px; margin: 0 auto; }
.dp-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    color: #fff;
    margin: 0 0 0.8rem;
}
.dp-cta p { color: rgba(255,255,255,0.6); margin-bottom: 2rem; font-size: 1.05rem; }
.dp-cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Delivery dark mode */
[data-theme="dark"] .dp-method-card { background: var(--bg-secondary); border-color: rgba(255,255,255,0.05); }
[data-theme="dark"] .dp-info-block { background: var(--bg-secondary); border-color: rgba(255,255,255,0.05); }
[data-theme="dark"] .dp-pay-chip { background: rgba(255,255,255,0.06); }
[data-theme="dark"] .dp-note { background: rgba(42,90,59,0.1); }

/* Delivery responsive */
@media (max-width: 900px) {
    .dp-methods-grid { grid-template-columns: 1fr; }
    .dp-two-col { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .dp-method-card { flex-direction: column; gap: 1rem; }
    .dp-method-num { top: 0.8rem; right: 1rem; }
}

/* ============================================
   CONTACTS PAGE (ct-*)
   ============================================ */
.ct-strip {
    background: var(--primary);
    padding: 0;
}
.ct-strip-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.ct-strip-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.6rem 1.8rem;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    border-right: 1px solid rgba(255,255,255,0.1);
    transition: background 0.2s;
}
.ct-strip-item:last-child { border-right: none; }
.ct-strip-item:hover { background: rgba(255,255,255,0.06); }
.ct-strip-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(255,255,255,0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.ct-strip-label { font-size: 0.75rem; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 0.25rem; }
.ct-strip-value { font-size: 0.9rem; font-weight: 600; color: white; }

.ct-main {
    padding: 4.5rem 5%;
    background: var(--bg-main);
}
.ct-container {
    max-width: 1200px;
    margin: 0 auto;
}
.ct-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2.5rem;
    align-items: start;
}
.ct-map-wrap {
    border-radius: 20px;
    overflow: hidden;
    height: 580px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.ct-map-wrap iframe { width: 100%; height: 100%; display: block; }

.ct-cards {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.ct-card {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 1.4rem 1.6rem;
    border: 1px solid rgba(42,90,59,0.08);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: box-shadow 0.25s, transform 0.25s;
}
.ct-card:hover {
    box-shadow: 0 6px 24px rgba(42,90,59,0.1);
    transform: translateY(-2px);
}
.ct-card-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: linear-gradient(135deg, rgba(42,90,59,0.12), rgba(42,90,59,0.06));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-top: 2px;
}
.ct-card-body h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 0.6rem;
}
.ct-phone-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.ct-phone-list li {
    font-size: 0.88rem;
    display: flex;
    gap: 0.5rem;
    align-items: baseline;
}
.ct-phone-list li a { color: var(--text-main); font-weight: 600; text-decoration: none; }
.ct-phone-list li a:hover { color: var(--primary); }
.ct-phone-list li span { color: var(--text-muted); font-size: 0.78rem; }
.ct-addr { margin-bottom: 0.6rem; }
.ct-addr strong { font-size: 0.88rem; color: var(--text-main); display: block; }
.ct-addr p { font-size: 0.85rem; color: var(--text-muted); margin: 0.15rem 0 0; }
.ct-addr em { color: var(--text-muted); font-size: 0.78rem; }
.ct-schedule {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.ct-schedule li {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
}
.ct-schedule li span { color: var(--text-muted); }
.ct-schedule li strong { color: var(--text-main); }
.ct-email-link {
    display: inline-block;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 0.8rem;
}
.ct-email-link:hover { text-decoration: underline; }
.ct-socials { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.ct-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 1rem;
    border-radius: 20px;
    background: #1877f2;
    color: white;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}
.ct-social-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.ct-social-btn--ig {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

/* Contacts dark mode */
[data-theme="dark"] .ct-card { background: var(--bg-secondary); border-color: rgba(255,255,255,0.05); }
[data-theme="dark"] .ct-map-wrap { box-shadow: 0 8px 32px rgba(0,0,0,0.4); }

/* Contacts responsive */
@media (max-width: 1024px) {
    .ct-layout { grid-template-columns: 1fr; }
    .ct-map-wrap { height: 380px; }
}
@media (max-width: 768px) {
    .ct-strip-grid { grid-template-columns: 1fr 1fr; }
    .ct-strip-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .ct-strip-item:nth-child(2n) { border-right: none; }
}
@media (max-width: 480px) {
    .ct-strip-grid { grid-template-columns: 1fr; }
    .ct-map-wrap { height: 280px; }
}

/* ============================================
   ABOUT PAGE (ab-*)
   ============================================ */

/* Story section */
.ab-story {
    padding: 5rem 5%;
    background: var(--bg-main);
}
.ab-container {
    max-width: 1200px;
    margin: 0 auto;
}
.ab-story-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
}
.ab-story-img {
    position: relative;
    border-radius: 24px;
    overflow: visible;
}
.ab-story-img img,
.ab-story-img video {
    width: 100%;
    border-radius: 24px;
    display: block;
    object-fit: cover;
    aspect-ratio: 4/3;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.ab-story-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 1.2rem 1.6rem;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(42,90,59,0.4);
}
.ab-badge-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}
.ab-badge-text {
    display: block;
    font-size: 0.75rem;
    opacity: 0.85;
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ab-story-text .section-tag { margin-bottom: 1rem; }
.ab-story-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--text-main);
    margin: 0 0 1.2rem;
    line-height: 1.25;
}
.ab-story-text p {
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1rem;
    font-size: 0.97rem;
}
.ab-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(42,90,59,0.12);
}
.ab-stat-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
}
.ab-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Values section */
.ab-values {
    padding: 5rem 5%;
    background: var(--bg-secondary);
}
.ab-values-head {
    text-align: center;
    margin-bottom: 3rem;
}
.ab-values-head h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    color: var(--text-main);
    margin: 0.6rem 0 0;
}
.ab-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.ab-value-card {
    background: var(--bg-main);
    border-radius: 20px;
    padding: 2rem 1.6rem;
    border: 1px solid rgba(42,90,59,0.08);
    transition: box-shadow 0.3s, transform 0.3s;
    position: relative;
    overflow: hidden;
}
.ab-value-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.3s;
    transform-origin: left;
}
.ab-value-card:hover { box-shadow: 0 10px 36px rgba(42,90,59,0.12); transform: translateY(-4px); }
.ab-value-card:hover::after { transform: scaleX(1); }
.ab-value-icon {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, rgba(42,90,59,0.12), rgba(42,90,59,0.05));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1.2rem;
}
.ab-value-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 0.6rem;
}
.ab-value-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* Gallery section */
.ab-gallery-section {
    padding: 5rem 0 0;
    background: var(--bg-main);
}
.ab-gallery-head {
    text-align: center;
    padding: 0 5%;
    margin-bottom: 2.5rem;
}
.ab-gallery-head h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    color: var(--text-main);
    margin: 0.6rem 0 0.5rem;
}
.ab-gallery-head p { color: var(--text-muted); }

/* How to Order */
.ab-order-section {
    padding: 5rem 5%;
    background: var(--bg-secondary);
}
.ab-order-head {
    text-align: center;
    margin-bottom: 3rem;
}
.ab-order-head h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    color: var(--text-main);
    margin: 0.6rem 0 0.5rem;
}
.ab-order-head p { color: var(--text-muted); }
.ab-order-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}
.ab-order-card {
    background: var(--bg-main);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(42,90,59,0.08);
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
}
.ab-order-card:hover { box-shadow: 0 12px 40px rgba(42,90,59,0.1); transform: translateY(-3px); }
.ab-order-num {
    position: absolute;
    top: 1.2rem; right: 1.6rem;
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(42,90,59,0.07);
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
}
.ab-order-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1.4rem;
    box-shadow: 0 4px 16px rgba(42,90,59,0.25);
}
.ab-order-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 0.8rem;
}
.ab-order-card p {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.65;
    margin-bottom: 1.2rem;
}
.ab-order-link {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: gap 0.2s;
}
.ab-order-link:hover { color: var(--primary-dark); }
.ab-phones {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.ab-phones a {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.ab-phones a:hover { color: var(--primary); }
.ab-phones a strong { font-weight: 700; }
.ab-phones a span { font-size: 0.78rem; color: var(--text-muted); }

/* Page hero italic */
.page-hero h1 em { font-style: italic; color: #a5d6a7; }

/* About dark mode */
[data-theme="dark"] .ab-value-card { background: var(--bg-secondary); border-color: rgba(255,255,255,0.05); }
[data-theme="dark"] .ab-order-card { background: var(--bg-secondary); border-color: rgba(255,255,255,0.05); }
[data-theme="dark"] .ab-stats-row { border-top-color: rgba(255,255,255,0.08); }

/* About responsive */
@media (max-width: 1024px) {
    .ab-values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .ab-story-layout { grid-template-columns: 1fr; gap: 2.5rem; }
    .ab-story-badge { bottom: -1rem; right: 1rem; }
    .ab-order-grid { grid-template-columns: 1fr; max-width: 560px; }
    .ab-stats-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .ab-values-grid { grid-template-columns: 1fr; }
    .ab-stats-row { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   VISUAL BOOST 2026
   ============================================ */

:root {
    --gold-soft: #e1be5a;
    --surface-1: #ffffff;
    --surface-2: #f2f6f3;
    --shadow-soft: 0 10px 30px rgba(11, 33, 18, 0.08);
    --shadow-pop: 0 18px 46px rgba(23, 64, 37, 0.18);
}

body {
    background:
        radial-gradient(1200px 520px at 0% -10%, rgba(62, 124, 83, 0.14), transparent 60%),
        radial-gradient(980px 460px at 100% 0%, rgba(212, 175, 55, 0.1), transparent 62%),
        linear-gradient(180deg, #f7faf7 0%, #f3f7f4 55%, #f8faf9 100%);
}

.navbar {
    background: linear-gradient(180deg, rgba(10, 25, 15, 0.55), rgba(10, 25, 15, 0.28));
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.navbar.scrolled {
    background: rgba(248, 251, 248, 0.9);
    border-bottom: 1px solid rgba(42, 90, 59, 0.12);
    box-shadow: 0 8px 30px rgba(15, 40, 23, 0.08);
}

.section-tag {
    background: linear-gradient(135deg, rgba(42, 90, 59, 0.12), rgba(212, 175, 55, 0.13));
    border-color: rgba(42, 90, 59, 0.24);
}

.catalog-section {
    position: relative;
    padding-top: 4.5rem;
}

.catalog-section::before {
    content: '';
    position: absolute;
    top: 1rem;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(42, 90, 59, 0.22), transparent);
}

.catalog-layout {
    gap: 2.2rem;
}

.catalog-sidebar .filters {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(42, 90, 59, 0.1);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.search-box input {
    border-color: rgba(42, 90, 59, 0.22);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.search-box input:focus {
    box-shadow: 0 0 0 4px rgba(42, 90, 59, 0.12), 0 8px 20px rgba(17, 47, 27, 0.12);
}

.grid {
    gap: 1.6rem;
}

.product-card {
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(250,253,250,0.96));
    border: 1px solid rgba(29, 78, 46, 0.08);
    box-shadow: var(--shadow-soft);
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 22px;
    padding: 1px;
    background: linear-gradient(140deg, rgba(42, 90, 59, 0.28), rgba(212, 175, 55, 0.08), rgba(42, 90, 59, 0.16));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.005);
    box-shadow: var(--shadow-pop);
}

.product-img {
    background: radial-gradient(130% 110% at 50% 0%, #eff4ef 0%, #e5ece7 100%);
}

.product-footer {
    border-top-color: rgba(36, 92, 56, 0.09);
}

.product-price {
    color: #173d26;
}

.add-to-cart-btn {
    width: 42px;
    height: 42px;
    background: linear-gradient(145deg, var(--primary-light), var(--primary-dark));
}

.add-to-cart-btn:hover {
    transform: scale(1.08) rotate(-4deg);
}

.quick-view-btn {
    background: linear-gradient(180deg, rgba(9, 22, 13, 0.1), rgba(9, 22, 13, 0.82));
    letter-spacing: 0.8px;
}

.btn-primary {
    background: linear-gradient(130deg, #3f8258 0%, #2a5a3b 48%, #1f4a2f 100%);
    box-shadow: 0 10px 24px rgba(28, 79, 49, 0.26);
}

.btn-primary:hover {
    box-shadow: 0 14px 34px rgba(24, 71, 43, 0.36);
}

.btn-secondary {
    border-color: rgba(31, 84, 52, 0.44);
    background: rgba(255, 255, 255, 0.6);
}

.feature-card {
    background: linear-gradient(180deg, #ffffff 0%, #f6fbf7 100%);
    box-shadow: 0 8px 24px rgba(19, 47, 27, 0.05);
}

.feature-card:hover {
    box-shadow: 0 18px 40px rgba(22, 58, 34, 0.12);
}

.modal {
    background: rgba(8, 18, 11, 0.56);
}

.modal-content.cart-content,
.quick-view-content,
.product-modal-content {
    border: 1px solid rgba(39, 90, 56, 0.1);
}

[data-theme="dark"] body {
    background:
        radial-gradient(900px 420px at 8% -8%, rgba(73, 128, 94, 0.22), transparent 62%),
        radial-gradient(980px 420px at 100% 0%, rgba(183, 142, 45, 0.12), transparent 64%),
        linear-gradient(180deg, #0f1511 0%, #121b15 60%, #111914 100%);
}

[data-theme="dark"] .catalog-sidebar .filters {
    background: rgba(30, 40, 33, 0.88);
    border-color: rgba(129, 199, 132, 0.16);
}

[data-theme="dark"] .product-card {
    background: linear-gradient(180deg, #1c2420 0%, #1a211d 100%);
    border-color: rgba(124, 185, 126, 0.12);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.34);
}

[data-theme="dark"] .product-card:hover {
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.46);
}

@media (max-width: 1024px) {
    .catalog-layout {
        gap: 1.1rem;
    }

    .product-card:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 2rem;
    }

    .product-card {
        border-radius: 16px;
    }

    .product-card::before {
        border-radius: 16px;
    }
}

/* ============================================
   VISUAL BOOST 2026 — PHASE 2
   ============================================ */

@keyframes heroFloat {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(0, -18px, 0) scale(1.04); }
}

@keyframes heroGlow {
    0%, 100% { opacity: 0.45; }
    50% { opacity: 0.78; }
}

@keyframes cardShimmer {
    0% { transform: translateX(-130%) skewX(-18deg); }
    100% { transform: translateX(180%) skewX(-18deg); }
}

.hero {
    isolation: isolate;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 24%, rgba(212, 175, 55, 0.12), transparent 24%),
        radial-gradient(circle at 82% 18%, rgba(96, 168, 116, 0.2), transparent 28%),
        radial-gradient(circle at 72% 72%, rgba(255, 255, 255, 0.08), transparent 22%);
    animation: heroGlow 11s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

.hero-content::before,
.hero-content::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    filter: blur(2px);
    opacity: 0.6;
    pointer-events: none;
    z-index: -1;
}

.hero-content::before {
    width: 180px;
    height: 180px;
    top: -30px;
    left: -40px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.16), transparent 68%);
    animation: heroFloat 9s ease-in-out infinite;
}

.hero-content::after {
    width: 220px;
    height: 220px;
    right: 20px;
    bottom: 10px;
    background: radial-gradient(circle, rgba(94, 159, 111, 0.18), transparent 70%);
    animation: heroFloat 11s ease-in-out infinite reverse;
}

.hero h1 {
    max-width: 10.5ch;
    letter-spacing: -0.03em;
    text-wrap: balance;
    text-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
}

.highlight {
    color: #f1d486;
    text-shadow: 0 0 24px rgba(212, 175, 55, 0.18);
}

.hero p {
    max-width: 34rem;
    font-size: 1.13rem;
}

.hero-badge {
    background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.07));
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.plant-video-frame,
.glass-card.main-plant-card {
    position: relative;
}

.glass-card.main-plant-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.2) 42%, transparent 58%);
    transform: translateX(-130%) skewX(-18deg);
    animation: cardShimmer 8s ease-in-out infinite;
    pointer-events: none;
}

.section-header h2,
.about-content h2,
.delivery-header h2,
.contacts-header h1,
.page-hero h1,
.about-gallery-header h2,
.dp-section-head h2,
.ab-values-head h2,
.ab-gallery-head h2,
.ab-order-head h2 {
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.section-header h2 {
    font-size: clamp(2.1rem, 4vw, 3.2rem);
}

.section-header h2::after {
    width: 92px;
    height: 4px;
}

.product-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.42;
    letter-spacing: -0.01em;
}

.product-category {
    background: linear-gradient(135deg, rgba(42, 90, 59, 0.1), rgba(212, 175, 55, 0.12));
}

.product-details {
    gap: 0.35rem;
}

.product-footer {
    margin-top: 1rem;
}

.catalog-main .pagination-container {
    margin-top: 2.4rem !important;
}

#load-more-btn {
    min-width: 220px;
}

.quick-view-info h2,
.product-detail-title {
    letter-spacing: -0.025em;
}

@media (max-width: 1024px) {
    .hero h1 {
        max-width: none;
    }

    .hero-content::before,
    .hero-content::after {
        display: none;
    }

    .hero {
        background-attachment: scroll;
    }
}

@media (max-width: 768px) {
    .catalog-section {
        padding-top: 3.8rem;
    }

    .hero {
        min-height: auto;
        padding-top: 7rem;
        padding-bottom: 3.5rem;
    }

    .section-header {
        gap: 1.2rem;
        margin-bottom: 1.4rem;
    }

    .catalog-main {
        background: rgba(255, 255, 255, 0.52);
        border: 1px solid rgba(42, 90, 59, 0.08);
        border-radius: 22px;
        padding: 1rem;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .grid {
        gap: 1rem;
    }

    .product-card {
        border-radius: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .glass-card,
    .hero::before,
    .hero-content::before,
    .hero-content::after,
    .glass-card.main-plant-card::after,
    .fade-up,
    .fade-in {
        animation: none !important;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 6.6rem;
    }

    .hero h1 {
        font-size: 2.35rem;
    }

    .hero p {
        font-size: 0.98rem;
    }

    .hero-buttons {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .catalog-main {
        padding: 0.75rem;
        border-radius: 18px;
    }

    .grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .product-img {
        height: 168px;
    }

    .product-title {
        font-size: 0.98rem;
        min-height: 2.7em;
    }

    .product-category {
        font-size: 0.68rem;
        padding: 4px 8px;
    }

    .product-price {
        font-size: 1.04rem;
    }

    .add-to-cart-btn {
        width: 38px;
        height: 38px;
    }

    .quick-view-btn {
        font-size: 0.72rem;
        padding: 0.6rem;
    }
}

[data-theme="dark"] .catalog-main {
    background: rgba(27, 34, 30, 0.7);
    border-color: rgba(129, 199, 132, 0.08);
}

[data-theme="dark"] .highlight {
    color: #f4d989;
}

/* ============================================
   VISUAL BOOST 2026 — PHASE 3
   ============================================ */

.btn-primary,
.btn-secondary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after,
.btn-secondary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.35) 42%, transparent 66%);
    transform: translateX(-150%);
    transition: transform 0.55s ease;
    pointer-events: none;
}

.btn-primary:hover::after,
.btn-secondary:hover::after {
    transform: translateX(130%);
}

.hero-buttons {
    gap: 0.85rem;
}

.hero-buttons .btn-secondary {
    background: rgba(255,255,255,0.09);
    color: #f1f6f1;
    border-color: rgba(255,255,255,0.35);
}

.hero-buttons .btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.45);
}

.product-card .product-price {
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    font-weight: 800;
    color: #1a5230;
    letter-spacing: -0.02em;
}

.product-card .product-details {
    padding-bottom: 1.25rem;
}

.product-card .product-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 52%, rgba(8, 21, 12, 0.08) 100%);
    pointer-events: none;
}

.modal-content.cart-content {
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,250,248,0.98));
    border: 1px solid rgba(33, 85, 54, 0.14);
    box-shadow: 0 24px 58px rgba(9, 24, 14, 0.35);
}

.modal-header h2 {
    letter-spacing: -0.02em;
}

.cart-item {
    border-bottom: 1px dashed rgba(29, 78, 46, 0.14);
}

.cart-item img {
    border-radius: 12px;
    border: 1px solid rgba(42, 90, 59, 0.12);
}

.checkout-form {
    background: linear-gradient(180deg, #f7fbf8 0%, #eef5f0 100%);
    border: 1px solid rgba(33, 85, 54, 0.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.checkout-form h3 {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.checkout-form input,
.checkout-form select {
    border: 1px solid rgba(30, 84, 50, 0.2);
    background: rgba(255,255,255,0.9);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.checkout-form input:focus,
.checkout-form select:focus {
    outline: none;
    border-color: rgba(37, 102, 62, 0.5);
    box-shadow: 0 0 0 4px rgba(42, 90, 59, 0.1);
    background: #fff;
}

.autocomplete-dropdown {
    border: 1px solid rgba(33, 85, 54, 0.22);
    border-top: none;
    box-shadow: 0 12px 26px rgba(12, 35, 21, 0.16);
}

.autocomplete-item {
    padding: 11px 14px;
}

.autocomplete-item:hover {
    background: linear-gradient(90deg, rgba(52, 118, 76, 0.11), rgba(212, 175, 55, 0.08));
}

.quick-view-content,
.product-modal-content {
    border: 1px solid rgba(35, 90, 57, 0.12);
    box-shadow: 0 24px 60px rgba(12, 33, 20, 0.3);
}

.quick-view-price,
.product-detail-price {
    text-shadow: 0 8px 18px rgba(23, 61, 38, 0.14);
}

.footer-col h3 {
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .modal-content.cart-content {
        border-radius: 16px;
        padding: 1.2rem;
    }

    .checkout-form {
        padding: 1.1rem;
        border-radius: 12px;
    }
}

[data-theme="dark"] .modal-content.cart-content {
    background: linear-gradient(180deg, #1d2621 0%, #18211c 100%);
    border-color: rgba(129, 199, 132, 0.14);
}

[data-theme="dark"] .checkout-form {
    background: linear-gradient(180deg, #26302b 0%, #1f2722 100%);
    border-color: rgba(129, 199, 132, 0.12);
}

[data-theme="dark"] .checkout-form input,
[data-theme="dark"] .checkout-form select {
    background: rgba(20, 27, 23, 0.86);
    border-color: rgba(129, 199, 132, 0.18);
}

[data-theme="dark"] .hero-buttons .btn-secondary {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.25);
}

/* ============================================
   VISUAL BOOST 2026 — PHASE 4 (CINEMATIC HERO)
   ============================================ */

.hero {
    background:
        linear-gradient(115deg, rgba(8, 18, 11, 0.94) 0%, rgba(8, 18, 11, 0.72) 52%, rgba(8, 18, 11, 0.9) 100%),
        radial-gradient(circle at 18% 20%, rgba(212, 175, 55, 0.12), transparent 28%),
        radial-gradient(circle at 82% 18%, rgba(94, 159, 111, 0.14), transparent 30%),
        url('hero_bg.png') center/cover no-repeat;
    background-attachment: scroll;
}

.hero::before {
    background:
        radial-gradient(circle at 18% 22%, rgba(212, 175, 55, 0.16), transparent 26%),
        radial-gradient(circle at 84% 18%, rgba(94, 159, 111, 0.15), transparent 30%),
        radial-gradient(circle at 52% 72%, rgba(255, 255, 255, 0.05), transparent 22%);
    animation: none;
}

.hero-content {
    max-width: 620px;
}

.hero-content::before {
    width: 220px;
    height: 220px;
    top: -44px;
    left: -60px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12), transparent 70%);
    animation: none;
}

.hero-content::after {
    width: 260px;
    height: 260px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle, rgba(93, 166, 109, 0.12), transparent 68%);
    animation: none;
}

.hero h1 {
    font-size: clamp(3.4rem, 6vw, 5.3rem);
    max-width: 11ch;
    line-height: 0.96;
    letter-spacing: -0.045em;
}

.hero p {
    font-size: 1.15rem;
    max-width: 32rem;
}

.hero-buttons {
    gap: 0.9rem;
    flex-wrap: wrap;
}

.hero-badges {
    gap: 0.9rem;
    margin-top: 2.5rem;
}

.hero-badge {
    min-width: 112px;
    border-radius: 18px;
    padding: 0.9rem 1rem;
}

.hero-badge .badge-num {
    font-size: 1.55rem;
}

.hero-badge .badge-text {
    font-size: 0.7rem;
}

.hero-image {
    justify-content: center;
    perspective: 1600px;
}

.glass-card.main-plant-card {
    width: min(620px, 100%);
    border-radius: 36px;
    padding: 1.55rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.08) 100%);
    box-shadow: 0 38px 90px rgba(0,0,0,0.45), inset 0 0 0 1px rgba(255,255,255,0.08);
    transform: translateY(-8px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), background 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    animation: none;
}

.glass-card.main-plant-card:hover {
    transform: translateY(-16px);
    background: linear-gradient(180deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.1) 100%);
    box-shadow: 0 45px 100px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.12);
}

.glass-card.main-plant-card::before {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: 26px;
    border: 1px solid rgba(255,255,255,0.12);
    pointer-events: none;
}

.glass-card.main-plant-card::after {
    display: none;
}

.plant-video-frame {
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(0,0,0,0.9), rgba(10,20,12,0.95));
    box-shadow: 0 18px 38px rgba(0,0,0,0.26);
}

.plant-video-frame video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: saturate(1.06) contrast(1.05) brightness(0.98);
}

.hero .fade-up,
.hero .fade-in,
.hero .delay-1,
.hero .delay-2,
.hero .delay-3 {
    opacity: 1;
    transform: none;
    animation: none !important;
}

.plant-info-mockup {
    padding: 0.65rem 0.15rem 0.2rem;
}

.plant-info-mockup h3 {
    font-size: 2rem;
    line-height: 1.12;
    letter-spacing: -0.015em;
    margin-bottom: 0.45rem;
}

.plant-info-mockup .plant-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.87);
    font-weight: 500;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

@media (max-width: 1024px) {
    .hero {
        gap: 2.5rem;
        padding-top: 7.4rem;
        padding-bottom: 3.5rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        max-width: 13ch;
    }

    .hero-image {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 7rem;
        padding-bottom: 3rem;
    }

    .hero h1 {
        max-width: none;
        font-size: clamp(2.5rem, 10vw, 3.5rem);
    }

    .hero p {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero-badges {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .glass-card.main-plant-card {
        width: 100%;
        padding: 1rem;
        border-radius: 24px;
        transform: none;
        animation: none;
    }

    .glass-card.main-plant-card::before,
    .glass-card.main-plant-card::after,
    .hero-content::before,
    .hero-content::after {
        display: none;
    }

    .plant-video-frame {
        aspect-ratio: 16 / 11;
        border-radius: 18px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 6.7rem;
        padding-bottom: 2.5rem;
    }

    .hero-buttons {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-badges {
        grid-template-columns: 1fr 1fr;
        gap: 0.7rem;
    }

    .hero-badge {
        min-width: 0;
        padding: 0.8rem 0.9rem;
        border-radius: 16px;
    }

    .hero-badge .badge-num {
        font-size: 1.15rem;
    }

    .hero-badge .badge-text {
        font-size: 0.65rem;
    }

    .plant-info-mockup h3 {
        font-size: 1.1rem;
    }

    .plant-info-mockup .price {
        font-size: 1rem;
    }
}


/* ============================================================
   CATALOG PROFESSIONAL UPGRADE — 2026
   ============================================================ */

/* ---- Catalog toolbar (sort + count) ---- */
.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 0.55rem 0.85rem;
    background: rgba(255,255,255,0.72);
    border: 1px solid rgba(42,90,59,0.1);
    border-radius: 12px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.catalog-count {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.01em;
}

.catalog-count b { color: var(--primary-dark); }

.sort-wrap {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
}

.sort-icon { flex-shrink: 0; }

.sort-select {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--primary-dark);
    cursor: pointer;
    padding: 0.2rem 0.3rem;
    outline: none;
}

.sort-select:focus { outline: none; }

.only-instock-wrap {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--primary-dark);
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}
.only-instock-wrap input[type=checkbox] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-dark);
    cursor: pointer;
    flex-shrink: 0;
}

/* ---- Sidebar filter count badges ---- */
.filter-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
}

.filter-btn-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.filter-btn-count {
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    background: rgba(0,0,0,0.06);
    padding: 1px 6px;
    border-radius: 10px;
    line-height: 1.6;
    transition: background 0.2s, color 0.2s;
}

.filter-btn.active .filter-btn-count {
    background: rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.85);
}

.filter-btn:hover:not(.active) .filter-btn-count {
    background: rgba(42,90,59,0.12);
    color: var(--primary);
}

/* ---- Out-of-stock card overlay ---- */
.card-oos-ribbon {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.72), transparent);
    color: rgba(255,255,255,0.88);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    padding: 1.2rem 0.5rem 0.6rem;
    pointer-events: none;
    z-index: 3;
}

.product-card.is-oos {
    opacity: 0.88;
}

.product-card.is-oos .product-img img {
    filter: saturate(0.65);
}

.product-card.is-oos .add-to-cart-btn {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

/* ---- Dark mode toolbar ---- */
[data-theme="dark"] .catalog-toolbar {
    background: rgba(28,38,30,0.72);
    border-color: rgba(100,170,110,0.14);
}

[data-theme="dark"] .sort-select { color: #b8d9b8; }

[data-theme="dark"] .filter-btn-count {
    background: rgba(255,255,255,0.08);
    color: #7a9a7a;
}

[data-theme="dark"] .filter-btn.active .filter-btn-count {
    background: rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.75);
}

/* ============================================================
   FLOATING ACTION BUTTONS
   ============================================================ */
.floating-bar {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.floating-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}
.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}
.floating-call-btn {
    background: #27ae60;
    color: #fff;
    animation: pulse-call 2s infinite;
}
@keyframes pulse-call {
    0%, 100% { box-shadow: 0 4px 16px rgba(39, 174, 96, 0.3); }
    50% { box-shadow: 0 4px 30px rgba(39, 174, 96, 0.6); }
}
.floating-tg-btn {
    background: #0088cc;
    color: #fff;
}

/* Quick Buy Modal */
.quick-buy-content {
    max-width: 420px;
    padding: 2rem;
}
.quick-buy-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}
#quick-buy-form input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    margin-bottom: 12px;
    font-family: inherit;
    transition: border-color 0.2s;
}
#quick-buy-form input:focus {
    border-color: var(--primary);
    outline: none;
}
#quick-buy-item-name {
    font-size: 14px;
    padding: 8px 12px;
    background: #f5f5f5;
    border-radius: 6px;
}

/* ============================================
   2026-06-25: Fixes - logo link, card actions, quick-buy
   ============================================ */

/* Logo as link */
.logo-link {
    text-decoration: none;
    display: inline-block;
}
.logo-link:hover {
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

/* Cart footer dual-button layout */
.cart-footer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}
.btn-quick-cart {
    padding: 12px 24px;
    background: transparent;
    border: 2px solid #4a7c59;
    color: #4a7c59;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.25s ease;
    text-align: center;
}
.btn-quick-cart:hover:not(:disabled) {
    background: #4a7c59;
    color: #fff;
}
.btn-quick-cart:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    border-color: #aaa;
    color: #aaa;
}

/* Product card two-button row - pushed to the right */
.card-actions {
    display: flex;
    gap: 6px;
    margin-left: auto;
}
/* Icon-only cart button on cards */
.card-actions .add-to-cart-btn {
    flex: 0 0 auto;
    padding: 8px 10px;
    min-width: 38px;
    justify-content: center;
}
.card-actions .add-to-cart-btn svg {
    flex-shrink: 0;
}
.quick-buy-card-btn {
    flex: 0 0 auto;
    padding: 8px 10px;
    background: transparent;
    border: 1.5px solid #4a7c59;
    color: #4a7c59;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.quick-buy-card-btn:hover {
    background: #4a7c59;
    color: #fff;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .card-actions {
        margin-left: 0;
        width: 100%;
    }
    .card-actions .add-to-cart-btn {
        flex: 1;
    }
    .quick-buy-card-btn {
        flex: 1;
    }
}

/* ============================================
   2026-06-25: Fixes - logo link, card actions, quick-buy
   ============================================ */

/* Logo as link */
.logo-link {
    text-decoration: none;
    display: inline-block;
}
.logo-link:hover {
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

/* Cart footer dual-button layout */
.cart-footer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}
.btn-quick-cart {
    padding: 12px 24px;
    background: transparent;
    border: 2px solid #4a7c59;
    color: #4a7c59;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.25s ease;
    text-align: center;
}
.btn-quick-cart:hover:not(:disabled) {
    background: #4a7c59;
    color: #fff;
}
.btn-quick-cart:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    border-color: #aaa;
    color: #aaa;
}

/* Product card two-button row - pushed to the right */
.card-actions {
    display: flex;
    gap: 6px;
    margin-left: auto;
}
/* Icon-only cart button on cards */
.card-actions .add-to-cart-btn {
    flex: 0 0 auto;
    padding: 8px 10px;
    min-width: 38px;
    justify-content: center;
}
.card-actions .add-to-cart-btn svg {
    flex-shrink: 0;
}
.quick-buy-card-btn {
    flex: 0 0 auto;
    padding: 8px 10px;
    background: transparent;
    border: 1.5px solid #4a7c59;
    color: #4a7c59;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s ease;
}
.quick-buy-card-btn:hover {
    background: #4a7c59;
    color: #fff;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .card-actions {
        margin-left: 0;
        width: 100%;
    }
    .card-actions .add-to-cart-btn {
        flex: 1;
    }
    .quick-buy-card-btn {
        flex: 1;
    }
}

/* ============================================
   2026-07-11: Mobile product-card fix - buttons overlapped
   price/stock text because .card-actions got width:100%
   inside a row-direction .product-footer. Stack the footer
   vertically on small screens instead.
   ============================================ */
@media (max-width: 480px) {
    .product-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .product-price-block {
        flex-direction: row;
        align-items: baseline;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 4px 8px;
    }
    .product-low-stock {
        font-size: 0.64rem;
        white-space: nowrap;
    }
    /* full-width disabled "Немає" button on OOS cards */
    .product-footer > .add-to-cart-btn {
        width: 100%;
        justify-content: center;
    }
    .quick-buy-card-btn {
        font-size: 0.78rem;
        padding: 9px 6px;
    }
}

/* ============================================
   2026-07-11: Mobile horizontal-scroll fix.
   .catalog-toolbar (count + in-stock checkbox + sort select)
   did not wrap and pushed the document to ~492px wide on a
   390px screen, shifting the whole page right.
   overflow-x: clip (not hidden - keeps position:sticky working,
   navbar is fixed anyway) as a safety net against any future
   overflowing element.
   ============================================ */
@media (max-width: 640px) {
    .catalog-toolbar {
        flex-wrap: wrap;
        gap: 0.5rem 1rem;
    }
    .sort-select {
        max-width: 60vw;
    }
}
html, body {
    overflow-x: clip;
}
