body {
font-family: 'Manrope', sans-serif;
background-color: var(--color-blush-end);
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
padding: 20px;
color: var(--color-charcoal);
}
.container {
width: 100%;
max-width: 960px; /* Increased max-width for artistic content */
background: white;
padding: 32px;
border-radius: 18px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.header {
border-bottom: 1px solid var(--color-blush-start);
}
h1, h2, h3, .poetic-title {
font-family: 'Cormorant Garamond', serif;
letter-spacing: 0.05em;
}
.poetic-title {
font-size: 2.5rem;
font-weight: 600;
color: var(--color-charcoal);
margin-bottom: 1.5rem;
text-align: center;
}
.cta-magenta {
background-color: var(--color-magenta);
color: white;
transition: background-color 0.3s, box-shadow 0.3s;
}
.cta-magenta:hover {
background-color: #C00063; 
box-shadow: 0 4px 10px rgba(230, 0, 126, 0.4);
}
.cta-gold {
background-color: var(--color-gold);
color: var(--color-charcoal);
transition: background-color 0.3s, box-shadow 0.3s;
}
.cta-gold:hover {
background-color: #C09A34;
box-shadow: 0 4px 10px rgba(212, 175, 55, 0.4);
}
.nav-link {
color: var(--color-charcoal);
border-bottom: 2px solid transparent;
transition: border-bottom 0.3s;
font-weight: 600;
}
.nav-link:hover, .nav-link.active {
border-bottom-color: var(--color-magenta);
}
.input-style {
border: 1px solid var(--color-blush-start);
padding: 10px;
border-radius: 8px;
color: var(--color-charcoal);
transition: border-color 0.3s;
}
.input-style:focus {
outline: none;
border-color: var(--color-magenta);
box-shadow: 0 0 0 1px rgba(230, 0, 126, 0.5);
}
.section-background {
background: linear-gradient(135deg, var(--color-blush-start) 0%, var(--color-blush-end) 100%);
padding: 20px;
border-radius: 12px;
}
.gold-highlight {
color: var(--color-gold);
font-weight: 600;
}
/* Style for the simulated app content box */
#app-content-box {
border: 1px dashed var(--color-magenta);
padding: 24px;
border-radius: 12px;
background-color: #fcf6f9; 
margin-top: 20px;
}
/* Floating Cart Styles */
.floating-cart {
position: fixed;
top: 20px;
right: 20px;
z-index: 1000;
background: white;
border-radius: 50%;
width: 60px;
height: 60px;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
cursor: pointer;
transition: all 0.3s ease;
border: 2px solid var(--color-blush-start);
}

/* Mobile-specific positioning - only adjust top position */
@media (max-width: 768px) {
.floating-cart {
    top: 90px;
    right: 15px;
    width: 50px;
    height: 50px;
}

.cart-icon {
    font-size: 20px;
}

.cart-badge {
    width: 18px;
    height: 18px;
    font-size: 10px;
    top: -3px;
    right: -3px;
}
}

/* For very small screens */
@media (max-width: 480px) {
.floating-cart {
    top: 85px;
    right: 10px;
    width: 45px;
    height: 45px;
}
}

.floating-cart:hover {
transform: translateY(-2px);
box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
border-color: var(--color-magenta);
}

.cart-icon {
font-size: 24px;
color: var(--color-charcoal);
}

.cart-badge {
position: absolute;
top: -5px;
right: -5px;
background: var(--color-magenta);
color: white;
border-radius: 50%;
width: 22px;
height: 22px;
font-size: 12px;
font-weight: bold;
display: flex;
align-items: center;
justify-content: center;
border: 2px solid white;
}

/* Cart Modal Styles */
.cart-modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
z-index: 1001;
align-items: center;
justify-content: center;
backdrop-filter: blur(2px);
}

.cart-modal-content {
background: white;
border-radius: 18px;
padding: 32px;
width: 90%;
max-width: 600px;
max-height: 80vh;
overflow-y: auto;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
position: relative;
}

.cart-modal-close {
position: absolute;
top: 15px;
right: 20px;
font-size: 24px;
cursor: pointer;
color: var(--color-charcoal);
background: none;
border: none;
}

.cart-modal-close:hover {
color: var(--color-magenta);
}
/* Step Indicator Styles */
.step-indicator.active .step-number {
    background-color: var(--color-magenta);
    color: white;
}

.step-indicator.completed .step-number {
    background-color: var(--color-gold);
    color: white;
}

.step-indicator.completed span {
    border-bottom-color: var(--color-gold);
    color: var(--color-gold);
}
/* Image loading and update animations */
.loading-image {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.image-update {
    animation: imageUpdate 0.5s ease-in-out;
}

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

/* Progress image grid styling */
#progress-image-preview {
    transition: all 0.3s ease;
}

#progress-image-preview img {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#progress-image-preview img:hover {
    transform: scale(1.05);
}
/* Product Carousel Styles */
.product-image-container {
    position: relative;
    transition: all 0.3s ease;
}

.carousel-wrapper {
    perspective: 1000px;
}

.carousel-track {
    will-change: transform;
}

.carousel-slide {
    transition: opacity 0.3s ease;
}

.carousel-dot {
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-dot:hover {
    transform: scale(1.3);
    background-color: white !important;
}

.carousel-prev, .carousel-next {
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: bold;
    font-size: 14px;
}

.carousel-prev:hover, .carousel-next:hover {
    background-color: rgba(0, 0, 0, 0.6);
    transform: translateY(-50%) scale(1.1);
}

/* iPod-style smooth transitions */
.carousel-track {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Enhanced loading states */
.loading-image {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .carousel-prev, .carousel-next {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }
    
    .carousel-dot {
        width: 6px;
        height: 6px;
    }
}

/* Focus styles for accessibility */
.carousel-wrapper:focus {
    outline: 2px solid var(--color-magenta);
    outline-offset: 2px;
}
/* Add to your existing CSS */
.product-carousel {
    aspect-ratio: 3/4; /* Better for portrait images */
}

.carousel-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.carousel-slide img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Changed from cover to contain */
}

/* Fix navigation arrow positioning */
.carousel-prev,
.carousel-next {
    z-index: 10;
    transform: translateY(-50%);
}

.carousel-prev:hover,
.carousel-next:hover {
    transform: translateY(-50%) scale(1.1);
}

/* Active states for better UX */
.carousel-dot.active {
    transform: scale(1.3);
    background-color: white !important;
}

.carousel-slide.active {
    z-index: 1;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .product-carousel {
        height: 80vw; /* Responsive height */
        max-height: 400px;
    }
    
    .carousel-slide img {
        max-height: 95%; /* Allow some padding */
    }
}

/* Desktop optimizations */
@media (min-width: 769px) {
    .product-carousel {
        height: 384px; /* Fixed height for consistency */
    }
}
/* Add to your existing CSS */
.product-card {
    display: flex;
    flex-direction: column;
    height: fit-content;
}

.product-carousel-wrapper {
    margin: 0 -1rem; /* Expand to card edges */
}

.product-carousel {
    margin: 0 auto;
    max-width: 280px; /* Better for portrait images */
}

/* Fix mobile navigation */
@media (max-width: 768px) {
    .product-carousel {
        max-width: 240px;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 32px;
        height: 32px;
        padding: 6px;
    }
    
    .carousel-prev {
        left: 4px;
    }
    
    .carousel-next {
        right: 4px;
    }
    
    .carousel-dots {
        bottom: 8px;
    }
    
    .carousel-dot {
        width: 6px;
        height: 6px;
    }
}

/* Desktop improvements */
@media (min-width: 769px) {
    .product-carousel {
        max-width: 300px;
    }
}

/* Ensure proper aspect ratio for portrait images */
.aspect-\[3\/4\] {
    aspect-ratio: 3/4;
}

/* Better card layout */
.product-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Legal compliance note: Pre-checked consent is generally acceptable if:
   - The user can easily uncheck it
   - The language is clear about what they're consenting to
   - It's not buried in fine print
   - The default reflects typical user preference
*/

/* Enhanced modal styling for better UX */
#consent-modal {
    backdrop-filter: blur(4px);
}

#consent-modal .bg-white {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* Focus states for accessibility */
#email-consent:focus {
    outline: 2px solid var(--color-magenta);
    outline-offset: 2px;
}
