/* Global viewport fix for proper scaling across entire site */
html, body {
    width: 100% !important;
    height: auto !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    zoom: 1 !important;
}

/* Custom Quicking Font for Side Menu */
@font-face {
    font-family: 'Quicking';
    src: url('/static/fonts/Quicking-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Navigation Menu Link Hover Effect */
.nav-menu-link {
    position: relative;
}

.nav-menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

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

/* Additional custom styles for public site */
.prose-invert {
    color: #e5e7eb;
}

.prose-invert h1, .prose-invert h2, .prose-invert h3 {
    color: #ffffff;
}

/* Hero sections extend under nav - no body padding */
body {
    padding-top: 0;
}

/* Content that needs nav offset (non-hero pages) */
.page-content-offset {
    padding-top: 7rem;
}

@media (min-width: 768px) {
    .page-content-offset {
        padding-top: 8rem;
    }
}

/* ===== HIGH-END LUXURY VISUAL EFFECTS ===== */

/* Hero Logo - Elegant with subtle pulsing glow */
.hero-title-container {
    width: 100%;
    max-width: 500px;
    margin-bottom: 16px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-title-image {
    width: 100%;
    max-width: 280px;
    height: auto;
    display: block;
    animation: gentle-glow 4s ease-in-out infinite;
}

/* Gentle pulsing glow animation */
@keyframes gentle-glow {
    0%, 100% {
        filter: drop-shadow(0 0 15px rgba(0, 56, 36, 0.3)) 
                drop-shadow(0 0 30px rgba(0, 56, 36, 0.2))
                drop-shadow(0 0 45px rgba(212, 175, 55, 0.15));
    }
    50% {
        filter: drop-shadow(0 0 25px rgba(0, 56, 36, 0.5)) 
                drop-shadow(0 0 45px rgba(0, 56, 36, 0.35))
                drop-shadow(0 0 60px rgba(212, 175, 55, 0.25));
    }
}

/* Responsive scaling for hero logo */
@media (min-width: 640px) {
    .hero-title-image {
        max-width: 320px;
    }
}

@media (min-width: 768px) {
    .hero-title-image {
        max-width: 360px;
    }
}

@media (min-width: 1024px) {
    .hero-title-image {
        max-width: 400px;
    }
}

@media (min-width: 1280px) {
    .hero-title-image {
        max-width: 420px;
    }
}

/* Glitter Crystal Material - Dense Texture Fill */
.hero-title-pink-sparkle {
    position: relative;
    display: inline-block;
    /* Solid pink base - no gradient */
    color: #FF24C8;
    -webkit-text-stroke: 2px #C01090;
    paint-order: stroke fill;
    /* 3D extrusion - solid layers, no glow */
    text-shadow: 
        1px 1px 0 #D81AB0,
        2px 2px 0 #C01090,
        3px 3px 0 #A80C78,
        4px 4px 0 #900860,
        5px 5px 0 #780450,
        6px 6px 0 #600040,
        7px 7px 0 #480030,
        8px 8px 2px rgba(0,0,0,0.5);
}

/* Glitter texture layer - HIGH DETAIL visible particles */
.hero-title-pink-sparkle::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    color: transparent;
    -webkit-text-stroke: 0;
    /* Dense glitter particle fill - LARGE VISIBLE SPARKLES */
    background-color: #FF24C8;
    background-image:
        /* Bright white sparkles - LARGE (5-6px) */
        radial-gradient(circle 6px at 3% 12%, #fff 45%, transparent 50%),
        radial-gradient(circle 5px at 11% 38%, #fff 45%, transparent 50%),
        radial-gradient(circle 6px at 8% 65%, #fff 45%, transparent 50%),
        radial-gradient(circle 5px at 5% 88%, #fff 45%, transparent 50%),
        radial-gradient(circle 6px at 18% 22%, #fff 45%, transparent 50%),
        radial-gradient(circle 5px at 15% 52%, #fff 45%, transparent 50%),
        radial-gradient(circle 6px at 21% 78%, #fff 45%, transparent 50%),
        radial-gradient(circle 5px at 28% 8%, #fff 45%, transparent 50%),
        radial-gradient(circle 6px at 25% 35%, #fff 45%, transparent 50%),
        radial-gradient(circle 5px at 32% 62%, #fff 45%, transparent 50%),
        radial-gradient(circle 6px at 29% 85%, #fff 45%, transparent 50%),
        radial-gradient(circle 5px at 38% 18%, #fff 45%, transparent 50%),
        radial-gradient(circle 6px at 35% 45%, #fff 45%, transparent 50%),
        radial-gradient(circle 5px at 42% 72%, #fff 45%, transparent 50%),
        radial-gradient(circle 6px at 39% 95%, #fff 45%, transparent 50%),
        radial-gradient(circle 5px at 48% 28%, #fff 45%, transparent 50%),
        radial-gradient(circle 6px at 45% 55%, #fff 45%, transparent 50%),
        radial-gradient(circle 5px at 52% 82%, #fff 45%, transparent 50%),
        radial-gradient(circle 6px at 55% 12%, #fff 45%, transparent 50%),
        radial-gradient(circle 5px at 58% 38%, #fff 45%, transparent 50%),
        radial-gradient(circle 6px at 62% 65%, #fff 45%, transparent 50%),
        radial-gradient(circle 5px at 65% 88%, #fff 45%, transparent 50%),
        radial-gradient(circle 6px at 68% 22%, #fff 45%, transparent 50%),
        radial-gradient(circle 5px at 72% 48%, #fff 45%, transparent 50%),
        radial-gradient(circle 6px at 75% 75%, #fff 45%, transparent 50%),
        radial-gradient(circle 5px at 78% 5%, #fff 45%, transparent 50%),
        radial-gradient(circle 6px at 82% 32%, #fff 45%, transparent 50%),
        radial-gradient(circle 5px at 85% 58%, #fff 45%, transparent 50%),
        radial-gradient(circle 6px at 88% 85%, #fff 45%, transparent 50%),
        radial-gradient(circle 5px at 92% 15%, #fff 45%, transparent 50%),
        radial-gradient(circle 6px at 95% 42%, #fff 45%, transparent 50%),
        radial-gradient(circle 5px at 98% 68%, #fff 45%, transparent 50%),
        /* Light pink crystal highlights (4-5px) */
        radial-gradient(circle 5px at 7% 28%, #FFD0F0 50%, transparent 55%),
        radial-gradient(circle 4px at 17% 58%, #FFD0F0 50%, transparent 55%),
        radial-gradient(circle 5px at 27% 18%, #FFD0F0 50%, transparent 55%),
        radial-gradient(circle 4px at 37% 48%, #FFD0F0 50%, transparent 55%),
        radial-gradient(circle 5px at 47% 78%, #FFD0F0 50%, transparent 55%),
        radial-gradient(circle 4px at 57% 25%, #FFD0F0 50%, transparent 55%),
        radial-gradient(circle 5px at 67% 55%, #FFD0F0 50%, transparent 55%),
        radial-gradient(circle 4px at 77% 85%, #FFD0F0 50%, transparent 55%),
        radial-gradient(circle 5px at 87% 35%, #FFD0F0 50%, transparent 55%),
        radial-gradient(circle 4px at 97% 65%, #FFD0F0 50%, transparent 55%),
        /* Deep pink shadow facets (4px) */
        radial-gradient(circle 4px at 12% 45%, #D01090 50%, transparent 55%),
        radial-gradient(circle 4px at 32% 75%, #D01090 50%, transparent 55%),
        radial-gradient(circle 4px at 52% 35%, #D01090 50%, transparent 55%),
        radial-gradient(circle 4px at 72% 65%, #D01090 50%, transparent 55%),
        radial-gradient(circle 4px at 92% 25%, #D01090 50%, transparent 55%),
        /* Medium white fills (3-4px) */
        radial-gradient(circle 4px at 2% 48%, #fff 45%, transparent 50%),
        radial-gradient(circle 3px at 9% 78%, #fff 45%, transparent 50%),
        radial-gradient(circle 4px at 14% 15%, #fff 45%, transparent 50%),
        radial-gradient(circle 3px at 23% 45%, #fff 45%, transparent 50%),
        radial-gradient(circle 4px at 33% 92%, #fff 45%, transparent 50%),
        radial-gradient(circle 3px at 43% 38%, #fff 45%, transparent 50%),
        radial-gradient(circle 4px at 53% 68%, #fff 45%, transparent 50%),
        radial-gradient(circle 3px at 63% 8%, #fff 45%, transparent 50%),
        radial-gradient(circle 4px at 73% 38%, #fff 45%, transparent 50%),
        radial-gradient(circle 3px at 83% 72%, #fff 45%, transparent 50%),
        radial-gradient(circle 4px at 93% 48%, #fff 45%, transparent 50%);
    -webkit-background-clip: text;
    background-clip: text;
    pointer-events: none;
}

/* Top edge highlight - polished bevel */
.hero-title-pink-sparkle::after {
    content: attr(data-text);
    position: absolute;
    top: -1px;
    left: -1px;
    z-index: 2;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.5);
    pointer-events: none;
}

/* Pink Gradient Title (no animation - for section headers) */
.hero-title-pink {
    background: linear-gradient(135deg, #FF4FD6 0%, #FF24C8 50%, #FF7CE6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
    padding-bottom: 0.15em;
    display: inline-block;
}

/* Elegant Gold Divider */
.divider-gold {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #D4AF37, transparent);
    margin: 1.5rem auto;
}

/* Luxury Gold Button */
.btn-gold-luxury {
    display: inline-block;
    background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 50%, #D4AF37 100%);
    color: #1a1a1a;
    padding: 1rem 3rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.btn-gold-luxury:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
}

/* ===== LUXURY PRODUCT CARDS ===== */

.product-card-luxury {
    background: white;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.product-card-luxury:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(212, 175, 55, 0.2);
}

.product-card-info-luxury {
    padding: 1.25rem 1rem;
    text-align: center;
    background: white;
}

.product-title-luxury {
    font-family: var(--font-headline);
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.product-price-luxury {
    font-family: var(--font-headline);
    font-size: 1rem;
    color: #003824;
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* ===== SECTION BACKGROUNDS ===== */

.bg-luxury-gradient {
    background: linear-gradient(180deg, #FAFAFA 0%, #F5F5F5 100%);
}

/* Newsletter Modal Styles */
.newsletter-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.newsletter-modal.show {
    opacity: 1;
}

.newsletter-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.newsletter-modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.newsletter-modal.show .newsletter-modal-content {
    transform: scale(1);
}

.newsletter-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 2px solid #FF24C8;
    color: #FF24C8;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-modal-close:hover {
    background: #FF24C8;
    color: white;
    transform: rotate(90deg);
}

.newsletter-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

@media (max-width: 768px) {
    .newsletter-modal-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-modal-product {
        min-height: 300px;
    }
}

.newsletter-modal-product {
    position: relative;
    overflow: hidden;
}

.newsletter-modal-product-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.newsletter-modal-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.newsletter-modal-form-container {
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background-image: url('/static/uploads/signature-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.newsletter-modal-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.50);
    z-index: 0;
}

.newsletter-modal-form-container > * {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .newsletter-modal-form-container {
        padding: 40px 30px;
    }
}

.newsletter-modal-header {
    background: linear-gradient(135deg, #FFB6D9 0%, #FF24C8 50%, #E6B3FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.newsletter-modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: bold;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .newsletter-modal-title {
        font-size: 28px;
    }
}

.newsletter-modal-subtitle {
    color: #FFFFFF;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.newsletter-modal-form {
    margin-bottom: 20px;
}

.newsletter-modal-input-group {
    margin-bottom: 16px;
}

.newsletter-modal-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.newsletter-modal-input:focus {
    outline: none;
    border-color: #FF24C8;
    box-shadow: 0 0 0 3px rgba(255, 36, 200, 0.1);
}

.newsletter-modal-btn {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 25%, #D4AF37 50%, #F4D03F 75%, #D4AF37 100%);
    color: #0B2420;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    background-size: 200% 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.newsletter-modal-btn:hover {
    background-position: 100% 0;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4), 0 0 20px rgba(244, 208, 63, 0.3);
}

.newsletter-modal-close-link {
    text-align: center;
}

.newsletter-modal-close-link a {
    color: #9CA3AF;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.newsletter-modal-close-link a:hover {
    color: #6B7280;
    text-decoration: underline;
}

/* Google Places Autocomplete Dropdown Fix
   Ensures the address suggestions dropdown appears above all other elements */
.pac-container {
    z-index: 10050 !important;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    margin-top: 4px;
}

/* Ensure checkout address inputs remain interactive and not blocked */
#checkout-form input[type="text"],
#checkout-form input[type="email"],
#checkout-form input[type="tel"],
#checkout-form select {
    position: relative;
    z-index: 1;
    pointer-events: auto !important;
}
