/* ============================================
   BLOOMBYLAV - Premium Forever Roses Website
   Minimal, Sophisticated, Premium Design
   ============================================ */

:root {
    /* Premium Palette - Luxurious & Romantic */
    --deep-plum: #4a1a3d;
    --hot-pink: #ff1493;
    --light-pink: #ffb6c1;

    /* Elegant Neutrals */
    --cream-bg: #fdfbf7;
    --sand-bg: #f5f0e6;
    --gold-accent: #d4af37;
    --charcoal-text: #2c2c2c;
    --slate-text: #4a4a4a;

    /* Theme Mapping */
    --primary: #2c2c2c;
    --accent: #d4af37;
    --text-primary: #2c2c2c;
    --text-secondary: #5a5a5a;
    --text-light: #8a8a8a;
    --bg-primary: #fdfbf7;
    --bg-secondary: #f5f0e6;
    --border: #e6e1d6;
    --border-light: #f0ebe0;

    /* Typography */
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Shadows - Soft & Deep */
    --shadow-sm: 0 4px 12px rgba(44, 44, 44, 0.05);
    --shadow-md: 0 8px 24px rgba(44, 44, 44, 0.08);
    --shadow-lg: 0 16px 48px rgba(44, 44, 44, 0.12);

    /* Transitions */
    --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-base: 0.3s ease-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.logo-subtitle {
    font-size: 0.65rem;
    color: var(--text-light);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 400;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 400;
    font-size: 0.95rem;
    position: relative;
    transition: color var(--transition-base);
    letter-spacing: -0.01em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-primary);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.cart-btn {
    position: relative;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
    transition: opacity var(--transition-base);
}

.cart-btn:hover {
    opacity: 0.6;
}

.cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--text-primary);
    color: white;
    font-size: 0.65rem;
    font-weight: 500;
    padding: 0.15rem 0.35rem;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    line-height: 1.2;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: #333;
    transition: all var(--transition-base);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-primary);
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.floating-rose {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    opacity: 0.03;
    animation: float 30s infinite ease-in-out;
    background: var(--text-primary);
}

.rose-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.rose-2 {
    top: 50%;
    right: 15%;
    animation-delay: 10s;
    width: 200px;
    height: 200px;
}

.rose-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 20s;
    width: 250px;
    height: 250px;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(30px, -30px) rotate(90deg);
    }

    50% {
        transform: translate(-20px, 20px) rotate(180deg);
    }

    75% {
        transform: translate(20px, 30px) rotate(270deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: var(--spacing-md);
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 300;
    line-height: 1.05;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.title-line {
    display: block;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    font-weight: 400;
    letter-spacing: -0.01em;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border: 1px solid;
    border-radius: 0;
    font-size: 0.875rem;
    font-weight: 400;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-base);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--text-primary);
    color: white;
    border: 1px solid var(--text-primary);
}

.btn-primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--text-primary);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 1px solid var(--text-light);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 6px;
    background: var(--text-light);
    border-radius: 1px;
    animation: scroll 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */

.products-section {
    padding: var(--spacing-xl) 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 300;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    opacity: 0.8;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: var(--spacing-lg);
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    /* Removed fixed height to prevent cutting off content */
    height: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(212, 175, 55, 0.3);
    /* Subtle gold border on hover */
}

.product-image {
    position: relative;
    height: 320px;
    /* Slightly taller image area */
    min-height: 320px;
    background: #fcfbf9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.dynamic-flower-preview {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: radial-gradient(circle, #fff 0%, #f7f3e8 100%);
}

.dynamic-flower-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    /* Moved to left for better balance */
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(4px);
}

.rose-preview,
.sunflower-preview,
.dahlia-preview,
.daisy-preview,
.plumeria-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--accent-light);
    position: relative;
    z-index: 1;
    opacity: 0.4;
}

.sunflower-preview {
    background: var(--bright-yellow);
    opacity: 0.3;
}

.dahlia-preview {
    background: var(--burgundy);
    opacity: 0.3;
}

.daisy-preview {
    background: var(--light-pink);
    opacity: 0.3;
}

.plumeria-preview {
    background: var(--peach);
    opacity: 0.3;
}

.product-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* Ensures content fills space */
}

.product-name {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.product-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
    font-weight: 400;
    opacity: 0.9;
    /* Ensure description doesn't get cut */
    display: block;
    min-height: 50px;
}

.product-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: #666;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

.product-meta .flower-count,
.product-meta .color-count {
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-meta i {
    color: var(--gold-accent);
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: var(--spacing-sm);
}

.price {
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.price-unit {
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 400;
}

.product-sizes {
    display: flex;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-sm);
    flex-wrap: wrap;
}

.size-option {
    flex: 1;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
    font-size: 0.85rem;
}

.size-price {
    display: block;
    font-weight: 400;
    color: var(--text-primary);
    margin-top: 0.25rem;
    font-size: 0.9rem;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin: 0;
}

.price {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.price-unit {
    color: #999;
    font-size: 0.85rem;
}

.btn-product {
    padding: 10px 24px;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-product:hover {
    background: var(--text-primary);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* ============================================
   PRODUCT DETAIL MODAL
   ============================================ */

.product-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.product-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%) scale(0.95);
    background: white;
    border-radius: 20px;
    max-width: 1100px;
    /* Wider modal */
    width: 95%;
    max-height: 92vh;
    /* Taller to show more */
    overflow-y: auto;
    /* Allow scrolling if needed */
    z-index: 1001;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
}

.product-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.product-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-primary);
    z-index: 10;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-modal-close:hover {
    background: white;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-modal-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    /* Handle overflow for small screens */
}

.product-modal-image {
    background: #fcfbf9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    position: relative;
    /* Removed min-height to fit modal */
}

.product-modal-image img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.08));
    animation: fadeInScale 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.product-modal-image .emoji-placeholder {
    font-size: 8rem;
}

.product-modal-details {
    padding: 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    background: white;
    overflow-y: visible;
}

.product-modal-badge {
    display: inline-block;
    color: var(--gold-accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.product-modal-name {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.product-modal-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.product-modal-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.product-modal-meta .meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.meta-item i {
    font-size: 1.2rem;
    color: var(--gold-accent);
}

.meta-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.product-modal-price {
    margin-bottom: 1rem;
}

.modal-price {
    font-size: 2.5rem;
    font-family: var(--font-primary);
    color: var(--text-primary);
}

.product-modal-quantity {
    margin-bottom: 1rem;
}

.product-modal-quantity label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
}

.qty-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    padding: 5px;
    background: #fcfcfc;
}

.qty-selector button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: white;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--text-primary);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-selector button:hover {
    background: var(--text-primary);
    color: white;
}

.qty-selector span {
    margin: 0 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    min-width: 20px;
    text-align: center;
}

.product-modal-cart {
    width: 100%;
    padding: 1.2rem;
    font-size: 1rem;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    border: none;
    color: white;
    border-radius: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    margin-top: auto;
    /* Push to bottom */
}

.product-modal-cart:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
}

.product-modal-footer {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #999;
}

.product-modal-footer span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-modal-footer i {
    color: var(--accent);
}

@media (max-width: 768px) {
    .product-modal-content {
        grid-template-columns: 1fr;
    }

    .product-modal-image {
        min-height: 250px;
        padding: 1rem;
    }

    .product-modal-details {
        padding: 1.5rem;
    }

    .product-modal-name {
        font-size: 1.5rem;
    }

    .modal-price {
        font-size: 2rem;
    }
}

/* ============================================
   CUSTOMIZE SECTION
   ============================================ */

.customize-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
}

.customizer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.customizer-preview {
    background: linear-gradient(145deg, #fffbf7 0%, #fff9f0 50%, #fdf5e6 100%);
    border-radius: 12px;
    padding: var(--spacing-md);
    border: 2px solid transparent;
    background-clip: padding-box;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow:
        inset 0 0 40px rgba(212, 175, 55, 0.05),
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(212, 175, 55, 0.1);
    position: relative;
}

/* Gold border effect */
.customizer-preview::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, #d4af37 0%, #f5e1a4 50%, #d4af37 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Floral Corner Decorations */
.customizer-preview .corner-decor {
    position: absolute;
    font-size: 1.8rem;
    color: rgba(212, 175, 55, 0.35);
    z-index: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.preview-flower-container {
    transition: all 0.5s ease-out;
}

.preview-flower-image {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

.bouquet-preview {
    width: 100%;
    height: 100%;
    min-height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Branding Watermark */
.canvas-watermark {
    position: absolute;
    bottom: 12px;
    right: 15px;
    font-family: 'Playfair Display', serif;
    font-size: 0.7rem;
    color: rgba(90, 60, 40, 0.45);
    letter-spacing: 0.5px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 3px;
}

.canvas-watermark .heart {
    color: #c41e3a;
    font-size: 0.8rem;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.preview-placeholder {
    text-align: center;
    color: #ccc;
}

.preview-placeholder i {
    font-size: 4rem;
    margin-bottom: var(--spacing-sm);
    opacity: 0.3;
}

.customizer-controls {
    background: white;
    border-radius: 0;
    padding: var(--spacing-md);
    border: 1px solid var(--border-light);
}

.control-group {
    margin-bottom: var(--spacing-md);
}

.control-group label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: #333;
    font-size: 0.95rem;
}

.custom-select {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid var(--border);
    border-radius: 0;
    font-size: 0.95rem;
    background: white;
    cursor: pointer;
    transition: all var(--transition-base);
    font-family: var(--font-secondary);
    color: var(--text-primary);
}

.custom-select:focus {
    outline: none;
    border-color: var(--text-primary);
}

.size-buttons {
    display: flex;
    gap: var(--spacing-xs);
}

.size-btn {
    flex: 1;
    padding: 0.9rem;
    border: 1px solid var(--border);
    border-radius: 0;
    background: white;
    cursor: pointer;
    transition: all var(--transition-base);
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.size-btn:hover,
.size-btn.active {
    border-color: var(--text-primary);
    background: var(--text-primary);
    color: white;
}

.color-palette {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-xs);
}

.color-swatch {
    aspect-ratio: 1;
    border-radius: 0;
    cursor: pointer;
    transition: all var(--transition-base);
    border: 2px solid var(--border-light);
    position: relative;
}

.color-swatch:hover {
    border-color: var(--border);
    transform: scale(1.05);
}

.color-swatch.selected {
    border-color: var(--text-primary);
    border-width: 2px;
}

.color-swatch.selected::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    max-width: 200px;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 0;
    background: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--transition-base);
    color: var(--text-primary);
    font-weight: 300;
}

.qty-btn:hover {
    border-color: var(--text-primary);
    background: var(--text-primary);
    color: white;
}

/* Mix Controls */
.mix-color-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.5rem;
    margin-top: 1rem;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 5px;
}

.mix-control-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-secondary);
    padding: 0.5rem;
    border: 1px solid var(--border);
}

.mix-color-preview {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.mix-qty-btn {
    width: 24px;
    height: 24px;
    border: 1px solid var(--border);
    background: white;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
}

.mix-qty-btn:hover {
    background: var(--text-primary);
    color: white;
}

.mix-qty-input {
    width: 30px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 600;
    font-family: var(--font-secondary);
}

.mix-validation-msg {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent);
}

.mix-validation-msg.success {
    color: green;
}

.helper-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

/* Composition Controls (Multi-Flower Mixing) */
.composition-row {
    display: grid;
    grid-template-columns: 2fr 2fr 1.5fr 0.5fr;
    gap: 8px;
    align-items: center;
    margin-bottom: 10px;
    background: #fff;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #eee;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
}

.composition-row:hover {
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.1);
}

.composition-row select {
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.85rem;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.2s ease;
}

.composition-row select:hover {
    border-color: #d4af37;
}

.composition-row select:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

/* Add Flower Button */
.btn-add-flower {
    width: 100%;
    padding: 12px 16px;
    margin-top: 10px;
    border: 2px dashed rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, rgba(255, 251, 247, 0.8) 0%, rgba(253, 245, 230, 0.8) 100%);
    border-radius: 8px;
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #8b7355;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-add-flower:hover {
    border-color: #d4af37;
    background: linear-gradient(135deg, #fffbf7 0%, #fff9f0 100%);
    color: #6b5344;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.btn-add-flower::before {
    content: '🌸';
    font-size: 1rem;
}

/* Policy Text */
.policy-text {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
}

.policy-text i {
    color: var(--accent);
}


/* Float animation for flowers */
@keyframes float {

    0%,
    100% {
        transform: translate(-50%, -50%) translateY(0px) rotate(0deg);
    }

    25% {
        transform: translate(-50%, -50%) translateY(-8px) rotate(2deg);
    }

    50% {
        transform: translate(-50%, -50%) translateY(0px) rotate(-2deg);
    }

    75% {
        transform: translate(-50%, -50%) translateY(-8px) rotate(2deg);
    }
}

.preview-flower-container svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
}

.preview-flower-container:hover svg {
    transform: scale(1.1);
}

#quantity {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid var(--border);
    border-radius: 0;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-primary);
}

.btn-full {
    width: 100%;
    margin-top: var(--spacing-sm);
}

/* ============================================
   COMBINATIONS SECTION
   ============================================ */

.combinations-section {
    padding: var(--spacing-xl) 0;
    background: white;
}

.combinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.combination-card {
    background: white;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

.combination-card:hover {
    transform: translateY(-4px);
    border-color: var(--border);
    box-shadow: var(--shadow-md);
}

.combo-image {
    height: 300px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.combo-preview {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.combo-preview::before,
.combo-preview::after {
    content: '';
    width: 60px;
    height: 60px;
    border-radius: 50%;
    position: absolute;
}

.romantic-preview::before {
    background: var(--hot-pink);
    left: 30%;
}

.romantic-preview::after {
    background: var(--white);
    right: 30%;
    border: 2px solid #ddd;
}

.sunshine-preview::before {
    background: var(--bright-yellow);
    left: 30%;
    width: 80px;
    height: 80px;
}

.sunshine-preview::after {
    background: var(--bright-yellow);
    right: 30%;
}

.combo-info {
    padding: var(--spacing-md);
}

.combo-info h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.combo-info p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
}

.combo-price {
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;
}

.btn-combo {
    width: 100%;
    padding: 0.8rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-primary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-text p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
    font-weight: 400;
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm);
    background: var(--bg-secondary);
    border-radius: 0;
    border: 1px solid var(--border-light);
}

.feature i {
    font-size: 1.3rem;
    color: var(--text-primary);
    opacity: 0.6;
}

.about-visual {
    width: 100%;
    height: 400px;
    background: var(--bg-secondary);
    border-radius: 0;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.about-visual::before {
    content: '🌹';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    opacity: 0.3;
}

/* ============================================
   CART SIDEBAR - PREMIUM
   ============================================ */

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 450px;
    max-width: 90%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
}

.cart-sidebar.open {
    transform: translateX(0);
}

.cart-header {
    padding: 2rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.cart-header h3 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 400;
    margin: 0;
    color: var(--text-primary);
}

.cart-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.cart-close:hover {
    background: rgba(0, 0, 0, 0.05);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 2rem 2.5rem;
}

.cart-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.cart-empty i {
    font-size: 3rem;
    opacity: 0.3;
}

/* Cart Item as Mini Card */
.cart-item {
    display: flex;
    background: white;
    padding: 15px;
    border-radius: 16px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s;
    align-items: center;
    gap: 15px;
}

.cart-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f8f8;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    margin-bottom: 4px;
    font-weight: 500;
    color: var(--text-primary);
}

.cart-item-price {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-qty {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 8px;
    padding: 2px 5px;
    gap: 8px;
}

.cart-qty button {
    background: none;
    border: none;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 1rem;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-qty button:hover {
    color: black;
}

.cart-qty span {
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 15px;
    text-align: center;
}

.cart-remove {
    background: none;
    border: none;
    color: #ff4757;
    cursor: pointer;
    font-size: 0.9rem;
    opacity: 0.6;
    transition: opacity 0.2s;
    padding: 5px;
    display: flex;
    /* Ensure visible */
}

.cart-remove:hover {
    opacity: 1;
}

.cart-footer {
    padding: 2rem 2.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: white;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 2rem;
}

.cart-total span:first-child {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.total-amount {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
}

#checkoutBtn {
    width: 100%;
    padding: 1.2rem;
    font-size: 1rem;
    background: var(--text-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

#checkoutBtn:hover:not(:disabled) {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

#checkoutBtn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* ============================================
   CHECKOUT MODAL
   ============================================ */

.checkout-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -48%) scale(0.98);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    background: white;
    border-radius: 20px;
    /* Softer corners */
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

.checkout-modal.open {
    opacity: 1;
    pointer-events: all;
    transform: translate(-50%, -50%) scale(1);
}

.checkout-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    /* Blur effect */
    z-index: 2999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.checkout-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.checkout-header {
    padding: 2rem 2.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}

.checkout-header h2 {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 400;
    color: var(--text-primary);
}

.checkout-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: opacity 0.2s;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-close:hover {
    background: #f5f5f5;
}

.checkout-body {
    padding: 2.5rem;
}

.checkout-section {
    margin-bottom: 3rem;
}

.checkout-section h3 {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    /* Softer inputs */
    font-size: 1rem;
    font-family: var(--font-secondary);
    transition: all 0.2s;
    color: var(--text-primary);
    background: #fcfcfc;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--text-primary);
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.order-summary {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.order-summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

.order-summary-item:last-child {
    border-bottom: none;
}

.order-totals {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #eee;
}

.total-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 1.05rem;
    color: #666;
}

.total-final {
    border-top: 1px solid #eee;
    margin-top: 10px;
    padding-top: 15px;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 1.2rem;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.payment-option:hover {
    border-color: var(--text-primary);
    background: #f9f9f9;
}

.payment-option input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: var(--text-primary);
}

.checkout-footer {
    padding: 2rem 2.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    position: sticky;
    bottom: 0;
    background: white;
    z-index: 10;
}

/* ============================================
   SUCCESS MODAL
   ============================================ */

.success-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: white;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
    z-index: 4000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
    padding: 3rem;
    text-align: center;
    max-width: 500px;
    width: 90%;
}

.success-modal.open {
    opacity: 1;
    pointer-events: all;
    transform: translate(-50%, -50%) scale(1);
}

.success-icon {
    font-size: 4rem;
    color: #27ae60;
    margin-bottom: 2rem;
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-modal h2 {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--text-primary);
}

.success-modal p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    line-height: 1.5;
}

.order-id {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    background: #f5f5f5;
    padding: 5px 15px;
    border-radius: 50px;
    display: inline-block;
    margin-top: 1rem;
}

/* ============================================
   LOADING OVERLAY
   ============================================ */

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    z-index: 5000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.loading-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top-color: var(--gold-accent);
    border-radius: 50%;
    animation: spin 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-overlay p {
    margin-top: 1.5rem;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        height: calc(100vh - 70px);
        /* Full height minus header */
        padding: var(--spacing-md);
        box-shadow: var(--shadow-lg);
        transition: left var(--transition-base);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        width: 100%;
        text-align: center;
        padding: 1rem;
        font-size: 1.2rem;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .customizer-container {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .checkout-modal {
        width: 95%;
        max-height: 95vh;
        border-radius: 12px;
    }

    .checkout-body {
        padding: 1.5rem;
    }

    .products-grid,
    .combinations-grid {
        grid-template-columns: 1fr;
    }

    /* Better touch targets for color palette */
    .color-palette {
        grid-template-columns: repeat(5, 1fr);
        gap: 10px;
    }

    .color-swatch {
        width: 100%;
        height: auto;
    }

    /* Fix form inputs for iOS zoom */
    input,
    select,
    textarea,
    button {
        font-size: 16px !important;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .checkout-footer {
        flex-direction: column;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: var(--spacing-sm);
}

.mt-2 {
    margin-top: var(--spacing-md);
}

.mt-3 {
    margin-top: var(--spacing-lg);
}

.mb-1 {
    margin-bottom: var(--spacing-sm);
}

.mb-2 {
    margin-bottom: var(--spacing-md);
}

.mb-3 {
    margin-bottom: var(--spacing-lg);
}

/* ============================================
   OUR SUGGESTIONS SECTION
   ============================================ */

.suggestions-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #fdf5e6 0%, #fff5f5 100%);
}

.suggestions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: var(--spacing-md);
}

.suggestion-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid transparent;
}

.suggestion-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
}

.suggestion-image {
    height: 220px;
    background: linear-gradient(135deg, #fcfbf9 0%, #f7f3e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.suggestion-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.suggestion-card:hover .suggestion-image img {
    transform: scale(1.08);
}

.suggestion-info {
    padding: 20px;
    text-align: center;
}

.suggestion-info h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.suggestion-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.suggestion-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold-accent);
    margin-bottom: 15px;
}

.btn-suggestion {
    width: 100%;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--text-primary) 0%, #3a3a3a 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-suggestion:hover {
    background: linear-gradient(135deg, #d4af37 0%, #b8972e 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

@media (max-width: 768px) {
    .suggestions-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }

    .suggestion-image {
        height: 160px;
    }

    .suggestion-info h3 {
        font-size: 1.1rem;
    }

    .suggestion-price {
        font-size: 1.2rem;
    }
}

/* ============================================
   CART PAGE STYLES
   ============================================ */

.cart-body {
    background: linear-gradient(145deg, #fdfcfb 0%, #f8f4ed 50%, #f5efe6 100%);
    min-height: 100vh;
    margin: 0;
    padding-top: 80px;
}

.cart-page {
    max-width: 1300px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
}

.cart-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 500;
    color: #2d2d2d;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0;
}

.cart-header h1 i {
    color: #d4af37;
    font-size: 2.2rem;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #555;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.8rem 1.5rem;
    background: white;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.back-link:hover {
    color: #d4af37;
    transform: translateX(-5px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
}

.cart-container {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 3rem;
    align-items: start;
}

/* Cart Items */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cart-item {
    background: white;
    border-radius: 20px;
    padding: 1.8rem;
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 1.5rem;
    align-items: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cart-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.2);
}

.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fef9f3 0%, #fdf5e6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.03);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-image .emoji-placeholder {
    font-size: 3rem;
}

.cart-item-details {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.cart-item-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d2d2d;
}

.cart-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: #777;
}

.cart-item-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.cart-item-meta i {
    color: #d4af37;
    font-size: 0.85rem;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.cart-item-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2d2d2d;
    font-family: 'Playfair Display', serif;
}

.cart-quantity-control {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: #f8f8f8;
    border-radius: 10px;
    padding: 0.3rem;
}

.cart-quantity-control .qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    color: #555;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.cart-quantity-control .qty-btn:hover {
    background: #d4af37;
    color: white;
    transform: scale(1.05);
}

.cart-quantity-control .qty-value {
    min-width: 35px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: #2d2d2d;
}

.remove-btn {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.6rem;
    transition: all 0.2s ease;
    border-radius: 8px;
}

.remove-btn:hover {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.08);
}

/* Order Summary - Glassmorphism */
.order-summary {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.15);
    position: sticky;
    top: 100px;
    height: fit-content;
}

.order-summary h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 500;
    color: #2d2d2d;
    margin: 0 0 2rem 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.order-summary h2::before {
    content: '🛒';
    font-size: 1.3rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.9rem 0;
    font-size: 1rem;
    color: #666;
}

.summary-row.total {
    border-top: 2px solid #eee;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d2d2d;
}

.summary-row.total .value {
    color: #d4af37;
    font-size: 1.7rem;
    font-family: 'Playfair Display', serif;
}

.promo-code {
    margin: 2rem 0;
}

.promo-input {
    display: flex;
    gap: 0.6rem;
}

.promo-input input {
    flex: 1;
    padding: 1rem 1.2rem;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.promo-input input:focus {
    outline: none;
    border-color: #d4af37;
}

.promo-input button {
    padding: 1rem 1.5rem;
    background: #f5f5f5;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    color: #555;
}

.promo-input button:hover {
    background: #eee;
    color: #2d2d2d;
}

.checkout-btn {
    width: 100%;
    padding: 1.4rem;
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    letter-spacing: 0.03em;
}

.checkout-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
}

.secure-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.2rem;
    color: #999;
    font-size: 0.85rem;
}

.secure-badge i {
    color: #27ae60;
}

.empty-cart {
    text-align: center;
    padding: 5rem 2rem;
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.empty-cart i {
    font-size: 5rem;
    color: #e0e0e0;
    margin-bottom: 2rem;
}

.empty-cart h2 {
    font-family: 'Playfair Display', serif;
    color: #2d2d2d;
    margin-bottom: 0.8rem;
    font-size: 1.8rem;
}

.empty-cart p {
    color: #888;
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

.empty-cart .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1.1rem 2.5rem;
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.empty-cart .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* ============================================
   CHECKOUT PAGE STYLES
   ============================================ */

.checkout-body {
    background: linear-gradient(135deg, #fdfcfb 0%, #f5f0e8 100%);
    min-height: 100vh;
}

.checkout-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
}

.checkout-header {
    text-align: center;
    margin-bottom: 2rem;
}

.checkout-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #5a3c34;
}

.checkout-steps {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #999;
}

.step.active {
    color: #d4af37;
    font-weight: 600;
}

.step.completed {
    color: #27ae60;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.step.active .step-number {
    background: #d4af37;
    color: white;
}

.step.completed .step-number {
    background: #27ae60;
    color: white;
}

.checkout-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
}

.checkout-form {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.form-section {
    margin-bottom: 2rem;
}

.form-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: #5a3c34;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #5a3c34;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Payment Section */
.payment-section {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #fff9f0 0%, #fff5f5 100%);
    border-radius: 12px;
    border: 2px dashed #d4af37;
}

.payment-section h3 {
    margin-bottom: 1rem;
    color: #5a3c34;
}

.qr-container {
    margin: 1.5rem 0;
}

.qr-container img {
    max-width: 250px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.payment-instructions {
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    text-align: left;
}

.payment-instructions ol {
    margin: 0;
    padding-left: 1.5rem;
}

.payment-instructions li {
    margin: 0.5rem 0;
    color: #666;
}

.transaction-input {
    margin-top: 1.5rem;
    text-align: left;
}

.transaction-input label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #5a3c34;
}

.transaction-input input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #d4af37;
    border-radius: 8px;
    font-size: 1.1rem;
    text-align: center;
    letter-spacing: 1px;
}

.prepaid-notice {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.prepaid-notice i {
    font-size: 1.5rem;
}

/* Checkout Order Summary Sidebar */
.checkout-order-summary {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.checkout-order-summary h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.order-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.order-item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: linear-gradient(135deg, #fff5f5 0%, #fdf5e6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    overflow: hidden;
}

.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-item-details {
    flex: 1;
}

.order-item-name {
    font-weight: 600;
    color: #5a3c34;
}

.order-item-meta {
    font-size: 0.85rem;
    color: #888;
}

.order-item-price {
    font-weight: 600;
    color: #d4af37;
}

.place-order-btn {
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(135deg, #d4af37 0%, #b8972e 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
}

.place-order-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.place-order-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.policy-notice {
    margin-top: 1rem;
    padding: 0.75rem;
    background: #f8f8f8;
    border-radius: 8px;
    font-size: 0.8rem;
    color: #666;
    text-align: center;
}

/* Success Modal */
.success-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.success-modal.active {
    display: flex;
}

.success-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
}

.success-icon {
    font-size: 5rem;
    color: #27ae60;
    margin-bottom: 1rem;
}

.success-content h2 {
    font-family: 'Playfair Display', serif;
    color: #5a3c34;
    margin-bottom: 1rem;
}

.success-content p {
    color: #666;
    margin-bottom: 1rem;
}

.order-id-display {
    background: #f8f8f8;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #d4af37;
    margin: 1rem 0;
}

.pending-notice {
    background: #fff3cd;
    padding: 1rem;
    border-radius: 8px;
    color: #856404;
    margin: 1rem 0;
}

/* ============================================
   MOBILE OPTIMIZATION
   ============================================ */

@media (max-width: 1024px) {
    .cart-container {
        grid-template-columns: 1fr;
    }

    .order-summary {
        position: relative;
        top: 0;
    }

    .checkout-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .cart-page {
        padding: 1.5rem 1rem;
    }

    .cart-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        align-items: center;
        margin-bottom: 2rem;
    }

    .cart-header h1 {
        font-size: 2rem;
        justify-content: center;
    }

    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 1rem;
        padding: 1.2rem;
        position: relative;
    }

    .cart-item-image {
        width: 80px;
        height: 80px;
    }

    .cart-item-details {
        min-width: 0;
        /* Prevent overflow */
    }

    .cart-item-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        background: #fafafa;
        margin: -1.2rem;
        margin-top: 1rem;
        padding: 1rem 1.2rem;
        border-top: 1px solid #f0f0f0;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }

    .cart-quantity-control {
        background: white;
        border: 1px solid #eee;
    }

    .cart-quantity-control .qty-btn {
        width: 32px;
        height: 32px;
    }

    .cart-item-price {
        font-size: 1.4rem;
    }

    /* Checkout Mobile */
    .checkout-page {
        padding: 1rem;
    }

    .checkout-header h1 {
        font-size: 2rem;
    }

    .checkout-steps {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 10px;
    }

    .checkout-form {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .qr-container img {
        width: 100%;
        max-width: 220px;
    }

    .payment-section {
        padding: 1.5rem 1rem;
    }

    .transaction-input input {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .cart-header h1 {
        font-size: 1.75rem;
    }

    .cart-item-name {
        font-size: 1.1rem;
    }

    .cart-item-meta {
        gap: 0.5rem;
        font-size: 0.8rem;
    }

    .order-summary {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .checkout-form {
        padding: 1.2rem;
        border-radius: 16px;
    }

    .checkout-header h1 {
        font-size: 1.8rem;
    }
}