/* ==========================================
   CreatorDrop Valentine's Store - Styles
   Mobile-First Responsive Design
   ========================================== */

   :root {
    /* Valentine's Color Palette */
    --primary: #e11d48;
    --primary-dark: #be123c;
    --primary-light: #fb7185;
    --secondary: #f43f5e;
    --accent: #ec4899;
    --accent-light: #f472b6;

    /* Neutrals */
    --white: #ffffff;
    --black: #0f0f0f;
    --gray-50: #fafafa;
    --gray-100: #f4f4f5;
    --gray-200: #e4e4e7;
    --gray-300: #d4d4d8;
    --gray-400: #a1a1aa;
    --gray-500: #71717a;
    --gray-600: #52525b;
    --gray-700: #3f3f46;
    --gray-800: #27272a;
    --gray-900: #18181b;

    /* Semantic */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #e11d48 0%, #ec4899 100%);
    --gradient-hero: linear-gradient(180deg, #fff1f2 0%, #ffffff 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #fff5f7 100%);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(225, 29, 72, 0.3);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    /* Spacing - Mobile First */
    --nav-height: 56px;
    --announcement-height: 32px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================
   Announcement Bar
   ========================================== */

.announcement-bar {
    background: var(--gradient-primary);
    height: var(--announcement-height);
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    padding: 0 12px;
}

.announcement-content {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    text-align: center;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

#announcement-timer {
    font-family: monospace;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
}

/* ==========================================
   Navigation
   ========================================== */

.navbar {
    position: fixed;
    top: var(--announcement-height);
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}

.nav-logo img {
    height: 32px;
    width: auto;
}

.nav-center {
    display: none;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.store-badge {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.cart-btn {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--gray-700);
    transition: color 0.2s;
}

.cart-btn:hover, .cart-btn:active {
    color: var(--primary);
}

.cart-btn svg {
    width: 22px;
    height: 22px;
}

.cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--primary);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================
   Hero Section
   ========================================== */

.hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: calc(var(--nav-height) + var(--announcement-height) + 20px);
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-heart {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.25;
    animation: float 6s ease-in-out infinite;
}

.heart-1 { top: 15%; left: 5%; animation-delay: 0s; }
.heart-2 { top: 20%; right: 10%; animation-delay: 1s; font-size: 1.2rem; }
.heart-3 { bottom: 35%; left: 8%; animation-delay: 2s; }
.heart-4 { top: 45%; right: 5%; animation-delay: 3s; font-size: 1.8rem; }
.heart-5 { bottom: 25%; right: 15%; animation-delay: 4s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(8deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 20px;
    max-width: 100%;
}

.exclusive-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--black);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.badge-icon {
    font-size: 12px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--gray-600);
    margin-bottom: 28px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* Countdown Timer */
.countdown-container {
    margin-bottom: 28px;
}

.countdown-label {
    font-size: 12px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.countdown-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.time-block {
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: 10px;
    padding: 10px 12px;
    min-width: 58px;
    box-shadow: var(--shadow-md);
}

.time-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    font-family: monospace;
    line-height: 1;
}

.time-label {
    display: block;
    font-size: 9px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.time-separator {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glow);
}

.cta-button:hover, .cta-button:active {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(225, 29, 72, 0.4);
}

.cta-button svg {
    width: 18px;
    height: 18px;
}

/* Scroll Indicator */
.scroll-indicator {
    display: none;
}

/* ==========================================
   Social Proof
   ========================================== */

.social-proof {
    background: var(--gray-900);
    padding: 16px 16px;
}

.proof-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 12px;
    flex-wrap: wrap;
}

.proof-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--white);
    flex: 1;
    min-width: 80px;
}

.proof-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-light);
}

.proof-label {
    font-size: 10px;
    color: var(--gray-400);
    line-height: 1.3;
}

.proof-divider {
    display: none;
}

/* ==========================================
   Products Section
   ========================================== */

.products-section {
    padding: 48px 16px;
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    margin-bottom: 32px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.products-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* Product Card */
.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:active {
    transform: scale(0.98);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 10px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 700;
    z-index: 10;
}

.product-badge.bestseller {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    color: var(--white);
}

.product-badge.trending {
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    color: var(--white);
}

.product-badge.new {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: var(--white);
}

.product-badge.viral {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: var(--white);
}

.product-badge.anime {
    background: linear-gradient(135deg, #6366f1 0%, #0ea5e9 100%);
    color: var(--white);
}

.product-badge.singles {
    background: linear-gradient(135deg, #f97316 0%, #eab308 100%);
    color: var(--white);
}

/* Product Image with Model Designs */
.product-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Model silhouettes and design elements */
.image-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.image-placeholder::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 160px;
    background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%);
    border-radius: 50px 50px 25px 25px;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.placeholder-emoji {
    font-size: 3rem;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.placeholder-text {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.4;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Product placeholder backgrounds with texture */
.hoodie-placeholder {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 50%, #9f1239 100%);
}

.giftbox-placeholder {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 50%, #be185d 100%);
}

.tshirt-placeholder {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 50%, #be123c 100%);
}

.calendar-placeholder {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #4f46e5 100%);
}

.anime-hoodie-placeholder {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #1e40af 100%);
}

.anime-tshirt-placeholder {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #020617 100%);
}

.brotherhood-placeholder {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 50%, #c2410c 100%);
}

/* Add design elements to placeholders */
.hoodie-placeholder::after,
.brotherhood-placeholder::after {
    background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.03) 100%);
    width: 90px;
    height: 140px;
}

.giftbox-placeholder::after {
    background: linear-gradient(145deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%);
    width: 70px;
    height: 70px;
    border-radius: 10px;
    bottom: 50px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Couple placeholders show two silhouettes */
.hoodie-placeholder .placeholder-emoji,
.tshirt-placeholder .placeholder-emoji {
    position: relative;
}

/* Add subtle pattern overlays */
.image-placeholder {
    background-size: cover;
    background-position: center;
}

.hoodie-placeholder {
    background-image:
        radial-gradient(ellipse at 30% 70%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 70%, rgba(255,255,255,0.1) 0%, transparent 50%),
        linear-gradient(135deg, #e11d48 0%, #be123c 50%, #9f1239 100%);
}

.giftbox-placeholder {
    background-image:
        radial-gradient(ellipse at 50% 60%, rgba(255,255,255,0.15) 0%, transparent 40%),
        linear-gradient(135deg, #ec4899 0%, #db2777 50%, #be185d 100%);
}

.tshirt-placeholder {
    background-image:
        radial-gradient(ellipse at 30% 70%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 70%, rgba(255,255,255,0.1) 0%, transparent 50%),
        linear-gradient(135deg, #f43f5e 0%, #e11d48 50%, #be123c 100%);
}

.calendar-placeholder {
    background-image:
        linear-gradient(0deg, rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #4f46e5 100%);
    background-size: 20px 20px, 20px 20px, 100% 100%;
}

.anime-hoodie-placeholder {
    background-image:
        radial-gradient(ellipse at 50% 30%, rgba(255,255,255,0.15) 0%, transparent 40%),
        linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #1e40af 100%);
}

.anime-tshirt-placeholder {
    background-image:
        radial-gradient(ellipse at 50% 50%, rgba(100,100,100,0.3) 0%, transparent 50%),
        linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #020617 100%);
}

.brotherhood-placeholder {
    background-image:
        radial-gradient(ellipse at 35% 70%, rgba(255,255,255,0.12) 0%, transparent 45%),
        radial-gradient(ellipse at 65% 70%, rgba(255,255,255,0.12) 0%, transparent 45%),
        linear-gradient(135deg, #f97316 0%, #ea580c 50%, #c2410c 100%);
}

.stock-warning {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: var(--white);
    padding: 8px 12px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 5;
}

.stock-warning.urgent {
    background: var(--danger);
    animation: urgentPulse 1.5s ease-in-out infinite;
}

@keyframes urgentPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

.product-info {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 6px;
    line-height: 1.3;
    min-height: 2.6em;
}

.product-desc {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.5em;
    flex-grow: 1;
}

.product-pricing {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.original-price {
    font-size: 0.9rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

.sale-price {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
}

.discount-badge {
    background: var(--danger);
    color: var(--white);
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 700;
}

/* Size Selector */
.size-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.size-selector label {
    font-size: 12px;
    color: var(--gray-600);
    font-weight: 500;
}

.size-select {
    padding: 6px 10px;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    font-size: 13px;
    background: var(--white);
    cursor: pointer;
    transition: border-color 0.2s;
    min-width: 50px;
}

.size-select:focus {
    outline: none;
    border-color: var(--primary);
}

/* Add to Cart Button */
.add-to-cart-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    margin-top: auto;
}

.add-to-cart-btn:hover, .add-to-cart-btn:active {
    transform: scale(1.02);
    box-shadow: var(--shadow-glow);
}

.btn-icon {
    font-size: 16px;
}

/* ==========================================
   Trust Section
   ========================================== */

.trust-section {
    padding: 24px 16px;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-icon {
    font-size: 1.2rem;
}

.trust-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-700);
    line-height: 1.3;
}

/* ==========================================
   FAQ Section
   ========================================== */

.faq-section {
    padding: 48px 16px;
    background: var(--gray-50);
}

.faq-title {
    text-align: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 32px;
    color: var(--gray-900);
}

.faq-container {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 12px;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800);
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    gap: 12px;
}

.faq-question:hover, .faq-question:active {
    border-color: var(--primary);
}

.faq-icon {
    font-size: 1.25rem;
    color: var(--primary);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 12px 16px;
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 13px;
}

/* ==========================================
   Footer
   ========================================== */

.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 32px 16px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.footer-links a {
    color: var(--gray-300);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.footer-links a:hover, .footer-links a:active {
    color: var(--primary-light);
}

.footer-contact {
    font-size: 12px;
    color: var(--gray-500);
}

.footer-contact a {
    color: var(--primary-light);
    text-decoration: none;
}

/* ==========================================
   Cart Sidebar
   ========================================== */

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1100;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    z-index: 1101;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid var(--gray-200);
    flex-shrink: 0;
}

.cart-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

.cart-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--gray-400);
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
    padding: 4px;
}

.cart-close:hover, .cart-close:active {
    color: var(--gray-700);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    -webkit-overflow-scrolling: touch;
}

.cart-item {
    display: flex;
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--gray-100);
}

.cart-item-image {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.cart-item-variant {
    font-size: 11px;
    color: var(--gray-500);
    margin-bottom: 6px;
}

.cart-item-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    font-size: 20px;
    padding: 4px;
    transition: color 0.2s;
    flex-shrink: 0;
}

.cart-item-remove:hover, .cart-item-remove:active {
    color: var(--danger);
}

.cart-empty {
    text-align: center;
    padding: 48px 20px;
    color: var(--gray-400);
}

.cart-empty-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.cart-footer {
    padding: 16px;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
    flex-shrink: 0;
}

.cart-subtotal,
.cart-shipping {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--gray-600);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    padding-top: 10px;
    border-top: 1px solid var(--gray-300);
    margin-bottom: 16px;
}

.checkout-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.checkout-btn:hover, .checkout-btn:active {
    transform: scale(1.02);
    box-shadow: var(--shadow-glow);
}

.checkout-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.cart-guarantee {
    text-align: center;
    font-size: 11px;
    color: var(--gray-500);
    margin-top: 10px;
}

/* ==========================================
   Toast Notification
   ========================================== */

.toast {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--gray-900);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1200;
    max-width: calc(100% - 32px);
}

.toast.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.toast-icon {
    background: var(--success);
    color: var(--white);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

/* ==========================================
   Floating CTA (Mobile)
   ========================================== */

.floating-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 12px 16px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transition: transform 0.3s ease;
}

.floating-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.floating-timer {
    font-family: monospace;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    background: #fff1f2;
    padding: 8px 12px;
    border-radius: 8px;
    flex-shrink: 0;
}

.floating-btn {
    flex: 1;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

/* ==========================================
   Auth Buttons & User Menu
   ========================================== */

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-btn {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.login-btn:hover, .login-btn:active {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.user-menu {
    position: relative;
    display: flex;
    align-items: center;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    padding: 4px 8px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.user-btn:hover, .user-btn:active {
    background: var(--gray-200);
}

.user-avatar {
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

.user-name {
    display: none;
}

.user-btn svg {
    width: 14px;
    height: 14px;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    z-index: 100;
    overflow: hidden;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 14px;
    background: none;
    border: none;
    color: var(--gray-700);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.dropdown-item:hover, .dropdown-item:active {
    background: var(--gray-50);
}

.dropdown-item.logout-item {
    border-top: 1px solid var(--gray-200);
    color: var(--danger);
}

.dropdown-item.logout-item:hover, .dropdown-item.logout-item:active {
    background: #fef2f2;
}

.dropdown-item svg {
    width: 16px;
    height: 16px;
}

/* ==========================================
   Auth Modal
   ========================================== */

.auth-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 2000;
}

.auth-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.auth-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: var(--white);
    border-radius: 16px;
    width: calc(100% - 32px);
    max-width: 400px;
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    padding: 28px 20px;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 2001;
}

.auth-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.auth-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--gray-400);
    cursor: pointer;
    transition: color 0.2s;
    padding: 4px;
}

.auth-modal-close:hover, .auth-modal-close:active {
    color: var(--gray-700);
}

.auth-form h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 6px;
    text-align: center;
}

.auth-subtitle {
    font-size: 13px;
    color: var(--gray-500);
    text-align: center;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 5px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.auth-error {
    color: var(--danger);
    font-size: 12px;
    margin-bottom: 14px;
    text-align: center;
}

.auth-submit-btn {
    width: 100%;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.auth-submit-btn:hover, .auth-submit-btn:active {
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 16px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.auth-divider span {
    padding: 0 12px;
    font-size: 12px;
    color: var(--gray-400);
}

.google-auth-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--gray-300);
    padding: 11px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.2s;
    -webkit-tap-highlight-color: transparent;
}

.google-auth-btn:hover, .google-auth-btn:active {
    background: var(--gray-50);
    border-color: var(--gray-400);
}

.auth-switch {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: var(--gray-600);
}

.auth-switch a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* ==========================================
   Checkout Modal
   ========================================== */

.checkout-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 2000;
}

.checkout-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.checkout-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 2001;
    -webkit-overflow-scrolling: touch;
}

.checkout-modal.active {
    opacity: 1;
    visibility: visible;
}

.checkout-modal-close {
    position: fixed;
    top: 12px;
    right: 12px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 20px;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-modal-close:hover, .checkout-modal-close:active {
    background: var(--gray-100);
    color: var(--gray-900);
}

.checkout-content {
    padding: 20px 16px;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
    max-width: 600px;
    margin: 0 auto;
}

.checkout-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 6px;
    padding-right: 40px;
}

.checkout-subtitle {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 20px;
}

.order-summary {
    background: var(--gray-50);
    border-radius: 10px;
    padding: 16px;
    margin-top: 20px;
    margin-bottom: 16px;
}

.order-summary h3 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.checkout-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-200);
}

.checkout-item:last-of-type {
    border-bottom: none;
}

.checkout-item-emoji {
    font-size: 1.25rem;
}

.checkout-item-info {
    flex: 1;
    min-width: 0;
}

.checkout-item-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-800);
}

.checkout-item-size {
    font-size: 11px;
    color: var(--gray-500);
}

.checkout-item-qty {
    font-size: 12px;
    color: var(--gray-500);
}

.checkout-item-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
}

.checkout-totals {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--gray-300);
}

.checkout-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 6px;
}

.checkout-row.total {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--gray-300);
}

.pay-now-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.pay-now-btn:hover, .pay-now-btn:active {
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
}

.checkout-note {
    text-align: center;
    font-size: 11px;
    color: var(--gray-500);
    margin-top: 12px;
    line-height: 1.5;
}

.checkout-note a {
    color: var(--primary);
    text-decoration: none;
}

/* ==========================================
   Animations
   ========================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.2s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }
.product-card:nth-child(6) { animation-delay: 0.3s; }
.product-card:nth-child(7) { animation-delay: 0.35s; }

/* ==========================================
   Tablet Styles (min-width: 600px)
   ========================================== */

@media (min-width: 600px) {
    :root {
        --nav-height: 64px;
        --announcement-height: 36px;
    }

    .announcement-content {
        font-size: 13px;
    }

    #announcement-timer {
        font-size: 13px;
    }

    .nav-container {
        padding: 0 24px;
    }

    .nav-logo img {
        height: 36px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        max-width: 400px;
    }

    .time-block {
        padding: 14px 16px;
        min-width: 70px;
    }

    .time-value {
        font-size: 2rem;
    }

    .cta-button {
        padding: 16px 32px;
        font-size: 16px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .product-image {
        height: 240px;
    }

    .trust-container {
        grid-template-columns: repeat(4, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
    }

    .cart-sidebar {
        max-width: 400px;
        right: -400px;
    }

    .checkout-modal {
        top: 50%;
        left: 50%;
        right: auto;
        bottom: auto;
        transform: translate(-50%, -50%) scale(0.95);
        border-radius: 16px;
        width: calc(100% - 48px);
        max-width: 550px;
        max-height: calc(100vh - 48px);
    }

    .checkout-modal.active {
        transform: translate(-50%, -50%) scale(1);
    }

    .checkout-modal-close {
        position: absolute;
    }

    .checkout-content {
        padding: 32px 28px;
    }
}

/* ==========================================
   Desktop Styles (min-width: 1024px)
   ========================================== */

@media (min-width: 1024px) {
    :root {
        --nav-height: 70px;
        --announcement-height: 40px;
    }

    .announcement-content {
        font-size: 14px;
        gap: 8px;
    }

    #announcement-timer {
        padding: 2px 8px;
    }

    .nav-center {
        display: block;
    }

    .nav-logo img {
        height: 40px;
    }

    .nav-right {
        gap: 16px;
    }

    .user-name {
        display: inline;
        font-size: 13px;
        font-weight: 600;
        color: var(--gray-700);
        max-width: 80px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .user-btn {
        padding: 5px 10px;
        gap: 6px;
    }

    .floating-heart {
        font-size: 2rem;
    }

    .heart-2 { font-size: 1.5rem; }
    .heart-4 { font-size: 2.5rem; }

    .hero-title {
        font-size: 4.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
        max-width: 500px;
        margin-bottom: 40px;
    }

    .countdown-container {
        margin-bottom: 40px;
    }

    .time-block {
        padding: 16px 20px;
        min-width: 80px;
    }

    .time-value {
        font-size: 2.5rem;
    }

    .time-label {
        font-size: 11px;
    }

    .time-separator {
        font-size: 2rem;
    }

    .cta-button {
        padding: 18px 40px;
        font-size: 18px;
    }

    .scroll-indicator {
        display: flex;
        position: absolute;
        bottom: 40px;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: column;
        align-items: center;
        gap: 8px;
        color: var(--gray-400);
        font-size: 13px;
    }

    .scroll-arrow {
        width: 24px;
        height: 24px;
        border-right: 2px solid var(--gray-400);
        border-bottom: 2px solid var(--gray-400);
        transform: rotate(45deg);
        animation: scrollBounce 2s ease-in-out infinite;
    }

    @keyframes scrollBounce {
        0%, 100% { transform: rotate(45deg) translateY(0); }
        50% { transform: rotate(45deg) translateY(8px); }
    }

    .proof-container {
        gap: 40px;
        justify-content: center;
    }

    .proof-item {
        flex-direction: row;
        gap: 8px;
    }

    .proof-number {
        font-size: 1.25rem;
    }

    .proof-label {
        font-size: 14px;
    }

    .proof-divider {
        display: block;
        width: 1px;
        height: 30px;
        background: var(--gray-700);
    }

    .products-section {
        padding: 80px 24px;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }

    .product-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-xl);
    }

    .product-image {
        height: 280px;
    }

    .placeholder-emoji {
        font-size: 4rem;
    }

    .placeholder-text {
        font-size: 1rem;
    }

    .product-info {
        padding: 24px;
    }

    .product-title {
        font-size: 1.1rem;
    }

    .product-desc {
        font-size: 14px;
        -webkit-line-clamp: 3;
    }

    .sale-price {
        font-size: 1.5rem;
    }

    .add-to-cart-btn {
        padding: 14px 24px;
        font-size: 15px;
    }

    .trust-section {
        padding: 40px 24px;
    }

    .trust-container {
        display: flex;
        justify-content: center;
        gap: 48px;
    }

    .trust-icon {
        font-size: 1.5rem;
    }

    .trust-text {
        font-size: 14px;
    }

    .faq-section {
        padding: 80px 24px;
    }

    .faq-title {
        font-size: 2rem;
        margin-bottom: 48px;
    }

    .faq-question {
        padding: 20px 24px;
        font-size: 15px;
    }

    .faq-answer p {
        padding: 16px 24px;
        font-size: 14px;
    }

    .floating-cta {
        display: none;
    }

    .footer {
        padding: 40px 24px;
    }

    .footer-links {
        gap: 24px;
    }

    .footer-links a {
        font-size: 14px;
    }

    .auth-modal {
        padding: 40px;
        max-width: 420px;
    }

    .checkout-content {
        padding: 40px;
    }
}

/* ==========================================
   Large Desktop (min-width: 1400px)
   ========================================== */

@media (min-width: 1400px) {
    .hero-title {
        font-size: 5.5rem;
    }

    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==========================================
   Auto Discount Banner & Styling
   ========================================== */

.discount-banner {
    background: linear-gradient(135deg, #10b981, #059669);
    padding: 24px 20px;
    margin: 40px auto;
    max-width: 1200px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2);
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.banner-icon {
    font-size: 48px;
    animation: bounce 2s infinite;
}

.banner-text h3 {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.banner-text p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 16px;
    margin: 0;
}

.banner-text strong {
    color: #fef3c7;
    font-weight: 800;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Discount in Cart */
#cart-discount {
    color: #10b981 !important;
}

#cart-discount .discount-amount {
    color: #10b981 !important;
    font-weight: 700 !important;
}

.discount-message {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
    padding: 12px 16px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    margin: 12px 0;
    border-left: 4px solid #10b981;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .discount-banner {
        margin: 20px;
        padding: 20px 16px;
    }
    
    .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .banner-icon {
        font-size: 36px;
    }
    
    .banner-text h3 {
        font-size: 20px;
    }
    
    .banner-text p {
        font-size: 14px;
    }
}