:root {
    /* Color Palette derived from image */
    --color-blush: #f4dcd6;
    --color-champagne: #e1cbb1;
    --color-rose: #d68c98;
    --color-cream: #fbf6f0;
    --color-sage: #91a892;
    --color-text-dark: #3a3233;
    --color-text-light: #6a5d5a;
    --color-white: #ffffff;
    
    --color-primary: var(--color-rose);
    
    --bg-gradient: linear-gradient(135deg, var(--color-cream) 0%, var(--color-blush) 100%);
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    
    /* Effects */
    --shadow-soft: 0 8px 30px rgba(0,0,0,0.05);
    --transition: all 0.3s ease;
    --border-radius: 12px;
}

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

body {
    font-family: var(--font-body);
    background: var(--bg-gradient);
    color: var(--color-text-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Glassmorphism utility */
.glassmorphism {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-text-dark);
}

/* Buttons */
.btn, button {
    cursor: pointer;
    font-family: var(--font-body);
    transition: var(--transition);
    border: none;
    border-radius: 24px;
    padding: 10px 24px;
    font-size: 1rem;
}

.btn.primary, .cta-btn.primary {
    background-color: var(--color-rose);
    color: var(--color-white);
    font-weight: 700;
}

.btn.primary:hover, .cta-btn.primary:hover {
    background-color: #c07a86;
    box-shadow: 0 4px 15px rgba(214, 140, 152, 0.4);
}

.btn.secondary {
    background-color: var(--color-champagne);
    color: var(--color-text-dark);
}

.btn.secondary:hover {
    background-color: #d1b89d;
}

/* Header */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo h1 {
    font-size: 2rem;
    color: var(--color-rose);
    letter-spacing: 1px;
    margin: 0;
}
.logo span {
    font-style: italic;
    font-family: var(--font-heading);
    color: var(--color-champagne);
    font-size: 1.1rem;
}

.shop-content {
    max-width: 1200px;
    margin: 0 auto;
}

.elegance-highlight-section {
    background: linear-gradient(135deg, rgba(249, 241, 230, 0.8), rgba(255, 255, 255, 0.5));
    padding: 40px;
    border-radius: 30px;
    border: 1px solid rgba(214, 140, 152, 0.15);
    margin-bottom: 50px;
    box-shadow: inset 0 0 50px rgba(255, 255, 255, 0.5);
}

.elegance-highlight-section .shop-category {
    margin-top: 0 !important;
}

.shop-category h3 {
    font-family: var(--font-header);
    color: var(--color-rose);
    margin-bottom: 30px;
    font-size: 2rem;
    text-align: center;
}

.main-nav {
    display: flex;
    gap: 15px;
}

.nav-btn {
    background: transparent;
    color: var(--color-text-light);
    font-size: 1.1rem;
    padding: 8px 16px;
    border-radius: 20px;
}

.nav-btn:hover, .nav-btn.active {
    background: var(--color-champagne);
    color: var(--color-text-dark);
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2001;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-rose);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    backdrop-filter: blur(15px);
}

.mobile-menu-overlay.active {
    transform: translateY(0);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
}

.mobile-nav-btn {
    background: transparent;
    color: var(--color-text-dark);
    font-size: 2rem;
    font-family: var(--font-header);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-nav-btn.active {
    color: var(--color-rose);
}

.mobile-contact {
    margin-top: 50px;
    color: var(--color-text-light);
    font-style: italic;
}

/* Responsive Queries */
@media (max-width: 992px) {
    .hero h2 { font-size: 3rem; }
}

@media (max-width: 768px) {
    .main-header {
        padding: 15px 20px;
    }
    
    .logo h1 { font-size: 1.5rem; }
    .logo span { font-size: 0.9rem; }
    
    .main-nav, .contact-info {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }

    .hero {
        padding: 40px 20px;
        text-align: center;
        flex-direction: column;
        gap: 30px;
    }
    
    .hero h2 { font-size: 2.4rem; }
    .hero-btns {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .hero-btns .btn {
        width: 100%;
        max-width: 350px;
    }

    .shop-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }

    .elegance-highlight-section {
        padding: 30px 15px;
        border-radius: 20px;
    }

    .shop-card {
        padding: 20px;
    }

    .newsletter input {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .shop-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-guide {
        font-size: 0.8rem;
    }
    
    .hero h2 { font-size: 2.1rem; }
}

/* Main Content Surface */
#app-content {
    flex: 1;
    padding: 40px 5%;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.view {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.view.active {
    display: block;
    opacity: 1;
    animation: fadeIn 0.5s ease forwards;
}

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

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.hero-content {
    flex: 1;
}

.hero-content h2 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--color-rose);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-image-container {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.hero-img:hover {
    transform: scale(1.05);
}

/* Cards & Grids */
.collection-grid, .shop-grid, .options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.card {
    background: var(--color-white);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.card h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.price {
    font-weight: bold;
    color: var(--color-sage);
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: block;
}

/* Pricing Grid Styles */
.pricing-grid-container {
    background: rgba(214, 140, 152, 0.03);
    border-radius: 8px;
    padding: 15px;
    border: 1px solid rgba(214, 140, 152, 0.1);
}

.price-col strong {
    color: var(--color-rose);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.price-col div span:last-child {
    font-weight: 700;
    color: var(--color-text-dark);
}

/* Shop Tabs */
.shop-tabs {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    justify-content: center;
}

.tab-btn {
    background: rgba(255,255,255,0.5);
    border: 1px solid var(--color-champagne);
    padding: 10px 30px;
    font-size: 1.1rem;
}

.tab-btn.active {
    background: var(--color-champagne);
    color: var(--color-text-dark);
}

/* Selectable Cards (Builder) */
.selectable-card {
    cursor: pointer;
}

.selectable-card.selected {
    border-color: var(--color-rose);
    box-shadow: 0 0 0 2px var(--color-rose);
    background-color: var(--color-cream);
}

/* Builder steps */
.builder-progress {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    background: rgba(255,255,255,0.4);
    border-radius: 20px;
    padding: 15px;
}

.step {
    flex: 1;
    text-align: center;
    padding: 10px;
    color: var(--color-text-light);
    font-weight: 600;
}

.step.active {
    color: var(--color-rose);
    border-bottom: 3px solid var(--color-rose);
}

.builder-controls {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.size-selector, .date-selector {
    background: var(--color-white);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    box-shadow: var(--shadow-soft);
}

.date-selector label {
    display: block;
    margin-bottom: 15px;
    font-weight: bold;
    color: var(--color-text-dark);
}

.date-selector input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--color-champagne);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.date-selector input:focus {
    border-color: var(--color-rose);
    box-shadow: 0 0 0 3px rgba(214, 140, 152, 0.1);
}

/* Newsletter */
.newsletter {
    margin-bottom: 40px;
    padding: 40px;
    background: rgba(255,255,255,0.3);
    border-radius: 30px;
}
.newsletter h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: var(--color-text-dark);
}
.newsletter form {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.newsletter input {
    padding: 10px 20px;
    border-radius: 24px;
    border: 1px solid var(--color-champagne);
    font-size: 1rem;
    font-family: var(--font-body);
    width: 250px;
    outline: none;
    transition: var(--transition);
}
.newsletter input:focus {
    border-color: var(--color-rose);
    box-shadow: 0 0 0 2px rgba(214, 140, 152, 0.2);
}

/* Footer */
.main-footer {
    text-align: center;
    padding: 40px 20px 20px 20px;
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-top: auto;
}
/* Flatpickr Theme Override (Embedded for Reliability) */
.flatpickr-calendar {
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--color-champagne);
    border-radius: 15px;
    background: #fff;
}
.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange {
    background: var(--color-rose) !important;
    border-color: var(--color-rose) !important;
    color: #fff !important;
}
.flatpickr-day.today {
    border-color: var(--color-champagne) !important;
}
.flatpickr-day:hover {
    background: var(--color-blush) !important;
}
.flatpickr-months .flatpickr-month {
    color: var(--color-rose) !important;
    fill: var(--color-rose) !important;
}
.flatpickr-current-month .flatpickr-monthDropdown-months {
    font-family: var(--font-header) !important;
}
.flatpickr-weekday {
    color: var(--color-text-light) !important;
}
.flatpickr-day.disabled, .flatpickr-day.disabled:hover {
    color: #ccc !important;
    background: #f9f9f9 !important;
    cursor: not-allowed !important;
}
/* Loading Spinner Utility */
@keyframes spinner {
    to {transform: rotate(360deg);}
}
.btn.loading {
    color: transparent !important;
    position: relative;
    pointer-events: none;
}
.btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    animation: spinner .6s linear infinite;
}

/* Loading Spinner for Hero */
.loader-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(214, 140, 152, 0.2);
    border-top: 4px solid var(--color-rose);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute;
}

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

/* Watermark Overlay for Images */
.image-wrapper {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 8px; /* matching standard card image radius */
}
.image-wrapper::after {
    content: "Style Inspiration - Blooms May Vary";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    color: var(--color-text-dark);
    font-size: 0.7rem;
    text-align: center;
    padding: 4px 0;
    pointer-events: none;
    font-style: italic;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}
/* Floating Google Review Badge */
.floating-google-badge {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    animation: badge-float 4s ease-in-out infinite;
}

.floating-google-badge:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    background: #fff;
}

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

@media (max-width: 768px) {
    .floating-google-badge {
        bottom: 20px;
        right: 20px;
        padding: 10px 15px;
    }
}
