@font-face {
    font-family: 'Uniform';
    src: url('../fonts/uniform-light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Uniform';
    src: url('../fonts/uniform-bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Rahiska';
    src: url('../fonts/Rahiska.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --color-primary: #515A47;
    /* Official Dark Green */
    --color-primary-light: #707968;
    /* Lighter version of primary */
    --color-secondary: #9B9283;
    /* Official Tan/Brown */
    --color-bg: #FBF9F4;
    /* Keeping soft cream for general BG */
    --color-bg-alt: #EBE9E6;
    /* Official Light Gray/Beige for sections */
    --color-dark: #2E3328;
    /* Official Deep Dark Green */
    --color-text: #2E3328;
    --color-white: #FFFFFF;
    --font-serif: 'Uniform', sans-serif;
    --font-sans: 'Uniform', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --glass: rgba(255, 255, 255, 0.85);
}

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

html {
    scroll-behavior: smooth;
    touch-action: manipulation;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    /* Uniform Light */
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    touch-action: manipulation;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-sans);
    font-weight: 700;
    /* Uniform Bold */
    color: var(--color-dark);
}

ul {
    list-style: none;
}

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

img {
    max-width: 100%;
    display: block;
}

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

.container-fluid {
    padding: 0 40px;
}

.section {
    padding: 55px 0 100px;
}

h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 20px;
}

.section-header {
    margin-bottom: 40px;
    max-width: 750px;
}

.section-header.align-center {
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    margin-bottom: 20px;
}

.section-header h3 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-top: 25px;
    color: var(--color-primary);
}

.section-header p {
    font-size: 18px;
    opacity: 0.8;
    line-height: 1.6;
}

.subtitle {
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    color: var(--color-secondary);
    margin-bottom: 10px;
    font-weight: 700;
}

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

/* Buttons */
.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, background 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(74, 93, 78, 0.2);
}

.btn-primary:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(74, 93, 78, 0.3);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
    padding: 13px 33px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-primary-outline {
    background-color: transparent;
    color: inherit;
    border: 1.5px solid currentColor;
    padding: 10px 28px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary-outline:hover {
    background-color: var(--color-white);
    color: var(--color-primary) !important;
    border-color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Navbar */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: var(--transition);
    color: var(--color-white);
}

#navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 15px 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    color: var(--color-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    width: auto;
    display: block;
}

.circle-logo {
    width: 60px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1.5px solid var(--color-primary);
    transition: var(--transition);
}

.circle-logo:hover {
    transform: scale(1.05);
}

.circle-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.circle-logo img {
    object-fit: contain;
}


.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 700;
    font-size: 15px;
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--color-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.admin-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
    flex-shrink: 0;
}

.admin-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

.admin-btn i {
    width: 18px;
    height: 18px;
    stroke-width: 1.8px;
}

.cart-toggle {
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    padding: 8px;
    color: inherit;
    transition: var(--transition);
}

.cart-toggle:hover {
    transform: scale(1.1);
}

.cart-toggle i {
    width: 24px;
    height: 24px;
    stroke-width: 1.5px;
}

.cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: var(--color-secondary);
    color: white;
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
}

#navbar.scrolled .cart-count {
    border-color: var(--color-white);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 8px;
    transition: var(--transition);
}

.mobile-nav-toggle i {
    width: 28px;
    height: 28px;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-white);
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.mobile-nav-content {
    width: 100%;
    height: 100%;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.mobile-nav-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: var(--color-dark);
    cursor: pointer;
    padding: 10px;
}

.mobile-nav-close i {
    width: 32px;
    height: 32px;
}

.mobile-logo {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 1.5px solid var(--color-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.mobile-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    margin: 20px 0;
}

.mobile-links a {
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--color-dark);
    font-weight: 700;
    padding: 18px 0;
    border-bottom: 1px solid rgba(74, 93, 78, 0.1);
    transition: var(--transition);
    width: 100%;
    display: block;
}

.mobile-links a:last-child {
    border-bottom: none;
}

.mobile-links a:hover {
    color: var(--color-primary);
    padding-left: 10px;
    border-bottom-color: var(--color-primary);
}

.mobile-nav-footer {
    padding-bottom: 40px;
}

.admin-link {
    font-size: 11px;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--color-dark);
    padding: 12px 25px;
    border: 1px solid rgba(74, 93, 78, 0.2);
    border-radius: 100px;
    transition: var(--transition);
    display: inline-block;
}

.admin-link:hover {
    opacity: 1;
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

@media (max-width: 992px) and (pointer: coarse) {
    .nav-links {
        display: none;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .nav-container {
        padding: 0 30px;
    }
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease;
}

.loader-logo img {
    width: 120px;
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(0.95);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Hero Section */
.hero {
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    color: var(--color-white);
    text-align: center;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: var(--color-dark);
}

.desktop-slide { display: block; }
.mobile-slide { display: none; }

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    image-rendering: -webkit-optimize-contrast;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 10s linear;
    transform: scale(1.1);
}


.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.5) 0%,
            rgba(0, 0, 0, 0.2) 20%,
            rgba(0, 0, 0, 0.2) 80%,
            rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

/* Coffee Animation */
.coffee-animation {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.cup {
    position: relative;
    width: 50px;
    height: 40px;
    background: var(--color-white);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cup-logo-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 35px;
    object-fit: contain;
    border-radius: 50%;
    mix-blend-mode: multiply;
}

.cup::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 0;
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
}

.handle {
    position: absolute;
    right: -12px;
    top: 5px;
    width: 15px;
    height: 20px;
    border: 4px solid var(--color-white);
    border-left: none;
    border-radius: 0 10px 10px 0;
}

.steam {
    position: absolute;
    display: flex;
    z-index: 1;
    top: -40px;
}

.steam span {
    position: relative;
    bottom: 0;
    display: block;
    margin: 0 2px 20px;
    min-width: 4px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    animation: animateSteam 5s linear infinite;
    opacity: 0;
    filter: blur(5px);
    animation-delay: calc(var(--i) * -0.5s);
}

@keyframes animateSteam {
    0% {
        transform: translateY(0) scaleX(1);
        opacity: 0;
    }

    15% {
        opacity: 0.8;
    }

    50% {
        transform: translateY(-40px) scaleX(3);
        opacity: 0.4;
    }

    95% {
        opacity: 0;
    }

    100% {
        transform: translateY(-80px) scaleX(6);
    }
}

.hero-logo-large img {
    width: 150px;
    margin: 0 auto 30px;
    filter: brightness(0) invert(1);
}

.hero h1 {
    font-size: clamp(2.8rem, 7vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--color-white);
    letter-spacing: -1px;
}

.hero p {
    font-size: 22px;
    margin-bottom: 45px;
    opacity: 0.95;
    font-weight: 300;
    letter-spacing: 1px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
}

.mouse {
    width: 20px;
    height: 32px;
    border: 1.5px solid var(--color-white);
    border-radius: 0;
    position: relative;
}

.mouse::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 6px;
    background-color: var(--color-white);
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

@keyframes bounce-arrow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }
}

.scroll-arrow {
    animation: bounce-arrow 2s infinite ease-in-out;
}

/* Retail Coffee Section */
.retail-coffee {
    position: relative;
    background-image: linear-gradient(rgba(30, 37, 31, 0.85), rgba(30, 37, 31, 0.85)), url('../images/coffee_beans_background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--color-white);
    padding: 120px 0;
}

.retail-coffee .section-header h2,
.retail-coffee .retail-info h2,
.retail-coffee .retail-info p,
.retail-coffee .r-feat strong,
.retail-coffee .r-feat p,
.retail-coffee .subtitle {
    color: var(--color-white) !important;
}

.retail-coffee .r-feat i {
    color: var(--color-secondary);
}

.retail-coffee .retail-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.retail-coffee .retail-card h3,
.retail-coffee .retail-card p,
.retail-coffee .retail-card .price {
    color: var(--color-white);
}

.retail-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.retail-info h2 {
    margin-bottom: 30px;
}

.retail-features {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.r-feat {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.r-feat i {
    color: var(--color-primary);
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.r-feat strong {
    display: block;
    font-size: 18px;
    color: var(--color-dark);
    margin-bottom: 5px;
}

.r-feat p {
    font-size: 16px;
    opacity: 0.8;
}

.retail-products {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.retail-card {
    border: 1px solid rgba(74, 93, 78, 0.1);
}

@media (max-width: 992px) and (pointer: coarse) {
    .retail-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.event-card {
    background: var(--color-primary);
    padding: 35px 25px;
    border-radius: 0;
    text-align: center;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    color: var(--color-white);
}

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

.event-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.event-icon i {
    width: 30px;
    height: 30px;
}

.event-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--color-white);
}

.event-card p {
    font-size: 14px;
    opacity: 0.9;
    color: var(--color-white);
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    background-color: var(--color-white);
    border: 1px solid rgba(74, 93, 78, 0.15);
    padding: 12px 25px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.tab-btn i {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
}

.tab-btn:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.tab-btn.active {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.tab-btn.active i {
    color: var(--color-white);
}

.product-card.hidden {
    display: none;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 40px;
    justify-content: center;
}

.product-card {
    background-color: var(--color-white);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.product-img {
    position: relative;
    height: 140px;
    overflow: hidden;
}

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

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

.card-options {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
    font-weight: 700;
    color: brown
}

.option-btns {
    display: flex;
    gap: 8px;
}

.opt-btn {
    background: #f5f5f5;
    border: 1px solid transparent;
    padding: 6px 12px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.opt-btn:hover {
    background: #eeeeee;
}

.opt-btn.active {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.opt-select {
    width: 100%;
    padding: 8px;
    border-radius: 0;
    border: 1px solid #eee;
    font-size: 13px;
    background: #f9f9f9;
}

.product-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 15px;
    margin-bottom: 5px;
    line-height: 1.2;
}

.product-info p {
    font-size: 12px;
    color: var(--color-text);
    opacity: 0.7;
    margin-bottom: 10px;
    line-height: 1.3;
}

.price-row {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 15px;
}

.add-to-cart-btn {
    width: 34px;
    height: 34px;
    border-radius: 0;
    background-color: var(--color-primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.add-to-cart-btn:hover {
    background-color: var(--color-primary-light);
    transform: scale(1.1);
}

/* Experience Section */
.ceramics.dark {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.ceramics.dark h2,
.ceramics.dark .subtitle {
    color: var(--color-white);
}

.experience-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
    align-items: center;
}

.feat-list {
    margin: 30px 0;
}

.feat-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 18px;
}

.feat-list i {
    color: var(--color-secondary);
}

/* Benefits */
.benefits {
    background-color: var(--color-bg);
    padding: 80px 0;
}

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

.benefit-item {
    background-color: var(--color-white);
    border: 2px solid var(--color-primary);
    padding: 40px 30px;
    border-radius: 0;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.benefit-item:hover {
    transform: translateY(-10px);
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 20px 40px rgba(74, 93, 78, 0.2);
}

.benefit-item i {
    width: 48px;
    height: 48px;
    color: var(--color-primary);
    transition: var(--transition);
}

.benefit-item:hover i {
    color: var(--color-white);
    transform: scale(1.1);
}

.benefit-item h4 {
    font-size: 20px;
    color: var(--color-primary);
    margin: 0;
    transition: var(--transition);
}

.benefit-item p {
    font-size: 15px;
    opacity: 0.8;
    margin: 0;
    transition: var(--transition);
}

.benefit-item:hover h4,
.benefit-item:hover p {
    color: var(--color-white);
}

.experience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.exp-card {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    height: 400px;
}

.exp-card.main {
    grid-column: span 1;
}

.exp-card.sub {
    transform: translateY(40px);
}

.exp-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.exp-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(10px);
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 0;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.lightbox button {
    position: absolute;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 20px;
    transition: 0.3s;
    z-index: 2001;
}

.lightbox button:hover {
    transform: scale(1.1);
    color: var(--color-secondary);
}

.lightbox-close {
    top: 30px;
    right: 30px;
}

.lightbox-prev {
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox button i {
    width: 40px;
    height: 40px;
    stroke-width: 1.5px;
}


/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.gallery-item {
    border-radius: 0;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    background-color: #eee;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-item:hover::after {
    opacity: 1;
}

/* Form */
.reservation-form-container {
    max-width: 700px;
    margin: 80px auto 0;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 40px;
    border-radius: 0;
    box-shadow: var(--shadow);
}

.form-wrapper h3 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--color-white);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

input,
select {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #E0E0E0;
    border-radius: 0;
    font-family: inherit;
    transition: var(--transition);
}

input:focus,
select:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(74, 93, 78, 0.1);
}

/* Glass-style inputs for reservation form (green background) */
.reservation-form-container label,
.form-wrapper label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 6px;
}

.reservation-form-container input,
.reservation-form-container select,
.reservation-form-container textarea {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
    color: var(--color-white) !important;
    font-family: var(--font-sans);
}

.reservation-form-container input:focus,
.reservation-form-container select:focus,
.reservation-form-container textarea:focus {
    border-color: rgba(255, 255, 255, 0.6) !important;
    background: rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
    outline: none;
}

.reservation-form-container input::placeholder,
.reservation-form-container textarea::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.reservation-form-container select option {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Glass-style inputs for Cursos (dark background) */
.notify-form input,
.notify-form select,
.notify-form textarea {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
    color: var(--color-white) !important;
    font-family: var(--font-sans);
}

.notify-form input:focus,
.notify-form select:focus,
.notify-form textarea:focus {
    border-color: rgba(255, 255, 255, 0.5) !important;
    background: rgba(255, 255, 255, 0.12) !important;
    outline: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
}

.notify-form input::placeholder,
.notify-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}


.cta-section {
    padding: 150px 0;
    background-color: var(--color-bg);
}

.cta-card {
    position: relative;
    padding: 120px 60px;
    border-radius: 0;
    text-align: center;
    overflow: hidden;
    color: var(--color-white);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.8s ease;
}

.cta-card:hover .cta-bg {
    transform: scale(1.05);
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-card h2 {
    color: var(--color-white);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 25px;
    line-height: 1;
}

.cta-card p {
    font-size: 20px;
    margin-bottom: 45px;
    opacity: 0.95;
    font-weight: 300;
}

.cta-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-primary.large,
.btn-secondary.large {
    padding: 18px 45px;
    font-size: 18px;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background-color: var(--color-primary);
    color: white;
    border: none;
    border-radius: 0;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background-color: var(--color-primary-light);
}

/* Checkout Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    z-index: 3000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.checkout-modal {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    width: 90%;
    max-width: 600px;
    border-radius: 0;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
}

/* Sticky header inside modal */
.modal-sticky-top {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    padding: 40px 40px 0;
    border-radius: 0;
}

/* Scrollable body */
.modal-body {
    padding: 0 40px 40px;
    flex: 1;
}

/* Custom scrollbar */
.checkout-modal::-webkit-scrollbar {
    width: 5px;
}

.checkout-modal::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

.checkout-modal::-webkit-scrollbar-thumb {
    background: rgba(45, 74, 62, 0.18);
    border-radius: 10px;
}

.checkout-modal::-webkit-scrollbar-thumb:hover {
    background: rgba(45, 74, 62, 0.35);
}

.modal-overlay.active .checkout-modal {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.close-modal {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-dark);
}

.checkout-steps {
    display: flex;
    gap: 15px;
    margin-bottom: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.step-indicator {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.3;
    transition: var(--transition);
}

.step-indicator.active {
    opacity: 1;
    color: var(--color-primary);
}

.checkout-step-content {
    padding-top: 32px;
}

.checkout-step-content.hidden {
    display: none;
}

/* Cart Items in Modal */
.cart-items-list {
    margin-bottom: 30px;
}

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

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

.modal-item-info {
    flex: 1;
}

.modal-item-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.modal-item-info span {
    color: var(--color-primary);
    font-weight: 600;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8f8f8;
    padding: 5px 12px;
    border-radius: 100px;
}

.qty-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-dark);
}

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

.qty-val {
    font-weight: 600;
    min-width: 15px;
    text-align: center;
}

/* Summary */
.cart-summary {
    background: #fdfbf7;
    padding: 20px;
    border-radius: 0;
    margin-bottom: 30px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.summary-line.total {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-weight: 700;
    font-size: 20px;
    color: var(--color-primary);
}

/* Forms */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-family: inherit;
}

.modal-btns {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid #f5f5f5;
}

.modal-btns .btn-primary {
    flex: 2;
}

.modal-btns .btn-text {
    flex: 1;
    background: none;
    border: none;
    color: var(--color-text);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0.6;
    transition: var(--transition);
    padding: 10px 0;
}

.modal-btns .btn-text:hover {
    opacity: 1;
    color: var(--color-primary);
}

.modal-btns .btn-text i {
    width: 18px;
    height: 18px;
}

.btn-primary.disabled {
    background-color: #e0e0e0;
    color: #9e9e9e;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-primary.disabled:hover {
    transform: none;
    background-color: #e0e0e0;
}

/* Payment Selection */
.payment-selection {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 2px solid #eee;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition);
}

.payment-option.active {
    border-color: var(--color-primary);
    background: rgba(74, 93, 78, 0.05);
}

.payment-option i {
    color: var(--color-primary);
}

/* Success Message */
.order-success-msg {
    text-align: center;
    padding: 40px 0;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.success-icon i {
    width: 40px;
    height: 40px;
}

.order-success-msg h2 {
    margin-bottom: 15px;
}

.order-success-msg p {
    color: var(--color-text);
    opacity: 0.8;
    margin-bottom: 35px;
    font-size: 17px;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1099;
    opacity: 0;
    pointer-events: none;
    transition: 0.4s;
    backdrop-filter: blur(5px);
}

.cart-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.hidden {
    display: none !important;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
}

.reveal-up {
    opacity: 0;
    transform: translateY(50px);
}

/* Footer */
/* Footer */
.main-footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 100px 0 40px;
}

.footer-top {
    margin-bottom: 80px;
}

.footer-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-logo {
    border-color: rgba(255, 255, 255, 0.2);
}

.footer-brand p {
    font-size: 18px;
    margin-top: 15px;
    opacity: 0.9;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    width: 100%;
}

@media (max-width: 992px) and (pointer: coarse) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.main-footer h4 {
    color: var(--color-white);
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.main-footer p {
    color: var(--color-white);
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links.centered {
    justify-content: center;
}

.social-links a {
    width: 50px;
    height: 50px;
    background-color: var(--color-white);
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    padding: 0;
}

.social-links a svg {
    width: 22px;
    height: 22px;
    display: block;
}

.social-links a:hover {
    transform: translateY(-5px);
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    opacity: 0.7;
}

.dev-credit a {
    color: var(--color-white);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.3);
}

.dev-credit a:hover {
    text-decoration-color: var(--color-white);
}

/* Consolidated Mobile Styles */
@media (max-width: 768px) and (pointer: coarse) {

    /* Layout */
    .section {
        padding: 60px 0;
    }

    .container {
        padding: 0 20px;
    }

    /* Header */
    .nav-container {
        padding: 0 20px;
    }

    .circle-logo {
        width: 50px;
        border-width: 1.5px;
    }

    .nav-actions {
        gap: 8px;
    }

    .btn-primary-outline {
        padding: 6px 12px;
        font-size: 10px;
        letter-spacing: 0.5px;
    }

    .nav-links {
        display: none;
    }

    /* Hero */
    .hero h1 {
        font-size: 2.8rem;
        line-height: 1.1;
        margin-bottom: 20px;
    }

    .hero p {
        font-size: 18px;
        margin-bottom: 35px;
        padding: 0 15px;
    }

    .hero-btns {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-btns button {
        width: 100%;
        padding: 16px;
    }

    .overlay {
        background: linear-gradient(to bottom,
                rgba(0, 0, 0, 0.7) 0%,
                rgba(0, 0, 0, 0.4) 30%,
                rgba(0, 0, 0, 0.4) 70%,
                rgba(0, 0, 0, 0.8) 100%);
    }

    .hero-content h1,
    .hero-content p {
        text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    }

    /* Grids & Cards */
    /* Retail Coffee Section Mobile */
    .retail-coffee {
        background-attachment: scroll !important;
    }

    .retail-coffee .align-center {
        text-align: center;
    }

    .retail-info {
        text-align: center;
        margin-bottom: 40px;
    }

    .retail-info h2 {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }

    .retail-info p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .retail-features {
        align-items: center;
        text-align: center;
    }

    .r-feat {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .r-feat i {
        margin: 0 auto;
    }

    .r-feat div {
        text-align: center;
    }

    /* Experience Section Mobile */
    .experience-content {
        text-align: center;
        margin-bottom: 40px;
    }

    .experience-content h2 {
        font-size: 2.2rem;
    }

    .feat-list {
        display: inline-flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        margin: 20px auto 30px;
    }

    .feat-list li {
        font-size: 16px;
        justify-content: flex-start;
        margin-bottom: 12px;
    }

    .retail-layout,
    .experience-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .retail-products,
    .experience-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .exp-card {
        height: 320px;
    }

    .exp-card.sub {
        transform: none;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .event-card {
        padding: 35px 25px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .info-block.align-center {
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    /* Lightbox Mobile */
    .lightbox-prev,
    .lightbox-next {
        bottom: 40px;
        top: auto;
        transform: none;
    }

    .lightbox-prev {
        left: 20%;
    }

    .lightbox-next {
        right: 20%;
    }

    /* Toast Mobile */
    .toast-container {
        top: auto;
        bottom: 110px;
        right: 20px;
        left: 20px;
    }

    .toast {
        min-width: 0;
        width: 100%;
    }

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

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Final CTA Mobile */
    .cta-section {
        padding: 80px 0;
    }

    .cta-card {
        padding: 60px 20px;
        border-radius: 0;
    }

    .cta-card h2 {
        font-size: 2.2rem;
    }

    .cta-card p {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .cta-btns {
        flex-direction: column;
        gap: 15px;
    }

    .cta-btns button {
        width: 100%;
    }

    .cta-overlay {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    }

    .cta-content h2,
    .cta-content p {
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    }

    .side-cart {
        width: 100%;
        right: -100%;
    }
}

/* Flatpickr Custom Styling */
.flatpickr-calendar {
    background: var(--color-white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(74, 93, 78, 0.1);
    border-radius: 0;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.flatpickr-day.today {
    border-color: var(--color-secondary);
}

.flatpickr-time input:focus {
    background: rgba(74, 93, 78, 0.05);
}

.flatpickr-months .flatpickr-month {
    color: var(--color-dark);
    fill: var(--color-dark);
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    font-weight: 700;
}

/* Floating Cart Button */
.floating-cart-btn {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    z-index: 2500;
    width: 90%;
    max-width: 400px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-cart-btn.active {
    transform: translateX(-50%) translateY(0);
}

.floating-cart-btn button {
    width: 100%;
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 18px 25px;
    border-radius: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 15px 35px rgba(74, 93, 78, 0.3);
    cursor: pointer;
}

.f-cart-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.f-count {
    background: var(--color-secondary);
    color: var(--color-white);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.f-total {
    font-size: 18px;
    letter-spacing: 1px;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 100px;
    right: 30px;
    z-index: 5000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    background: white;
    color: var(--color-dark);
    padding: 16px 24px;
    border-radius: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 280px;
    animation: toastIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    border-left: 5px solid var(--color-primary);
}

.toast i {
    color: var(--color-primary);
}

.toast.removing {
    animation: toastOut 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes toastOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(60px);
    }
}

@media (max-width: 768px) and (pointer: coarse) {
    .toast-container {
        top: auto;
        bottom: 110px;
        right: 20px;
        left: 20px;
    }

    .toast {
        min-width: 0;
        width: 100%;
    }

    /* Prevent auto-zoom on mobile */
    input,
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* Section Themes */
.section.dark {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.section.dark .subtitle {
    color: var(--color-secondary);
}

.section.dark h2,
.section.dark h3 {
    color: var(--color-white);
}

.section.dark p {
    color: rgba(255, 255, 255, 0.8);
}

/* Tabs and buttons inside dark sections */
.section.dark .tab-btn,
.section.dark .sub-tab-btn {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
}

.section.dark .tab-btn i {
    color: var(--color-white);
}

.section.dark .tab-btn:hover,
.section.dark .sub-tab-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: var(--color-white);
}

.section.dark .tab-btn.active,
.section.dark .sub-tab-btn.active {
    background-color: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
}

.section.dark .tab-btn.active i {
    color: var(--color-primary);
}

/* Ensure product cards inside dark sections keep their readable text colors */
.section.dark .product-card h3 {
    color: var(--color-dark);
}

.section.dark .product-card p {
    color: var(--color-text);
}

/* New Section Themes: Light Green and Tan/Brown */
.section.sage-light {
    background-color: var(--color-bg-alt);
    /* Official Light Gray/Beige */
}

.section.tan-light {
    background-color: var(--color-bg-alt);
    /* Official Light Gray/Beige */
}

@media (max-width: 768px) and (pointer: coarse) {
    .section {
        padding: 50px 0;
    }
}

/* Barista Academy Section */
.section.barista {
    padding: 0 !important;
    overflow: hidden;
}

.barista-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
}

.barista-img {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 80px 80px 80px 0;
    box-sizing: border-box;
}

.main-barista-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right;
    border-radius: 0;
    box-shadow: 20px 0 60px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.main-barista-img:hover {
    transform: scale(1.01);
}

.barista-content {
    padding: 80px 80px 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 580px;
    width: 100%;
    margin-right: auto;
}

.barista-content h2 {
    font-size: clamp(2rem, 3.8vw, 2.8rem);
    margin-bottom: 15px;
}

.barista-content p {
    font-size: 15px;
    opacity: 0.85;
    line-height: 1.5;
}

.notify-form {
    padding: 25px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 0;
    border: 1px solid rgba(224, 217, 208, 0.5);
    margin-top: 5px;
}

.notify-form h4 {
    color: var(--color-white);
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.feat-list {
    list-style: none;
    margin: 25px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feat-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    opacity: 0.9;
    text-align: left;
    transition: var(--transition);
}

.feat-list li:hover {
    opacity: 1;
}

.feat-list li i {
    color: var(--color-secondary);
    flex-shrink: 0;
    margin-top: 3px;
    width: 18px;
    height: 18px;
    stroke-width: 2.5px;
}

@media (max-width: 992px) {
    .barista-layout {
        grid-template-columns: 1fr;
    }

    .barista-img {
        height: 380px;
        padding: 3rem 3rem 0 3rem;
        width: 100%;
    }

    .main-barista-img {
        border-radius: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    .barista-content {
        padding: 40px 24px;
        max-width: 100%;
        text-align: left;
    }

    .feat-list {
        align-items: flex-start;
        margin: 20px 0;
        max-width: 100%;
    }

    .feat-list li {
        justify-content: flex-start;
    }
}

/* Toast Notifications */
#toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.toast {
    background: rgba(30, 37, 31, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 18px 25px;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 320px;
    border-left: 4px solid var(--color-secondary);
    transform: translateX(120%);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
    transform: translateX(0);
}

.toast-icon {
    width: 24px;
    height: 24px;
    background: var(--color-secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 2px;
    display: block;
}

.toast-msg {
    font-size: 13px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .desktop-slide { display: none !important; }
    .mobile-slide { display: block !important; }
}

@media (max-width: 768px) and (pointer: coarse) {
    .hero-slide {
        background-image: var(--bg);
        background-position: center center;
        transform: scale(1.05);
    }

    .hero-slide.active {
        transform: scale(1);
    }

    #toast-container {
        top: 20px;
        bottom: auto;
        left: 15px;
        right: 15px;
    }

    .toast {
        min-width: 0;
        width: 100%;
        transform: translateY(-20px);
        opacity: 0;
    }

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

@media (max-width: 390px) and (pointer: coarse) {
    .hero h1 {
        font-size: 2rem !important;
    }
}

@media (max-width: 768px) {

    /* Product Grid 2 columns */
    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .product-img {
        height: 140px;
    }

    .product-info {
        padding: 12px;
    }

    .product-info h3 {
        font-size: 16px;
    }

    .product-info p {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .price {
        font-size: 16px;
    }

    .add-to-cart-btn {
        width: 1.9rem;
        height: 1.9rem;
    }

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

    /* Retail products gap */
    .retail-products {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    /* Menu tabs horizontal scroll */
    .menu-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 20px 15px;
        margin-left: -20px;
        margin-right: -20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-bottom: 30px;
    }

    .menu-tabs::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        flex-shrink: 0;
        padding: 10px 18px;
        font-size: 13px;
    }

    /* Events Grid */
    .events-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin: 30px 0;
    }

    .event-card {
        padding: 25px 15px;
        border-radius: 0;
    }

    /* Subcategory tabs horizontal scroll */
    .subcategory-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 20px 20px;
        margin-left: -20px;
        margin-right: -20px;
        gap: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .subcategory-tabs::-webkit-scrollbar {
        display: none;
    }

    .sub-tab-btn {
        flex-shrink: 0;
        padding: 8px 16px;
        font-size: 12px;
    }

    .event-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 12px;
        border-radius: 0;
    }

    .event-icon i {
        width: 20px;
        height: 20px;
    }

    .event-card h3 {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .event-card p {
        font-size: 11px;
        line-height: 1.3;
    }

    /* Reservation Form */
    .reservation-form-container {
        padding: 24px 20px;
        margin-top: 40px;
    }

    .form-row {
        gap: 12px;
        margin-bottom: 12px;
    }

}

/* Loyalty Section (Direct Forms) */
.gift-cards {
    position: relative;
    background-color: var(--color-dark);
    background-image: linear-gradient(rgba(46, 51, 40, 0.95), rgba(46, 51, 40, 0.95)), url('../images/coffee_beans_background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
    z-index: 1;
}

.loyalty-overlay-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(251, 249, 244, 0.4) 100%);
    pointer-events: none;
    z-index: -1;
}

/* Glass Card Styling */
.glass-card {
    background: rgba(81, 90, 71, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    color: var(--color-white);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

.loyalty-grid-direct {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
    align-items: start;
}

.loyalty-col {
    padding: 25px;
    border-radius: 0;
    display: flex;
    flex-direction: column;
}

.loyalty-card-header {
    margin-bottom: 25px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 25px;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 25px;
}

.loyalty-card-info {
    text-align: left;
}

.loyalty-card-info h3 {
    font-size: 24px;
    margin-bottom: 8px;
    font-family: var(--font-serif);
    color: var(--color-white);
}

.loyalty-card-info .price {
    font-size: 22px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-serif);
    display: block;
    margin-bottom: 5px;
}

.loyalty-card-info .price small {
    font-size: 14px;
    font-weight: 400;
}

.loyalty-card-info .validity {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
    font-weight: 600;
}

.loyalty-card-info .description-text {
    font-size: 12.4px;
    color: rgba(255, 255, 255, 0.85);
    opacity: 1;
}

/* Membership benefits styling */
.membership-benefits-checkout {
    margin-top: 10px;
    text-align: left;
}

.membership-benefits-checkout h5 {
    font-size: 13px;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
}

.membership-benefits-checkout ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.membership-benefits-checkout li {
    font-size: 12px;
    margin-bottom: 5px;
    position: relative;
    padding-left: 12px;
    opacity: 0.85;
    line-height: 1.3;
}

.membership-benefits-checkout li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.5);
}

/* Checkout Flip Animation */
.checkout-card-flip-container {
    perspective: 1000px;
    width: 100%;
}

.checkout-card-flip-inner {
    position: relative;
    width: 100%;
    height: 160px;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.checkout-card-flip-container.can-flip:hover .checkout-card-flip-inner {
    transform: rotateY(180deg);
}

.checkout-card-flip-front,
.checkout-card-flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 0;
    overflow: hidden;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.checkout-card-flip-front img,
.checkout-card-flip-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-card-flip-back {
    transform: rotateY(180deg);
}

/* Loyalty Form Styling */
.loyalty-checkout-form {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.loyalty-checkout-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.loyalty-checkout-form label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.7);
}

.loyalty-checkout-form input,
.loyalty-checkout-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    font-family: var(--font-sans);
    font-size: 14px;
    transition: var(--transition);
    color: var(--color-white);
}

.loyalty-checkout-form input:focus,
.loyalty-checkout-form textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.loyalty-checkout-form textarea {
    resize: none;
    min-height: 80px;
    line-height: 1.4;
}

.loyalty-checkout-form input::placeholder,
.loyalty-checkout-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.loyalty-checkout-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.loyalty-footer {
    margin-top: 50px;
    color: #999;
    font-size: 14px;
}

@media (max-width: 992px) {
    .loyalty-grid-direct {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .loyalty-col {
        padding: 25px 20px;
        border-radius: 0;
    }

    .loyalty-card-header {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
        padding-bottom: 20px;
    }

    .loyalty-card-info {
        text-align: center;
    }

    .loyalty-card-info h3 {
        font-size: 20px;
    }

    .loyalty-card-info .price {
        font-size: 18px;
    }

    .checkout-card-flip-inner {
        height: 140px;
        max-width: 240px;
        margin: 0 auto;
    }

    .loyalty-checkout-form .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* Subcategory Tabs */
.subcategory-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    transition: all 0.3s ease;
}

.subcategory-tabs.hidden {
    display: none;
}

.sub-tab-btn {
    padding: 8px 18px;
    background: white;
    border: 1.5px solid #e0d9d0;
    border-radius: 0;
    color: var(--color-dark);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sub-tab-btn:hover {
    border-color: var(--color-primary);
    background: #fdfbf8;
}

.sub-tab-btn.active {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(45, 74, 62, 0.2);
}

/* Empty Cart State */
.empty-cart-state {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.empty-icon {
    width: 80px;
    height: 80px;
    background: #f8f5f2;
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.empty-icon i {
    width: 35px;
    height: 35px;
}

.empty-cart-state h4 {
    font-size: 20px;
    color: var(--color-dark);
    margin: 0;
}

.empty-cart-state p {
    font-size: 15px;
    color: #888;
    max-width: 250px;
    margin-bottom: 10px;
    line-height: 1.5;
}

.empty-cart-state .btn-secondary {
    margin-top: 10px;
}

/* Event Gallery Marquee Overhaul */
.event-gallery-carousel {
    width: 100%;
    position: relative;
    padding: 0;
    /* No arrows, no padding */
    margin: 60px 0 !important;
}

.eventGallerySwiper {
    padding: 20px 0 !important;
}

.eventGallerySwiper .swiper-wrapper {
    transition-timing-function: linear !important;
    will-change: transform;
    /* Critical for smooth marquee */
}

.gallery-item {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    aspect-ratio: 1;
    background: #fff;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(224, 217, 208, 0.5);
    will-change: transform;
    /* Hardware acceleration */
}

.gallery-item:hover {
    box-shadow: 0 15px 35px rgba(45, 74, 62, 0.15);
    z-index: 10;
}

.gallery-item img,
.event-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.event-gallery-item {
    border-radius: 0;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    background-color: #eee;
}

.gallery-item:hover img,
.event-gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(45, 74, 62, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    color: #fff;
    z-index: 2;
}

.gallery-item:hover .gallery-item-overlay,
.event-gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay i {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.4);
    /* Solid color instead of blur */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

/* Force horizontal scroll on mobile for categories and subcategories (at end of file to ensure override) */
@media (max-width: 768px) {

    .menu-tabs,
    .subcategory-tabs {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        justify-content: flex-start !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0 20px 15px !important;
        margin-left: -20px !important;
        margin-right: -20px !important;
    }

    .menu-tabs::-webkit-scrollbar,
    .subcategory-tabs::-webkit-scrollbar {
        display: none !important;
    }

    .tab-btn,
    .sub-tab-btn {
        flex-shrink: 0 !important;
    }
}