@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Merriweather:wght@700;900&display=swap');

/* Переменные цветов */
:root {
    /* Переключаем палитру на тёплую оранжевую */
    --primary-color: #FF7A18; /* основной оранжевый */
    --secondary-color: #FF4D00; /* насыщенный оранжево-красный */
    --accent-color: #FFB74D; /* светлый янтарный акцент */
    --text-dark: #333333;
    --text-light: #f8f8f8;
    --bg-light: #F9FAFB; /* Светлый серовато-белый */
    --bg-dark: #222222;
}

/* Общие стили */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

*, *::before, *::after {
    box-sizing: border-box;
    transition: all 0.3s ease-in-out; /* Global transition for smoothness */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    color: var(--text-dark);
}

h1 {
    font-size: 3.5rem;
    font-weight: 900;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 10px;
}

h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-color); /* Changed back to accent-color */
    border-radius: 2px;
}

.text-center {
    text-align: center;
}

/* Header */
header {
    background-color: var(--bg-dark); /* Changed to solid dark background */
    color: var(--text-light);
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

.container {
    max-width: 1200px; /* Standardize container width */
    margin: 0 auto; /* Center the container */
    padding: 0 20px; /* Add horizontal padding */
}

.header-top {
    background-color: var(--bg-dark);
    padding: 10px 0; /* Adjusted padding */
    font-size: 0.9rem; /* Slightly smaller font size */
    color: rgba(255, 255, 255, 0.8);
    display: flex; /* Moved from .header-top .container */
    justify-content: space-between; /* Moved from .header-top .container */
    align-items: center; /* Moved from .header-top .container */
    flex-wrap: wrap; /* Moved from .header-top .container */
    gap: 15px; /* Moved from .header-top .container */
}

.header-top .top-info {
    display: flex;
    gap: 20px;
}

.header-top .top-info a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.header-top .top-info a:hover {
    color: var(--text-light);
}

.header-top .top-info .top-icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    filter: brightness(0) invert(1); /* Ensure icons are white and modern */
}

.header-top .delivery-info {
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.header-top .delivery-info .icon-24-7 {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    fill: white; /* Ensure SVG is white */
    filter: brightness(0) invert(1); /* Ensure SVG is white */
}

.header-main {
    background-color: var(--bg-dark);
    padding: 0.35rem 0; /* made header more compact by reducing vertical padding */
    box-shadow: 0 1px 0 rgba(255,255,255,0.06); /* subtle line */
}

/* Refined modern header look */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
}

.header-main.container.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    /* stronger, almost-opaque background for contrast over hero */
    background: rgba(12,14,18,0.96);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.55); /* deeper shadow to separate from content */
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 8px 20px; /* slightly smaller vertical padding */
}

.logo {
    font-size: 1.28rem;
    font-weight: 900;
    letter-spacing: 0.6px;
    color: var(--text-light);
    text-decoration: none;
    display: inline-flex;
    align-items: center; /* center vertically to keep logo and accent aligned */
    gap: 8px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6); /* subtle lift against bright backgrounds */
}

.logo-accent {
    color: var(--accent-color);
    font-weight: 900;
    font-family: 'Merriweather', serif;
    font-size: 1.05rem;
    line-height: 1; /* ensure no vertical shift */
    vertical-align: middle;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-nav ul {
    display: flex;
    gap: 26px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-nav ul li a {
    color: rgba(255,255,255,0.95);
    text-decoration: none;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 8px;
    transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
    font-size: 0.95rem;
    letter-spacing: 0.4px;
}

.main-nav ul li a:hover {
    color: var(--accent-color);
    background: linear-gradient(90deg, rgba(255,122,24,0.06), rgba(255,122,24,0.02));
    transform: translateY(-3px);
}

.order-btn {
    background: linear-gradient(180deg, var(--accent-color), var(--primary-color));
    color: #111;
    padding: 10px 16px;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(255,122,24,0.12);
    border: 1px solid rgba(0,0,0,0.08);
}

.order-btn:hover {
    transform: translateY(-3px) scale(1.02);
}

.cart-btn {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
    color: var(--text-dark);
    border: 1px solid rgba(0,0,0,0.06);
    margin-left: 10px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.35);
}

.cart-btn svg { filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5)); }

/* hamburger styling refinement */
.menu-toggle {
    display: none; /* desktop default */
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text-light);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* overlay visible state */
.nav-overlay.active { opacity: 1; visibility: visible; }

/* responsive adjustments */
@media (max-width: 900px) {
    .main-nav { position: fixed; right: 0; top: 0; height: 100vh; width: 85vw; max-width: 320px; padding-top: 80px; }
    .menu-toggle { display: inline-flex; }
    .main-nav ul { flex-direction: column; gap: 18px; padding-left: 22px; }
    .header-main.container.header-bar { padding: 12px 16px; }
    .logo { font-size: 1.05rem; }
}

.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.header-main .container {
    display: block; /* Layout handled by .header-bar */
    padding: 0;
}

/* header-main .logo duplicate removed (handled above) */

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.main-nav ul li {
    margin-left: 22px;
}

.main-nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    padding: 5px 0;
    position: relative;
    font-size: 0.93rem;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color); /* Changed back to accent-color */
    transition: width 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.main-nav ul li a:hover::after {
    width: 100%;
}

.main-nav ul li a:hover {
    color: var(--accent-color); /* Changed back to accent-color */
}

.menu-toggle {
    display: none; /* Hidden by default on larger screens */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 101; /* Above nav links */
    padding: 5px 0; /* Add padding for clickable area */
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-light);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Cart button */
.cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
    color: var(--text-light);
    border: 1px solid rgba(255,255,255,0.04);
    margin-left: 8px;
}

/* Overlay for mobile nav */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
    z-index: 150;
}

body.nav-open .nav-overlay {
    opacity: 1;
    visibility: visible;
}

/* When nav-open, center some spacing adjustments */
body.nav-open .menu-toggle { z-index: 210; }

/* Desktop layout tweaks */
@media (min-width: 901px) {
    .header-main.container.header-bar {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 12px;
    }

    .menu-toggle { order: 2; display: none; }

    .logo { justify-self: start; }
    .main-nav { justify-self: center; }
    .header-actions { justify-self: end; }
}

/* Main Content */
main {
    padding: 0; /* Removed padding, sections will have their own */
}

section {
    background-color: #fff;
    margin-bottom: 50px; /* Increased margin for better separation */
    padding: 60px; /* Adjusted padding */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Refined shadow */
    background-image: url('data:image/svg+xml,%3Csvg width="6" height="6" viewBox="0 0 6 6" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="%23e0e0e0" fill-opacity="0.4" fill-rule="evenodd"%3E%3Cpath d="M5 0h1L0 6V5zM6 5v1H5z"/%3E%3C/g%3E%3C/svg%3E'); /* Subtle geometric pattern */
    background-repeat: repeat;
}

h1, h2 {
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 40px; /* Adjusted margin-bottom */
}

/* Hero Section */
#hero {
    /* Layered background: dark gradient overlay on top of local image 'img/1.jpg' */
    background-image: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url('img/1.jpg');
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: center center;
    background-size: cover, cover;
    color: var(--text-light);
    text-align: center;
    padding: 140px 20px;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 62vh;
}

#hero::after {
    /* subtle vignette to improve contrast around edges */
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0) 40%, rgba(0,0,0,0.45) 100%);
    z-index: 1;
}

#hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 980px;
    padding: 0 16px;
}

#hero h1 {
    font-size: 4.2rem;
    margin-bottom: 18px;
    color: var(--text-light);
    text-shadow: 2px 2px 10px rgba(0,0,0,0.85);
    line-height: 1.02;
}

#hero .subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 28px;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.7);
    color: var(--text-light);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 30px;
}

/* On small screens avoid fixed background (performance and iOS issues) and scale typography */
@media (max-width: 900px) {
    #hero {
        background-attachment: scroll;
        padding: 80px 16px;
        min-height: 50vh;
    }
    #hero h1 {
        font-size: 2.4rem;
    }
    #hero .subtitle {
        font-size: 1.05rem;
    }
}

/* Button styles */
.button {
    display: inline-block;
    padding: 18px 40px; /* Slightly larger padding */
    text-decoration: none;
    border-radius: 10px; /* More subtle border-radius */
    font-weight: 600; /* Adjusted font weight */
    border: none;
    cursor: pointer;
    font-size: 1.1rem; /* Slightly smaller font size */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Softer shadow */
    transform: translateY(0);
    transition: all 0.3s ease; /* Simpler transition */
}

.button:hover {
    transform: translateY(-3px) scale(1.02); /* More subtle hover effect */
    box-shadow: 0 8px 25px rgba(0,0,0,0.15); /* Enhanced shadow on hover */
}

.button.primary {
    background-color: var(--primary-color); /* Use new primary color */
    color: var(--text-light);
}

.button.primary:hover {
    background-color: var(--secondary-color); /* Darker orange on hover */
}

.button.secondary {
    background-color: transparent; /* Transparent background */
    color: var(--accent-color); /* Changed back to accent-color */
    border: 2px solid var(--accent-color); /* Border using accent color */
    box-shadow: none;
}

.button.secondary:hover {
    background-color: rgba(255,122,24,0.08); /* Slight orange tint on hover */
    border-color: var(--secondary-color); /* Darker orange border on hover */
    color: var(--secondary-color); /* Darker orange text on hover */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Soft shadow on hover */
}

.delivery-info {
    display: inline-flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.6); /* Slightly lighter overlay */
    color: var(--accent-color);
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3); /* Softer shadow */
    transform: translateY(0);
    transition: all 0.3s ease; /* Simpler transition */
}

.delivery-info:hover {
    transform: translateY(-5px) scale(1.03); /* Enhanced hover effect */
    box-shadow: 0 8px 25px rgba(0,0,0,0.4); /* Stronger shadow on hover */
}

.delivery-info .icon-24-7 {
    width: 28px;
    height: 28px;
    margin-right: 12px;
    display: inline-block;
    fill: var(--accent-color); 
    transition: transform 0.3s ease;
}

.delivery-info:hover .icon-24-7 {
    transform: rotate(10deg) scale(1.1); /* Subtle icon animation */
}

/* Feature Section */
#features .feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px; /* Adjusted gap */
    text-align: center;
}

.feature-item {
    background-color: #fff;
    padding: 40px; /* Increased padding */
    border-radius: 12px; /* Softer border-radius */
    box-shadow: 0 6px 20px rgba(0,0,0,0.08); /* Lighter, more modern shadow */
    transform: translateY(0);
    transition: all 0.3s ease; /* Simpler transition */
    border: 1px solid rgba(0,0,0,0.05); /* Subtle border */
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15); /* Enhanced shadow on hover */
}

/* Header - additional polish and responsive behavior */
.logo-accent {
    color: var(--text-light);
    display: inline-block;
    margin-left: 6px;
    font-weight: 700;
}

.header-top.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
}

.top-info .delivery-info {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
}

.top-actions .pill.call-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    color: var(--text-light);
}

.top-icon { width: 16px; height: 16px; }

.header-main .header-bar { gap: 20px; }

/* Responsive navigation (mobile slide-in) */
.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul { display:flex; gap:22px; align-items:center; }

/* Mobile styles */
@media (max-width: 900px) {
    .header-top.container { padding: 10px 16px; }
    .header-main { padding: 10px 0; }

    .menu-toggle { display: flex; }

    /* hide desktop nav actions */
    .header-actions { display: none; }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 300px;
        max-width: 85vw;
        background: linear-gradient(180deg, rgba(34,34,34,0.98), rgba(10,10,10,0.98));
        transform: translateX(110%);
        transition: transform 0.35s cubic-bezier(.2,.9,.2,1);
        z-index: 200;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        padding-top: 80px; /* space for header */
        display: block;
    }

    .main-nav.active {
        transform: translateX(0);
    }

    .main-nav ul { flex-direction: column; gap: 18px; padding: 0 22px; }

    .main-nav ul li a {
        font-size: 1.05rem;
        padding: 10px 0;
        color: var(--text-light);
    }

    /* Make the hamburger larger touch target */
    .menu-toggle { width: 40px; height: 28px; }

    /* When nav open, make body not scroll (simple approach via class toggling from JS) */
    body.nav-open { overflow: hidden; }

    /* Improve body lock to avoid layout shift on mobile (JS will set body.nav-open) */
    body.nav-open {
        position: fixed;
        inset: 0; /* top:0; right:0; bottom:0; left:0 */
        width: 100%;
    }

    /* Used by age verification modal to prevent background scroll */
    .no-scroll {
        position: fixed;
        inset: 0;
        width: 100%;
        overflow: hidden;
    }
}

/* Small visual tweak for active hamburger state (keeps parity with existing rules) */
.menu-toggle.active { opacity: 1; }


.feature-item h3 {
    font-size: 1.6rem; /* Slightly smaller font size */
    color: var(--accent-color); /* Changed back to accent-color */ 
    margin-top: 25px; /* Adjusted margin */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Adjusted gap */
}

.feature-item p {
    font-size: 1rem;
    color: #666;
}

.feature-item h3 img {
    width: 60px; 
    height: 60px;
    object-fit: contain;
    border-radius: 50%; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
    transform: scale(1);
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.1)); /* Subtle shadow for icons */
}

.feature-item h3 img:hover {
    transform: scale(1.1) rotate(5deg); /* More subtle hover effect */
}

/* Product List (General & Popular) */
.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}

/* Product card — modern, image-first layout */
.product-item {
    background-color: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(2,6,23,0.06);
    border: 1px solid rgba(15,23,42,0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    position: relative;
    min-height: 360px; /* consistent card heights */
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 42px rgba(2,6,23,0.12);
}

.product-item img {
    width: 100%;
    height: 220px;
    object-fit: cover; /* fill card top area */
    display: block;
}

.product-item h3 {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin: 14px 18px 6px;
    line-height: 1.2;
}

/* Volume / meta line */
.product-item p {
    font-size: 0.98rem;
    color: #6b6f76;
    margin: 0 18px 6px;
}

/* Price is usually the last paragraph before the button — style it stronger */
.product-item p:last-of-type {
    font-weight: 700;
    color: var(--accent-color);
    margin: 8px 18px 14px;
    font-size: 1.05rem;
}

/* Central area for actions */
.product-item .add-to-cart {
    margin: 0 18px 18px;
    padding: 12px 20px;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color) 70%);
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(255,122,24,0.14);
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s;
}

.product-item .add-to-cart:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(255,122,24,0.18);
    opacity: 0.98;
}

/* small badge in the top-left corner (for promo or 'new') */
.product-item::before {
    content: attr(data-badge);
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent-color);
    color: #fff;
    font-size: 0.75rem;
    padding: 6px 8px;
    border-radius: 8px;
    display: none; /* enabled only when data-badge attribute is present */
}
.product-item[data-badge]:not([data-badge=""])::before { display: inline-block; }

/* Footer */
footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 70px 0 30px 0; 
    margin-top: 70px; 
    box-shadow: 0 -8px 25px rgba(0,0,0,0.3); /* Softer shadow */
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 35px;
}

.footer-section {
    flex: 1 1 280px; /* Adjust width as needed */
    margin-bottom: 20px;
}

.footer-section h3 {
    color: var(--accent-color); /* Accent color for footer headings */
    font-size: 1.6rem;
    margin-bottom: 25px;
    text-align: left;
}

.footer-section p {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.9;
    text-align: left;
}

.footer-section p a {
    color: var(--accent-color);
    text-decoration: none;
    position: relative;
}

.footer-section p a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color); /* Changed back to accent-color */
    transition: width 0.3s ease-in-out;
}

.footer-section p a:hover::after {
    width: 100%;
}

.social-links {
    margin-top: 25px;
    display: flex;
    gap: 20px;
}

.social-links a img {
    width: 40px;
    height: 40px;
    border-radius: 8px; 
    box-shadow: 0 3px 8px rgba(0,0,0,0.2); 
    transform: translateY(0);
    transition: all 0.3s ease;
    fill: white; 
    filter: brightness(0) invert(1); /* Ensure social icons are white */
}

.social-links a img:hover {
    transform: translateY(-5px) scale(1.15) rotate(10deg);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    filter: brightness(0) invert(1) drop-shadow(0 0 8px var(--accent-color)); /* Accent shadow on hover */
}

.footer-section.links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section.links ul li {
    margin-bottom: 12px;
}

.footer-section.links ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 1rem;
    position: relative;
}

.footer-section.links ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color); /* Changed back to accent-color */
    transition: width 0.3s ease-in-out;
}

.footer-section.links ul li a:hover::after {
    width: 100%;
}

.footer-section.links ul li a:hover {
    color: var(--accent-color); /* Changed back to accent-color */
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 25px;
    margin-top: 25px;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #999;
    text-align: center;
}

/* Shop Page Specific Styles */
.shop-content {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

.sidebar {
    flex: 0 0 260px;
    background-color: #fff;
    padding: 20px 18px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(2,6,23,0.06);
    align-self: flex-start;
    position: sticky;
    top: 110px;
    border: 1px solid rgba(15,23,42,0.04);
}

.sidebar h2 {
    text-align: left;
    color: var(--text-dark);
    margin-bottom: 18px;
    font-size: 1.4rem;
    padding-bottom: 4px;
}

.sidebar h2::after {
    width: 60px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.sidebar ul li {
    margin-bottom: 10px;
}

.sidebar ul li a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.22s ease-in-out;
    font-size: 1rem;
}

.sidebar ul li a:hover {
    background-color: var(--bg-light);
    color: var(--secondary-color);
    transform: translateX(5px);
}

.filter-group {
    margin-bottom: 18px;
    padding: 14px 12px;
    border-radius: 12px;
    background: linear-gradient(180deg,#fff,#fbfbfd);
    box-shadow: 0 8px 24px rgba(2,6,23,0.04);
}

.filter-group h3 {
    text-align: left;
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.price-control .slider {
    width: 100%;
    margin-top: 8px;
    -webkit-appearance: none;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 6px;
    outline: none;
}

.price-control .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid var(--secondary-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.price-row { display:flex; justify-content:space-between; align-items:center; margin-top:8px; font-size:0.95rem; color:#666 }

.filter-actions { display:flex; gap:12px; margin-top:12px }
.filter-actions .button { flex:1 }

.results-note { margin-top:12px; font-size:0.95rem; color:#444 }

.panel-header h2 { margin:0; font-size:1.4rem }
.panel-header .panel-sub { margin:6px 0 12px; color:#666; font-size:0.95rem }

/* Chips (alcohol type) */
.chips { display:flex; flex-wrap:wrap; gap:8px }
.chip {
    display:inline-flex;
    align-items:center;
    cursor:pointer;
}
.chip input { display:none }
.chip span {
    display:inline-block;
    padding:8px 12px;
    border-radius:999px;
    background: linear-gradient(180deg,#fff,#fbfbfd);
    border: 1px solid rgba(15,23,42,0.06);
    color: #444;
    font-weight:600;
    box-shadow: 0 6px 18px rgba(2,6,23,0.03);
    transition: all 0.18s ease;
}
.chip input:checked + span {
    background: linear-gradient(90deg,var(--primary-color),var(--secondary-color));
    color: #fff;
    box-shadow: 0 10px 28px rgba(255,122,24,0.12);
    transform: translateY(-2px);
}

.slider {
    width: 100%;
    margin-top: 10px;
}

#price-value {
    font-weight: bold;
    color: var(--accent-color); /* Changed back to accent-color */
}

.product-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

/* Shop page - mobile adjustments */
.shop-controls {
    display: none; /* shown on mobile (script may remove DOM when old filters hidden) */
    gap: 12px;
    margin: 18px 0;
    justify-content: flex-start;
    position: relative;
    z-index: 1300; /* keep controls above other elements */
}

.shop-controls .button {
    padding: 10px 12px;
    font-size: 0.95rem;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(2,6,23,0.06);
}

.shop-controls .button.secondary {
    background: #fff;
    color: var(--text-dark);
    border: 1px solid rgba(15,23,42,0.06);
}

.shop-controls .button.primary {
    background: linear-gradient(90deg,var(--primary-color),var(--secondary-color));
    color: #fff;
}

/* broaden mobile breakpoint to include larger tablets where user may test */
@media (max-width: 1100px) {
    /* show mobile controls */
    .shop-controls { display: flex; }

    /* Floating controls under header for quick access on mobile */
    .shop-controls {
        position: fixed;
        top: 72px; /* below sticky header */
        left: 16px;
        right: 16px;
        padding: 8px 12px;
        background: rgba(255,255,255,0.98);
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(2,6,23,0.06);
        justify-content: space-between;
        align-items: center;
        z-index: 1400;
    }

    /* Sidebar becomes off-canvas panel — use transform for smoother GPU animation */
    .sidebar {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 86vw;
        max-width: 360px;
        background: #fff;
        z-index: 1500;
        padding: 20px;
        box-shadow: -14px 0 40px rgba(2,6,23,0.16);
        transform: translateX(100%);
        transition: transform 0.32s cubic-bezier(.2,.9,.2,1);
        overflow-y: auto;
        will-change: transform;
    }

    .sidebar.active { transform: translateX(0); }

    /* Close button inside sidebar (mobile) */
    .sidebar-close {
        position: absolute;
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
        border-radius: 10px;
        border: none;
        background: rgba(0,0,0,0.06);
        color: #111;
        font-size: 22px;
        line-height: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0 6px 16px rgba(2,6,23,0.08);
        z-index: 1510;
    }

    .sidebar .sidebar-close:hover { background: rgba(0,0,0,0.09); }

    /* add overlay for panel with pointer-events control */
    .panel-overlay {
        position: fixed; inset: 0; background: rgba(0,0,0,0.5); opacity: 0; visibility: hidden; z-index: 1450; transition: opacity 0.28s ease;
        pointer-events: none;
    }

    .panel-overlay.active { opacity: 1; visibility: visible; pointer-events: auto; }

    /* Make product grid single column for easy reading */
    .product-grid {
        /* Show two columns on narrow screens to fit more products in a row */
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        padding: 12px 8px 110px; /* leave space for fixed controls at top and bottom */
    }

    .product-item {
        padding: 0; /* card uses image + meta spacing */
        min-height: auto;
        border-radius: 12px;
        overflow: hidden;
    }

    .product-item img { height: 180px; object-fit: cover; width: 100%; }

    .product-item h3 { font-size: 1.05rem; margin: 12px 14px 6px; }

    .product-item p { margin: 0 14px 6px; }

    .product-item p:last-of-type { margin-bottom: 12px; }

    /* Make add-to-cart full width and easy to tap */
    .product-item .add-to-cart {
        display: block;
        width: calc(100% - 28px);
        margin: 0 14px 18px;
        padding: 14px 16px;
        font-size: 1rem;
    }

    /* hide aside in normal flow */
    .shop-content { display: block; }
    .sidebar { display: block; }

    /* Slightly increase font sizes for readability */
    body { font-size: 18px; }
}

/* Additional mobile-first polish */
@media (max-width: 600px) {
    /* Make chips horizontally scrollable for narrow screens */
    .chips {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px;
        gap: 10px;
    }

    .chips::-webkit-scrollbar { height: 8px; }
    .chips::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.08); border-radius: 8px; }

    /* Fullscreen bottom-up modal for filters on small phones */
    .sidebar {
        width: 100vw;
        max-width: 100vw;
        top: auto;
        bottom: 0;
        height: 88vh;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        transform: translateY(100%);
        transition: transform 0.36s cubic-bezier(.2,.9,.2,1);
    }

    .sidebar.active { transform: translateY(0); }

    .sidebar .sidebar-close {
        right: 14px;
        top: 10px;
        background: rgba(255,255,255,0.06);
    }

    /* Move controls slightly lower so header doesn't overlap */
    .shop-controls { top: 76px; left: 10px; right: 10px; }

    /* Stack action buttons vertically for easier tapping */
    .filter-actions { flex-direction: column; }
    .filter-actions .button { width: 100%; }

    /* Make product grid compact on small phones: three columns */
    .product-grid {
        grid-template-columns: repeat(3, minmax(90px, 1fr));
        gap: 8px;
        padding: 8px 6px 120px;
    }

    /* Compact product card styles for dense list */
    .product-item {
        border-radius: 8px;
        overflow: hidden;
        padding: 0;
        font-size: 0.85rem;
    }

    .product-item img {
        height: 96px;
        object-fit: cover;
        width: 100%;
        display: block;
    }

    .product-item h3 { font-size: 0.85rem; margin: 8px 10px 4px; }
    .product-item p { font-size: 0.78rem; margin: 0 10px 6px; }

    .product-item .add-to-cart {
        display: block;
        width: calc(100% - 20px);
        margin: 8px 10px 12px;
        padding: 8px 10px;
        font-size: 0.85rem;
        border-radius: 8px;
    }

    /* Ensure product grid has comfortable bottom spacing for action buttons */
    .product-grid { padding-bottom: 40px; }

    /* Bigger slider thumb for touch */
    .price-control .slider::-webkit-slider-thumb { width: 22px; height: 22px; border-width:5px }

    /* Ensure results-note is clearly visible */
    .results-note { text-align: center; padding: 12px 0; background: rgba(250,250,250,0.6); border-radius: 8px; margin-top: 10px }

    /* increase tappable area of add-to-cart on mobile */
    .product-item .add-to-cart { padding: 16px 18px; font-size: 1.05rem }

    /* Fix product images to fit nicely on tall phones */
    .product-item img { height: 300px; }
}

/* About Page Specific Styles */
#mission-values .values-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.value-item {
    background-color: #fff;
    padding: 40px; /* Increased padding */
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transform: translateY(0);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05); /* Subtle border */
}

.value-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.value-item h3 {
    font-size: 1.6rem;
    color: var(--accent-color); /* Changed back to accent-color */
    margin-bottom: 20px; /* Adjusted margin */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.value-item h3 img {
    width: 55px; /* Slightly smaller icons */
    height: 55px;
    object-fit: contain;
    border-radius: 50%; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transform: scale(1);
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.1)); /* Subtle shadow for icons */
}

.value-item h3 img:hover {
    transform: scale(1.1);
    fill: var(--accent-color); /* Changed back to accent-color */ 
    filter: drop-shadow(0 0 8px var(--accent-color)); /* Accent color shadow on hover */
}

#contact p {
    text-align: center;
    font-size: 1.05rem;
    margin-bottom: 10px;
}

#contact a {
    color: var(--accent-color); /* Changed back to accent-color */
    text-decoration: none;
    position: relative;
}

#contact a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease-in-out;
}

#contact a:hover::after {
    width: 100%;
}

/* Age Verification Pop-up */
#age-verification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.age-verification-modal {
    background-color: #fff;
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    max-width: 450px;
    width: 90%;
}

.age-verification-modal h2 {
    font-size: 2.8rem;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.age-verification-modal p {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 35px;
}

.age-verification-buttons button {
    background-color: var(--secondary-color);
    color: var(--text-light);
    border: none;
    padding: 16px 35px;
    margin: 0 12px;
    border-radius: 35px;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.age-verification-buttons button:hover {
    background-color: #5a0408;
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

#age-no {
    background-color: var(--secondary-color);
}

#age-no:hover {
    background-color: #5a0408;
}

#age-denied-message {
    color: var(--secondary-color);
    font-weight: 700;
    margin-top: 20px;
}

/* Telegram Promo Section */
#telegram-promo {
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('https://images.unsplash.com/photo-1628178873400-983e29f8f4a6?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwxfDB8MXxyYW5kb218fHx0ZWxlZ3JhbXxlbnwwfHx8fHwxNzA2ODc2MDAw&ixlib=rb-4.0.3&q=80&w=1920') no-repeat center center/cover;
    background-attachment: fixed; /* Parallax effect */
    color: var(--text-light);
    padding: 90px 20px;
    border-radius: 15px;
}

#telegram-promo h2 {
    font-size: 3.2rem;
    color: var(--text-light);
    margin-bottom: 25px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.8);
    position: relative;
    padding-bottom: 10px;
}

#telegram-promo h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

#telegram-promo p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

#telegram-promo .button {
    background-color: #0088cc; /* Green for Telegram */
    color: #fff;
}

#telegram-promo .button:hover {
    background-color: #006bb3;
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--accent-color); /* Changed back to accent-color */
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2); 
    transform: translateY(0);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

#back-to-top:hover {
    background-color: var(--secondary-color); /* Darker orange on hover */
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Popular Products Slider */
#popular-products .slider-container {
    position: relative;
    overflow: hidden;
    margin: 50px auto;
    max-width: 100%;
}

#popular-products .product-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding-bottom: 25px; /* Space for scrollbar */
}

#popular-products .product-slider::-webkit-scrollbar {
    height: 10px;
}

#popular-products .product-slider::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#popular-products .product-slider::-webkit-scrollbar-thumb {
    background: var(--primary-color);

/* Mobile-only filter sheet styles and floating button */
@media (max-width: 600px) {
    .mobile-filter-button {
        position: fixed;
        right: 16px;
        bottom: 88px;
        z-index: 1200;
        background: var(--accent-color, #ff6a00);
        color: #fff;
        padding: 10px 14px;
        border-radius: 28px;
        box-shadow: 0 6px 18px rgba(0,0,0,0.18);
        font-weight: 600;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #mobile-panel-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 1100;
        opacity: 0;
        visibility: hidden;
        transition: opacity 240ms ease, visibility 240ms;
    }

    #mobile-panel-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-filters {
        --sheet-height: 78vh;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        height: var(--sheet-height);
        background: var(--panel-bg, rgba(255,255,255,0.98));
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
        box-shadow: 0 -8px 30px rgba(0,0,0,0.12);
        transform: translateY(110%);
        transition: transform 260ms cubic-bezier(.2,.9,.2,1);
        z-index: 1150;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .mobile-filters.active { transform: translateY(0%); }

    .mobile-filters-header {
        display:flex;
        align-items:center;
        gap:12px;
        padding:12px 16px;
        border-bottom: 1px solid rgba(0,0,0,0.06);
    }

    .mobile-filters-header h3 { margin:0; font-size:1.05rem }
    .mobile-filter-close { background:transparent; border:none; font-size:24px; line-height:1; padding:6px; }

    .mobile-filters-body { padding:12px 16px 84px; overflow:auto; }

    .mobile-chips { display:flex; gap:8px; flex-wrap:nowrap; overflow:auto; padding-bottom:6px }
    .mobile-chips .chip { white-space:nowrap; }

    .mobile-filters .filter-group { margin-bottom:14px }

    .mobile-filters .price-control input[type=range] { width:100%; }

    .mobile-filters-actions {
        position: absolute;
        left:0; right:0; bottom:0;
        display:flex; gap:10px; padding:10px 12px; background:linear-gradient(180deg, transparent, rgba(255,255,255,0.98));
        border-top: 1px solid rgba(0,0,0,0.06);
    }

    .mobile-filters-actions .button { flex:1 }

    /* Hide desktop sidebar controls on phones */
    .sidebar, .shop-controls { display: none !important; }
}
    border-radius: 10px;
}

#popular-products .product-slider::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

#popular-products .product-slider .product-item {
    flex: 0 0 auto;
    width: 310px; /* Slightly larger fixed width */
    margin-right: 25px;
    scroll-snap-align: start;
}

#popular-products .slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    padding: 18px 12px;
    cursor: pointer;
    z-index: 10;
    font-size: 1.7rem;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
}

#popular-products .slider-button.prev {
    left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

#popular-products .slider-button.next {
    right: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

#popular-products .slider-button:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

/* Responsive adjustments for slider */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }

    .header-bar {
        gap: 12px;
    }

    .header-actions {
        display: none; /* Hide action pills on tablets/mobiles to declutter */
    }

    .header-top {
        flex-direction: column;
        text-align: center;
        padding: 8px 0; 
        gap: 10px; 
    }

    .header-top .top-info {
        flex-direction: column;
        gap: 8px; 
    }

    .header-main .logo {
        font-size: 1.05rem; /* Compact size for tablet/mobile */
    }

    .main-nav {
        flex-basis: 100%;
        display: none;
        flex-direction: column;
        background-color: var(--bg-dark);
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        width: 100%;
        box-shadow: 0 4px 12px rgba(0,0,0,0.25);
        padding: 10px 0; 
        border-radius: 0 0 10px 10px; 
        z-index: 99;
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav ul {
        flex-direction: column;
        width: 100%;
    }

    .main-nav ul li {
        margin: 8px 0; 
        width: 100%;
        text-align: center;
    }

    .main-nav ul li a {
        padding: 12px 0; 
        font-size: 1rem; 
        color: var(--text-light); 
        border-bottom: 1px solid rgba(255,255,255,0.08); 
    }

    .main-nav ul li:last-child a {
        border-bottom: none; 
    }

    .main-nav ul li a:hover {
        background-color: transparent; 
        color: var(--accent-color); 
    }

    .menu-toggle {
        display: flex;
        width: 28px;
        height: 18px;
    }

    .menu-toggle span {
        height: 2px; 
    }

    #hero {
        padding: 120px 15px; /* Adjusted padding */
        min-height: 60vh; /* Adjusted min-height */
    }

    #hero h1 {
        font-size: 4.5rem; /* Adjusted font size */
        margin-bottom: 25px;
    }

    #hero .subtitle {
        font-size: 1.8rem; /* Adjusted font size */
        margin-bottom: 45px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .button.primary,
    .button.secondary {
        width: 80%; /* Adjusted width */
        max-width: 280px; /* Adjusted max-width */
    }

    #features .feature-list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Adjusted minmax */
        gap: 25px; /* Adjusted gap */
    }

    .feature-item {
        padding: 30px; /* Adjusted padding */
    }

    .feature-item h3 {
        font-size: 1.5rem;
    }

    .feature-item h3 img {
        width: 50px;
        height: 50px;
    }

    .product-list,
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Adjusted minmax */
        gap: 25px; /* Adjusted gap */
    }

    .product-item {
        padding: 30px; /* Adjusted padding */
    }

    .product-item img {
        height: 180px;
    }

    .product-item h3 {
        font-size: 1.3rem;
    }

    .product-item p {
        font-size: 0.95rem;
    }

    .product-item .add-to-cart {
        padding: 10px 25px;
        font-size: 0.95rem;
    }

    .sidebar {
        flex: 0 0 200px; /* Adjusted width */
        padding: 25px;
        top: 80px;
    }

    .sidebar h2 {
        font-size: 1.8rem;
    }

    .sidebar ul li a {
        font-size: 1rem;
    }

    .filter-group {
        padding: 15px;
    }

    .filter-group h3 {
        font-size: 1.3rem;
    }

    .filter-group label {
        font-size: 1rem;
    }

    #mission-values .values-list {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* Adjusted minmax */
        gap: 25px;
    }

    .value-item {
        padding: 30px;
    }

    .value-item h3 {
        font-size: 1.5rem;
    }

    .value-item h3 img {
        width: 50px;
        height: 50px;
    }

    .age-verification-modal {
        padding: 50px; /* Adjusted padding */
    }

    .age-verification-modal h2 {
        font-size: 2.5rem;
    }

    .age-verification-modal p {
        font-size: 1.2rem;
    }

    .age-verification-buttons button {
        padding: 14px 30px;
        font-size: 1.1rem;
    }

    #telegram-promo {
        padding: 80px 20px; /* Adjusted padding */
    }

    #telegram-promo h2 {
        font-size: 2.8rem;
    }

    #telegram-promo p {
        font-size: 1.3rem;
    }

    footer {
        padding: 50px 0 25px 0; /* Adjusted padding */
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-section {
        flex: 1 1 100%;
    }

    .footer-section h3,
    .footer-section p {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    #back-to-top {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
        bottom: 25px;
        right: 25px;
    }

    #popular-products .product-slider .product-item {
        width: 280px;
    }

    #popular-products .slider-button {
        display: none; /* Hide slider buttons on small screens if desired */
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 100%; /* Full width on smallest screens */
        padding: 0 15px; /* Adjusted padding */
    }

    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    #hero {
        padding: 100px 15px;
        min-height: 50vh;
    }

    #hero h1 {
        font-size: 3.5rem;
    }

    #hero .subtitle {
        font-size: 1.5rem;
    }

    .button {
        padding: 14px 30px;
        font-size: 1rem;
    }

    .feature-item {
        padding: 25px;
    }

    .feature-item h3 {
        font-size: 1.4rem;
    }

    .feature-item h3 img {
        width: 45px;
        height: 45px;
    }

    .product-item {
        padding: 20px;
    }

    .product-item img {
        height: 160px;
    }

    .product-item h3 {
        font-size: 1.2rem;
    }

    .product-item p {
        font-size: 0.9rem;
    }

    .product-item .add-to-cart {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .sidebar {
        flex: 0 0 100%; /* Full width sidebar */
        position: static; /* Remove sticky behavior */
        margin-bottom: 30px;
    }

    .shop-content {
        flex-direction: column; /* Stack sidebar and product grid */
    }

    #mission-values .values-list {
        grid-template-columns: 1fr;
    }

    .value-item {
        padding: 25px;
    }

    .value-item h3 {
        font-size: 1.4rem;
    }

    .value-item h3 img {
        width: 45px;
        height: 45px;
    }

    .age-verification-modal {
        padding: 30px;
    }

    .age-verification-modal h2 {
        font-size: 2rem;
    }

    .age-verification-modal p {
        font-size: 1rem;
    }

/* Desktop: hide mobile-only filter UI (we keep sidebar as the primary filter on PC) */
@media (min-width: 601px) {
    .mobile-filter-button,
    #mobile-filters,
    #mobile-panel-overlay {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

    .age-verification-buttons button {
        padding: 10px 20px;
        font-size: 1rem;
    }

    #telegram-promo {
        padding: 60px 15px;
    }

    #telegram-promo h2 {
        font-size: 2.2rem;
    }

    #telegram-promo p {
        font-size: 1.1rem;
    }

    #back-to-top {
        width: 45px;
        height: 45px;
        font-size: 1.4rem;
        bottom: 15px;
        right: 15px;
    }

    #popular-products .product-slider .product-item {
        width: 100%; /* Full width for individual items in slider */
        margin-right: 0; /* Remove margin */
    }

    #popular-products .slider-button {
        display: none; /* Hide slider buttons on small screens if desired */
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    #hero h1 {
        font-size: 2.8rem;
    }

    #hero .subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .button {
        width: 95%;
        max-width: 250px;
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .header-main .logo {
        font-size: 2rem;
    }

    .menu-toggle {
        width: 25px;
        height: 18px;
    }

    .menu-toggle span {
        height: 2px;
    }

    .age-verification-modal {
        padding: 20px;
    }

    .age-verification-modal h2 {
        font-size: 1.8rem;
    }

    .age-verification-modal p {
        font-size: 0.9rem;
    }

    .age-verification-buttons button {
        padding: 8px 15px;
        font-size: 0.9rem;
        margin: 0 5px;
    }

    #telegram-promo h2 {
        font-size: 1.8rem;
    }

    #telegram-promo p {
        font-size: 1rem;
    }
}
