:root {
    --bg-color: #f5efe6;
    --text-color: #4e342e;
    --accent-color: #8d6e63;
    --green-color: #7d8f69; /* Sage Green */
    --pink-color: #d4a5a5; /* Dusty Pink */
    --white: #ffffff;
    --header-font: 'Dancing Script', cursive;
    --subhead-font: 'Playfair Display', serif;
    --body-font: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Ensure body doesn't overflow horizontally */
body {
    font-family: var(--body-font);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%; /* Explicit width */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.section {
    padding: 120px 0; /* Increased padding for more space */
    position: relative;
}

/* Wave Divider */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 0; /* Ensure divider is behind content */
    pointer-events: none; /* Prevent interference */
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.wave-divider .shape-fill {
    fill: var(--bg-color);
}

/* Floating Elements */
.floating-leaf {
    position: absolute;
    opacity: 0.15; /* Increased opacity for better visibility of color */
    pointer-events: none;
    z-index: 0;
}

.leaf-1 {
    top: 10%;
    left: 5%;
    font-size: 5rem;
    transform: rotate(-15deg);
    color: var(--green-color);
}

.leaf-2 {
    bottom: 10%;
    right: 5%;
    font-size: 8rem;
    transform: rotate(25deg);
    color: var(--green-color);
}

.leaf-3 {
    top: 20%;
    left: -2%;
    font-size: 12rem;
    transform: rotate(45deg);
    color: var(--green-color);
}

.leaf-4 {
    bottom: 15%;
    right: -2%;
    font-size: 10rem;
    transform: rotate(-30deg);
    color: var(--green-color);
}

.leaf-5 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20rem;
    opacity: 0.05;
    color: var(--green-color);
}

.leaf-hero-1 {
    top: 15%;
    left: 10%;
    font-size: 10rem;
    transform: rotate(15deg);
    color: var(--green-color);
    opacity: 0.1;
}

.leaf-hero-2 {
    bottom: 15%;
    right: 10%;
    font-size: 12rem;
    transform: rotate(-25deg);
    color: var(--green-color);
    opacity: 0.1;
}

/* Header */
.header {
    background-color: transparent; /* Default transparent at top */
    padding: 20px 0;
    position: fixed; /* Fixed to overlay hero */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001; /* Must be higher than subnav */
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.header.scrolled {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 10px 0; /* Shrink padding on scroll */
}

.header.hidden {
    transform: translateY(-100%);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: block;
}

.logo-img {
    height: 120px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.header.scrolled .logo-img {
    height: 80px;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: var(--text-color);
    transition: var(--transition);
}

.nav-list a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* Special Nav Button */
.btn-nav {
    background-color: var(--accent-color);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 20px;
    transition: var(--transition);
    white-space: nowrap; /* Prevent breaking on small screens */
}

.btn-nav:hover {
    background-color: var(--green-color);
    transform: translateY(-2px);
}

/* Mobile Adjustments for very small screens */
@media (max-width: 360px) {
    .container {
        padding: 0 15px; /* Reduce padding */
    }
    
    .hero h1 {
        font-size: 2.5rem; /* Smaller hero text */
    }

    .step {
        min-width: 100%; /* Force stacking */
    }

    .testimonials-grid, .footer-container {
        grid-template-columns: 1fr; /* Force 1 column */
    }
}
@media (max-width: 768px) {
    .btn-nav {
        background-color: transparent;
        color: var(--text-color) !important;
        padding: 0;
        margin-top: 10px;
    }
}
.hero {
    height: 100svh;
    background-color: var(--bg-color);
    display: flex;
    position: relative;
    padding-top: 0;
    overflow: hidden;
}

.hero-text-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 50px;
    z-index: 2;
    position: relative; /* Context for floating elements */
}

.hero-content {
    max-width: 600px;
    padding-top: 100px;
    text-align: left;
    position: relative;
    z-index: 1; /* Ensure text is above floating elements */
}

.hero-image-side {
    flex: 1;
    position: relative;
    height: 100%;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 3s ease-in-out, transform 8s ease-out;
    transform: scale(1.1);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    transition: opacity 3s ease-in-out, transform 8s ease-out;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(to right, rgba(245, 239, 230, 0.85) 0%, rgba(245, 239, 230, 0) 40%),
        linear-gradient(to bottom, rgba(245, 239, 230, 0.8) 0%, rgba(245, 239, 230, 0) 200px);
    z-index: 1;
    pointer-events: none;
}

.hero h1 {
    font-family: var(--header-font);
    font-size: 4.5rem;
    margin-bottom: 35px;
    color: var(--text-color);
    line-height: 1.1;
    position: relative;
    display: inline-block;
}

.hero h1::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -15px;
    width: 250px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.hero-subtitle {
    font-family: var(--subhead-font);
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 30px;
    color: var(--accent-color);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #6d4c41;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--green-color); /* Changed to Green */
    color: var(--white); /* White text */
    border-radius: 30px;
    margin-top: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(125, 143, 105, 0.4);
}

.btn:hover {
    background-color: var(--text-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(78, 52, 46, 0.3);
}

/* Scroll Down Indicator */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-color); /* Brown color */
    text-decoration: none;
    transition: var(--transition);
    z-index: 10;
    opacity: 0.9;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 5px rgba(255, 255, 255, 0.5); /* White glow for contrast */
}

.scroll-down:hover {
    opacity: 1;
    color: var(--accent-color);
    transform: translateX(-50%) translateY(5px);
}

.scroll-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 500;
}

.scroll-down i {
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(10px);
    }
    60% {
        transform: translateY(5px);
    }
}

/* Intro Story Section */
.intro-story {
    background-color: var(--white);
    text-align: center;
    font-size: 1.2rem;
    font-weight: 500;
}

.divider {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    opacity: 0.7;
}

.intro-story p {
    max-width: 800px;
    margin: 0 auto 20px;
    color: var(--text-color);
}

.intro-story p:last-child {
    margin-bottom: 0;
}

/* About Section */
.about {
    background-color: var(--white);
    padding-bottom: 160px;
    position: relative;
    z-index: 1;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-family: var(--subhead-font);
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.about-text h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
    bottom: -10px;
    left: 0;
}

.lead {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.about-image-wrapper {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image-wrapper:hover .about-image {
    transform: scale(1.05);
}

/* Section Headings Flourishes */
.services h2, .process h2, .gallery h2, .testimonials h2, .faq h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.services h2::before, .process h2::before, .gallery h2::before, .testimonials h2::before, .faq h2::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    background-color: var(--accent-color);
    border-radius: 0 50% 0 50%;
    transform: rotate(-45deg);
    opacity: 0.8;
}

.services h2::after, .process h2::after, .gallery h2::after, .testimonials h2::after, .faq h2::after {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    background-color: var(--accent-color);
    border-radius: 0 50% 0 50%;
    transform: rotate(135deg);
    opacity: 0.8;
}

/* Services Section */
.services {
    background-color: var(--bg-color); /* Changed to Cream */
    position: relative;
    padding-bottom: 160px; /* Extra padding for bottom divider */
    z-index: 1;
}

/* Decorative background pattern (subtle) */
.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--accent-color) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.05;
    pointer-events: none;
    z-index: -1;
}

.services h2 {
    text-align: center;
    font-family: var(--subhead-font);
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* Smaller min-width to fit 4 in a row */
    gap: 20px; /* Reduced gap */
    position: relative;
    z-index: 2; /* Ensure grid is above divider */
}

.service-card {
    background-color: var(--white); /* Changed to white for better contrast */
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(141, 110, 99, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(78, 52, 46, 0.1);
    border-color: rgba(141, 110, 99, 0.3);
    background-color: #fffaf0; /* Very light cream/floral tint on hover */
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: #f2f7f0; /* Very light green tint */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    color: var(--green-color);
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.service-card:hover .icon-wrapper {
    background-color: var(--green-color);
    color: var(--white);
    transform: scale(1.1);
}

.service-card h3 {
    font-family: var(--subhead-font);
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.service-card ul {
    text-align: left;
    width: 100%;
}

.service-card ul li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    position: relative;
    padding-left: 20px;
    color: #6d4c41;
}

.service-card ul li::before {
    content: '•';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Process Section (Jak objednat) */
.process {
    background-color: var(--bg-color);
    text-align: center;
    padding-bottom: 160px;
    z-index: 1;
}

.process h2 {
    font-family: var(--subhead-font);
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-color);
}

.process-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    flex: 1;
    min-width: 250px;
    padding: 20px;
}

.step-icon {
    font-size: 2.5rem;
    color: var(--pink-color);
    margin-bottom: 20px;
    background-color: var(--white);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.step h3 {
    font-family: var(--subhead-font);
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.step-arrow {
    font-size: 1.5rem;
    color: var(--pink-color);
    opacity: 0.5;
}

/* Gallery Section */
.gallery {
    background-color: var(--white);
    padding-bottom: 160px;
    z-index: 1;
}

.gallery h2 {
    text-align: center;
    font-family: var(--subhead-font);
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-color);
}

.gallery-category {
    margin-bottom: 60px;
    text-align: center;
}

.gallery-category h3 {
    font-family: var(--subhead-font);
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 30px;
    display: inline-block;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Reduced from 250px */
    gap: 15px; /* Reduced gap */
    margin-bottom: 30px;
}

.gallery-item {
    height: 200px; /* Explicit height reduced from 300px (previous implied default) */
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.gallery-item.hidden-image {
    display: none;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gallery-item.visible-image {
    animation: fadeInScale 0.6s ease both; /* 'both' ensures initial state is applied during delay */
}

.btn-show-more {
    display: inline-block;
    padding: 10px 25px;
    background-color: transparent;
    color: var(--text-color);
    border: 2px solid var(--text-color);
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-show-more:hover {
    background-color: var(--text-color);
    color: var(--white);
}

.btn-show-more.hidden {
    display: none !important;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--bg-color);
    padding-bottom: 160px;
    z-index: 1;
}

.testimonials h2 {
    text-align: center;
    font-family: var(--subhead-font);
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-color);
}

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

.testimonial-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: var(--header-font);
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.1;
    line-height: 1;
}

.stars {
    color: #ffc107;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-card .author {
    font-style: normal;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 0;
}

/* E-Shop Styles */
.shop-hero {
    background-color: var(--bg-color);
    padding: 150px 0 80px;
    text-align: center;
}

.shop-hero h1 {
    font-family: var(--header-font);
    font-size: 3.5rem;
    color: var(--text-color);
    margin-bottom: 20px;
}

.shop-content {
    background-color: var(--white);
    padding-top: 60px;
}

.shop-container {
    display: flex;
    flex-direction: row; /* Side by side */
    gap: 40px;
    align-items: flex-start; /* Prevent stretching height */
}

/* Shop Benefits Section (Sidebar style) */
.shop-benefits {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    gap: 20px; /* Reduced gap */
    margin-top: 0;
    padding: 20px 15px; /* Reduced padding */
    background-color: #f9f9f9;
    border-radius: 12px;
    text-align: center;
    width: 220px; /* Reduced width */
    flex-shrink: 0;
    position: relative; /* Changed from sticky to relative */
    /* top removed */
    height: fit-content;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.benefit-item i {
    font-size: 1.8rem; /* Smaller icons */
    color: var(--green-color);
    margin-bottom: 8px;
}

.benefit-item h4 {
    font-family: var(--subhead-font);
    font-size: 1rem; /* Smaller title */
    margin-bottom: 3px;
    color: var(--text-color);
    line-height: 1.2;
}

.benefit-item p {
    font-size: 0.8rem; /* Smaller text */
    color: #777;
    line-height: 1.3;
}

/* Responsive: Move benefits to bottom on mobile */
@media (max-width: 900px) {
    .shop-container {
        flex-direction: column;
    }
    
    .shop-benefits {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        position: static; /* No sticky on mobile */
    }
}

/* Sub-Navigation (Categories Bar) - Static */
.shop-subnav-container {
    background-color: var(--white);
    border-bottom: 1px solid rgba(141, 110, 99, 0.1);
    position: relative;
    padding: 15px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

/* Shop Hero - Adjustments */
.shop-hero {
    background-color: var(--bg-color);
    padding: 150px 0 40px; /* Reduced bottom padding */
    text-align: center;
}

.shop-subnav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.shop-categories-scroll {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.scroll-arrow-indicator {
    display: none;
}

.cat-pill {
    white-space: nowrap;
    padding: 8px 20px;
    border-radius: 25px;
    border: 1px solid #e0e0e0;
    background-color: #fff;
    color: var(--text-color);
    font-family: var(--body-font);
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.cat-pill:hover {
    border-color: var(--green-color);
    color: var(--green-color);
}

.cat-pill.active {
    background-color: var(--green-color);
    color: var(--white);
    border-color: var(--green-color);
    box-shadow: 0 5px 15px rgba(125, 143, 105, 0.3);
}

.btn-filter-trigger {
    white-space: nowrap;
    padding: 8px 20px;
    border-radius: 25px;
    border: 1px solid var(--text-color);
    background-color: transparent;
    color: var(--text-color);
    font-family: var(--body-font);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-filter-trigger:hover {
    background-color: var(--text-color);
    color: var(--white);
}

/* Filter Drawer (Off-canvas) - Redefined */
.filter-drawer {
    position: fixed;
    top: 0;
    right: -350px;
    width: 320px;
    max-width: 85vw; /* Ensure it fits on mobile */
    height: 100vh;
    background-color: var(--white);
    z-index: 3002; /* Explicitly high */
    box-shadow: -5px 0 30px rgba(0,0,0,0.1);
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 2999; /* Between header and drawer */
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(2px);
}

.filter-drawer.open {
    right: 0;
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

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

.drawer-header h3 {
    font-family: var(--subhead-font);
    font-size: 1.5rem;
    margin: 0;
    color: var(--text-color);
}

.close-drawer {
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    color: #999;
    transition: var(--transition);
}

.close-drawer:hover {
    color: var(--text-color);
}

.drawer-content {
    padding: 25px;
    overflow-y: auto;
    flex: 1;
}

/* Drawer Content Styling - Filter Groups */

.drawer-content h3 {
    font-family: var(--body-font);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Modern Inputs */
.drawer-content input[type="text"],
.drawer-content input[type="number"],
.drawer-content select {
    width: 100%;
    padding: 15px;
    background-color: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 12px;
    font-family: var(--body-font);
    font-size: 1rem;
    color: var(--text-color);
    transition: var(--transition);
    outline: none;
}

.drawer-content input:focus,
.drawer-content select:focus {
    background-color: var(--white);
    border-color: var(--green-color);
    box-shadow: 0 5px 15px rgba(125, 143, 105, 0.1);
}

.drawer-content input::placeholder {
    color: #bbb;
    font-weight: 400;
}

/* Price Filter Range Layout */
.price-filter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-filter span {
    color: #bbb;
    font-weight: bold;
}

/* Search Box specific */
.search-box {
    position: relative;
}

.search-box .search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #bbb;
    pointer-events: none;
}

/* Custom Select Arrow */
.drawer-content select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    cursor: pointer;
}

/* Apply Button */
#apply-filters {
    background-color: var(--text-color);
    color: var(--white);
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

#apply-filters:hover {
    background-color: var(--green-color);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(125, 143, 105, 0.2);
}

/* Products Grid - Compact Modern Layout */
.products-grid.full-width-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); /* Smaller cards */
    gap: 20px;
    padding-bottom: 40px;
}

.product-card {
    background-color: var(--white);
    border-radius: 10px; /* Slightly less rounded */
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03); /* Lighter shadow */
    transition: var(--transition);
    border: 1px solid rgba(141, 110, 99, 0.05);
    display: flex;
    flex-direction: column;
    position: relative; /* Context for hover overlay */
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.product-image {
    position: relative;
    height: 220px; /* Reduced height */
    overflow: hidden;
    background-color: #f9f9f9;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

/* Overlay Actions - REMOVED */
.product-actions-overlay {
    display: none !important;
}

/* Product Info - Buttons Layout (Separated) */
.product-info .product-actions-row {
    display: flex;
    gap: 10px; /* Gap is back */
    margin-top: 15px;
    width: 100%;
    align-items: stretch;
}

.btn-add-cart {
    background-color: var(--text-color);
    color: var(--white);
    padding: 0 15px;
    border-radius: 8px; /* Fully rounded */
    border: none;
    outline: none;
    cursor: pointer;
    transition: var(--transition);
    flex-grow: 1;
    font-size: 0.9rem;
    white-space: nowrap;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    margin: 0;
}

.btn-add-cart:hover {
    background-color: var(--green-color);
}

.btn-detail {
    background-color: var(--text-color);
    color: var(--white);
    border: none;
    outline: none;
    /* border-left removed */
    width: 45px;
    height: 40px;
    border-radius: 8px; /* Fully rounded */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    margin: 0;
}

.btn-detail:hover {
    background-color: var(--green-color);
}

/* Mobile adjustments not needed as layout is now same for both */
@media (max-width: 768px) {
    .product-info .product-actions-row {
        margin-top: 10px;
    }
}

.products-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid rgba(141, 110, 99, 0.1);
    display: flex;
    flex-direction: column;
    cursor: pointer; /* Add pointer cursor */
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--text-color);
    color: var(--white);
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 3000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast i {
    color: var(--green-color);
    font-size: 1.2rem;
}

/* Product Badges */
.product-image {
    position: relative;
    /* existing styles... */
    height: 250px;
    overflow: hidden;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.product-badge.novinka {
    background-color: var(--green-color);
}

.product-badge.tip {
    background-color: var(--pink-color);
}

.product-badge.akce {
    background-color: #d32f2f;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Product Info - Standard E-shop Look */
.product-info {
    padding: 15px;
    text-align: left; /* Align left standard */
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-info h3 {
    font-family: var(--body-font);
    font-size: 1rem;
    font-weight: 500; /* Normal weight */
    margin-bottom: 10px;
    color: var(--text-color);
    line-height: 1.4;
    height: 2.8em; /* Fixed height for 2 lines */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price {
    font-weight: 700;
    color: var(--text-color); /* Black/Dark for price */
    font-size: 1.2rem; /* Larger price */
    margin-bottom: 5px;
}

.btn-add-cart {
    background-color: var(--text-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.btn-add-cart:hover {
    background-color: var(--green-color);
}

/* Cart Toggle in Nav */
.cart-toggle {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-count {
    background-color: var(--green-color);
    color: var(--white);
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Removed absolute positioning */
    margin-left: 2px;
}

.cart-toggle.bounce .cart-count {
    animation: bounceBadge 0.5s ease;
}

@keyframes bounceBadge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.5); }
}

/* Cart Modal */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.cart-content {
    background-color: var(--white);
    width: 90%;
    max-width: 500px;
    margin: 50px auto;
    padding: 30px;
    border-radius: 15px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

/* Product Detail Modal */
.product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    z-index: 3100; /* Above everything */
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.product-modal-content {
    background-color: var(--white);
    width: 100%;
    max-width: 900px;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close-product-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-color);
    z-index: 10;
    line-height: 1;
}

.product-modal-body {
    display: flex;
    flex-direction: row;
}

.product-modal-image {
    flex: 1;
    height: auto;
    display: flex;
    flex-direction: column;
}

.main-image-container {
    flex: 1;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.product-modal-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    cursor: pointer; /* Clickable for lightbox */
}

.product-modal-info {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align content to top */
    text-align: left;
}

.product-modal-info h2 {
    font-family: var(--subhead-font);
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.product-modal-info .price {
    font-size: 1.4rem;
    color: var(--green-color);
    font-weight: 700;
    margin-bottom: 2px; /* Reduced to keep no-vat price close */
}

.product-modal-info .price-no-vat {
    font-size: 0.95rem;
    color: #999;
    font-weight: 500;
    margin-bottom: 15px;
}

.product-description {
    margin-bottom: 15px;
    color: #666;
    line-height: 1.5;
}

.product-description h3 {
    font-size: 0.95rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.category-tag {
    display: inline-block;
    background-color: #f0f0f0;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 15px;
    text-transform: capitalize;
}

.product-modal-info .btn-add-cart {
    width: 100%;
    height: 45px; /* Slightly taller for better touch target */
    padding: 0 20px;
    margin-top: auto;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-grow: 0; /* Crucial: Prevents button from stretching vertically */
    flex-shrink: 0;
}

.product-actions-row {
    display: flex;
    gap: 10px;
}

.btn-detail {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--text-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-detail:hover {
    background-color: var(--text-color);
    color: var(--white);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .product-modal {
        padding: 10px;
        align-items: center; /* Center vertically */
    }

    .product-modal-content {
        width: 95%;
        height: auto;
        max-width: 400px; /* Compact card width */
        max-height: 90vh;
        border-radius: 15px;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .close-product-modal {
        top: 5px;
        right: 5px;
        background-color: rgba(255, 255, 255, 0.95);
        width: 28px;
        height: 28px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 5px rgba(0,0,0,0.15);
        z-index: 20;
        font-size: 1.1rem;
    }

    .product-modal-body {
        flex-direction: column;
        flex: 1;
        overflow-y: auto; /* Allow scrolling inside the card */
        max-height: none;
    }
    
    .product-modal-image {
        height: auto; /* Allow natural height */
        min-height: auto;
        max-height: none;
        flex: 0 0 auto;
        width: 100%; /* Full width */
        margin: 0; /* No margin */
        border-radius: 0; /* No border radius */
        overflow: hidden;
        position: relative;
    }

    .product-modal-image img {
        max-height: 300px; /* Reduced height on mobile */
    }

    .main-image-container {
        height: 100%;
    }

    .product-modal-info {
        padding: 15px; /* Further reduced */
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 8px; /* Reduced gap */
    }

    .product-modal-info h2 {
        font-size: 1.2rem;
        margin-bottom: 2px;
        line-height: 1.2;
        text-align: left;
    }

    .product-modal-info .price {
        font-size: 1.1rem;
        margin-bottom: 2px;
        text-align: left;
        font-weight: 700;
    }

    .product-modal-info .price-no-vat {
        font-size: 0.8rem;
        margin-bottom: 8px;
        text-align: left;
        color: #999;
    }

    .product-description {
        font-size: 0.85rem;
        margin-bottom: 5px;
        max-height: none;
        overflow: visible;
        text-align: left;
        line-height: 1.4;
    }
    
    .product-description h3 {
        font-size: 0.8rem;
        margin-bottom: 3px;
        display: block;
        text-align: left;
    }
    
    .category-tag {
        margin-bottom: 5px;
        padding: 3px 8px;
        font-size: 0.7rem;
        align-self: flex-start;
    }

    .product-actions-row {
        margin-top: 5px;
        padding-top: 0;
        justify-content: flex-start;
    }

    /* Make Add to Cart button compact but clear */
    .product-modal-info .btn-add-cart {
        padding: 10px 25px;
        height: 40px;
        font-size: 0.9rem;
        width: auto;
        border-radius: 25px;
        display: inline-flex;
    }

    /* Adjust thumbnails for mobile */
    .modal-thumbnails {
        position: absolute;
        bottom: 5px;
        left: 0;
        width: 100%;
        padding: 0 10px;
        justify-content: center;
        z-index: 10;
    }

    .modal-thumbnails img {
        width: 35px;
        height: 35px;
        border: 2px solid #fff;
        box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    }
}

/* Checkout Modal - Full Screen Style */
.checkout-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 2000;
    backdrop-filter: blur(5px);
    overflow-y: auto; /* Allow scrolling for the whole modal */
}

.checkout-content {
    background-color: var(--white);
    width: 90%;
    max-width: 1000px; /* Wider for 2-column layout */
    margin: 40px auto;
    padding: 0; /* Reset padding for internal layout */
    border-radius: 15px;
    position: relative;
    max-height: none; /* Let it grow */
    overflow: hidden; /* Clear floats/margins */
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    display: flex; /* Use flexbox for layout */
    flex-direction: row;
}

.checkout-left {
    flex: 2; /* Takes up 2/3 space */
    padding: 40px;
}

.checkout-right {
    flex: 1; /* Takes up 1/3 space */
    background-color: #f9f9f9;
    padding: 40px;
    border-left: 1px solid #eee;
}

.checkout-content h2 {
    font-family: var(--subhead-font);
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--text-color);
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

/* Order Summary Styles (Right Side) */
.order-summary-box {
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.order-summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.order-summary-item:last-child {
    border-bottom: none;
}

.order-summary-row-sub {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 5px;
    padding-left: 10px; /* Indent slightly */
}

.order-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #eee;
    color: var(--text-color);
}

.checkout-features {
    margin-top: 30px;
    font-size: 0.9rem;
    color: #666;
}

.checkout-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.checkout-feature i {
    color: var(--green-color);
}

/* Checkbox Styling */
.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border-radius: 4px;
    transition: all 0.2s;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #ccc;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--green-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.company-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.company-grid .full-width {
    grid-column: 1 / -1;
}

/* Responsive */
@media (max-width: 768px) {
    .checkout-content {
        flex-direction: column;
    }
    .checkout-left, .checkout-right {
        width: 100%;
    }
    .shop-hero h1 {
        font-size: 2.5rem;
    }
    .address-grid, .company-grid {
        grid-template-columns: 1fr;
    }
}

.close-cart,
.close-checkout {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-color);
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

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

.cart-item-details {
    flex: 1;
}

.cart-item-details h4 {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-qty {
    width: 25px;
    height: 25px;
    border: 1px solid #ddd;
    background: none;
    cursor: pointer;
    border-radius: 5px;
}

.btn-remove {
    color: #d32f2f;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    margin-left: 10px;
}

.cart-footer {
    margin-top: 20px;
    border-top: 2px solid #eee;
    padding-top: 20px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.btn-checkout {
    width: 100%;
    background-color: var(--green-color);
    color: var(--white);
    border: none;
    padding: 15px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 600;
}

.btn-checkout:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.order-summary ul {
    list-style: none;
    margin-bottom: 20px;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
}

.order-summary li {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.summary-total {
    text-align: right;
    font-size: 1.1rem;
    color: var(--green-color);
}

/* Branch Finder Link */
.branch-finder-link, .btn-widget-trigger {
    display: inline-block;
    margin-left: 10px;
    font-size: 0.85rem;
    color: var(--green-color);
    text-decoration: none;
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: var(--body-font);
}

.branch-finder-link:hover, .btn-widget-trigger:hover {
    text-decoration: underline;
    color: var(--accent-color);
}

/* Form Select */
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e6dace;
    border-radius: 10px;
    font-family: var(--body-font);
    font-size: 1rem;
    color: var(--text-color);
    background-color: var(--white);
    transition: var(--transition);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234e342e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    cursor: pointer;
}

.form-group select:focus {
    outline: none;
    border-color: var(--green-color);
    box-shadow: 0 0 0 4px rgba(125, 143, 105, 0.15);
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 3200; /* Must be higher than product modal (3100) */
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 800px;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 5px;
    animation: zoom 0.6s;
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

.close-lightbox {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

#lightbox-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
    font-family: var(--subhead-font);
    font-size: 1.5rem;
}

/* Responsive Shop */
@media (max-width: 768px) {
    .shop-container {
        flex-direction: column;
    }
    
    .shop-sidebar {
        width: 100%;
        overflow-x: auto;
    }
    
    .category-list {
        display: flex;
        gap: 15px;
    }
    
    .filter-btn {
        white-space: nowrap;
        padding: 5px 10px;
        background-color: #eee;
        border-radius: 15px;
    }
    
    .filter-btn.active {
        background-color: var(--green-color);
        color: var(--white);
    }
}
@media (max-width: 768px) {
    .shop-subnav {
        flex-direction: row; /* Changed to row for side-by-side */
        gap: 10px;
        align-items: center; /* Center vertically */
    }

    .shop-categories-scroll {
        flex-wrap: nowrap; /* Prevent wrapping */
        overflow-x: auto; /* Enable horizontal scrolling */
        justify-content: flex-start;
        gap: 10px;
        padding-bottom: 5px; /* Space for scrollbar */
        padding-right: 30px; /* Space for arrow indicator */
        flex: 1;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
        scrollbar-width: none; /* Hide scrollbar Firefox */
        -ms-overflow-style: none; /* Hide scrollbar IE/Edge */
    }

    .shop-categories-scroll::-webkit-scrollbar {
        display: none; /* Hide scrollbar Chrome/Safari */
    }

    /* Container for scroll indicator */
    .shop-subnav-scroll-container {
        position: relative;
        flex: 1;
        overflow: hidden; /* Contain the arrow */
        display: flex;
    }

    /* Clickable Scroll Arrow */
    .scroll-arrow-indicator {
        position: absolute;
        right: 0;
        top: 0;
        height: 100%;
        width: 40px;
        background: linear-gradient(to left, var(--white) 60%, transparent);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text-color);
        cursor: pointer;
        z-index: 10;
        opacity: 0.9;
        transition: opacity 0.3s;
    }
    
    .scroll-arrow-indicator.hidden {
        opacity: 0;
        pointer-events: none;
    }

    .scroll-arrow-indicator i {
        margin-left: 5px; /* Offset for gradient */
    }

    .cat-pill {
        font-size: 0.85rem;
        padding: 6px 15px;
        flex-grow: 0; /* Don't stretch */
        white-space: nowrap; /* Keep text on one line */
        max-width: none; /* Remove max-width constraint */
        text-align: center;
    }

    .btn-filter-trigger {
        width: auto;
        /* order: -1 removed */
        justify-content: center;
        padding: 6px 12px;
        font-size: 0.85rem;
        height: auto;
        margin-top: 0;
        align-self: center; /* Center vertically with pills */
        flex-shrink: 0; /* Prevent shrinking */
        margin-left: 5px;
    }
}
@media (max-width: 768px) {
    .hero {
        flex-direction: column; /* Changed from column-reverse to column */
        height: auto;
        min-height: 100svh;
    }

    .scroll-down {
        display: none; /* Hide scroll indicator on mobile as it might overlap or be unnecessary */
    }

    .hero-text-side {
        padding: 50px 20px 80px;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-image-side {
        height: 50vh;
        min-height: 300px;
    }

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

    .hero h1::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .step-arrow {
        display: none; /* Hide arrows on mobile where steps stack */
    }
}


/* FAQ Section */
.faq {
    background-color: var(--white);
    padding-bottom: 160px;
    z-index: 1;
}

.faq h2 {
    text-align: center;
    font-family: var(--subhead-font);
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--text-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(141, 110, 99, 0.1);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
    text-align: left;
    font-family: var(--subhead-font);
    font-size: 1.2rem;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent-color);
}

.faq-question i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-bottom: 20px;
    color: #6d4c41;
}

/* Quote Section */
.quote {
    text-align: center;
    background-color: var(--text-color); /* Matches footer background */
    position: relative;
    z-index: 1;
    color: var(--white);
    padding: 60px 0 30px; /* Reduced padding to merge with footer */
}

.quote blockquote {
    font-family: var(--header-font);
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.quote .quote-sub {
    color: rgba(255, 255, 255, 0.8);
}

.quote-sub {
    font-size: 1.1rem;
    color: var(--accent-color);
}

/* Contact Form Section */
.contact-form-section {
    background-color: var(--white);
    padding-bottom: 80px; /* Reduced from 160px */
    z-index: 1;
}

.contact-form-section h2 {
    text-align: center;
    font-family: var(--subhead-font);
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.form-intro {
    text-align: center;
    margin-bottom: 40px;
    color: #6d4c41;
}

.form-container {
    max-width: 900px; /* Wider container */
    margin: 0 auto;
    background-color: #fffaf0;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(141, 110, 99, 0.1);
    position: relative;
    overflow: hidden; /* Clip inner decorations */
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    margin-bottom: 0; /* Gap handled by grid */
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.95rem;
}

.form-group.full-width,
.btn-submit.full-width {
    grid-column: 1 / -1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e6dace;
    border-radius: 10px;
    font-family: var(--body-font);
    font-size: 1rem;
    color: var(--text-color);
    background-color: var(--white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green-color);
    box-shadow: 0 0 0 4px rgba(125, 143, 105, 0.15);
}

/* Form Decoration */
.form-decoration {
    position: absolute;
    color: var(--green-color);
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
}

.form-leaf-1 {
    bottom: -20px;
    right: -20px;
    font-size: 12rem;
    transform: rotate(-15deg);
}

.form-leaf-2 {
    top: -30px;
    left: -30px;
    font-size: 8rem;
    transform: rotate(135deg);
}

/* Responsive Form */
/* Address Grid in Form */
.address-grid {
    display: grid;
    grid-template-columns: 1fr; /* Changed to single column (full width) */
    gap: 15px; /* Reduced gap */
}

@media (min-width: 768px) {
    /* Optional: Keep city and zip side-by-side if wanted, but user asked for full width */
    /* .address-grid { grid-template-columns: 1fr; } */
}

@media (max-width: 768px) {
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .address-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .form-container {
        padding: 30px;
    }
}

.btn-submit {
    width: 100%;
    margin-top: 10px;
    border: none;
    cursor: pointer;
}

.form-message {
    margin-bottom: 15px;
    text-align: center;
    font-weight: 500;
    min-height: 20px;
}

.form-message.success {
    color: var(--green-color);
}

.form-message.error {
    color: #d32f2f;
}

.benefit-item i {
    font-size: 2.5rem;
    color: var(--green-color);
    margin-bottom: 15px;
}

.benefit-item h4 {
    font-family: var(--subhead-font);
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.benefit-item p {
    font-size: 0.9rem;
    color: #666;
}

/* Footer */
.footer {
    background-color: var(--text-color);
    color: var(--bg-color);
    padding: 30px 0 20px; /* Reduced top padding */
    border-top: none; /* Ensure no border creates a line */
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer h3 {
    font-family: var(--subhead-font);
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--bg-color);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info a:hover {
    color: #d7ccc8;
}

.icon {
    font-size: 1.2rem;
}

.opening-hours li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    border-bottom: 1px dotted rgba(255,255,255,0.2);
    padding-bottom: 5px;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    opacity: 0.7;
}

.creator-link {
    color: var(--bg-color);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.creator-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Responsive Mobile Nav */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        z-index: 1002; /* Above nav */
    }

    /* Off-canvas Nav */
    .nav-list {
        position: fixed;
        top: 0;
        right: -300px; /* Hidden by default */
        width: 300px; /* Partial width */
        max-width: 80vw; /* Responsive constraint */
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start; /* Align left within drawer */
        padding-left: 40px; /* Add some padding */
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1001; /* Above header background */
        box-shadow: -5px 0 30px rgba(0,0,0,0.1); /* Add shadow */
    }

    .nav-list.active {
        right: 0; /* Slide in */
        display: flex; /* Ensure flex layout */
    }

    .nav-list li {
        margin: 8px 0; /* Reduced margin */
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .nav-list.active li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered animation for list items */
    .nav-list.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-list.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-list.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-list.active li:nth-child(4) { transition-delay: 0.4s; }
    .nav-list.active li:nth-child(5) { transition-delay: 0.5s; }
    .nav-list.active li:nth-child(6) { transition-delay: 0.6s; }
    .nav-list.active li:nth-child(7) { transition-delay: 0.7s; }

    .nav-list a {
        font-size: 1.1rem; /* Smaller font */
        color: var(--text-color);
        font-family: var(--subhead-font);
    }

    .nav-list a.btn-nav {
        margin-top: 15px;
        font-size: 1rem;
        padding: 10px 25px;
        background-color: var(--accent-color);
        color: var(--white) !important;
    }

    /* Menu Toggle Animation */
    .menu-toggle {
        display: flex;
        z-index: 1002;
        position: relative; /* Ensure it stays clickable */
    }

    .menu-toggle.active span {
        background-color: var(--text-color); /* Ensure visibility */
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Other Responsive Styles */
    .hero h1 {
        font-size: 3rem;
    }

    .about-container {
        grid-template-columns: 1fr;
    }
    
    .about-image-wrapper {
        order: -1;
        height: 300px;
    }
}

/* Cookie Consent Banner */
#cookie-consent {
    position: fixed;
    bottom: -100%; /* Start off-screen */
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    padding: 20px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom)); /* Mobile safe area */
    z-index: 10000; /* Highest priority */
    transition: bottom 0.5s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    box-sizing: border-box; /* Include padding in width */
    max-width: 100vw; /* Prevent horizontal overflow */
}

/* Ensure inner content respects layout */
.cookie-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    flex-wrap: wrap;
}

#cookie-consent p {
    font-size: 0.9rem;
    color: var(--text-color);
    margin: 0;
    flex: 1;
    min-width: 250px;
    /* Allow text wrapping on small screens */
    white-space: normal; 
}

/* Mobile adjustments for cookie banner */
@media (max-width: 480px) {
    #cookie-consent {
        padding: 15px;
        padding-bottom: calc(15px + env(safe-area-inset-bottom));
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    #cookie-consent p {
        min-width: 100%;
        font-size: 0.85rem;
    }

    #cookie-consent button {
        width: 100%; /* Full width button on mobile */
    }
}

#cookie-consent.show {
    bottom: 0;
}

#cookie-consent.hide {
    bottom: -100% !important; /* Force off-screen */
    display: none; /* Hide completely after transition */
}

#cookie-consent button {
    background-color: var(--green-color);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

#cookie-consent button:hover {
    background-color: var(--text-color);
}

/* Image Slider Styles */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    z-index: 2;
}

.slider-arrow:hover {
    background: var(--text-color);
    color: var(--white);
}

.slider-arrow.prev {
    left: 10px;
}

.slider-arrow.next {
    right: 10px;
}

.modal-thumbnails {
    overflow-x: auto;
    padding-bottom: 5px;
}

.modal-thumbnails img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.modal-thumbnails img.active {
    border-color: var(--green-color);
    transform: scale(1.05);
}
