/* ========================================
   7 ГРАМА СТУДИО АЕРОДРОМ - Premium Coffee
   Production-ready CSS - Premium Edition
   ======================================== */

/* CSS Variables */
:root {
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-red: #8B0000;
    --color-red-light: #A52A2A;
    --color-red-dark: #6B0000;
    --color-gray: #333333;
    --color-gray-light: #666666;
    --color-gray-lighter: #f5f5f5;
    --color-cream: #FFF8F0;
    --color-coffee-dark: #1a1410;
    --color-coffee-medium: #3d2b1f;
    --color-coffee-light: #6b4423;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-strong: 0 12px 40px rgba(0, 0, 0, 0.15);
    --shadow-glow-red: 0 0 30px rgba(139, 0, 0, 0.3);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-premium: cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Playfair Display', Georgia, serif;
    --font-secondary: 'Montserrat', 'Arial', sans-serif;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 20px;
}

/* Full Brand Name - REDESIGNED */
.nav-brand-full {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-black);
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.3px;
}

.nav-brand-full .brand-main {
    color: var(--color-black);
    font-size: 1.15rem;
    font-weight: 700;
}

.nav-brand-full .brand-sub {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-gray-light);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 2px;
}

.nav-logo:hover .nav-brand-full {
    transform: translateX(3px);
}

.nav-logo:hover .nav-brand-full .brand-main {
    color: var(--color-red);
}

.nav-logo:hover .nav-brand-full .brand-sub {
    color: var(--color-red);
    letter-spacing: 1.5px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    color: var(--color-black);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background coffee beans - only in products section */
/*
  Background asset attribution:
  The coffee-bean background image file referenced below (bg.webp / bg.png)
  is sourced from Freepik.
  Use is subject to Freepik's license terms.
*/
body::before, body::after,
.bg-bean-1, .bg-bean-2, .bg-bean-3, .bg-bean-4, .bg-bean-5,
.bg-bean-6, .bg-bean-7, .bg-bean-8, .bg-bean-9, .bg-bean-10,
.bg-bean-11, .bg-bean-12, .bg-bean-13 {
    position: absolute !important;
    width: 120px !important;
    height: 120px !important;
    background-image: url('../bg.webp') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    opacity: 0.3 !important;
    z-index: 0 !important;
    pointer-events: none !important;
    display: block !important;
}

/* Hide beans on cart and checkout pages */
body[data-page="cart"] .bg-bean-1,
body[data-page="cart"] .bg-bean-2,
body[data-page="cart"] .bg-bean-3,
body[data-page="cart"] .bg-bean-4,
body[data-page="cart"] .bg-bean-5,
body[data-page="cart"] .bg-bean-6,
body[data-page="cart"] .bg-bean-7,
body[data-page="cart"] .bg-bean-8,
body[data-page="cart"] .bg-bean-9,
body[data-page="cart"] .bg-bean-10,
body[data-page="cart"] .bg-bean-11,
body[data-page="cart"] .bg-bean-12,
body[data-page="cart"] .bg-bean-13 {
    display: none !important;
}

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

ul {
    list-style: none;
}

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

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

input, textarea {
    font-family: inherit;
    border: none;
    outline: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Keep UI responsive on weaker devices and accessibility modes */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-video {
        display: none !important;
    }

    .navbar {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-normal) var(--transition-premium);
}

.navbar.scrolled {
    box-shadow: var(--shadow-medium);
    background: rgba(255, 255, 255, 0.99);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1;
    position: relative;
}

.nav-logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: transform var(--transition-normal) var(--transition-premium);
}

.nav-logo:hover img {
    transform: scale(1.05) rotate(-5deg);
}

.nav-logo-text {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-black);
}

.nav-logo-text span {
    color: var(--color-red);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-black);
    padding: 10px 0;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-red);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: var(--color-red);
}

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

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-icon {
    display: inline-block;
    margin-left: 6px;
    fill: currentColor;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    vertical-align: middle;
}

.nav-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.nav-dropdown.active .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-arrow {
    display: inline-block;
    margin-left: 5px;
    font-size: 0.7rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-white);
    min-width: 220px;
    padding: 15px 0;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-strong);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease, margin-top 0.6s ease;
    margin-top: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 0;
}

.dropdown-item {
    display: block;
    padding: 12px 25px;
    font-size: 0.9rem;
    color: var(--color-gray);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--color-red);
    transition: width var(--transition-fast) var(--transition-premium);
}

.dropdown-item:hover {
    background: var(--color-cream);
    color: var(--color-red);
    padding-left: 35px;
}

.dropdown-item:hover::before {
    width: 8px;
}

/* Cart Icon */
.nav-cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--color-cream);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-cart:hover {
    background: var(--color-red);
    transform: scale(1.1) rotate(-5deg);
}

.nav-cart:hover svg {
    fill: var(--color-white);
}

.nav-cart svg {
    width: 22px;
    height: 22px;
    fill: var(--color-black);
    transition: fill var(--transition-normal);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: var(--color-red);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: cartPop 0.3s var(--transition-premium);
}

@keyframes cartPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Mobile Menu Toggle - Premium Coffee Theme */
.nav-mobile-actions {
    display: none;
    align-items: center;
    gap: 15px;
    z-index: 2002;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    cursor: pointer;
    z-index: 2002;
    padding: 0;
    border-radius: 8px;
    transition: background 0.3s ease;
    position: relative;
}

.menu-toggle:hover {
    background: var(--color-cream);
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--color-black);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    left: 50%;
    transform-origin: center;
    border-radius: 2px;
}

.menu-toggle span:nth-child(1) {
    top: 12px;
    transform: translateX(-50%);
}

.menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translate(-50%, -50%);
}

.menu-toggle span:nth-child(3) {
    bottom: 12px;
    transform: translateX(-50%);
}

/* Perfect X animation when open */
.menu-toggle.active {
    background: var(--color-cream);
}

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

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translate(-50%, -50%) scaleX(0);
}

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

/* ========================================
   HERO SECTION - PREMIUM REDESIGN
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-white) 50%, var(--color-cream) 100%);
    overflow: hidden;
    z-index: 10;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(139, 0, 0, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 70%, rgba(139, 0, 0, 0.05) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.02) 0%, transparent 70%);
    animation: heroGradient 10s ease-in-out infinite alternate;
}

@keyframes heroGradient {
    0% { opacity: 0.8; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.02); }
}

/* Coffee Steam Effect */
.hero-steam {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 300px;
    pointer-events: none;
}

.steam-particle {
    position: absolute;
    bottom: 0;
    width: 8px;
    height: 8px;
    background: rgba(139, 0, 0, 0.1);
    border-radius: 50%;
    animation: steamRise 4s ease-out infinite;
}

.steam-particle:nth-child(1) { left: 30%; animation-delay: 0s; }
.steam-particle:nth-child(2) { left: 50%; animation-delay: 0.5s; }
.steam-particle:nth-child(3) { left: 70%; animation-delay: 1s; }
.steam-particle:nth-child(4) { left: 40%; animation-delay: 1.5s; }
.steam-particle:nth-child(5) { left: 60%; animation-delay: 2s; }

@keyframes steamRise {
    0% {
        opacity: 0;
        transform: translateY(0) scale(1);
    }
    20% {
        opacity: 0.6;
    }
    100% {
        opacity: 0;
        transform: translateY(-200px) scale(3);
    }
}

/* Hero floating coffee beans */
.hero-beans {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-bean {
    position: absolute;
    width: 40px;
    height: 50px;
    opacity: 0.1;
    background: linear-gradient(135deg, #4A3728 0%, #2C1810 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

.hero-bean::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 3px;
    height: 70%;
    background: #2C1810;
    border-radius: 3px;
}

.hero-bean-1 { top: 15%; left: 10%; animation: heroFloat1 8s ease-in-out infinite; }
.hero-bean-2 { top: 25%; right: 15%; animation: heroFloat2 10s ease-in-out infinite 1s; }
.hero-bean-3 { bottom: 20%; left: 20%; animation: heroFloat3 9s ease-in-out infinite 2s; }
.hero-bean-4 { bottom: 30%; right: 10%; animation: heroFloat1 11s ease-in-out infinite 0.5s; }

@keyframes heroFloat1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(15deg); }
}

@keyframes heroFloat2 {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    50% { transform: translateY(-40px) rotate(-15deg) scale(1.1); }
}

@keyframes heroFloat3 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(10deg); }
}

.hero-content {
    text-align: center;
    max-width: 900px;
    position: relative;
    z-index: 1;
    color: #fff;
    overflow: hidden;
}

.hero-badge {
    display: inline-block;
    padding: 10px 24px;
    background: #fff;
    color: #8B0000;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 30px;
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease forwards;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 25px;
    color: #fff;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.05);
}

.hero-title span {
    color: #8B0000;
    position: relative;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(139, 0, 0, 0.3);
    z-index: -1;
    transform: skewX(-10deg);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 45px;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
    color: var(--color-white);
    border: none;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
    transition: all 0.1s ease;
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: var(--color-black);
    transform: translateY(-3px) scale(1.02);
}

.btn-secondary:active {
    transform: translateY(-1px) scale(0.98);
    transition: all 0.1s ease;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounce 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-indicator:hover {
    transform: translateX(-50%) scale(1.1);
}

.scroll-indicator span {
    font-size: 0.75rem;
    color: var(--color-gray-light);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
    fill: var(--color-gray-light);
}

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

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   PRODUCT CARDS - NEW STRUCTURE
   ======================================== */

/* Card Wrapper - Enhanced with elegant border */
.card-wrapper {
    position: relative;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #000;
    z-index: 10;
}

.card-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(139,0,0,0.15);
}

/* Image Container */
.card-image-container {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #FFF8F0 0%, #fff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-image {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ========================================
   REALISTIC CAPSULE FLOATING ANIMATION
   ======================================== */
.card-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    display: none; /* Hide floating elements */
}

.floating-element {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Realistic Coffee Capsule Shape */
.floating-element.capsule {
    width: 12px;
    height: 28px;
    border-radius: 6px 6px 4px 4px;
    animation: floatCapsule 5s ease-in-out infinite;
    background: linear-gradient(180deg, 
        #2d2d2d 0%, 
        #1a1a1a 20%,
        #8B0000 20%,
        #8B0000 30%,
        #333333 30%,
        #1a1a1a 100%
    );
    box-shadow: 
        inset 0 2px 4px rgba(255,255,255,0.2),
        inset 0 -2px 4px rgba(0,0,0,0.3),
        0 2px 8px rgba(0,0,0,0.3);
}

/* Red capsule variant */
.floating-element.capsule.red {
    background: linear-gradient(180deg, 
        #c41e3a 0%, 
        #8B0000 20%,
        #8B0000 30%,
        #333333 30%,
        #1a1a1a 100%
    );
}

/* Gold capsule variant */
.floating-element.capsule.gold {
    background: linear-gradient(180deg, 
        #d4af37 0%, 
        #b8860b 20%,
        #8B4513 20%,
        #8B4513 30%,
        #5c3317 30%,
        #3d2314 100%
    );
}

.floating-element.capsule:nth-child(1) { 
    top: 8%; 
    left: 8%; 
}
.floating-element.capsule:nth-child(2) { 
    top: 15%; 
    right: 8%; 
}
.floating-element.capsule:nth-child(3) { 
    bottom: 12%; 
    left: 12%; 
}

/* Coffee Bean floating element */
.floating-element.bean {
    width: 16px;
    height: 22px;
    background: linear-gradient(135deg, #4A3728 0%, #2C1810 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

.floating-element.bean::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 60%;
    background: #1a0f0a;
    border-radius: 2px;
}

.floating-element.bean:nth-child(1) { top: 10%; left: 10%; }
.floating-element.bean:nth-child(2) { top: 15%; right: 8%; }
.floating-element.bean:nth-child(3) { bottom: 20%; left: 8%; }

/* Drop/Syrup floating element */
.floating-element.drop {
    width: 10px;
    height: 14px;
    background: linear-gradient(180deg, rgba(139,0,0,0.8) 0%, rgba(139,0,0,0.4) 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

.floating-element.drop:nth-child(1) { top: 10%; left: 10%; }
.floating-element.drop:nth-child(2) { top: 15%; right: 10%; }
.floating-element.drop:nth-child(3) { bottom: 20%; left: 15%; }

.floating-element.bean {
    width: 16px;
    height: 22px;
    background: linear-gradient(135deg, #4A3728, #2C1810);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

.floating-element.bean::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 60%;
    background: #1a0f0a;
    border-radius: 2px;
}

.floating-element.bean:nth-child(1) { top: 10%; left: 10%; }
.floating-element.bean:nth-child(2) { top: 15%; right: 8%; }
.floating-element.bean:nth-child(3) { bottom: 20%; left: 8%; }

/* Card Content */
.card-content {
    padding: 20px;
}

.card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
    line-height: 1.3;
}

.card-description {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 6px;
}

.card-weight {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 12px;
}

/* Card Footer */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.card-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #8B0000;
}

/* Card Button */
.card-btn-add {
    padding: 10px 18px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.card-btn-add:hover {
    background: #8B0000;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.3);
}

.card-btn-add:active {
    transform: scale(0.98);
    transition: all 0.1s ease;
}

/* Ripple Effect */
.card-btn-add::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1), height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-btn-add:active::after {
    width: 300px;
    height: 300px;
}

/* ========================================
   PRODUCT CARDS - LEGACY (for backwards compatibility)
   ======================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    contain: layout style paint;
}

.product-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 10;
    /* Glassmorphism effect */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid #000;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-10px) rotateX(2deg);
    box-shadow: var(--shadow-strong), var(--shadow-glow-red);
}

/* Floating Elements Container */
.product-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

/* Floating Coffee Beans (for bean products) */
.floating-bean {
    position: absolute;
    width: 20px;
    height: 26px;
    background: linear-gradient(135deg, #4A3728 0%, #2C1810 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    opacity: 0;
    transition: none;
}

.floating-bean::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 60%;
    background: #2C1810;
    border-radius: 2px;
}

.floating-bean:nth-child(1) { top: 10%; left: 5%; animation-delay: 0s; }
.floating-bean:nth-child(2) { top: 15%; right: 5%; animation-delay: 0.5s; }
.floating-bean:nth-child(3) { bottom: 20%; left: 10%; animation-delay: 1s; }
.floating-bean:nth-child(4) { bottom: 15%; right: 8%; animation-delay: 1.5s; }

@keyframes floatAround {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(90deg); }
    50% { transform: translateY(-25px) rotate(180deg); }
    75% { transform: translateY(-15px) rotate(270deg); }
}

/* Floating Capsules (for capsule products) */
.floating-capsule {
    position: absolute;
    width: 12px;
    height: 24px;
    border-radius: 6px 6px 4px 4px;
    opacity: 0;
    transition: none;
}

.floating-capsule::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: var(--color-red);
    border-radius: 6px 6px 0 0;
}

.floating-capsule::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: #333;
    border-radius: 0 0 4px 4px;
}

.floating-capsule:nth-child(5) { top: 8%; left: 8%; animation-delay: 0s; }
.floating-capsule:nth-child(6) { top: 20%; right: 5%; animation-delay: 0.7s; }
.floating-capsule:nth-child(7) { bottom: 25%; left: 5%; animation-delay: 1.4s; }
.floating-capsule:nth-child(8) { bottom: 10%; right: 10%; animation-delay: 2.1s; }

@keyframes floatCapsule {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    33% { transform: translateY(-20px) rotate(120deg) scale(1.1); }
    66% { transform: translateY(-10px) rotate(240deg) scale(0.95); }
}

/* Product Image Container */
.product-image-container {
    position: relative;
    width: 100%;
    height: 250px;
    background: var(--color-cream);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform var(--transition-normal) var(--transition-premium);
    position: relative;
    z-index: 2;
}

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

/* Weight Badge */
.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    z-index: 3;
    box-shadow: 0 2px 10px rgba(139, 0, 0, 0.3);
}

.product-info {
    padding: 25px;
    position: relative;
    z-index: 2;
}

.product-name {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-black);
    line-height: 1.3;
}

.product-weight {
    font-size: 0.9rem;
    color: var(--color-gray-light);
    margin-bottom: 15px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-red);
}

.product-price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-gray-light);
}

/* Premium Add to Cart Button */
.btn-add-cart {
    padding: 12px 22px;
    background: var(--color-black);
    color: var(--color-white);
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal) var(--transition-premium);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-add-cart::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-add-cart:hover {
    background: var(--color-red);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}

.btn-add-cart:active::before {
    width: 300px;
    height: 300px;
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: rippleEffect 0.6s linear;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Category Title */
.category-section {
    padding: 80px 0;
}

.category-title {
    font-size: 2rem;
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-cream);
    position: relative;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: var(--color-red);
}

/* ========================================
   LOCATION SECTION - CUSTOM GOOGLE MAPS
   ======================================== */
.location-section {
    background: var(--color-white);
}

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

.location-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.location-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--color-cream);
    border-radius: var(--border-radius-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.location-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-soft);
}

.location-item svg {
    width: 24px;
    height: 24px;
    fill: var(--color-red);
    flex-shrink: 0;
}

.location-item span {
    font-size: 1rem;
    color: var(--color-gray);
}

/* Custom Google Map */
.location-map {
    width: 100%;
    height: 450px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    position: relative;
}

/* Dark Coffee Theme Map Styling Container */
.location-map::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 20, 16, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    transition: transform var(--transition-slow) var(--transition-premium);
}

.location-map:hover iframe {
    transform: scale(1.02);
}

/* Custom Map Marker Info */
.map-marker-info {
    display: none;
}

/* ========================================
   FAST LINKS & SERVICES SECTION
   ======================================== */
.fast-links-section {
    padding: 100px 0;
    background: var(--color-cream);
    position: relative;
    overflow: hidden;
}

.fast-links-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(139, 0, 0, 0.03) 0%, transparent 50%);
    animation: sectionBgMove 20s ease-in-out infinite;
}

@keyframes sectionBgMove {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(2%, 2%); }
}

.fast-links-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.fast-links-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.fast-links-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-red);
    border-radius: 2px;
}

.fast-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.fast-link-card {
    background: var(--color-white);
    padding: 30px 20px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-normal) var(--transition-premium);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.fast-link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.fast-link-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong), 0 0 30px rgba(139, 0, 0, 0.15);
}

.fast-link-card:hover::before {
    opacity: 1;
}

.fast-link-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-normal) var(--transition-premium);
}

.fast-link-card:hover .fast-link-icon {
    transform: scale(1.1) rotate(5deg);
}

.fast-link-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--color-white);
}

.fast-link-card h4 {
    font-size: 1rem;
    color: var(--color-black);
    margin: 0;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: var(--color-white);
}

.services-header {
    text-align: center;
    margin-bottom: 50px;
}

.services-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.services-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-red);
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--color-cream);
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-red), var(--color-red-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal) var(--transition-premium);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--color-red);
}

.service-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--color-black);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--color-gray-light);
    margin: 0;
    line-height: 1.6;
}

/* ========================================
   SECTIONS COMMON
   ======================================== */
.section {
    padding: 100px 0;
    position: relative;
    z-index: 10;
    background: transparent;
    contain: layout style;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-red);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-gray-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-gray) 100%);
    color: var(--color-white);
}

.about-section .section-title {
    color: var(--color-white);
}

.about-section .section-title::after {
    background: var(--color-white);
}

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

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 25px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-red);
    display: block;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    background: var(--color-cream);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form {
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
}

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

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 8px;
    transition: color var(--transition-normal);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--color-gray-lighter);
    border: 2px solid transparent;
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-red);
    background: var(--color-white);
    box-shadow: 0 0 0 4px rgba(139, 0, 0, 0.1);
    transform: translateY(-2px);
}

.form-group input:focus + label,
.form-group textarea:focus + label {
    color: var(--color-red);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group .error-message {
    color: var(--color-red);
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
    position: absolute;
    bottom: -20px;
    left: 0;
}

.form-group.error input,
.form-group.error textarea {
    border-color: var(--color-red);
}

.form-group.error .error-message {
    display: block;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-medium);
}

.contact-item svg {
    width: 40px;
    height: 40px;
    fill: var(--color-red);
    flex-shrink: 0;
}

.contact-item-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-item-text p {
    font-size: 1rem;
    color: var(--color-gray-light);
    margin: 0;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--color-black);
    color: var(--color-white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 50px;
    height: 50px;
}

.footer-logo span {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

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

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo-main {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-white);
}

.footer-logo-sub {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 2px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--color-white);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--color-red);
    transform: translateX(5px);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social a:hover {
    background: var(--color-red);
    transform: translateY(-5px) rotate(5deg) scale(1.1);
}

.footer-social svg {
    width: 20px;
    height: 20px;
    fill: var(--color-white);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

/* ========================================
   CART PAGE
   ======================================== */
.cart-page {
    padding: 140px 0 80px;
    min-height: 100vh;
    background: var(--color-cream);
}

.cart-page-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
}

.cart-empty {
    text-align: center;
    padding: 80px 20px;
}

.cart-empty svg {
    width: 120px;
    height: 120px;
    fill: var(--color-gray-light);
    margin-bottom: 30px;
}

.cart-empty h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.cart-empty p {
    color: var(--color-gray-light);
    margin-bottom: 30px;
}

.cart-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 20px;
    align-items: center;
    background: var(--color-white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-normal) var(--transition-premium);
}

.cart-item:hover {
    box-shadow: var(--shadow-medium);
}

.cart-item-image {
    width: 100px;
    height: 100px;
    object-fit: contain;
    background: var(--color-cream);
    border-radius: var(--border-radius-sm);
    padding: 10px;
}

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

.cart-item-info p {
    font-size: 0.9rem;
    color: var(--color-gray-light);
    margin: 0;
}

.cart-item-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-red);
}

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

.cart-quantity button {
    width: 35px;
    height: 35px;
    background: var(--color-gray-lighter);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all var(--transition-normal) var(--transition-premium);
}

.cart-quantity button:hover {
    background: var(--color-red);
    color: var(--color-white);
}

.cart-quantity span {
    font-size: 1.1rem;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--color-gray-light);
    font-size: 0.9rem;
    cursor: pointer;
    transition: color var(--transition-normal);
    padding: 8px;
}

.cart-item-remove:hover {
    color: var(--color-red);
}

.cart-summary {
    background: var(--color-white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    height: fit-content;
    position: sticky;
    top: 120px;
}

.cart-summary h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--color-gray-lighter);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 1rem;
}

.cart-summary-row.total {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-red);
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--color-gray-lighter);
}

.btn-checkout {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
    color: var(--color-white);
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--border-radius-sm);
    margin-top: 25px;
    cursor: pointer;
    transition: all var(--transition-normal) var(--transition-premium);
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.4);
}

/* ========================================
   CHECKOUT PAGE - PREMIUM MOBILE UX
   ======================================== */
.checkout-page {
    padding: 140px 0 80px;
    min-height: 100vh;
    background: var(--color-cream);
}

.checkout-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
}

/* Progress Indicator */
.checkout-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    gap: 0;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 10px;
}

.progress-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-gray-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--color-gray-light);
    transition: all var(--transition-normal) var(--transition-premium);
}

.progress-step.active .progress-step-number,
.progress-step.completed .progress-step-number {
    background: var(--color-red);
    color: var(--color-white);
}

.progress-step-label {
    font-size: 0.9rem;
    color: var(--color-gray-light);
    font-weight: 500;
}

.progress-step.active .progress-step-label,
.progress-step.completed .progress-step-label {
    color: var(--color-black);
}

.progress-line {
    width: 60px;
    height: 2px;
    background: var(--color-gray-lighter);
    margin: 0 15px;
}

.progress-line.completed {
    background: var(--color-red);
}

.checkout-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Premium Form Inputs */
.checkout-form {
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
}

.checkout-form h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.checkout-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--color-red);
    border-radius: 2px;
}

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

.checkout-form .form-group {
    margin-bottom: 20px;
}

/* Floating Label Style */
.checkout-form .form-group {
    position: relative;
}

.checkout-form .form-group input,
.checkout-form .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--color-gray-lighter);
    border: 2px solid transparent;
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    transition: all var(--transition-normal) var(--transition-premium);
}

.checkout-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-black);
    transition: color var(--transition-normal);
}

.checkout-form .form-group textarea + label {
    top: 20px;
    transform: none;
}

.checkout-form .form-group input:focus,
.checkout-form .form-group textarea:focus {
    border-color: var(--color-red);
    background: var(--color-white);
    box-shadow: 0 0 0 4px rgba(139, 0, 0, 0.1);
}

.checkout-form .form-group input:focus,
.checkout-form .form-group textarea:focus {
    border-color: var(--color-red);
    background: var(--color-white);
    box-shadow: 0 0 0 4px rgba(139, 0, 0, 0.1);
}

.checkout-form .form-group input:focus ~ label,
.checkout-form .form-group textarea:focus ~ label {
    color: var(--color-red);
}

/* Animated Border */
.checkout-form .form-group::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-red);
    transition: all var(--transition-normal) var(--transition-premium);
    transform: translateX(-50%);
}

.checkout-form .form-group:focus-within::before {
    width: 100%;
}

.checkout-order-summary {
    background: var(--color-white);
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    height: fit-content;
    position: sticky;
    top: 120px;
}

.checkout-order-summary h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--color-gray-lighter);
}

.checkout-items {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--color-gray-lighter);
}

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

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

.checkout-item-info h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.checkout-item-info span {
    font-size: 0.85rem;
    color: var(--color-gray-light);
}

.checkout-item-price {
    font-weight: 600;
    color: var(--color-red);
}

.checkout-totals {
    border-top: 2px solid var(--color-gray-lighter);
    padding-top: 20px;
}

.checkout-total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.checkout-total-row.final {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-red);
    margin-top: 15px;
}

/* Sticky Bottom Bar - Mobile */
.checkout-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--color-white);
    padding: 15px 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 100;
    justify-content: space-between;
    align-items: center;
}

.checkout-bottom-total {
    display: flex;
    flex-direction: column;
}

.checkout-bottom-total span:first-child {
    font-size: 0.8rem;
    color: var(--color-gray-light);
}

.checkout-bottom-total span:last-child {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-red);
}

.checkout-bottom-bar .btn-primary {
    padding: 14px 30px;
}

/* Order Confirmation Animation */
.order-confirmation {
    display: none;
    text-align: center;
    padding: 60px 20px;
}

.order-confirmation.show {
    display: block;
    animation: confirmSlideIn 0.6s var(--transition-premium);
}

@keyframes confirmSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.confirmation-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: confirmPop 0.5s var(--transition-premium);
}

@keyframes confirmPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.confirmation-icon svg {
    width: 50px;
    height: 50px;
    fill: var(--color-white);
}

.order-confirmation h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #28a745;
}

.order-confirmation p {
    font-size: 1.1rem;
    color: var(--color-gray-light);
}

/* ========================================
   TOAST NOTIFICATION
   ======================================== */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--color-black);
    color: var(--color-white);
    padding: 20px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-strong);
    display: flex;
    align-items: center;
    gap: 15px;
    transform: translateX(150%);
    transition: transform var(--transition-normal) var(--transition-premium);
    z-index: 2000;
}

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

.toast.success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.toast.error {
    background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
}

.toast svg {
    width: 24px;
    height: 24px;
    fill: var(--color-white);
    flex-shrink: 0;
}

.toast-message {
    font-size: 1rem;
    font-weight: 500;
}

/* ========================================
   SCROLL ANIMATIONS - SMOOTH
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger Animation Delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1200px) {
    .container {
        max-width: 1100px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .nav-mobile-actions {
        display: flex;
    }
    
    .nav-cart-mobile {
        display: flex !important;
    }
    
    .nav-cart-desktop {
        display: none !important;
    }
    
    .nav-container {
        padding: 12px 20px;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        align-items: stretch;
        padding: 100px 0 30px;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 2001;
        overflow-y: auto;
        gap: 8px;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 2000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-link {
        padding: 18px 25px;
        font-size: 1.05rem;
        border-bottom: 1px solid #f0f0f0;
        transition: all 0.3s ease;
        margin: 5px 0;
    }
    
    .nav-menu > li {
        margin: 12px 0;
    }
    
    .nav-link:active {
        background: var(--color-cream);
    }
    
    .nav-dropdown .nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .dropdown-arrow {
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        font-size: 0.6rem;
    }
    
    .nav-dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }
    
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        margin: 0;
        padding: 0;
        box-shadow: none;
        border-radius: 0;
        background: #f8f8f8;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-dropdown.active .dropdown-menu {
        max-height: 500px;
    }
    
    .dropdown-item {
        padding: 14px 25px 14px 45px;
        font-size: 0.9rem;
        border-bottom: 1px solid #e8e8e8;
        transition: all 0.3s ease;
    }
    
    .dropdown-item:last-child {
        border-bottom: none;
    }
    
    .dropdown-item:active {
        background: #fff;
    }
    
    .dropdown-item:hover {
        background: #fff;
        padding-left: 50px;
    }
    
    .nav-menu .nav-cart {
        margin: 20px 25px;
        width: calc(100% - 50px);
        justify-content: center;
    }

    .nav-mobile-actions .nav-cart-mobile {
        margin: 0;
        width: 45px;
        height: 45px;
        flex: 0 0 45px;
        padding: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .location-content,
    .about-content,
    .contact-content,
    .checkout-content {
        grid-template-columns: 1fr;
    }
    
    .about-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .location-map {
        height: 350px;
    }
    
    .cart-content {
        grid-template-columns: 1fr;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 15px;
    }
    
    .cart-item-price,
    .cart-quantity {
        grid-column: 2;
    }
    
    .checkout-progress {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .progress-line {
        display: none;
    }
    
    .checkout-bottom-bar {
        display: flex;
    }
    
    .checkout-order-summary {
        display: none;
    }
}

@media (max-width: 768px) {
    /* Mobile menu visual improvements - enhanced readability */
    .nav-link {
        padding: 20px 25px;
        font-size: 1.1rem;
    }
    
    .dropdown-item {
        padding: 16px 25px 16px 45px;
        font-size: 1rem;
    }
    
    /* Coffee bean background - mobile scaling */
    body::before, body::after,
    .bg-bean-1, .bg-bean-2, .bg-bean-3, .bg-bean-4, .bg-bean-5,
    .bg-bean-6, .bg-bean-7, .bg-bean-8, .bg-bean-9, .bg-bean-10,
    .bg-bean-11, .bg-bean-12, .bg-bean-13 {
        width: 60px !important;
        height: 60px !important;
    }
    
    /* Base container and section adjustments */
    .container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    /* Hero section mobile */
    .hero {
        padding: 100px 15px 60px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    /* Products grid mobile */
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
    
    /* About page - Header mobile responsive */
    .about-header {
        padding: 120px 15px 50px;
        min-height: auto;
    }
    
    .about-title {
        font-size: 2rem;
        line-height: 1.2;
        word-wrap: break-word;
    }
    
    .about-subtitle {
        font-size: 0.95rem;
        padding: 0 10px;
        line-height: 1.5;
    }
    
    /* About content section mobile */
    .about-content-section {
        padding: 50px 0;
    }
    
    .about-main {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0;
    }
    
    .about-image {
        text-align: center;
    }
    
    .about-image img {
        max-width: 200px;
        width: 100%;
        height: auto;
    }
    
    .about-text {
        padding: 0 10px;
    }
    
    .about-text h2 {
        font-size: 1.75rem;
        margin-bottom: 20px;
        word-wrap: break-word;
    }
    
    .about-text p {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 15px;
        word-wrap: break-word;
    }
    
    /* Mission/Vision section mobile */
    .mission-vision-section {
        padding: 50px 0;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .mission-card,
    .vision-card,
    .values-card {
        padding: 30px 20px;
        margin: 0 10px;
    }
    
    .mission-icon,
    .vision-icon,
    .values-icon {
        width: 60px;
        height: 60px;
    }
    
    .mission-icon svg,
    .vision-icon svg,
    .values-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .mission-card h3,
    .vision-card h3,
    .values-card h3 {
        font-size: 1.3rem;
        word-wrap: break-word;
    }
    
    .mission-card p,
    .vision-card p,
    .values-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    /* Why choose section mobile */
    .why-choose-section {
        padding: 50px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-item {
        padding: 25px 15px;
        margin: 0 10px;
    }
    
    .feature-number {
        font-size: 2.5rem;
    }
    
    .feature-item h4 {
        font-size: 1.15rem;
        word-wrap: break-word;
    }
    
    .feature-item p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Stats section mobile */
    .stats-section {
        padding: 50px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 10px;
    }
    
    .stats-section .stat-item {
        padding: 30px 15px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
        word-wrap: break-word;
    }
    
    /* CTA section mobile */
    .cta-section {
        padding: 50px 0;
    }
    
    .cta-content {
        padding: 0 10px;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
        padding: 0 15px;
        word-wrap: break-word;
        line-height: 1.3;
    }
    
    .cta-content p {
        font-size: 0.95rem;
        padding: 0 15px;
        line-height: 1.6;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 100%;
    }
    
    /* General mobile fixes */
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    

    .fast-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    /* Navbar mobile adjustments */
    .nav-logo img {
        width: 45px;
        height: 45px;
    }
    
    .nav-brand-full {
        font-size: 0.95rem;
    }
    
    .nav-brand-full .brand-sub {
        font-size: 0.65rem;
    }
    
    /* Hero mobile */
    .hero-title {
        font-size: 1.75rem;
    }
    
    /* About page - Header extra small screens */
    .about-header {
        padding: 100px 10px 40px;
        min-height: auto;
    }
    
    .about-title {
        font-size: 1.5rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .about-subtitle {
        font-size: 0.85rem;
        padding: 0 5px;
        line-height: 1.5;
    }
    
    /* About content extra small screens */
    .about-content-section {
        padding: 40px 0;
    }
    
    .about-main {
        gap: 25px;
        padding: 0;
    }
    
    .about-image img {
        max-width: 150px;
        width: 100%;
        height: auto;
    }
    
    .about-text {
        padding: 0 5px;
    }
    
    .about-text h2 {
        font-size: 1.4rem;
        margin-bottom: 15px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .about-text p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 12px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Mission/Vision extra small screens */
    .mission-vision-section {
        padding: 40px 0;
    }
    
    .mission-vision-grid {
        gap: 15px;
        padding: 0 5px;
    }
    
    .mission-card,
    .vision-card,
    .values-card {
        padding: 25px 15px;
        margin: 0 5px;
    }
    
    .mission-icon,
    .vision-icon,
    .values-icon {
        width: 60px;
        height: 60px;
    }
    
    .mission-icon svg,
    .vision-icon svg,
    .values-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .mission-card h3,
    .vision-card h3,
    .values-card h3 {
        font-size: 1.15rem;
        margin-bottom: 10px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .mission-card p,
    .vision-card p,
    .values-card p {
        font-size: 0.85rem;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Why choose extra small screens */
    .why-choose-section {
        padding: 40px 0;
    }
    
    .features-grid {
        padding: 0 5px;
    }
    
    .feature-item {
        padding: 20px 10px;
        margin: 0 5px;
    }
    
    .feature-number {
        font-size: 2rem;
        margin-bottom: 8px;
    }
    
    .feature-item h4 {
        font-size: 1rem;
        margin-bottom: 8px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .feature-item p {
        font-size: 0.85rem;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Stats extra small screens */
    .stats-section {
        padding: 40px 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0 5px;
    }
    
    .stats-section .stat-item {
        padding: 25px 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* CTA extra small screens */
    .cta-section {
        padding: 40px 0;
    }
    
    .cta-content {
        padding: 0 5px;
    }
    
    .cta-content h2 {
        font-size: 1.4rem;
        padding: 0 10px;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .cta-content p {
        font-size: 0.85rem;
        padding: 0 10px;
        margin-bottom: 25px;
        line-height: 1.6;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .cta-buttons {
        padding: 0 10px;
        gap: 12px;
    }
    
    .cta-buttons .btn {
        padding: 14px 25px;
        font-size: 0.9rem;
        width: 100%;
    }
    
    /* General mobile fixes */
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card {
        max-width: 320px;
        margin: 0 auto;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .checkout-form {
        padding: 25px;
    }
    
    .checkout-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .cart-item {
        grid-template-columns: 70px 1fr;
    }
    
    .cart-item-image {
        width: 70px;
        height: 70px;
    }
    
    .fast-links-grid {
        grid-template-columns: 1fr;
    }
    
    .checkout-bottom-bar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .checkout-bottom-bar .btn-primary {
        width: 100%;
    }
}



/* ========================================
   CATEGORY HEADER - REDUCED HEIGHT WITH VIDEO
   ======================================== */
.category-header {
    padding: 140px 0 60px;
    min-height: 50vh;
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-white) 50%, var(--color-cream) 100%);
    text-align: center;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    overflow: hidden;
    line-height: 0; /* Prevent extra space below video */
}

.category-header .hero-video {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 101%;
    width: 101%;
    height: auto;
    object-fit: cover;
    z-index: 0;
    display: block; /* Remove inline spacing */
    vertical-align: bottom; /* Prevent baseline alignment issues */
}

.category-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.category-header .container {
    position: relative;
    z-index: 2;
}

.category-title {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #fff;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.category-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
    opacity: 0;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.category-made-in-italy {
    margin-top: 20px;
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.98);
    letter-spacing: 0.3px;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.35s forwards;
    opacity: 0;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.italy-flag {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.45);
    background: linear-gradient(
        90deg,
        #009246 0%,
        #009246 33.33%,
        #ffffff 33.33%,
        #ffffff 66.66%,
        #ce2b37 66.66%,
        #ce2b37 100%
    );
    flex-shrink: 0;
}

/* Products Section */
.products-section {
    padding: 80px 0;
    background: var(--color-white);
    position: relative;
    z-index: 1;
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-header {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-gray) 100%);
    text-align: center;
    color: var(--color-white);
    position: relative;
    z-index: 2;
}

.about-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 30% 20%, rgba(139, 0, 0, 0.3) 0%, transparent 50%);
}

.about-header .container {
    position: relative;
    z-index: 1;
}

.about-title {
    font-size: 3.5rem;
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease forwards;
}

.about-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.about-content-section {
    padding: 80px 0;
    background: var(--color-white);
    position: relative;
    z-index: 2;
}

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

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--color-red);
    border-radius: 2px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-gray-light);
    margin-bottom: 20px;
}

/* Mission Vision Section */
.mission-vision-section {
    padding: 80px 0;
    background: var(--color-cream);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mission-card,
.vision-card,
.values-card {
    background: var(--color-white);
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: all var(--transition-normal) var(--transition-premium);
}

.mission-card:hover,
.vision-card:hover,
.values-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.mission-icon,
.vision-icon,
.values-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--color-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-icon svg,
.vision-icon svg,
.values-icon svg {
    width: 35px;
    height: 35px;
    fill: var(--color-red);
}

.mission-card h3,
.vision-card h3,
.values-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.mission-card p,
.vision-card p,
.values-card p {
    font-size: 1rem;
    color: var(--color-gray-light);
    line-height: 1.7;
    margin: 0;
}

/* Why Choose Section */
.why-choose-section {
    padding: 80px 0;
    background: var(--color-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    transition: all var(--transition-normal);
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-number {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-red);
    opacity: 0.3;
    margin-bottom: 10px;
}

.feature-item h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 0.95rem;
    color: var(--color-gray-light);
    margin: 0;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-red) 0%, var(--color-red-dark) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stats-section .stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px 20px;
    border-radius: var(--border-radius);
}

.stats-section .stat-number {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-white);
    display: block;
}

.stats-section .stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--color-cream);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--color-black);
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--color-gray-light);
    margin-bottom: 30px;
}

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

/* ========================================
   CONTACT PAGE STYLES
   ======================================== */
.contact-header {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-white) 50%, var(--color-cream) 100%);
    text-align: center;
    position: relative;
    z-index: 2;
}

.contact-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 30% 20%, rgba(139, 0, 0, 0.03) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(139, 0, 0, 0.02) 0%, transparent 50%);
}

.contact-header .container {
    position: relative;
    z-index: 1;
}

.contact-title {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--color-black);
    animation: fadeInUp 0.8s ease forwards;
}

.contact-subtitle {
    font-size: 1.25rem;
    color: var(--color-gray-light);
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.contact-content-section {
    background: var(--color-white);
    position: relative;
    z-index: 2;
}

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

.contact-form-wrapper {
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.contact-form-wrapper h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--color-red);
    border-radius: 2px;
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-card {
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
}

.contact-info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.contact-info-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--color-red);
    border-radius: 2px;
}

.contact-map {
    width: 100%;
    height: 300px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Mobile styles for contact page */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-title {
        font-size: 2.5rem;
    }
    
    .contact-form-wrapper,
    .contact-info-card {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .contact-header {
        padding: 140px 0 60px;
    }
    
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-subtitle {
        font-size: 1rem;
    }
    
    .contact-form-wrapper,
    .contact-info-card {
        padding: 25px;
    }
}

/* ========================================
   HERO VIDEO BACKGROUND
   ======================================== */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    line-height: 0; /* Prevent extra space below video */
}

.hero-video {
    width: 101%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    min-width: 101%;
    min-height: 100%;
    display: block; /* Remove inline spacing */
    vertical-align: bottom; /* Prevent baseline alignment issues */
}

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

.hero-content {
    position: relative;
    z-index: 10;
}

/* ========================================
   CONTACT FORM - FLOATING LABELS & MODERN DESIGN
   ======================================== */
.contact-form-modern {
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.contact-form-modern .form-group {
    position: relative;
    margin-bottom: 30px;
}

.contact-form-modern .form-group input,
.contact-form-modern .form-group textarea {
    width: 100%;
    padding: 20px 0 10px;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--color-gray-lighter);
    border-radius: 0;
    font-size: 1rem;
    transition: all var(--transition-normal) var(--transition-premium);
}

.contact-form-modern .form-group textarea {
    min-height: 120px;
    resize: none;
}

.contact-form-modern .form-group label {
    position: absolute;
    left: 0;
    top: 20px;
    font-size: 1rem;
    color: var(--color-gray-light);
    pointer-events: none;
    transition: all var(--transition-normal) var(--transition-premium);
}

.contact-form-modern .form-group input:focus,
.contact-form-modern .form-group textarea:focus {
    border-bottom-color: var(--color-red);
    background: transparent;
    box-shadow: none;
}

.contact-form-modern .form-group input:focus + label,
.contact-form-modern .form-group input:not(:placeholder-shown) + label,
.contact-form-modern .form-group textarea:focus + label,
.contact-form-modern .form-group textarea:not(:placeholder-shown) + label {
    top: 0;
    font-size: 0.75rem;
    color: var(--color-red);
}

/* Animated underline */
.contact-form-modern .form-group::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-red);
    transition: width var(--transition-normal) var(--transition-premium);
}

.contact-form-modern .form-group:focus-within::after {
    width: 100%;
}

/* ========================================
   CUSTOM GOOGLE MAPS - DARK COFFEE THEME
   ======================================== */
.custom-map-container {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.custom-map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(30%) contrast(1.1) saturate(0.8);
    transition: filter var(--transition-normal);
}

.custom-map-container:hover iframe {
    filter: grayscale(20%) contrast(1.15) saturate(1);
}

/* Map overlay for coffee theme */
.custom-map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(26, 20, 16, 0.15) 0%,
        rgba(61, 43, 31, 0.1) 50%,
        rgba(26, 20, 16, 0.15) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* ========================================
   MOBILE MENU ENHANCEMENTS
   ======================================== */
@media (max-width: 992px) {
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
}

/* ========================================
   PRODUCT CARD BUTTON - "Додај во нарачка"
   ======================================== */
.btn-add-cart {
    position: relative;
    overflow: hidden;
}

.btn-add-cart .btn-text {
    position: relative;
    z-index: 1;
}

.btn-add-cart .btn-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn-add-cart.loading .btn-text {
    opacity: 0;
}

.btn-add-cart.loading .btn-loading {
    opacity: 1;
}

/* Ripple effect container */
.ripple-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

/* ========================================
   SYRUP PRODUCTS - LIQUID DROP ANIMATION
   ======================================== */
.floating-drop {
    position: absolute;
    width: 10px;
    height: 14px;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.6) 0%, rgba(139, 0, 0, 0.3) 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    opacity: 0;
    animation: liquidDrop 3s ease-in-out infinite;
}

.floating-drop:nth-child(1) { top: 5%; left: 10%; animation-delay: 0s; }
.floating-drop:nth-child(2) { top: 15%; right: 8%; animation-delay: 0.6s; }
.floating-drop:nth-child(3) { bottom: 20%; left: 8%; animation-delay: 1.2s; }
.floating-drop:nth-child(4) { bottom: 10%; right: 12%; animation-delay: 1.8s; }

@keyframes liquidDrop {
    0%, 100% { 
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    20% {
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) scale(1.1);
        opacity: 0.5;
    }
    80% {
        opacity: 0.3;
    }
}

.product-card:hover .floating-drop {
    opacity: 0.6;
}

/* ========================================
   FOOTER - FULL BRAND NAME REDESIGNED
   ======================================== */
.footer-brand-full {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 12px;
    line-height: 1.4;
    letter-spacing: 0.5px;
}

.footer-brand-full span {
    color: var(--color-red);
}

.footer-sub {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 500;
}

/* ========================================
   NEW PRODUCT CARD STYLES
   ======================================== */
.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

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

.card-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-image-container {
    position: relative;
    height: 220px;
    background: linear-gradient(135deg, #f5f5f5 0%, #fff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-image {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.card-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    opacity: 0;
    transition: none;
}

.floating-element.capsule {
    width: 10px;
    height: 20px;
    background: linear-gradient(180deg, #8B0000 30%, #333 30%);
    border-radius: 5px;
}

.floating-element.capsule:nth-child(1) { top: 10%; left: 10%; }
.floating-element.capsule:nth-child(2) { top: 15%; right: 10%; }
.floating-element.capsule:nth-child(3) { bottom: 20%; left: 15%; }

.floating-element.drop {
    width: 12px;
    height: 16px;
    background: linear-gradient(180deg, rgba(139,0,0,0.8) 0%, rgba(139,0,0,0.4) 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

.floating-element.drop:nth-child(1) { top: 10%; left: 10%; }
.floating-element.drop:nth-child(2) { top: 15%; right: 10%; }
.floating-element.drop:nth-child(3) { bottom: 20%; left: 15%; }

.floating-element.bean {
    width: 16px;
    height: 22px;
    background: linear-gradient(135deg, #4A3728 0%, #2C1810 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

.floating-element.bean::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 50%;
    background: #1a1a1a;
    border-radius: 2px;
}

.floating-element.bean:nth-child(1) { top: 10%; left: 10%; }
.floating-element.bean:nth-child(2) { top: 15%; right: 10%; }
.floating-element.bean:nth-child(3) { bottom: 20%; left: 15%; }

.card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-title {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.3;
}

.card-description {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.4;
}

.card-weight {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 15px;
    font-weight: 500;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.card-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #8B0000;
}

.card-btn-add {
    padding: 10px 18px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-btn-add:hover {
    background: #8B0000;
    transform: scale(1.05);
}

.card-btn-add.item-added,
.btn-add-cart.item-added {
    background: #2e7d32 !important;
    color: #ffffff !important;
    border-color: #2e7d32 !important;
    box-shadow: 0 6px 18px rgba(46, 125, 50, 0.3) !important;
    transform: none !important;
    cursor: default;
}

/* Desktop smoothness tuning without changing visual effects */
@media (hover: hover) and (pointer: fine) {
    .product-card {
        contain: layout paint style;
        transform: translateZ(0);
        backface-visibility: hidden;
    }

    .card-wrapper,
    .card-image,
    .product-image {
        backface-visibility: hidden;
    }

    .product-card:hover,
    .card-wrapper:hover,
    .product-card:hover .card-image,
    .product-card:hover .product-image {
        will-change: transform;
    }
}

/* Desktop scroll smoothing: reduce expensive layers only while actively scrolling */
@media (hover: hover) and (pointer: fine) {
    body.is-scrolling-fast .product-card,
    body.is-scrolling-fast .card-wrapper,
    body.is-scrolling-fast .card-image,
    body.is-scrolling-fast .product-image {
        transition: none !important;
        animation: none !important;
    }
}

/* ========================================
   Cookie Consent UI
   ======================================== */
.cookie-consent-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 2200;
    max-width: 880px;
    margin: 0 auto;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(139, 0, 0, 0.14);
    background: linear-gradient(135deg, #ffffff 0%, #fdf8f8 100%);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.cookie-consent-banner.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cookie-consent-banner.is-animated {
    animation: cookie-pop-in 220ms ease;
}

.cookie-consent-content h2 {
    font-size: 1rem;
    margin-bottom: 6px;
    color: #1a1a1a;
}

.cookie-consent-content p {
    margin: 0;
    color: #3a3a3a;
    font-size: 0.86rem;
    line-height: 1.45;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.cookie-consent-actions .btn {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 0.82rem;
    border-radius: 8px;
}

.cookie-consent-actions .btn-secondary,
.cookie-preferences-actions .btn-secondary {
    background: #ffffff;
    color: var(--color-red-dark);
    border: 1px solid rgba(139, 0, 0, 0.28);
    box-shadow: 0 2px 10px rgba(139, 0, 0, 0.08);
}

.cookie-consent-actions .btn-secondary:hover,
.cookie-preferences-actions .btn-secondary:hover {
    background: #fff4f4;
    color: var(--color-red-dark);
    border-color: rgba(139, 0, 0, 0.45);
    transform: translateY(-2px);
}

.cookie-consent-actions .btn-secondary:active,
.cookie-preferences-actions .btn-secondary:active {
    transform: translateY(0);
}

.cookie-preferences-modal {
    position: fixed;
    inset: 0;
    z-index: 2400;
    display: block;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.cookie-preferences-modal.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.cookie-preferences-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.cookie-preferences-panel {
    position: relative;
    width: min(600px, calc(100% - 28px));
    max-height: calc(100vh - 32px);
    overflow: auto;
    margin: 14px auto;
    padding: 16px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(16px) scale(0.96);
    opacity: 0;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.cookie-preferences-modal.is-visible .cookie-preferences-panel {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.cookie-preferences-panel.is-animated {
    animation: cookie-pop-in 220ms ease;
}

.cookie-preferences-panel h2 {
    margin-bottom: 6px;
    color: #1a1a1a;
    font-size: 1.06rem;
}

.cookie-preferences-panel p {
    color: #3d3d3d;
    margin-bottom: 10px;
    font-size: 0.88rem;
    line-height: 1.45;
}

.cookie-pref-list {
    display: grid;
    gap: 8px;
}

.cookie-pref-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 9px 11px;
    border-radius: 9px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fafafa;
}

.cookie-pref-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #8b0000;
    flex-shrink: 0;
}

.cookie-pref-row-disabled {
    opacity: 0.72;
}

.cookie-pref-text {
    display: grid;
    gap: 3px;
}

.cookie-pref-text strong {
    color: #1a1a1a;
    font-size: 0.9rem;
}

.cookie-pref-text small {
    color: #5f5f5f;
    font-size: 0.78rem;
    line-height: 1.4;
}

.cookie-preferences-actions {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cookie-preferences-actions .btn {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 0.82rem;
    border-radius: 8px;
}

.cookie-revoke {
    margin-left: auto;
}

.cookie-floating-manage {
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 2100;
    width: 56px;
    height: 56px;
    border: 1px solid rgba(139, 0, 0, 0.22);
    background: linear-gradient(145deg, #ffffff 0%, #f9f1f1 100%);
    color: #2a2a2a;
    border-radius: 50%;
    padding: 0;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    box-shadow:
        0 10px 22px rgba(0, 0, 0, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cookie-floating-manage.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cookie-floating-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: cookie-bob 3.4s ease-in-out infinite;
}

.cookie-floating-icon::before {
    display: none;
}

.cookie-svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
    animation: cookie-wobble 4.8s ease-in-out infinite;
}

.cookie-base {
    fill: #121212;
    stroke: #3a3a3a;
    stroke-width: 2;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.35));
}

.cookie-glow {
    fill: none;
    stroke: rgba(255, 255, 255, 0.16);
    stroke-width: 1.2;
    stroke-dasharray: 2.2 3.2;
    animation: cookie-spin 11s linear infinite;
    transform-origin: center;
}

.cookie-bite {
    fill: #ffffff;
}

.cookie-chip {
    fill: #000000;
    transform-origin: center;
    animation: chip-pulse 2.1s ease-in-out infinite;
}

.cookie-crumb {
    fill: #0a0a0a;
    opacity: 0.75;
    animation: crumb-drift 2.8s ease-in-out infinite;
}

.cookie-chip.chip-1 { animation-delay: 0.1s; }
.cookie-chip.chip-2 { animation-delay: 0.5s; }
.cookie-chip.chip-3 { animation-delay: 0.9s; }
.cookie-chip.chip-4 { animation-delay: 1.2s; }
.cookie-chip.chip-5 { animation-delay: 1.5s; }
.cookie-chip.chip-6 { animation-delay: 1.8s; }
.cookie-crumb.crumb-1 { animation-delay: 0.1s; }
.cookie-crumb.crumb-2 { animation-delay: 0.7s; }
.cookie-crumb.crumb-3 { animation-delay: 1.2s; }

.cookie-floating-manage:focus-visible,
.cookie-consent-actions .btn:focus-visible,
.cookie-preferences-actions .btn:focus-visible,
.cookie-pref-row input[type="checkbox"]:focus-visible {
    outline: 2px solid #8b0000;
    outline-offset: 2px;
}

body.cookie-modal-open {
    overflow: hidden;
}

@keyframes cookie-pop-in {
    0% {
        opacity: 0;
        transform: translateY(12px) scale(0.94);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes cookie-bob {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-1.6px) scale(1.03);
    }
}

@keyframes cookie-wobble {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    35% {
        transform: rotate(-4deg) scale(1.02);
    }
    70% {
        transform: rotate(4deg) scale(0.99);
    }
}

@keyframes cookie-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes chip-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(0.78);
    }
}

@keyframes crumb-drift {
    0%, 100% {
        opacity: 0.75;
        transform: translateY(0) scale(1);
    }
    50% {
        opacity: 0.35;
        transform: translateY(-1.5px) scale(0.86);
    }
}

@media (max-width: 768px) {
    .cookie-consent-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 10px;
        border-radius: 10px;
    }

    .cookie-consent-content h2 {
        font-size: 0.95rem;
    }

    .cookie-consent-content p {
        font-size: 0.8rem;
    }

    .cookie-consent-actions .btn,
    .cookie-preferences-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .cookie-preferences-panel {
        width: calc(100% - 20px);
        margin: 10px auto;
        padding: 12px;
        border-radius: 10px;
    }

    .cookie-pref-row {
        align-items: flex-start;
    }

    .cookie-revoke {
        margin-left: 0;
    }

    .cookie-floating-manage {
        left: 12px;
        bottom: 12px;
        width: 52px;
        height: 52px;
        border-radius: 50%;
        padding: 0;
    }

    .cookie-floating-icon {
        width: 32px;
        height: 32px;
    }
}
