/* Custom CSS for Dulce Quinceañera */

:root {
    --primary-background: #FAF9F6;
    --primary-white: #ffffff;
    --accent-pink: #f4c2c2;
    --tea-rose: #f4c2c2;
    --light-pink: #fef5f6;
    --soft-pink: #fdf2f3;
    --dusty-rose: #d4a5a5;
    --coral-cta: #f4c2c2;
    --warm-gray: #6b6b6b;
    --charcoal: #3a3a3a;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --border-radius: 16px;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-hover: 0 12px 40px rgba(0,0,0,0.15);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
    font-family: 'Lora', Georgia, serif;
    background: var(--primary-background);
    min-height: 100vh;
    color: #000000;
    line-height: 1.6;
    padding-top: 80px;
    font-weight: 400;
    scroll-behavior: smooth;
}

/* Horizontal Category Navigation */
.horizontal-categories-container {
    margin: 0 auto;
    max-width: 1200px;
    overflow: hidden;
    position: relative;
}

.horizontal-category-link {
    display: block;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.horizontal-category-item {
    text-align: center;
    padding: 25px 15px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    border-radius: 20px;
    margin: 0 10px;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid transparent;
    overflow: hidden;
}

.horizontal-category-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.horizontal-category-item:hover::before {
    left: 100%;
}

.horizontal-category-item:hover {
    transform: translateY(-8px) scale(1.05);
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(233, 156, 169, 0.5);
    box-shadow: 0 20px 40px rgba(244, 194, 194, 0.3);
}

.category-emoji {
    font-size: 3rem;
    margin-bottom: 12px;
    display: block;
    animation: float 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.category-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    position: relative;
    z-index: 2;
    line-height: 1.2;
}

.category-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #6B6B6B;
    margin-bottom: 15px;
    font-weight: 400;
    position: relative;
    z-index: 2;
    line-height: 1.3;
}

.category-gradient-bar {
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #E99CA9, #F4C2C2, #D4A5A5);
    margin: 0 auto;
    border-radius: 2px;
    transition: width 0.4s ease;
    position: relative;
    z-index: 2;
}

.horizontal-category-item:hover .category-gradient-bar {
    width: 60%;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* Responsive Design for Horizontal Categories */
@media (max-width: 768px) {
    .horizontal-categories-container {
        padding: 20px;
        border-radius: 20px;
    }
    
    .horizontal-category-item {
        padding: 20px 10px;
        margin: 0 5px;
    }
    
    .category-emoji {
        font-size: 2.5rem;
        margin-bottom: 8px;
    }
    
    .category-name {
        font-size: 1.1rem;
    }
    
    .category-subtitle {
        font-size: 0.75rem;
    }
}

@media (max-width: 576px) {
    .row.g-0 > .col {
        margin-bottom: 15px;
    }
    
    .horizontal-category-item {
        margin: 0 2px;
        padding: 15px 8px;
    }
    
    .category-emoji {
        font-size: 2rem;
    }
    
    .category-name {
        font-size: 1rem;
    }
    
    .category-subtitle {
        font-size: 0.7rem;
        margin-bottom: 10px;
    }
}

/* Shop Navigation (Cart Page) - Different from Homepage */
.shop-nav-container {
    margin: 0 auto;
    max-width: 1100px;
}

.shop-nav-item {
    text-align: center;
    padding: 20px 12px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    border-radius: 18px;
    margin: 0 8px;
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.shop-nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(233, 156, 169, 0.2), transparent);
    transition: left 0.8s ease;
    z-index: 1;
}

.shop-nav-item:hover::before {
    left: 100%;
}

.shop-nav-item:hover {
    transform: translateY(-5px) scale(1.03);
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(244, 194, 194, 0.6);
    box-shadow: 0 15px 35px rgba(244, 194, 194, 0.25);
}

.shop-nav-item.active {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(233, 156, 169, 0.8);
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(233, 156, 169, 0.3);
}

.shop-nav-emoji {
    font-size: 2.8rem;
    margin-bottom: 10px;
    display: block;
    animation: bounce 2s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.shop-nav-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
    position: relative;
    z-index: 2;
    line-height: 1.1;
}

.shop-nav-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    color: #6B6B6B;
    margin-bottom: 12px;
    font-weight: 500;
    position: relative;
    z-index: 2;
    line-height: 1.2;
}

.shop-nav-line {
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #D4A5A5, #E99CA9, #F4C2C2);
    margin: 0 auto;
    border-radius: 3px;
    transition: width 0.5s ease;
    position: relative;
    z-index: 2;
}

.shop-nav-item:hover .shop-nav-line,
.shop-nav-item.active .shop-nav-line {
    width: 70%;
}

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

/* Responsive Design for Shop Navigation */
@media (max-width: 768px) {
    .shop-nav-container {
        padding: 15px;
        border-radius: 20px;
    }
    
    .shop-nav-item {
        padding: 15px 8px;
        margin: 0 4px;
    }
    
    .shop-nav-emoji {
        font-size: 2.3rem;
        margin-bottom: 8px;
    }
    
    .shop-nav-title {
        font-size: 1rem;
    }
    
    .shop-nav-subtitle {
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .row.g-1 > .col {
        margin-bottom: 10px;
    }
    
    .shop-nav-item {
        margin: 0 2px;
        padding: 12px 6px;
    }
    
    .shop-nav-emoji {
        font-size: 2rem;
    }
    
    .shop-nav-title {
        font-size: 0.9rem;
    }
    
    .shop-nav-subtitle {
        font-size: 0.65rem;
        margin-bottom: 8px;
    }
}

/* Legacy Category Navigation Cards */
.category-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(244, 194, 194, 0.2);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(244, 194, 194, 0.1), transparent);
    transition: left 0.5s;
}

.category-card:hover::before {
    left: 100%;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--tea-rose);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.category-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 0.8rem;
}

.category-description {
    color: var(--warm-gray);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.category-arrow {
    color: var(--tea-rose);
    font-size: 1.2rem;
    transition: var(--transition);
}

.category-card:hover .category-arrow {
    transform: translateX(5px);
    color: var(--dusty-rose);
}

.category-card-link {
    color: inherit;
}

.category-card-link:hover {
    color: inherit;
    text-decoration: none;
}

/* Navigation Styles */
.custom-navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
    padding: 0.8rem 0;
    transition: var(--transition);
    border: none;
    animation: navSlideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 1px solid rgba(250, 218, 221, 0.2);
}

@keyframes navSlideIn {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar-brand .brand-text {
    font-family: 'Great Vibes', cursive;
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--charcoal) !important;
    letter-spacing: 0.5px;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-nav .nav-link {
    color: var(--warm-gray) !important;
    font-weight: 500;
    transition: var(--transition);
    border-radius: 20px;
    padding: 0.6rem 1.2rem !important;
    position: relative;
    font-size: 0.9rem;
    white-space: nowrap;
    font-family: 'Montserrat', sans-serif;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #000000 !important;
    background: rgba(244, 194, 194, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 194, 194, 0.4);
    backdrop-filter: blur(5px);
}

.nav-cart {
    margin-left: 1rem;
}

.cart-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #000000;
    text-decoration: none;
    background: rgba(244, 194, 194, 0.7);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid rgba(244, 194, 194, 0.3);
    cursor: pointer;
    position: relative;
    font-size: 0.85rem;
    backdrop-filter: blur(5px);
}

.cart-badge:hover {
    background: rgba(244, 194, 194, 0.9);
    color: #000000;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.cart-badge .badge {
    background: var(--coral-cta);
    color: var(--primary-white);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    transition: var(--transition);
    position: absolute;
    top: -3px;
    right: -3px;
}

.cart-badge .badge.show {
    display: flex;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 80px);
}

/* Flash Messages */
.flash-messages {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1050;
    max-width: 400px;
}

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, var(--primary-white) 0%, var(--soft-pink) 100%);
    color: var(--dark-gray);
    padding: 4rem 0;
    text-align: center;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #000000;
    letter-spacing: -0.5px;
    animation: fadeInUp 0.8s ease-out;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #000000;
    font-weight: 400;
}

/* Animated Gradient */
@keyframes gradientSlide {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.animated-gradient {
    background: linear-gradient(-45deg, var(--accent-pink), var(--primary-background), var(--accent-pink), var(--primary-background));
    background-size: 400% 400%;
    animation: gradientSlide 8s ease infinite;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--accent-pink) 0%, var(--primary-background) 30%, var(--accent-pink) 100%);
    background-size: 400% 400%;
    animation: gradientSlide 12s ease infinite;
    color: #000000;
    padding: 5rem 0;
    margin-top: -80px;
    padding-top: calc(5rem + 80px);
    position: relative;
    overflow: hidden;
}

/* Ensure all text elements in home section are black */
.hero-section h1,
.hero-section h2, 
.hero-section h3,
.hero-section h4,
.hero-section h5,
.hero-section h6,
.hero-section p,
.hero-section span {
    color: #000000 !important;
}

.featured-desserts h1,
.featured-desserts h2,
.featured-desserts h3,
.featured-desserts h4,
.featured-desserts h5,
.featured-desserts h6,
.featured-desserts p,
.featured-desserts span {
    color: #000000 !important;
}

.featured-cookies h1,
.featured-cookies h2,
.featured-cookies h3,
.featured-cookies h4,
.featured-cookies h5,
.featured-cookies h6,
.featured-cookies p,
.featured-cookies span {
    color: #000000 !important;
}

.reviews-section h1,
.reviews-section h2,
.reviews-section h3,
.reviews-section h4,
.reviews-section h5,
.reviews-section h6,
.reviews-section p,
.reviews-section span {
    color: #000000 !important;
}

/* Hero Text Slide Animation */
.hero-text-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 400px;
}

.slide-text {
    font-family: 'Great Vibes', cursive;
    font-size: 4rem;
    color: var(--charcoal);
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: slideInFromRight 1.5s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Mobile responsiveness for sliding text */
@media (max-width: 768px) {
    .slide-text {
        font-size: 2.5rem;
    }
    
    .hero-text-slide {
        min-height: 300px;
        padding: 2rem 1rem;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(250, 218, 221, 0.1) 0%, transparent 60%);
}

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

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.2rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: #000000;
    letter-spacing: -1px;
    line-height: 1.1;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #000000;
    font-weight: 400;
}

.hero-buttons .btn {
    margin: 0.5rem 0;
}

/* Dessert Showcase Animation */
.dessert-showcase {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-item {
    position: absolute;
    text-align: center;
    animation: float 3s ease-in-out infinite;
    animation-delay: var(--delay);
    opacity: 0.8;
    transition: all 0.3s ease;
    cursor: pointer;
}

.dessert-emoji {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.dessert-name {
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--charcoal);
    text-align: center;
    display: block;
}

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

.showcase-item:hover .dessert-emoji {
    transform: scale(1.2) rotate(10deg);
}

.showcase-item:hover .dessert-name {
    color: var(--accent-pink);
}

.showcase-item:nth-child(1) { top: 10%; left: 20%; }
.showcase-item:nth-child(2) { top: 20%; right: 15%; }
.showcase-item:nth-child(3) { top: 50%; left: 10%; }
.showcase-item:nth-child(4) { top: 60%; right: 20%; }
.showcase-item:nth-child(5) { bottom: 20%; left: 25%; }
.showcase-item:nth-child(6) { bottom: 15%; right: 30%; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Section Styles */
.section-title {
    font-family: 'Playfair Display', serif;
    color: #000000;
    font-size: 2.8rem;
    font-weight: 400;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    letter-spacing: -0.5px;
    animation: fadeInUp 0.8s ease-out;
}

.section-title::after {
    content: '';
    display: block;
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-pink), var(--accent-pink), var(--accent-pink));
    margin: 1.5rem auto;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(244, 194, 194, 0.4);
}

.section-subtitle {
    text-align: center;
    color: #000000;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Dessert Cards */
.dessert-card {
    background: linear-gradient(135deg, var(--primary-white) 0%, rgba(244, 194, 194, 0.1) 100%);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 2px solid var(--accent-pink);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
}

.dessert-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--tea-rose);
}

.dessert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transition: left 0.5s;
}

.dessert-card:hover::before {
    left: 100%;
}

.card-image {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.emoji-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% { transform: translate3d(0,0,0); }
    40%, 43% { transform: translate3d(0,-30px,0); }
    70% { transform: translate3d(0,-15px,0); }
    90% { transform: translate3d(0,-4px,0); }
}

.item-price-large {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--coral-cta);
    font-family: 'Montserrat', sans-serif;
}

.add-item-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--accent-pink);
    background: rgba(244, 194, 194, 0.9);
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(244, 194, 194, 0.4);
    font-weight: 700;
    backdrop-filter: blur(5px);
}

.add-item-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: #000000;
    color: var(--primary-white);
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.add-item-btn:active {
    transform: scale(0.95);
    animation: addItemPulse 0.3s ease;
}

@keyframes addItemPulse {
    0% { transform: scale(0.95); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.dessert-name {
    font-family: 'Playfair Display', serif;
    color: var(--charcoal);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: 0.5px;
}

.dessert-description {
    color: #666;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 1rem;
    min-height: 60px;
}

/* Menu Items */
.menu-item {
    background: linear-gradient(135deg, var(--primary-white) 0%, rgba(244, 194, 194, 0.1) 100%);
    border-radius: 20px;
    padding: 2rem;
    border: 2px solid var(--accent-pink);
    transition: var(--transition);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    box-shadow: var(--shadow);
    animation: fadeInUp 0.6s ease-out;
}

.menu-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--tea-rose);
}

.menu-item .item-image {
    flex-shrink: 0;
}

.menu-item .emoji-icon {
    font-size: 2.5rem;
    margin: 0;
}

.menu-item .item-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.menu-item .item-name {
    font-family: 'Playfair Display', serif;
    color: var(--charcoal);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 0.3px;
}

.menu-item .item-description {
    color: var(--warm-gray);
    font-size: 0.9rem;
    margin-bottom: 0;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.5;
}

.menu-item .item-price {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--coral-cta);
    margin-right: 1rem;
    font-family: 'Montserrat', sans-serif;
}

/* Cart Styles */
.cart-preview {
    background: var(--primary-white);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(250, 218, 221, 0.2);
    max-height: 80vh;
    overflow-y: auto;
}

.cart-item {
    background: var(--soft-pink);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--accent-pink);
    border: 1px solid rgba(250, 218, 221, 0.3);
    transition: var(--transition);
}

.cart-item:hover {
    background: var(--light-pink);
    transform: translateX(3px);
}

.cart-item-name {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.cart-item-price {
    color: #666;
    font-size: 0.9rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.5rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-controls .quantity {
    min-width: 30px;
    text-align: center;
    font-weight: bold;
}

.subtotal {
    font-weight: 600;
    color: var(--dark-gray);
}

.cart-total {
    border-top: 2px solid var(--medium-gray);
    padding-top: 1rem;
    margin-top: 1rem;
    text-align: center;
}

.total-amount {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-gray);
}

.empty-cart {
    text-align: center;
    color: #999;
    padding: 2rem;
}

.empty-cart i {
    color: var(--text-gray);
}

/* Forms */
.form-control,
.form-select {
    border-radius: 12px;
    border: 2px solid rgba(212, 165, 165, 0.2);
    padding: 0.8rem 1.2rem;
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--tea-rose);
    box-shadow: 0 0 0 0.2rem rgba(244, 194, 194, 0.2);
    outline: none;
}

.form-label {
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 0.8rem;
    font-family: 'Montserrat', sans-serif;
}

.form-label {
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn-primary {
    background: rgba(244, 194, 194, 0.9);
    border: 3px solid var(--accent-pink);
    color: #000000;
    border-radius: 25px;
    padding: 1.2rem 3rem;
    font-weight: 700;
    transition: var(--transition);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 6px 20px rgba(244, 194, 194, 0.4);
    text-transform: uppercase;
    backdrop-filter: blur(5px);
}

.btn-primary:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: #000000;
    color: var(--primary-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-outline-primary {
    border: 2px solid var(--coral-cta);
    color: var(--coral-cta);
    background: transparent;
    border-radius: 25px;
    padding: 1rem 2.5rem;
    font-weight: 600;
    transition: var(--transition);
    font-size: 1rem;
    letter-spacing: 0.5px;
    font-family: 'Montserrat', sans-serif;
}

.btn-outline-primary:hover {
    background: var(--coral-cta);
    border-color: var(--coral-cta);
    color: var(--primary-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(233, 156, 169, 0.4);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-pink);
    transform: translateY(-2px);
}

/* About Page Styles */
.about-image {
    text-align: center;
    padding: 2rem;
}

.image-placeholder {
    background: var(--pale-pink);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    color: var(--primary-pink);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-item i {
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.feature-item h4 {
    color: var(--primary-pink);
    margin-bottom: 0.5rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 2px solid var(--soft-pink);
    text-align: center;
    height: 100%;
}

.testimonial-card .stars {
    color: #ffd700;
    margin-bottom: 1rem;
}

.testimonial-author {
    color: var(--primary-pink);
    margin-top: 1rem;
}

/* Contact Page Styles */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 3px solid var(--soft-pink);
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 3px solid var(--soft-pink);
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-icon {
    background: var(--pale-pink);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-pink);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--primary-pink);
    margin-bottom: 0.5rem;
}

.contact-details a {
    color: var(--dark-gray);
    text-decoration: none;
}

.contact-details a:hover {
    color: var(--primary-pink);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--pale-pink);
    color: var(--primary-pink);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-pink);
    color: white;
    transform: translateY(-2px);
}

/* Special Requests Styles */
.special-requests-form {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 3px solid var(--soft-pink);
}

.request-category {
    background: var(--pale-pink);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.request-category h4 {
    margin-bottom: 1rem;
}

.request-category ul li {
    margin-bottom: 0.3rem;
}

.info-card {
    background: var(--pale-pink);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 2px solid var(--soft-pink);
}

/* CTA Sections */
.cta-section {
    background: linear-gradient(45deg, var(--primary-pink), var(--light-pink));
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin: 3rem 0;
    border-radius: var(--border-radius);
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: black;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: black;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: white;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer h5 {
    color: var(--soft-pink);
    margin-bottom: 1rem;
}

.footer .social-links .social-link {
    background: var(--primary-pink);
    color: white;
}

.footer .social-links .social-link:hover {
    background: var(--light-pink);
}

/* Success Notification Animation */
.success-notification {
    animation: slideInFromRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Flying Cart Animation */
.flying-cart-emoji {
    will-change: transform, opacity;
}

/* Special 6-Cookie Chest Animation */
.treasure-chest {
    animation: chestBounce 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 10px 20px rgba(244, 194, 194, 0.6));
    will-change: transform;
}

@keyframes chestBounce {
    0% { 
        transform: translate(-50%, -50%) scale(0) rotate(-180deg); 
        opacity: 0; 
    }
    60% { 
        transform: translate(-50%, -50%) scale(1.2) rotate(0deg); 
        opacity: 1; 
    }
    100% { 
        transform: translate(-50%, -50%) scale(1) rotate(0deg); 
        opacity: 1; 
    }
}

.flying-cookie {
    animation: cookieFloat 2s ease-in-out infinite;
    filter: drop-shadow(0 5px 15px rgba(244, 194, 194, 0.4));
    will-change: transform, opacity;
    position: relative;
}

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

/* Treasure chest opening animation */
.treasure-chest.opening {
    animation: chestOpen 0.5s ease-out forwards;
}

@keyframes chestOpen {
    0% { 
        transform: translate(-50%, -50%) scale(1); 
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.1) rotateY(10deg); 
    }
    100% { 
        transform: translate(-50%, -50%) scale(1) rotateY(0deg); 
    }
}

/* Flying cookie trail effect */
.flying-cookie::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(244, 194, 194, 0.6) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: trail 1s ease-out infinite;
    z-index: -1;
}

@keyframes trail {
    0% { 
        opacity: 0.8; 
        transform: translate(-50%, -50%) scale(1); 
    }
    100% { 
        opacity: 0; 
        transform: translate(-50%, -50%) scale(2); 
    }
}

/* Cookie collection animation for mobile */
@media (max-width: 768px) {
    .treasure-chest {
        font-size: 3rem !important;
    }
    
    .flying-cookie {
        font-size: 2rem !important;
    }
}

/* Treasure Box Cart Item Styles */
.treasure-box-item {
    background: linear-gradient(135deg, 
        rgba(244, 194, 194, 0.2) 0%, 
        rgba(244, 194, 194, 0.3) 50%, 
        rgba(255, 105, 180, 0.1) 100%);
    border: 2px solid var(--tea-rose);
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 25px rgba(244, 194, 194, 0.4);
}

.treasure-box-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(244, 194, 194, 0.3), 
        transparent);
    transition: left 0.8s ease;
}

.treasure-box-item:hover::before {
    left: 100%;
}

.treasure-box-header {
    background: linear-gradient(135deg, var(--tea-rose) 0%, var(--accent-pink) 50%, #FF69B4 100%);
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #8B4513;
    font-weight: 700;
    border-bottom: 1px solid rgba(244, 194, 194, 0.5);
    margin-bottom: 1rem;
    border-radius: 12px 12px 0 0;
}

.treasure-box-icon {
    font-size: 2rem;
    margin-bottom: 0.3rem;
    animation: treasureGlow 2s ease-in-out infinite;
}

@keyframes treasureGlow {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(244, 194, 194, 0.6));
    }
    50% { 
        transform: scale(1.1);
        filter: drop-shadow(0 0 10px rgba(244, 194, 194, 0.9));
    }
}

.treasure-box-title {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.coupon-badge {
    background: #FF4444;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 68, 68, 0.4);
    animation: couponPulse 3s ease-in-out infinite;
    align-self: center;
}

@keyframes couponPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 68, 68, 0.4);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 4px 15px rgba(255, 68, 68, 0.7);
    }
}

.original-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.discounted-price {
    color: #28a745;
    font-weight: 700;
    font-size: 1.1rem;
}

.savings-text {
    color: #28a745;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.3rem;
    font-style: italic;
}

.treasure-box-item .cart-item-row {
    background: transparent;
    border: none;
    margin-bottom: 0;
    flex-direction: column;
    align-items: stretch;
}

.treasure-box-item .cart-item-info {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.treasure-box-item .cart-item-details-section {
    flex: 1;
}

.treasure-box-item .cart-item-controls {
    margin-top: 0;
    margin-left: 1rem;
}

@keyframes flyToCart {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(40vw, -20vh) scale(0.8);
    }
    100% {
        opacity: 0;
        transform: translate(80vw, -40vh) scale(0.3);
    }
}

/* Cart Badge Enhanced */
.cart-badge {
    position: relative;
    overflow: visible;
}

.cart-badge .badge {
    animation: none;
    will-change: transform;
}

.cart-badge.cart-updated .badge {
    animation: bounceIn 0.5s ease;
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
}

/* Cookie Description Styling */
.cookie-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    padding: 0 1rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    display: block;
}

/* Enhanced styling for dessert and cake sections */
.cookies-section-contained .cookie-description {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

@keyframes bounceIn {
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

/* Floating Cart Animation */
.cart-badge {
    animation: subtle-float 6s ease-in-out infinite;
}

@keyframes subtle-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-2px); }
}

/* Gallery Styles */
.gallery-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--accent-pink) 0%, var(--primary-background) 20%, var(--primary-background) 80%, var(--accent-pink) 100%);
}

.gallery-filters {
    margin-bottom: 3rem;
}

.filter-btn {
    background: var(--primary-white);
    border: 2px solid var(--accent-pink);
    color: var(--charcoal);
    padding: 0.8rem 1.5rem;
    margin: 0 0.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-pink);
    color: var(--charcoal);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(244, 194, 194, 0.3);
}

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

.gallery-item {
    opacity: 1;
    transition: var(--transition);
}

.gallery-item.hidden {
    opacity: 0;
    transform: scale(0.8);
}

.gallery-card {
    background: linear-gradient(135deg, var(--primary-white) 0%, rgba(244, 194, 194, 0.15) 100%);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid var(--accent-pink);
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-pink);
}

.gallery-image {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.gallery-image-full {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 12px;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--primary-background);
    overflow: hidden;
}

.gallery-image-full img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s ease;
    object-fit: contain;
    object-position: center;
}

.gallery-image-full img:hover {
    transform: scale(1.02);
}

.gallery-category {
    margin-bottom: 4rem;
}

.category-title {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    color: #000000;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 400;
}

.gallery-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-background) 0%, var(--accent-pink) 50%, var(--primary-background) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-size: 1.1rem;
    font-weight: 600;
}

.gallery-image .image-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--charcoal);
}

.gallery-info {
    padding: 1.5rem;
}

.gallery-info h4 {
    font-family: 'Playfair Display', serif;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* Gallery image container for drag-and-drop */
.gallery-image-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 12px;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--primary-background);
    overflow: hidden;
}

.gallery-image-container.selected {
    border: 3px solid var(--accent-pink);
    box-shadow: 0 0 20px rgba(244, 194, 194, 0.5);
}

.draggable-gallery-image {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s ease;
    object-fit: contain;
    object-position: center;
    cursor: pointer;
    position: relative;
}

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

.draggable-gallery-image.dragging {
    cursor: grabbing;
    filter: brightness(0.8);
    transform: rotate(2deg) scale(1.05);
    z-index: 1000;
}

/* Editable title styles */
.editable-title {
    transition: all 0.3s ease;
    cursor: text;
    outline: none;
}

.editable-title:hover {
    background: rgba(244, 194, 194, 0.05);
    border-radius: 4px;
}

.editable-title:focus {
    background: rgba(244, 194, 194, 0.1);
    border: 2px dashed var(--accent-pink);
    border-radius: 4px;
    padding: 5px;
}

/* Visual feedback for editing mode */
.gallery-section .editing-mode {
    position: relative;
}

.gallery-section .editing-mode::before {
    content: "✏️ Click images to select • Drag to move • +/- to scale • R to reset • Click titles to edit";
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(244, 194, 194, 0.95);
    color: var(--charcoal);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 2px solid var(--accent-pink);
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Gallery box controls */
.gallery-box-controls {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-box-controls {
    opacity: 1;
}

.gallery-delete-btn {
    background: rgba(220, 53, 69, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.gallery-delete-btn:hover {
    background: rgba(220, 53, 69, 1);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.gallery-drag-handle {
    background: rgba(244, 194, 194, 0.9);
    color: var(--charcoal);
    border: none;
    border-radius: 4px;
    width: 28px;
    height: 28px;
    font-size: 12px;
    font-weight: bold;
    cursor: grab;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    user-select: none;
}

.gallery-drag-handle:hover {
    background: var(--accent-pink);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(244, 194, 194, 0.6);
}

.gallery-drag-handle:active {
    cursor: grabbing;
}

/* Gallery placeholder for drag and drop */
.gallery-placeholder {
    background: linear-gradient(135deg, 
        rgba(244, 194, 194, 0.3) 0%, 
        rgba(244, 194, 194, 0.1) 50%, 
        rgba(244, 194, 194, 0.3) 100%);
    border: 2px dashed var(--accent-pink);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    opacity: 0.7;
}

.gallery-placeholder::before {
    content: "Drop here";
    color: var(--charcoal);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Enhanced gallery card positioning */
.gallery-card {
    position: relative;
    overflow: visible;
}

/* Update editing mode instructions */
.gallery-section .editing-mode::before {
    content: "✏️ Click images to select • Drag to move • +/- to scale • R to reset • Click titles to edit • Hover boxes to see controls";
}

/* Customer Reviews Section */
.reviews-section {
    background: linear-gradient(135deg, 
        var(--warm-white) 0%, 
        rgba(244, 194, 194, 0.1) 50%, 
        var(--warm-white) 100%);
}

.review-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(244, 194, 194, 0.2);
    border: 1px solid rgba(244, 194, 194, 0.3);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(244, 194, 194, 0.1), 
        transparent);
    transition: left 0.6s ease;
}

.review-card:hover::before {
    left: 100%;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(244, 194, 194, 0.3);
}

.review-stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.review-stars i {
    color: #ffc107;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
}

.review-text {
    font-family: var(--font-secondary);
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--charcoal);
    font-style: italic;
    margin: 0 0 1.5rem 0;
    position: relative;
}

.review-text::before {
    content: '"';
    font-size: 3rem;
    color: var(--accent-pink);
    position: absolute;
    top: -10px;
    left: -20px;
    font-family: serif;
}

.review-text::after {
    content: '"';
    font-size: 3rem;
    color: var(--accent-pink);
    position: absolute;
    bottom: -30px;
    right: -10px;
    font-family: serif;
}

.review-author {
    font-family: var(--font-primary);
    font-size: 1.1rem;
}

.review-author strong {
    color: var(--charcoal);
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.review-author small {
    color: var(--warm-gray);
    font-size: 0.9rem;
}

/* Overall Rating Card */
.overall-rating-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(244, 194, 194, 0.1) 100%);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    box-shadow: 0 15px 40px rgba(244, 194, 194, 0.3);
    border: 2px solid var(--accent-pink);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.overall-rating-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(244, 194, 194, 0.1) 50%, 
        transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

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

.overall-rating-content {
    position: relative;
    z-index: 2;
}

.rating-number {
    font-family: var(--font-primary);
    font-size: 4rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(244, 194, 194, 0.5);
}

.rating-stars-large {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.rating-stars-large i {
    color: #ffc107;
    font-size: 2rem;
    text-shadow: 0 3px 6px rgba(255, 193, 7, 0.4);
    animation: starPulse 2s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.2s);
}

.rating-stars-large i:nth-child(1) { --i: 1; }
.rating-stars-large i:nth-child(2) { --i: 2; }
.rating-stars-large i:nth-child(3) { --i: 3; }
.rating-stars-large i:nth-child(4) { --i: 4; }
.rating-stars-large i:nth-child(5) { --i: 5; }

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

.rating-description {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    color: var(--warm-gray);
    margin: 0;
    font-weight: 500;
}

/* Hero Dessert Images */
.hero-dessert-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.draggable-hero-image {
    position: absolute;
    transition: all 0.3s ease;
    cursor: grab;
    transform-origin: center center;
    left: 50%;
    top: 50%;
    margin-left: -50px;
    margin-top: -50px;
    width: 100px;
    height: 100px;
}

.draggable-hero-image:active {
    cursor: grabbing;
}

.draggable-hero-image.selected {
    outline: 3px solid var(--accent-pink);
    outline-offset: 3px;
    transform: scale(1.05);
}

.draggable-hero-image.dragging {
    z-index: 1000;
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 20px 50px rgba(244, 194, 194, 0.6);
    opacity: 0.9;
}

.hero-dessert-img:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(244, 194, 194, 0.4);
}

.draggable-hero-image.selected .hero-dessert-img {
    border: 2px solid var(--accent-pink);
}

/* Hero editing instructions */
.hero-section .editing-mode::before {
    content: "✏️ Click to select • Arrow keys to move • +/- to scale • Drag corners to resize • R to reset";
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(244, 194, 194, 0.95);
    color: var(--charcoal);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 500;
    border: 2px solid var(--accent-pink);
    animation: fadeInUp 0.5s ease;
    z-index: 100;
}

/* Resize handles for hero images */
.resize-handle {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--accent-pink);
    border: 2px solid white;
    border-radius: 50%;
    z-index: 20;
    opacity: 0.8;
    transition: all 0.2s ease;
}

.resize-handle:hover {
    opacity: 1;
    transform: scale(1.2);
    background: var(--coral-cta);
    box-shadow: 0 2px 8px rgba(244, 194, 194, 0.6);
}

.resize-handle-nw {
    top: -6px;
    left: -6px;
    cursor: nw-resize;
}

.resize-handle-ne {
    top: -6px;
    right: -6px;
    cursor: ne-resize;
}

.resize-handle-sw {
    bottom: -6px;
    left: -6px;
    cursor: sw-resize;
}

.resize-handle-se {
    bottom: -6px;
    right: -6px;
    cursor: se-resize;
}

/* Grid Overlay Styles */
.hero-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-image.editing-mode .hero-grid-overlay,
.hero-section.editing-mode .hero-grid-overlay {
    opacity: 0.4;
}

.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(to right, rgba(244, 194, 194, 0.3) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(244, 194, 194, 0.3) 1px, transparent 1px);
    background-size: 50px 50px;
}

.grid-center-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.grid-center-lines::before,
.grid-center-lines::after {
    content: '';
    position: absolute;
    background-color: rgba(244, 194, 194, 0.6);
}

.grid-center-lines::before {
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    transform: translateY(-50%);
}

.grid-center-lines::after {
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    transform: translateX(-50%);
}

/* Coordinate Input Modal */
.coordinate-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.coordinate-modal.active {
    display: flex;
}

.coordinate-modal-content {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 90%;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.coordinate-modal h4 {
    font-family: var(--font-heading);
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
}

.coordinate-inputs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.input-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.input-group label {
    font-weight: 600;
    color: var(--charcoal);
    min-width: 80px;
    font-family: var(--font-primary);
}

.input-group input {
    flex: 1;
    padding: 0.5rem;
    border: 2px solid var(--accent-pink);
    border-radius: var(--border-radius);
    font-size: 1rem;
    text-align: center;
    font-family: var(--font-primary);
}

.input-group input:focus {
    outline: none;
    border-color: var(--coral-cta);
    box-shadow: 0 0 0 3px rgba(244, 194, 194, 0.3);
}

.input-group .unit {
    font-size: 0.9rem;
    color: var(--warm-gray);
    min-width: 25px;
    font-family: var(--font-primary);
}

.coordinate-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.coordinate-buttons .btn {
    padding: 0.7rem 1.5rem;
    font-family: var(--font-primary);
    font-weight: 600;
    border-radius: var(--border-radius);
}

.coordinate-info {
    text-align: center;
    padding: 1rem;
    background: rgba(244, 194, 194, 0.1);
    border-radius: var(--border-radius);
    border: 1px solid var(--accent-pink);
}

.coordinate-info small {
    color: var(--warm-gray);
    font-family: var(--font-primary);
    line-height: 1.4;
}

.draggable-hero-image.resizing {
    z-index: 1000;
    opacity: 0.9;
}

.draggable-hero-image.resizing .hero-dessert-img {
    border: 2px solid var(--coral-cta);
    box-shadow: 0 10px 30px rgba(244, 194, 194, 0.5);
}

.gallery-info p {
    color: var(--warm-gray);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.gallery-tag {
    background: var(--accent-pink);
    color: var(--charcoal);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Discount styling for quantity dropdown */
#quickQuantity option {
    padding: 0.5rem;
    font-family: 'Montserrat', sans-serif;
}

#quickQuantity option[value="6"],
#quickQuantity option[value="7"],
#quickQuantity option[value="8"],
#quickQuantity option[value="9"],
#quickQuantity option[value="10"],
#quickQuantity option[value="11"],
#quickQuantity option[value="12"] {
    background: linear-gradient(135deg, rgba(244, 194, 194, 0.15), rgba(244, 194, 194, 0.25));
    color: #2d5a27;
    font-weight: 600;
}

/* Subtle discount badge styling */
.discount-badge {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 0.5rem;
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
}

/* Enhanced treasure box styling */
.treasure-box-header {
    background: linear-gradient(135deg, rgba(244, 194, 194, 0.2), rgba(244, 194, 194, 0.1));
    border: 2px dashed var(--accent-pink);
    border-radius: 12px;
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.treasure-box-title {
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem;
    color: var(--charcoal);
    font-weight: 600;
}

.coupon-badge {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-top: 0.3rem;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}
    font-family: 'Montserrat', sans-serif;
}

.upload-card {
    background: var(--primary-background);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 2px solid var(--accent-pink);
}

/* Enhanced Scroll Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Animation Delays */
.dessert-card:nth-child(1) { animation-delay: 0.1s; }
.dessert-card:nth-child(2) { animation-delay: 0.2s; }
.dessert-card:nth-child(3) { animation-delay: 0.3s; }
.dessert-card:nth-child(4) { animation-delay: 0.4s; }
.dessert-card:nth-child(5) { animation-delay: 0.5s; }
.dessert-card:nth-child(6) { animation-delay: 0.6s; }

.menu-item:nth-child(odd) { animation-delay: 0.1s; }
.menu-item:nth-child(even) { animation-delay: 0.2s; }

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .dessert-showcase {
        height: 250px;
    }
    
    .showcase-item {
        font-size: 2rem;
    }
    
    .menu-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .menu-item .item-info {
        flex-direction: column;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .cart-item-controls {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .nav-container {
        margin: 0 1rem;
        padding: 0 1rem;
    }
    
    .navbar-nav {
        gap: 0.3rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.85rem;
    }
    
    .cart-preview {
        padding: 1.5rem;
    }
    
    .cart-sidebar {
        width: 100vw;
        right: -100vw;
    }
    
    .dessert-card {
        padding: 1.5rem;
    }
    
    .cart-badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-social {
        text-align: center;
    }
    
    .footer .social-links {
        justify-content: center;
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease;
}

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

.slide-in {
    animation: slideIn 0.5s ease;
}

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

/* Text Colors */
.text-pink {
    color: var(--primary-pink) !important;
}

/* Special Instructions Styling */
.special-instructions {
    color: var(--text-gray);
    font-size: 0.9rem;
    background: rgba(250, 218, 221, 0.2);
    padding: 0.8rem;
    border-radius: 8px;
    margin-top: 0.8rem;
    border-left: 3px solid var(--accent-pink);
    font-style: italic;
}

/* Modal Styling */
.modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    overflow: hidden;
}

.modal-header {
    border-bottom: 1px solid rgba(250, 218, 221, 0.3);
    background: var(--soft-pink);
    padding: 1.5rem 2rem;
}

.modal-header .modal-title {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--dark-gray);
}

.modal-footer {
    border-top: 1px solid rgba(250, 218, 221, 0.3);
    background: var(--soft-pink);
    padding: 1.5rem 2rem;
}

.modal-body {
    padding: 2rem;
}

.item-preview {
    background: var(--light-pink);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
    border: 1px solid rgba(250, 218, 221, 0.3);
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--primary-white);
    box-shadow: -2px 0 20px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
    animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.cart-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(250, 218, 221, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h5 {
    font-family: 'Playfair Display', serif;
    margin: 0;
    color: var(--dark-gray);
}

.cart-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-gray);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition);
}

.cart-close:hover {
    background: var(--light-pink);
    color: var(--dark-gray);
}

.cart-body {
    flex: 1;
    padding: 1rem 2rem;
    overflow-y: auto;
}

.cart-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(250, 218, 221, 0.2);
}

.cart-item-row {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(250, 218, 221, 0.1);
    transition: var(--transition);
    animation: fadeInUp 0.3s ease;
}

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

.cart-item-row:hover {
    background: rgba(250, 218, 221, 0.05);
    margin: 0 -1rem;
    padding: 1rem;
    border-radius: 8px;
}

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

.cart-item-info {
    flex: 1;
    display: flex;
    align-items: center;
}

.cart-item-image {
    font-size: 24px;
    margin-right: 12px;
    min-width: 30px;
    text-align: center;
}

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

.cart-item-name {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: var(--dark-gray);
}

.cart-item-details {
    font-size: 0.8rem;
    color: var(--text-gray);
}

.cart-item-instructions {
    font-size: 0.75rem;
    color: var(--text-gray);
    font-style: italic;
    margin-top: 0.3rem;
    background: var(--soft-pink);
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-btn {
    width: 24px;
    height: 24px;
    border: 1px solid rgba(250, 218, 221, 0.4);
    background: var(--primary-white);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.7rem;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--accent-pink);
    border-color: var(--accent-pink);
}

.qty-display {
    min-width: 20px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
}

.remove-btn {
    background: none;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    padding: 0.3rem;
    margin-left: 0.5rem;
    transition: var(--transition);
}

.remove-btn:hover {
    color: #dc3545;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1040;
    backdrop-filter: blur(2px);
}

.cart-overlay.show {
    opacity: 1;
    visibility: visible;
}

.empty-cart-message {
    text-align: center;
    color: var(--text-gray);
    padding: 2rem 0;
}

.empty-cart-message i {
    font-size: 2rem;
    color: rgba(250, 218, 221, 0.5);
}

/* Quick Add Modal Refinements */
.modal-sm .modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: var(--shadow-hover);
}

.modal-sm .modal-header {
    background: var(--soft-pink);
    border-radius: 12px 12px 0 0;
}

.modal-sm .modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 600;
}

/* Contained Cookie Section - 3 per row, centered within menu area */
.cookies-section-contained {
    background: linear-gradient(135deg, rgba(244, 194, 194, 0.03) 0%, rgba(244, 194, 194, 0.08) 100%);
    padding: 4rem 2rem;
    margin: 0 auto;
    border-radius: 20px;
    text-align: center;
}

.cookie-grid-contained {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 100%;
    margin: 0 auto;
    justify-items: center;
    align-items: center;
    place-items: center;
    justify-content: center;
}

.cookie-column {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    border-radius: 20px;
    padding: 10px;
    margin: -10px;
}

.cookie-column.drag-over {
    background: rgba(244, 194, 194, 0.2);
    border: 2px dashed #F4C2C2;
    transform: scale(1.02);
}

.cookie-card-centered {
    background: linear-gradient(135deg, #FAF9F6 0%, rgba(244, 194, 194, 0.05) 100%);
    border: 4px solid rgba(244, 194, 194, 0.3);
    border-radius: 32px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: subtle-hover 4s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

/* Hover effects disabled for positioning mode */
.cookie-card-centered:hover {
    /* No transform to allow clicking */
}

.cookie-image-centered {
    width: 350px;
    height: 350px;
    margin: 0 auto 2.5rem;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(244, 194, 194, 0.1);
    border: 6px solid rgba(244, 194, 194, 0.4);
    /* Animation permanently disabled - user's final positions locked */
    position: relative;
}

.cookie-img-centered {
    width: 480px;
    height: 480px;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    z-index: 10;
}

/* Disabled hover transforms for draggable images */
/* Special positioning for Yin Yang cookie - now handled by JavaScript */

.cookie-info-centered {
    margin-bottom: 2.5rem;
    transition: all 0.3s ease;
}

.cookie-info-centered:hover {
    background: rgba(244, 194, 194, 0.1);
    border-radius: 15px;
    padding: 10px;
    margin: -10px;
}

.cookie-name-centered {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 0;
    text-align: center;
    line-height: 1.2;
}

.cookie-footer-centered {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2.5rem;
}

.cookie-price-centered {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--coral-cta);
}

.add-cookie-btn-centered {
    background: linear-gradient(135deg, var(--coral-cta) 0%, var(--dusty-rose) 100%);
    border: none;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(233, 156, 169, 0.5);
    font-size: 1.5rem;
}

.add-cookie-btn-centered:hover {
    transform: scale(1.2);
    box-shadow: 0 15px 35px rgba(233, 156, 169, 0.7);
    background: linear-gradient(135deg, var(--dusty-rose) 0%, var(--coral-cta) 100%);
}

/* Draggable Image Styles */
.cookie-image-centered {
    position: relative;
    overflow: hidden;
    user-select: none;
}

.draggable-image {
    cursor: grab;
    transition: all 0.3s ease;
    user-select: none;
    pointer-events: auto;
}

.draggable-image:active {
    cursor: grabbing;
}

.draggable-image.dragging {
    z-index: 10;
    transition: none;
}

/* Image Wrapper */
.image-wrapper {
    position: relative;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
}

/* Keyboard Hint */
.keyboard-hint {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(244, 194, 194, 0.9);
    color: white;
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 20;
    pointer-events: none;
    white-space: nowrap;
    backdrop-filter: blur(5px);
}

.cookie-image-centered.selected .keyboard-hint {
    opacity: 1;
}

.cookie-image-centered.selected .image-wrapper {
    border: 3px solid #F4C2C2;
    box-shadow: 0 0 20px rgba(244, 194, 194, 0.6);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .cookie-grid-contained {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .cookie-grid-contained {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cookie-image-centered {
        width: 300px;
        height: 300px;
    }
    
    .cookie-img-centered {
        width: 400px;
        height: 400px;
    }
}

@keyframes subtle-hover {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-3px);
    }
}

@keyframes cookie-glow {
    0%, 100% {
        border-color: rgba(244, 194, 194, 0.3);
        box-shadow: 0 0 0 rgba(244, 194, 194, 0.2);
    }
    50% {
        border-color: rgba(244, 194, 194, 0.6);
        box-shadow: 0 0 20px rgba(244, 194, 194, 0.4);
    }
}

/* Section Subtitles */
.section-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 1.5rem;
    text-align: center;
}

.cookies-section {
    background: linear-gradient(135deg, rgba(244, 194, 194, 0.03) 0%, rgba(244, 194, 194, 0.08) 100%);
    border-radius: 20px;
    padding: 4rem 3rem;
    margin-bottom: 3rem;
}

/* Cookie Fly-in Animations */
@keyframes fly-in-left {
    0% {
        transform: translateX(-100px) translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateX(0) translateY(0);
        opacity: 1;
    }
}

.cookie-card {
    animation: fly-in-left 0.8s ease-out forwards;
    opacity: 0;
}

.cookie-card:nth-child(1) { animation-delay: 0.1s; }
.cookie-card:nth-child(2) { animation-delay: 0.2s; }
.cookie-card:nth-child(3) { animation-delay: 0.3s; }
.cookie-card:nth-child(4) { animation-delay: 0.4s; }
.cookie-card:nth-child(5) { animation-delay: 0.5s; }
.cookie-card:nth-child(6) { animation-delay: 0.6s; }
.cookie-card:nth-child(7) { animation-delay: 0.7s; }
.cookie-card:nth-child(8) { animation-delay: 0.8s; }
.cookie-card:nth-child(9) { animation-delay: 0.9s; }
.cookie-card:nth-child(10) { animation-delay: 1.0s; }
.cookie-card:nth-child(11) { animation-delay: 1.1s; }
.cookie-card:nth-child(12) { animation-delay: 1.2s; }
.cookie-card:nth-child(13) { animation-delay: 1.3s; }
.cookie-card:nth-child(14) { animation-delay: 1.4s; }
.cookie-card:nth-child(15) { animation-delay: 1.5s; }

/* Featured Cookies on Home Page */
.featured-cookies {
    background: linear-gradient(135deg, rgba(244, 194, 194, 0.03) 0%, rgba(244, 194, 194, 0.08) 100%);
}

.featured-cookie-card {
    background: linear-gradient(135deg, #FAF9F6 0%, rgba(244, 194, 194, 0.05) 100%);
    border: 2px solid rgba(244, 194, 194, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fly-in-up 0.8s ease-out forwards;
    opacity: 0;
}

.featured-cookie-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 40px rgba(244, 194, 194, 0.3);
    border-color: rgba(244, 194, 194, 0.5);
}

.featured-cookie-image {
    width: 160px;
    height: 160px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(244, 194, 194, 0.1);
    border: 3px solid rgba(244, 194, 194, 0.3);
    animation: featured-cookie-glow 6s ease-in-out infinite;
}

.featured-cookie-img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.4s ease;
}

.featured-cookie-card:hover .featured-cookie-img {
    transform: rotate(8deg) scale(1.1);
}

.featured-cookie-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.5rem;
}

.featured-cookie-price {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--coral-cta);
}

@keyframes fly-in-up {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes featured-cookie-glow {
    0%, 100% {
        border-color: rgba(244, 194, 194, 0.3);
        box-shadow: 0 0 0 rgba(244, 194, 194, 0.2);
    }
    50% {
        border-color: rgba(244, 194, 194, 0.6);
        box-shadow: 0 0 25px rgba(244, 194, 194, 0.4);
    }
}

/* Cookie Animation Classes */
.animated-cookie {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
    pointer-events: auto; /* Ensure clicks work */
}

.animated-cookie.aos-animate {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto; /* Ensure clicks work after animation */
}

/* Staggered animation delays for cookies */
.cookie-grid-contained .cookie-column:nth-child(1) .animated-cookie { animation-delay: 0.1s; }
.cookie-grid-contained .cookie-column:nth-child(2) .animated-cookie { animation-delay: 0.2s; }
.cookie-grid-contained .cookie-column:nth-child(3) .animated-cookie { animation-delay: 0.3s; }
.cookie-grid-contained .cookie-column:nth-child(4) .animated-cookie { animation-delay: 0.4s; }
.cookie-grid-contained .cookie-column:nth-child(5) .animated-cookie { animation-delay: 0.5s; }
.cookie-grid-contained .cookie-column:nth-child(6) .animated-cookie { animation-delay: 0.6s; }
.cookie-grid-contained .cookie-column:nth-child(7) .animated-cookie { animation-delay: 0.7s; }
.cookie-grid-contained .cookie-column:nth-child(8) .animated-cookie { animation-delay: 0.8s; }
.cookie-grid-contained .cookie-column:nth-child(9) .animated-cookie { animation-delay: 0.9s; }
.cookie-grid-contained .cookie-column:nth-child(10) .animated-cookie { animation-delay: 1.0s; }

/* Utility Classes */
.sticky-top {
    position: -webkit-sticky;
    position: sticky;
    top: 2rem;
}

/* Auto-rotating gallery styles */
.auto-rotating-gallery {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    min-height: 350px;
}

.gallery-container {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.gallery-track {
    display: flex;
    width: calc(100% * 23); /* 23 images total */
    height: 100%;
    transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-image {
    width: calc(100% / var(--total-images, 23));
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 2rem;
    text-align: center;
    z-index: 5;
    pointer-events: none;
}

.gallery-text {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-family: 'Playfair Display', serif;
}

.gallery-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-dot.active {
    background: #F4C2C2;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .gallery-container {
        height: 250px;
    }
    
    .auto-rotating-gallery {
        min-height: 250px;
    }
    
    .gallery-text {
        font-size: 1.1rem;
        padding: 1.5rem;
    }
}
