/* ===================================
   MAHER FLEURISTE - ULTRA MODERN E-COMMERCE
   Color Scheme: White & Pink
   =================================== */

/* CSS Variables */
:root {
    --primary-white: #FFFFFF;
    --primary-pink: #E91E63;
    --pink-light: #FCE4EC;
    --pink-medium: #F48FB1;
    --pink-dark: #C2185B;
    --pink-gradient: linear-gradient(135deg, #E91E63 0%, #F48FB1 100%);
    --text-dark: #212121;
    --text-gray: #757575;
    --text-light: #BDBDBD;
    --bg-white: #FFFFFF;
    --bg-gray: #F5F5F5;
    --border-color: #E0E0E0;
    --shadow-sm: 0 2px 8px rgba(233, 30, 99, 0.08);
    --shadow-md: 0 4px 20px rgba(233, 30, 99, 0.12);
    --shadow-lg: 0 8px 40px rgba(233, 30, 99, 0.16);
    --shadow-xl: 0 12px 60px rgba(233, 30, 99, 0.24);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Beautiful Pink Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #FCE4EC 0%, #FFF0F5 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #E91E63 0%, #F48FB1 50%, #E91E63 100%);
    border-radius: 10px;
    border: 2px solid #FCE4EC;
    box-shadow: inset 0 0 6px rgba(233, 30, 99, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #C2185B 0%, #E91E63 50%, #C2185B 100%);
    box-shadow: inset 0 0 8px rgba(233, 30, 99, 0.5);
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg, #AD1457 0%, #C2185B 100%);
}

::-webkit-scrollbar-corner {
    background: #FCE4EC;
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #E91E63 #FCE4EC;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to bottom, #FFFFFF 0%, #FAFAFA 100%);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* {
    box-sizing: border-box;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.75rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

/* ===================================
   NAVBAR - Enhanced Design
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(233, 30, 99, 0.1);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-pink);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
    letter-spacing: 0.02em;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--pink-gradient);
    transition: var(--transition);
    border-radius: 3px;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-pink);
}

/* ===================================
   HERO SECTION - Enhanced
   =================================== */
.hero {
    margin-top: 80px;
    padding: 8rem 2rem;
    background: linear-gradient(135deg, #FFFFFF 0%, var(--pink-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(233, 30, 99, 0.1) 0%, transparent 70%);
    animation: float 20s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: slideInLeft 0.8s ease-out;
}

.hero-content > * {
    animation: heroFadeInUp 0.8s ease-out backwards;
}

.hero-content > :nth-child(1) { animation-delay: 0.1s; }
.hero-content > :nth-child(2) { animation-delay: 0.2s; }
.hero-content > :nth-child(3) { animation-delay: 0.3s; }
.hero-content > :nth-child(4) { animation-delay: 0.4s; }
.hero-content > :nth-child(5) { animation-delay: 0.5s; }

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    animation: heroFadeInUp 0.8s ease-out;
}

.highlight {
    background: var(--pink-gradient);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    display: inline-block;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
    max-width: 600px;
    animation: heroFadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin: 2rem 0;
    animation: heroFadeInUp 0.8s ease-out 0.3s backwards;
}

.hero-cta .btn {
    animation: bounceIn 0.8s ease-out backwards;
}

.hero-cta .btn:nth-child(1) {
    animation-delay: 0.5s;
}

.hero-cta .btn:nth-child(2) {
    animation-delay: 0.6s;
}

.hero-cta .btn:hover {
    animation: buttonPulse 0.6s ease-in-out infinite;
}

.hero-image {
    position: relative;
    animation: slideInRight 0.8s ease-out, floatSlow 4s ease-in-out 1s infinite;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    animation: pulseGlow 3s ease-in-out infinite;
}

.hero-image:hover img {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 20px 80px rgba(233, 30, 99, 0.5);
    animation: none;
}

/* ===================================
   BUTTONS - Enhanced
   =================================== */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--pink-gradient);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-3px);
}

.btn-secondary {
    background: white;
    color: var(--primary-pink);
    border: 2px solid var(--primary-pink);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--pink-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ===================================
   HERO BADGE & STATS
   =================================== */
.hero-badge-top {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--pink-light);
    border-radius: 50px;
    margin-bottom: 1rem;
    animation: badgePop 0.8s ease-out;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

/* ===================================
   FEATURES SECTION
   =================================== */
.features {
    padding: 6rem 2rem;
    background: white;
}

.features > div {
    max-width: 1400px;
    margin: 0 auto;
}

.features > div > div {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.features > div > div > div {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    transition: var(--transition);
}

.features > div > div > div:hover {
    background: var(--pink-light);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

/* ===================================
   GALLERY GRID
   =================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.gallery-grid img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

/* ===================================
   SECTION HEADERS
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--pink-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===================================
   CATEGORY GRID - Enhanced
   =================================== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.category-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--pink-gradient);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.category-card:hover::before {
    opacity: 0.05;
}

.category-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.category-image {
    width: 100%;
    aspect-ratio: 4/5; /* Portrait ratio - shows full bouquet */
    object-fit: cover;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.category-card:hover .category-image {
    transform: scale(1.1);
}

.category-info {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.category-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.category-description {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* ===================================
   CONFIGURATOR - Clean Modern Design
   =================================== */
.configurator {
    padding: 3rem 2rem;
    background: white;
    min-height: 100vh;
}

.configurator-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: block;
    width: 100%;
}

/* Preview Section - Hidden on desktop, shown inline in form */
.configurator-preview {
    display: none;
    position: sticky;
    top: 100px;
    background: white;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.preview-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    margin-bottom: 1.5rem;
}

.preview-svg-container {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FAFAFA;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #F0F0F0;
}

.preview-svg-container svg {
    width: 100%;
    height: 100%;
}

.preview-price {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #E91E63 0%, #F06292 100%);
    border-radius: 16px;
}

.price-label {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.95;
    margin-bottom: 0.5rem;
}

.price-amount {
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
}

.price-currency {
    font-size: 1.25rem;
    font-weight: 700;
}

/* Form Section */
.configurator-form {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 2rem;
}

.form-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: block;
}

/* Quantity Input */
.quantity-input {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem;
    background: var(--bg-gray);
    border-radius: 16px;
}

.quantity-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--pink-gradient);
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.quantity-btn:hover {
    transform: scale(1.1);
}

.quantity-btn:active {
    transform: scale(0.95);
}

.quantity-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-pink);
    min-width: 60px;
    text-align: center;
}

/* Color Selector */
.color-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 1rem;
    max-height: 400px;
    overflow-y: auto;
    padding: 0.5rem;
}

.color-option {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    background: white;
}

.color-option:hover {
    border-color: var(--primary-pink);
    transform: translateY(-3px);
}

.color-option.selected {
    border-color: var(--primary-pink);
    background: var(--pink-light);
}

.color-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0 auto 0.75rem;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.color-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Color Quantity Controls */
.color-quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
}

.color-qty-btn {
    width: 28px;
    height: 28px;
    border: 2px solid var(--primary-pink);
    background: white;
    color: var(--primary-pink);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 0.75rem;
}

.color-qty-btn:hover {
    background: var(--primary-pink);
    color: white;
    transform: scale(1.1);
}

.color-qty-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-pink);
    min-width: 30px;
    text-align: center;
}

/* Origin Display (Non-clickable) */
.origin-display {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.origin-info {
    padding: 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    background: white;
    text-align: center;
    opacity: 0.6;
}

.origin-info.active {
    border-color: var(--primary-pink);
    background: var(--pink-light);
    opacity: 1;
}

.origin-flag {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.origin-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.origin-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-pink);
}

.origin-desc {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 0.25rem;
}

/* Radio Group (for packages, accessories) */
.radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.radio-option {
    padding: 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    cursor: pointer;
    transition: var(--transition);
    background: white;
    text-align: center;
    position: relative;
}

.radio-option:hover {
    border-color: var(--primary-pink);
    transform: translateY(-3px);
}

.radio-option.selected {
    border-color: var(--primary-pink) !important;
    border-width: 4px !important;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.15), rgba(233, 30, 99, 0.05)) !important;
    box-shadow: 0 8px 30px rgba(233, 30, 99, 0.4), inset 0 0 20px rgba(233, 30, 99, 0.1) !important;
    transform: scale(1.05) translateY(-2px) !important;
}

.radio-option.selected::after {
    content: "✓";
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--primary-pink);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 2px 10px rgba(233, 30, 99, 0.5);
    animation: checkmarkPop 0.3s ease-out;
}

@keyframes checkmarkPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.radio-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.radio-desc {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.radio-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-pink);
}

/* Checkbox Group (for multiple selection) */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.checkbox-option {
    padding: 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    cursor: pointer;
    transition: var(--transition);
    background: white;
    text-align: center;
    position: relative;
}

.checkbox-option:hover {
    border-color: var(--primary-pink);
    transform: translateY(-3px);
}

.checkbox-option.selected {
    border-color: var(--primary-pink) !important;
    border-width: 4px !important;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.15), rgba(233, 30, 99, 0.05)) !important;
    box-shadow: 0 8px 30px rgba(233, 30, 99, 0.4), inset 0 0 20px rgba(233, 30, 99, 0.1) !important;
    transform: scale(1.05) translateY(-2px) !important;
}

.checkbox-option.selected::after {
    content: "✓";
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--primary-pink);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 2px 10px rgba(233, 30, 99, 0.5);
    animation: checkmarkPop 0.3s ease-out;
}

/* Helper Text */
.helper-text {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 0.5rem;
    font-style: italic;
}

/* Catalogue Filters */
.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.filter-btn.active {
    background: var(--primary-pink) !important;
    color: white !important;
}

/* Commander Button */
.btn-commander {
    width: 100%;
    padding: 1.25rem 2rem;
    background: var(--pink-gradient);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.btn-commander:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-commander:active {
    transform: translateY(-1px);
}

.btn-commander i {
    font-size: 1.2rem;
}

/* Form Inputs */
.form-input {
    width: 100%;
    padding: 1.25rem;
    border: 3px solid var(--border-color);
    border-radius: 15px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-pink);
    box-shadow: 0 0 0 6px rgba(233, 30, 99, 0.1);
}

/* ===================================
   FOOTER - Enhanced
   =================================== */
.footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, #424242 100%);
    color: white;
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--primary-pink);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    line-height: 2;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(233, 30, 99, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-pink);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
    .hero-container,
    .configurator-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .configurator-preview {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    /* === Fix horizontal overflow === */
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    #app {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    section {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    /* === Category Filters for Mobile - JS handles fixed positioning === */
    .catalogue-filters-sticky {
        background: white !important;
        padding: 0.4rem 0.5rem !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.15) !important;
    }
    
    .catalogue-filters-sticky.is-fixed {
        position: fixed !important;
        top: 80px !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 998 !important;
    }
    
    /* Content section padding */
    .catalogue-content-section {
        padding-top: 1rem !important;
    }
    
    .catalogue-filters {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 0.3rem !important;
        justify-content: center !important;
        padding: 0 !important;
    }
    
    .catalogue-content-section {
        padding-top: 1rem !important;
    }
    
    /* === Fix large headings on mobile === */
    h2[style*="font-size: 3.5rem"],
    h2[style*="3.5rem"],
    h2[style*="font-size: 3.25rem"],
    h2[style*="3.25rem"] {
        font-size: 1.8rem !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }
    
    /* Fix for sections with flex/grid that might overflow */
    section > div,
    section > div > div {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* === Navigation Mobile === */
    .navbar-container {
        padding: 0.75rem 1rem;
        align-items: center;
        justify-content: space-between;
    }
    
    .logo {
        font-size: 1.1rem;
        gap: 0.5rem;
    }
    
    .logo span {
        display: inline !important;
        font-weight: 700;
    }
    
    .logo img {
        height: 35px !important;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 0.5rem;
        flex: 1;
    }
    
    .nav-menu a {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }

    /* === Hero Mobile === */
    .hero {
        padding: 3rem 1rem 2rem;
        margin-top: 70px;
    }
    
    .hero-container {
        gap: 2rem;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.75rem !important;
        padding: 1rem !important;
        margin: 1.5rem 0 !important;
    }
    
    .hero-stats > div {
        padding: 0.75rem !important;
    }
    
    .hero-stats h3 {
        font-size: 1.5rem !important;
    }
    
    .hero-stats p {
        font-size: 0.75rem !important;
    }
    
    .hero-image {
        margin-top: 1.5rem;
    }
    
    .hero-image img {
        border-radius: 20px;
    }
    
    .hero-badges {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
        margin-top: 1.5rem !important;
        justify-content: center !important;
    }
    
    .hero-badges > div {
        padding: 0.6rem 1rem !important;
        font-size: 0.8rem !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        text-align: center !important;
    }
    
    .hero-badges i {
        font-size: 1rem !important;
    }
    
    /* Progress Steps Mobile */
    .step-indicator {
        padding: 0.6rem 1rem !important;
        gap: 0.4rem !important;
    }
    
    .step-indicator > div {
        width: 25px !important;
        height: 25px !important;
        font-size: 0.75rem !important;
    }
    
    .step-indicator span {
        font-size: 0.8rem !important;
    }
    
    .price-badge {
        position: static !important;
        margin-top: 1rem;
        padding: 1rem !important;
        border-radius: 15px !important;
    }

    /* === Configurator Mobile OPTIMISÉ === */
    .configurator {
        padding: 1rem 0.5rem;
    }
    
    .configurator-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0.5rem;
    }
    
    /* Preview inline - within the form flow */
    .configurator-preview-inline {
        margin: 0 0 1.5rem 0 !important;
    }
    
    .configurator-preview-inline .preview-svg-container {
        height: 250px !important;
    }
    
    .configurator-preview-inline .preview-svg-container svg {
        max-height: 230px;
        width: auto;
    }
    
    .configurator-preview-inline .preview-svg-container img {
        max-height: 230px !important;
        width: auto !important;
        object-fit: contain;
    }
    
    /* Form optimisé - PLUS D'ESPACE */
    .configurator-form {
        padding: 1rem;
        border-radius: 15px;
        background: white;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    /* Show preview on mobile below options */
    .configurator-preview > div:last-child {
        display: block !important;
        order: 999; /* Move to end */
    }

    /* === Grid layouts Mobile === */
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .category-image {
        aspect-ratio: 4/5; /* Portrait ratio for mobile */
    }
    
    .category-info {
        padding: 1rem;
    }
    
    .category-name {
        font-size: 1rem;
    }
    
    .category-description {
        font-size: 0.85rem;
    }
    
    .origin-grid,
    .options-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Couleurs en 4 colonnes - plus visibles */
    .color-selector {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 0.75rem !important;
        max-height: 350px !important;
        overflow-y: auto !important;
    }
    
    .color-option {
        padding: 0.75rem 0.5rem !important;
        min-height: 100px;
    }
    
    .color-circle {
        width: 45px !important;
        height: 45px !important;
        margin: 0 auto 0.5rem !important;
    }
    
    .color-name {
        font-size: 0.85rem !important;
        font-weight: 600;
    }
    
    .color-qty-btn {
        width: 24px !important;
        height: 24px !important;
        font-size: 0.7rem !important;
    }
    
    .color-qty-value {
        font-size: 0.95rem !important;
        min-width: 25px !important;
    }

    /* === Features Section Mobile === */
    .features {
        padding: 3rem 1rem;
    }
    
    .features > div > div {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features > div > div > div {
        padding: 1.5rem;
    }

    /* === Buttons Mobile === */
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        margin: 1.5rem 0 !important;
    }
    
    /* Hero CTA Buttons - Stack Vertically on Mobile */
    .hero-cta-buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.6rem !important;
        width: 100% !important;
        max-width: 280px !important;
    }
    
    .hero-cta-buttons .btn {
        padding: 0.7rem 1.2rem !important;
        font-size: 0.7rem !important;
        letter-spacing: 0.5px !important;
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }
    
    .hero-cta-buttons .btn i {
        margin-right: 0.4rem !important;
        font-size: 0.75rem !important;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .btn i {
        font-size: 1rem;
    }
    
    /* === Gallery Grid Mobile === */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .gallery-grid img {
        height: 220px;
    }
    
    .gallery-grid > div {
        border-radius: 15px;
    }
    
    .gallery-badge {
        padding: 0.4rem 0.75rem !important;
        font-size: 0.75rem !important;
        top: 10px !important;
        left: 10px !important;
    }
    
    .gallery-info {
        padding: 1.5rem 1rem 1rem !important;
    }
    
    .gallery-info h3 {
        font-size: 0.9rem !important;
        margin-bottom: 0.3rem !important;
    }
    
    .gallery-info p {
        font-size: 1.1rem !important;
    }
    
    section > div > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    section > div > div[style*="grid-template-columns"] img {
        height: 250px !important;
    }
    
    /* === Testimonials Mobile === */
    section[style*="background: var(--pink-light)"] {
        padding: 3rem 1rem !important;
    }
    
    section[style*="background: var(--pink-light)"] .section-header {
        margin-bottom: 2rem !important;
    }
    
    section[style*="background: var(--pink-light)"] > div > div[style*="grid"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .btn-commander {
        padding: 1.2rem;
        font-size: 1.1rem;
    }
    
    /* === Quantity Selector Mobile COMPACT === */
    .quantity-input {
        padding: 0.75rem !important;
        background: var(--pink-light) !important;
        border-radius: 15px !important;
    }
    
    .quantity-btn {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.2rem !important;
    }
    
    .quantity-value {
        font-size: 1.5rem !important;
        min-width: 70px !important;
        font-weight: 800 !important;
        color: var(--primary-pink) !important;
    }
    
    /* Radio options compactes */
    .radio-group {
        gap: 0.75rem !important;
    }
    
    .radio-option {
        padding: 1rem !important;
    }
    
    .radio-title {
        font-size: 1rem !important;
        font-weight: 700;
    }
    
    .radio-price {
        font-size: 1.2rem !important;
        font-weight: 800;
        color: var(--primary-pink) !important;
    }

    /* === Options Mobile === */
    .option-card {
        padding: 1rem;
    }
    
    .option-title {
        font-size: 1rem;
    }
    
    .option-description {
        font-size: 0.85rem;
    }

    /* === Gallery Mobile === */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* === Contact Mobile === */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* === Footer Mobile === */
    .footer-content {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem 1rem !important;
        text-align: left;
    }
    
    .footer-section {
        padding: 0 !important;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: 0.85rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .footer-section p,
    .footer-section a,
    .footer-section span {
        font-size: 0.7rem !important;
        line-height: 1.6 !important;
    }
    
    .social-links {
        justify-content: flex-start;
        gap: 0.5rem !important;
    }
    
    .social-links a {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.9rem !important;
    }

    /* === Typography Mobile === */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    h4 {
        font-size: 1.25rem;
    }

    /* === Spacing Mobile === */
    section {
        padding: 3rem 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

/* === Extra Small Devices (< 480px) === */
@media (max-width: 480px) {
    .navbar-container {
        padding: 0.5rem 0.75rem;
        justify-content: space-between;
    }
    
    .logo {
        font-size: 1rem;
        flex: 1;
        justify-content: flex-start;
        gap: 0.5rem;
    }
    
    .logo span {
        display: inline !important;
        font-size: 1rem;
        font-weight: 700;
        color: var(--primary-pink);
    }
    
    .logo img {
        height: 32px !important;
    }
    
    .nav-menu {
        gap: 0.35rem;
    }
    
    .nav-menu a {
        padding: 0.35rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .hero {
        margin-top: 60px;
        padding: 2rem 1rem 1.5rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .hero-badge-top {
        padding: 0.4rem 1rem !important;
        font-size: 0.75rem !important;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.5rem !important;
        padding: 0.75rem !important;
        margin: 1rem 0 !important;
    }
    
    .hero-stats > div {
        padding: 0.6rem !important;
    }
    
    .hero-stats h3 {
        font-size: 1.3rem !important;
    }
    
    .hero-stats p {
        font-size: 0.7rem !important;
        line-height: 1.3 !important;
    }
    
    .hero-badges {
        flex-direction: row !important;
        gap: 0.4rem !important;
        margin-top: 1rem !important;
    }
    
    .hero-badges > div {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.7rem !important;
    }
    
    .hero-badges i {
        font-size: 0.9rem !important;
    }
    
    /* Progress Steps Extra Small Mobile */
    .step-indicator {
        padding: 0.5rem 0.75rem !important;
        gap: 0.3rem !important;
    }
    
    .step-indicator > div {
        width: 22px !important;
        height: 22px !important;
        font-size: 0.7rem !important;
    }
    
    .step-indicator span {
        font-size: 0.7rem !important;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    section {
        padding: 2rem 1rem !important;
    }
    
    .features {
        padding: 2rem 1rem !important;
    }
    
    section > div > div[style*="grid-template-columns"] img {
        height: 220px !important;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .gallery-grid img {
        height: 180px;
    }
    
    .gallery-badge {
        padding: 0.3rem 0.6rem !important;
        font-size: 0.7rem !important;
        top: 8px !important;
        left: 8px !important;
    }
    
    .gallery-info {
        padding: 1rem 0.75rem 0.75rem !important;
    }
    
    .gallery-info h3 {
        font-size: 0.85rem !important;
        margin-bottom: 0.25rem !important;
        line-height: 1.3 !important;
    }
    
    .gallery-info p {
        font-size: 1rem !important;
    }
    
    .btn {
        padding: 0.9rem 1.2rem !important;
        font-size: 0.9rem !important;
    }
    
    /* Configurator très petit écran */
    .configurator-preview {
        padding: 0.75rem;
        top: 60px;
    }
    
    .preview-image {
        height: 150px;
    }
    
    .preview-svg-container {
        height: 300px !important;
        width: 100% !important;
        margin-bottom: 1rem !important;
        display: flex !important; /* Show full preview */
    }
    
    .preview-svg-container svg {
        max-width: 100%;
        max-height: 100%;
    }
    
    .preview-price {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .price-label {
        font-size: 0.9rem;
        font-weight: 700;
    }
    
    .price-amount {
        font-size: 2.2rem;
        font-weight: 900;
    }
    
    .price-currency {
        font-size: 1.2rem;
    }
    
    /* Configurator Section Headers */
    .configurator-section h3,
    .section-title {
        font-size: 1.1rem !important;
        font-weight: 800 !important;
        margin-bottom: 1rem !important;
        color: var(--text-dark) !important;
    }
    
    /* Quantity Selector */
    .quantity-selector {
        padding: 1.5rem 1rem !important;
    }
    
    .quantity-controls {
        gap: 1.5rem !important;
    }
    
    .quantity-controls button {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.5rem !important;
    }
    
    .quantity-value {
        font-size: 2rem !important;
        min-width: 60px !important;
    }
    
    /* Color Options */
    .color-option {
        padding: 1rem !important;
        min-height: 110px !important;
    }
    
    .color-circle {
        width: 45px !important;
        height: 45px !important;
        margin-bottom: 0.5rem !important;
    }
    
    .color-name {
        font-size: 0.85rem !important;
        font-weight: 600 !important;
    }
    
    .color-qty-btn {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.9rem !important;
    }
    
    .color-qty-value {
        font-size: 1.2rem !important;
        min-width: 35px !important;
    }
    
    /* Origin Selector */
    .radio-group {
        gap: 0.75rem !important;
    }
    
    .radio-option {
        padding: 1rem !important;
    }
    
    .origin-flag {
        font-size: 1.5rem !important;
    }
    
    .origin-title,
    .radio-title {
        font-size: 0.9rem !important;
        font-weight: 700 !important;
    }
    
    .origin-price,
    .radio-price {
        font-size: 1rem !important;
    }
    
    /* Checkbox Options */
    .checkbox-option {
        padding: 1rem !important;
    }
    
    /* Commander Button */
    .btn-commander {
        padding: 1.25rem !important;
        font-size: 1rem !important;
        font-weight: 800 !important;
    }
    
    .configurator-form {
        padding: 1rem 0.75rem;
    }
    
    /* Configurator Sections Spacing */
    .configurator-section {
        margin-bottom: 2rem !important;
        padding: 1.25rem !important;
        background: white !important;
        border-radius: 16px !important;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
    }
    
    /* Helper Text */
    .helper-text {
        font-size: 0.8rem !important;
        margin-top: 0.75rem !important;
        padding: 0 0.5rem !important;
    }
    
    /* Step Indicator - Make more compact */
    .step-indicator {
        padding: 1rem 0.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .step {
        padding: 0.5rem !important;
    }
    
    .step-number {
        width: 35px !important;
        height: 35px !important;
        font-size: 1rem !important;
    }
    
    .step-text {
        font-size: 0.75rem !important;
    }
    
    /* Price Details Box */
    .price-breakdown {
        padding: 1rem !important;
        margin-top: 1rem !important;
    }
    
    .price-breakdown h4 {
        font-size: 1rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .price-item {
        padding: 0.5rem 0 !important;
        font-size: 0.85rem !important;
    }
    
    /* Configurator Header on Mobile */
    .configurator > div:first-child {
        padding: 2rem 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    .configurator h1 {
        font-size: 1.75rem !important;
    }
    
    .configurator p {
        font-size: 0.9rem !important;
    }
    
    .quantity-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .quantity-value {
        font-size: 1.25rem;
        min-width: 70px;
    }
    
    .btn-commander {
        padding: 1rem 0.75rem;
        font-size: 0.95rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .form-label {
        font-size: 0.9rem;
    }
    
    .color-selector {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.6rem !important;
        max-height: 400px !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .color-option {
        padding: 0.75rem 0.5rem !important;
        min-height: 110px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    .color-circle {
        width: 40px !important;
        height: 40px !important;
        flex-shrink: 0 !important;
    }
    
    .color-name {
        font-size: 0.75rem !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    /* Color quantity controls in mobile */
    .color-quantity-controls {
        display: inline-flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px !important;
        margin-top: 3px !important;
    }
    
    /* Prevent horizontal overflow in configurator sections */
    .configurator-section {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    
    /* Ensure main configurator container doesn't overflow */
    .configurator {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    .configurator-form {
        overflow-x: hidden !important;
        width: 100% !important;
    }
    
    /* Radio and checkbox groups */
    .radio-group,
    .checkbox-group {
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    
    .radio-option,
    .checkbox-option {
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .color-name {
        font-size: 0.85rem;
    }
    
    .color-qty-btn {
        width: 26px !important;
        height: 26px !important;
        font-size: 0.7rem !important;
        flex-shrink: 0 !important;
    }
    
    .color-qty-value {
        font-size: 0.9rem !important;
        min-width: 25px !important;
        max-width: 35px !important;
        flex-shrink: 0 !important;
        text-align: center !important;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .category-image {
        aspect-ratio: 4/5; /* Portrait ratio for small screens */
    }
    
    .category-info {
        padding: 0.75rem;
    }
    
    .category-name {
        font-size: 0.9rem;
    }
    
    .category-description {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .btn-primary {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem !important;
        font-size: 0.85rem !important;
    }
}

/* ===================================
   ANIMATIONS & TRANSITIONS - ULTRA ENHANCED
   =================================== */

/* === Basic Animations === */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(233, 30, 99, 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(233, 30, 99, 0.8);
    }
}

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

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(-50px);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

@keyframes rotate360 {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* === Hero Specific Animations === */
@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroZoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(233, 30, 99, 0.5),
                     0 0 20px rgba(233, 30, 99, 0.3),
                     0 0 30px rgba(233, 30, 99, 0.2);
    }
    50% {
        text-shadow: 0 0 20px rgba(233, 30, 99, 0.8),
                     0 0 30px rgba(233, 30, 99, 0.6),
                     0 0 40px rgba(233, 30, 99, 0.4);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* === Floating Animations === */
@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes floatMedium {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(3deg);
    }
}

/* === Badge Animations === */
@keyframes badgePop {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    60% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes badgeFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-5px) rotate(2deg);
    }
}

/* === Button Animations === */
@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(233, 30, 99, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 8px 40px rgba(233, 30, 99, 0.5);
        transform: scale(1.02);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* === Stats Counter Animation === */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Smooth Page Transitions === */
#app {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* === Loading States === */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(233, 30, 99, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-pink);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* === Animation Classes === */
.pulse-animation {
    animation: pulse 2s infinite ease-in-out;
}

.bounce-animation {
    animation: bounce 1.5s infinite ease-in-out;
}

.glow-animation {
    animation: glow 2s infinite ease-in-out;
}

.float-animation {
    animation: floatSlow 3s infinite ease-in-out;
}

.shimmer-animation {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255,255,255,0.5) 50%, 
        transparent 100%);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

/* ===================================
   ENHANCED MOBILE RESPONSIVENESS
   =================================== */

/* Mobile - Small devices (phones, 600px and down) */
@media (max-width: 600px) {
    /* === Compact Hero Banner Mobile === */
    section[style*="height: 320px"] {
        height: auto !important;
        min-height: 280px !important;
        padding: 2rem 1.5rem !important;
    }
    
    section[style*="height: 320px"] h1 {
        font-size: 1.75rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    section[style*="height: 320px"] p {
        font-size: 0.85rem !important;
        margin-bottom: 1.25rem !important;
    }
    
    section[style*="height: 320px"] .btn {
        font-size: 0.75rem !important;
        padding: 0.75rem 1.5rem !important;
        width: 100% !important;
    }
    
    /* === Other Hero Sections Mobile === */
    section[style*="height: 220px"] {
        height: auto !important;
        min-height: 180px !important;
        padding: 2rem 1.5rem !important;
    }
    
    section[style*="height: 220px"] h1 {
        font-size: 1.5rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    section[style*="height: 220px"] p {
        font-size: 0.8rem !important;
    }
    
    /* === Features Section Mobile === */
    section.features div[style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    section.features {
        padding: 2rem 1rem !important;
    }
    
    section.features h3 {
        font-size: 0.95rem !important;
    }
    
    section.features p {
        font-size: 0.8rem !important;
    }
    
    section.features div[style*="width: 60px"] {
        width: 50px !important;
        height: 50px !important;
    }
    
    section.features i {
        font-size: 1.25rem !important;
    }
    
    /* === Gallery/Best Sellers Mobile === */
    section div[style*="grid-template-columns: repeat(auto-fit, minmax(280px, 1fr))"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    section div[style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
    
    /* === Testimonials Mobile === */
    section div[style*="grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    section[style*="padding: 6rem 2rem"] {
        padding: 3rem 1rem !important;
    }
    
    section[style*="padding: 6rem 2rem"] h2 {
        font-size: 1.75rem !important;
    }
    
    section[style*="padding: 6rem 2rem"] .section-subtitle {
        font-size: 0.95rem !important;
    }
    
    /* === Footer Mobile === */
    footer div[style*="grid-template-columns: 2fr 1fr 1fr 1fr"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem 0.75rem !important;
    }
    
    footer {
        padding: 0 !important;
    }
    
    footer > div {
        padding: 1.5rem 1rem 1rem !important;
    }
    
    footer h3,
    footer h4 {
        font-size: 1.1rem !important;
    }
    
    footer div[style*="display: flex; justify-content: space-between"] {
        flex-direction: column !important;
        gap: 1.5rem !important;
        align-items: flex-start !important;
        text-align: center !important;
    }
    
    footer div[style*="display: flex; justify-content: space-between"] > div {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    /* === Navbar Mobile === */
    .navbar {
        padding: 0.75rem 1rem !important;
    }
    
    .logo img {
        height: 32px !important;
    }
    
    .logo {
        font-size: 1.1rem !important;
    }
    
    .nav-menu {
        gap: 0.25rem !important;
    }
    
    .nav-menu a {
        font-size: 0.75rem !important;
        padding: 0.4rem 0.6rem !important;
    }
    
    /* === Button Groups Mobile === */
    div[style*="display: flex; gap: 1rem"] > button {
        flex: 1 1 100% !important;
        min-width: 100% !important;
    }
    
    /* === Badges Mobile === */
    div[style*="display: inline-flex"][style*="padding: 0.4rem 1rem"] {
        padding: 0.35rem 0.85rem !important;
    }
    
    div[style*="display: inline-flex"][style*="padding: 0.4rem 1rem"] span:last-child {
        font-size: 0.65rem !important;
        letter-spacing: 0.5px !important;
    }
    
    /* === Configurator Progress Stepper Mobile === */
    div[style*="max-width: 1100px"][style*="margin: 3rem auto"] {
        padding: 0 1rem !important;
        margin: 2rem auto !important;
    }
    
    div[style*="display: flex; justify-content: space-between; align-items: center"] {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }
    
    div[style*="width: 60px; height: 60px"][style*="border-radius: 50%"] {
        width: 45px !important;
        height: 45px !important;
    }
    
    div[style*="width: 60px; height: 60px"] span {
        font-size: 1.2rem !important;
    }
    
    /* === Section Headers Mobile === */
    .section-header h2 {
        font-size: 1.75rem !important;
    }
    
    .section-header p {
        font-size: 0.95rem !important;
    }
    
    /* === Image Heights Mobile === */
    section img[style*="height"] {
        height: auto !important;
        max-height: 250px !important;
    }
    
    /* === Max Widths Mobile === */
    div[style*="max-width: 1200px"],
    div[style*="max-width: 1400px"] {
        max-width: 100% !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    /* === Text Alignment Mobile === */
    div[style*="text-align: center"] button {
        margin: 0 auto !important;
    }
    
    /* === Margin Adjustments Mobile === */
    section {
        margin-top: 0 !important;
    }
    
    section:first-of-type {
        margin-top: 80px !important;
    }
}

/* Extra Small Mobile (phones in portrait, less than 400px) */
@media (max-width: 400px) {
    /* === Ultra Compact Hero === */
    section[style*="height: 320px"] h1 {
        font-size: 1.5rem !important;
    }
    
    section[style*="height: 220px"] h1 {
        font-size: 1.3rem !important;
    }
    
    /* === Features Ultra Compact === */
    section.features div[style*="padding: 1.75rem 1.5rem"] {
        padding: 1.25rem 1rem !important;
    }
    
    /* === Footer Ultra Compact === */
    footer > div {
        padding: 2.5rem 1rem 1.5rem !important;
    }
    
    /* === Buttons Ultra Compact === */
    .btn {
        font-size: 0.8rem !important;
        padding: 0.85rem 1.25rem !important;
    }
    
    /* === Typography Ultra Compact === */
    h1 {
        font-size: 1.5rem !important;
    }
    
    h2 {
        font-size: 1.4rem !important;
    }
    
    h3 {
        font-size: 1rem !important;
    }
    
    p {
        font-size: 0.85rem !important;
    }
    
    /* === Category Cards Ultra Compact === */
    .category-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}

/* ========================================
   MOBILE TOUCH IMPROVEMENTS
   ======================================== */

/* Improve touch target sizes for mobile */
@media (max-width: 768px) {
    /* Ensure all clickable elements have minimum 44px touch target */
    button, a, input[type="button"], input[type="submit"], .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Better spacing for touch targets */
    .category-card .btn {
        padding: 0.9rem 1.5rem !important;
        font-size: 0.95rem !important;
    }
    
    /* Improve form input touch targets */
    input[type="text"],
    input[type="tel"],
    input[type="email"],
    input[type="date"],
    input[type="time"],
    textarea,
    select {
        min-height: 44px;
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
    
    /* Better button spacing in grids */
    .hero-badges button,
    .filter-buttons button {
        margin: 0.25rem !important;
    }
}

/* ========================================
   CUSTOMER INFO MODAL
   ======================================== */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUpBounce 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10001;
}

.modal-header {
    padding: 2rem 2rem 1.5rem;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #FCE4EC 0%, #F8BBD0 50%, white 100%);
    border-radius: 20px 20px 0 0;
}

.modal-header h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
}

.modal-header h2 i {
    color: var(--primary-pink);
    font-size: 1.75rem;
}

.modal-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: white;
    color: var(--text-gray);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.modal-close:hover {
    background: var(--primary-pink);
    color: white;
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
}

.modal-body .form-group {
    margin-bottom: 1.5rem;
}

.modal-body .form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.modal-body .form-group label i {
    color: var(--primary-pink);
}

.modal-body .form-group .required {
    color: var(--primary-pink);
    font-weight: 700;
}

.modal-body .form-group input,
.modal-body .form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-fast);
    background: white;
}

.modal-body .form-group input:focus,
.modal-body .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-pink);
    box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.1);
}

.modal-body .form-group textarea {
    resize: vertical;
    min-height: 60px;
}

.modal-body .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.modal-footer {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
}

.modal-footer .btn {
    flex: 1;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
}

.modal-footer .btn-secondary {
    background: #F5F5F5;
    color: var(--text-dark);
}

.modal-footer .btn-secondary:hover {
    background: #E0E0E0;
}

.modal-footer .btn-primary {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--pink-medium) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.modal-footer .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

/* Modal Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUpBounce {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ========================================
   HAMBURGER MENU & MOBILE NAVIGATION
   ======================================== */

/* Hide hamburger on desktop - ALWAYS */
.hamburger-btn {
    display: none !important;
}

/* Show desktop menu on desktop - ALWAYS */
.desktop-menu {
    display: flex !important;
}

/* Hide mobile menu overlay by default */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
}

.mobile-menu-overlay.active {
    display: flex !important;
    justify-content: flex-end;
}

/* Mobile styles ONLY */
@media (max-width: 768px) {
    /* Hide desktop menu on mobile */
    .desktop-menu {
        display: none !important;
    }
    
    /* Show hamburger button on mobile ONLY */
    .hamburger-btn {
        display: flex !important;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        z-index: 10001;
    }
    
    .hamburger-btn span {
        width: 25px;
        height: 3px;
        background: var(--primary-pink);
        border-radius: 3px;
        transition: all 0.3s ease;
    }
    
    .hamburger-btn:active span {
        background: #C2185B;
    }
    
    /* Mobile menu overlay */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9999;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    
    .mobile-menu-overlay.active {
        display: block;
        opacity: 1;
        pointer-events: all;
    }
    
    /* Mobile menu panel */
    .mobile-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 320px;
        height: 100%;
        background: white;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 10000;
        overflow-y: auto;
    }
    
    .mobile-menu-overlay.active .mobile-menu {
        transform: translateX(0);
    }
    
    /* Mobile menu header */
    .mobile-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.5rem;
        border-bottom: 2px solid #F0F0F0;
        background: linear-gradient(135deg, #FCE4EC 0%, #F8BBD0 50%, white 100%);
    }
    
    .close-menu-btn {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: none;
        background: white;
        color: var(--text-gray);
        font-size: 1.25rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .close-menu-btn:active {
        background: var(--primary-pink);
        color: white;
        transform: rotate(90deg);
    }
    
    /* Mobile menu items */
    .mobile-menu-items {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .mobile-menu-items li {
        border-bottom: 1px solid #F0F0F0;
    }
    
    .mobile-menu-items a {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1.25rem 1.5rem;
        color: var(--text-dark);
        text-decoration: none;
        font-weight: 600;
        font-size: 1.05rem;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-items a i {
        color: var(--primary-pink);
        font-size: 1.2rem;
        width: 24px;
    }
    
    .mobile-menu-items a.active {
        background: linear-gradient(90deg, #FCE4EC 0%, transparent 100%);
        color: var(--primary-pink);
        border-left: 4px solid var(--primary-pink);
    }
    
    .mobile-menu-items a:active {
        background: #FCE4EC;
    }
    
    /* === Footer Mobile - Compact 2 columns === */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem 0.75rem !important;
    }
    
    .footer-grid > div {
        padding: 0 !important;
    }
    
    .footer-grid h3,
    .footer-grid h4 {
        font-size: 0.8rem !important;
        margin-bottom: 0.4rem !important;
    }
    
    .footer-grid p,
    .footer-grid a,
    .footer-grid span,
    .footer-grid div {
        font-size: 0.65rem !important;
        line-height: 1.5 !important;
    }
    
    .footer-grid img {
        width: 35px !important;
        height: 35px !important;
    }
    
    footer > div {
        padding: 1.5rem 1rem 1rem !important;
    }
    
    .footer-bottom {
        flex-direction: column !important;
        gap: 1.5rem !important;
        align-items: center !important;
        text-align: center !important;
    }
    
    .footer-bottom > div {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    footer h4 {
        font-size: 1rem !important;
    }
    
    footer p,
    footer a,
    footer div {
        font-size: 0.9rem !important;
    }
    
    /* Hide decorative footer band on mobile to prevent overlap */
    .footer-decorative-top {
        display: none !important;
    }
}

/* Mobile Modal Styles */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
        border-radius: 16px;
    }
    
    /* Customer Modal - Compact for Mobile */
    .customer-modal-content {
        width: 95% !important;
        max-height: 90vh !important;
        margin: 0 auto !important;
        position: relative !important;
    }
    
    .customer-modal-header {
        padding: 1rem 0.75rem !important;
    }
    
    .customer-modal-header h2 {
        font-size: 1.1rem !important;
    }
    
    .customer-modal-header p {
        font-size: 0.75rem !important;
    }
    
    .customer-modal-header i {
        font-size: 1.5rem !important;
    }
    
    .customer-modal-form {
        padding: 0.75rem !important;
    }
    
    .customer-modal-form input,
    .customer-modal-form textarea {
        padding: 0.6rem 0.7rem !important;
        font-size: 0.85rem !important;
    }
    
    .customer-modal-form label {
        font-size: 0.8rem !important;
    }
    
    .customer-modal-buttons {
        gap: 0.5rem !important;
        padding: 0.5rem 0 !important;
    }
    
    .customer-modal-buttons button {
        padding: 0.7rem 0.5rem !important;
        font-size: 0.85rem !important;
    }
    
    .modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .modal-header h2 {
        font-size: 1.25rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-body .form-row {
        grid-template-columns: 1fr;
    }
    
    .modal-footer {
        flex-direction: column-reverse;
    }
    
    .modal-footer .btn {
        width: 100%;
    }
}


/* === Image Lightbox Animations === */
@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* === Image Lightbox Styles === */
#image-lightbox {
    cursor: zoom-out;
}

#image-lightbox img {
    cursor: default;
}

/* ===================================
   CUSTOM NOTIFICATION SYSTEM
   =================================== */

.custom-notification {
    position: fixed;
    top: 100px;
    right: -400px;
    max-width: 400px;
    width: 90%;
    z-index: 10000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
}

.custom-notification.show {
    right: 20px;
    opacity: 1;
    pointer-events: all;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-left: 5px solid var(--primary-pink);
    animation: slideInBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes slideInBounce {
    0% {
        transform: translateX(400px) scale(0.9);
        opacity: 0;
    }
    50% {
        transform: translateX(-20px) scale(1.02);
    }
    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

.notification-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.notification-message {
    flex: 1;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-dark);
    font-weight: 500;
}

.notification-close {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-gray);
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
}

.notification-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
    transform: rotate(90deg);
}

/* Notification Types */
.custom-notification.success .notification-content {
    border-left-color: #4CAF50;
    background: linear-gradient(135deg, #ffffff 0%, #f1f8f4 100%);
}

.custom-notification.success .notification-icon {
    color: #4CAF50;
}

.custom-notification.error .notification-content {
    border-left-color: #F44336;
    background: linear-gradient(135deg, #ffffff 0%, #fef5f5 100%);
}

.custom-notification.error .notification-icon {
    color: #F44336;
}

.custom-notification.warning .notification-content {
    border-left-color: #FF9800;
    background: linear-gradient(135deg, #ffffff 0%, #fff8f0 100%);
}

.custom-notification.warning .notification-icon {
    color: #FF9800;
}

.custom-notification.info .notification-content {
    border-left-color: #2196F3;
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
}

.custom-notification.info .notification-icon {
    color: #2196F3;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .custom-notification {
        top: 80px;
        max-width: calc(100% - 40px);
    }
    
    .custom-notification.show {
        right: 20px;
    }
    
    .notification-content {
        padding: 15px;
        gap: 12px;
    }
    
    .notification-icon {
        font-size: 20px;
    }
    
    .notification-message {
        font-size: 14px;
    }
}


/* Enhanced Customer Modal Form Styles */
#customer-info-modal input[type="text"],
#customer-info-modal input[type="tel"],
#customer-info-modal input[type="date"],
#customer-info-modal input[type="time"],
#customer-info-modal textarea {
    transition: all 0.3s ease;
}

#customer-info-modal input[type="text"]:focus,
#customer-info-modal input[type="tel"]:focus,
#customer-info-modal input[type="date"]:focus,
#customer-info-modal input[type="time"]:focus,
#customer-info-modal textarea:focus {
    outline: none;
    border-color: #E91E63;
    background: white;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
    transform: translateY(-1px);
}

#customer-info-modal input[type="text"]:hover,
#customer-info-modal input[type="tel"]:hover,
#customer-info-modal input[type="date"]:hover,
#customer-info-modal input[type="time"]:hover,
#customer-info-modal textarea:hover {
    border-color: #F06292;
    background: white;
}

#customer-info-modal button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

#customer-info-modal button[type="button"]:hover {
    background: #F8F9FA;
    border-color: #999;
}

/* ===================================
   MOBILE UI FIXES - December 2025
   =================================== */

@media (max-width: 768px) {
    /* FIX 1: Product grid - 2 products per row instead of 1 */
    .category-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }
    
    .category-card {
        border-radius: 12px;
    }
    
    .category-info {
        padding: 0.75rem !important;
    }
    
    .category-info h3 {
        font-size: 0.9rem !important;
        margin-bottom: 0.25rem !important;
    }
    
    .category-info p {
        font-size: 0.75rem !important;
        line-height: 1.3 !important;
    }
    
    .product-card {
        border-radius: 12px !important;
    }
    
    /* FIX 4: Category filters - JS handles fixed for mobile */
    .catalogue-filters-sticky {
        background: white !important;
        padding: 0.4rem 0.5rem !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    }
    
    .catalogue-filters-sticky.is-fixed {
        position: fixed !important;
        top: 80px !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 998 !important;
    }
    
    .catalogue-filters {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 0.35rem !important;
        justify-content: center !important;
        justify-content: center !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
        border-radius: 0 0 12px 12px !important;
    }
    
    .filter-btn {
        flex-shrink: 0 !important;
        padding: 0.4rem 0.6rem !important;
        font-size: 0.7rem !important;
        white-space: nowrap !important;
        border-radius: 20px !important;
    }
}

/* FIX 2 & 6: Personnaliser page - flower count and colors */
@media (max-width: 768px) {
    /* Flower count options in one row */
    [style*="flex-wrap: wrap"][style*="gap: 1rem"] {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 0.5rem !important;
        padding-bottom: 0.5rem !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    /* Flower count cards smaller */
    [style*="cursor: pointer"][style*="border-radius: 20px"][style*="padding: 1.5rem"] {
        padding: 0.75rem !important;
        min-width: 90px !important;
        flex-shrink: 0 !important;
        border-radius: 12px !important;
    }
    
    [style*="cursor: pointer"][style*="border-radius: 20px"] [style*="font-size: 2.5rem"] {
        font-size: 1.5rem !important;
    }
    
    [style*="cursor: pointer"][style*="border-radius: 20px"] [style*="font-size: 1.1rem"] {
        font-size: 0.85rem !important;
    }
    
    [style*="cursor: pointer"][style*="border-radius: 20px"] [style*="font-size: 1.3rem"] {
        font-size: 0.95rem !important;
    }
    
    /* Color selection - 3 per row */
    .color-grid,
    [style*="display: grid"][style*="grid-template-columns: repeat(2"],
    [style*="display: grid"][style*="grid-template-columns: repeat(3"] {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.5rem !important;
    }
    
    /* Color option cards smaller */
    .color-option-simple {
        padding: 0.5rem !important;
        border-radius: 8px !important;
    }
    
    /* Color circles smaller */
    .color-option-simple > div:first-child,
    [style*="width: 50px; height: 50px; border-radius: 50%; background:"],
    [style*="width: 40px; height: 40px; border-radius: 50%; background:"] {
        width: 35px !important;
        height: 35px !important;
    }
    
    /* Color name text smaller */
    .color-option-simple > div:nth-child(2) {
        font-size: 0.7rem !important;
    }
    
    /* Sticky price display */
    [style*="position: sticky"][style*="background: white"][style*="border-top"],
    .sticky-price-bar {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 999 !important;
        background: white !important;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.1) !important;
        padding: 1rem !important;
    }
}

/* FIX 3: Collection Exclusive section */
@media (max-width: 768px) {
    [style*="display: grid"][style*="grid-template-columns: 1fr 1fr"][style*="gap: 3rem"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
        align-items: center !important;
        text-align: center !important;
    }
    
    [style*="display: grid"][style*="grid-template-columns: 1fr 1fr"] > div {
        width: 100% !important;
    }
    
    /* Fix 100% stat positioning */
    [style*="font-size: 4rem"][style*="font-weight: 800"] {
        font-size: 2.5rem !important;
    }
}

/* FIX 5: Actions Rapides section */
@media (max-width: 768px) {
    [style*="Actions Rapides"],
    .actions-rapides {
        padding: 1.5rem 1rem !important;
    }
    
    [style*="padding: 3rem"][style*="border-radius: 25px"][style*="background: white"] {
        padding: 1.5rem 1rem !important;
        border-radius: 16px !important;
        margin: 1rem !important;
    }
    
    [style*="padding: 3rem"] h3[style*="font-size: 1.5rem"] {
        font-size: 1.2rem !important;
        margin-bottom: 1rem !important;
    }
    
    [style*="padding: 3rem"] [style*="gap: 1rem"] {
        gap: 0.75rem !important;
    }
    
    [style*="padding: 3rem"] .btn,
    [style*="padding: 3rem"] [style*="padding: 1rem 2rem"] {
        padding: 0.875rem 1.25rem !important;
        font-size: 0.9rem !important;
    }
}

/* Override any 1fr grid for products on mobile */
@media (max-width: 600px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Personnaliser sticky price bar */
@media (max-width: 768px) {
    #personnaliser-page [style*="position: sticky"],
    .personnaliser-footer {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        background: white !important;
        z-index: 1000 !important;
        padding: 1rem !important;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.15) !important;
        border-top: 1px solid #eee !important;
    }
    
    /* Add padding at bottom to prevent content being hidden by sticky bar */
    #personnaliser-page {
        padding-bottom: 100px !important;
    }
}

/* Packaging options - better mobile layout */
@media (max-width: 768px) {
    [style*="display: grid"][style*="grid-template-columns: repeat(2, 1fr)"][style*="gap: 1rem"] {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
    }
    
    /* Packaging cards smaller */
    [style*="border: 2px solid"][style*="border-radius: 16px"][style*="padding: 1.25rem"] {
        padding: 0.75rem !important;
        border-radius: 10px !important;
    }
    
    [style*="border: 2px solid"][style*="border-radius: 16px"] [style*="font-size: 1.5rem"] {
        font-size: 1.2rem !important;
    }
    
    [style*="border: 2px solid"][style*="border-radius: 16px"] [style*="font-size: 0.9rem"] {
        font-size: 0.75rem !important;
    }
    
    [style*="border: 2px solid"][style*="border-radius: 16px"] [style*="font-size: 0.85rem"] {
        font-size: 0.7rem !important;
    }
}

/* Footer grid mobile fix - compact 2 columns */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem 0.75rem !important;
        text-align: left !important;
    }
    
    /* Personnaliser - Hide desktop price, show mobile sticky */
    .desktop-price-summary {
        display: none !important;
    }
    
    .desktop-order-btn {
        display: none !important;
    }
    
    .mobile-sticky-price-bar {
        display: block !important;
    }
    
    /* Add padding for sticky bar */
    section:has(.mobile-sticky-price-bar) {
        padding-bottom: 100px !important;
    }
    
    /* Catalogue filters for mobile - JS handles fixed */
    .catalogue-filters-sticky {
        background: white !important;
        padding: 0.4rem 0.5rem !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    }
    
    .catalogue-filters-sticky.is-fixed {
        position: fixed !important;
        top: 80px !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 998 !important;
    }
    
    .catalogue-filters {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 0.35rem !important;
        justify-content: center !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
        border-radius: 0 0 12px 12px !important;
    }
    
    /* Fix color grid on mobile - flexbox 3 columns with compact buttons */
    .color-grid {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        width: 100% !important;
        justify-content: center !important;
    }
    
    .color-grid .color-option-simple {
        width: calc(33.33% - 6px) !important;
        box-sizing: border-box !important;
        padding: 6px !important;
    }
    
    .color-option-simple {
        padding: 6px 4px !important;
        min-height: auto !important;
        border-radius: 8px !important;
        box-sizing: border-box !important;
    }
    
    .color-option-simple > div:first-child {
        width: 28px !important;
        height: 28px !important;
        margin: 0 auto 3px !important;
    }
    
    .color-option-simple > div:nth-child(2) {
        font-size: 0.55rem !important;
    }
    
    .color-quantity-controls {
        gap: 5px !important;
        display: inline-flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: center !important;
        margin-top: 3px !important;
    }
    
    .color-qty-btn-minus,
    .color-qty-btn-plus {
        font-size: 14px !important;
        font-weight: 700 !important;
        padding: 0 2px !important;
        background: transparent !important;
        border: none !important;
        width: auto !important;
        height: auto !important;
        cursor: pointer !important;
        display: inline !important;
    }
    
    .color-qty-btn-minus {
        color: #999 !important;
    }
    
    .color-qty-btn-plus {
        color: #E91E63 !important;
    }
    
    .color-qty-value {
        font-size: 0.75rem !important;
        min-width: 14px !important;
        display: inline !important;
    }
}

/* Desktop overrides - restore full styling */
@media (min-width: 769px) {
    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
        gap: 2rem !important;
    }
    
    .catalogue-filters-sticky {
        position: sticky !important;
        top: 80px !important;
        z-index: 100 !important;
        background: white !important;
        padding: 1rem !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08) !important;
    }
    
    .catalogue-filters {
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
        max-width: 1400px !important;
        margin: 0 auto !important;
        border-radius: 15px !important;
        max-width: 1200px !important;
    }
    
    .filter-btn {
        padding: 0.75rem 1.5rem !important;
        font-size: 0.95rem !important;
    }
    
    .color-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important;
        gap: 1rem !important;
    }
    
    .flower-count-options {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1rem !important;
        overflow-x: visible !important;
    }
    
    .flower-count-options .size-option {
        padding: 1.5rem !important;
    }
    
    .wedding-grid {
        display: grid !important;
        grid-template-columns: 1.1fr 0.9fr !important;
        flex-direction: row !important;
        gap: 4rem !important;
        align-items: center !important;
    }
    
    .wedding-grid > div:first-child {
        text-align: left !important;
        order: 0 !important;
    }
    
    .wedding-grid > div:last-child {
        max-width: none !important;
        order: 0 !important;
    }
    
    .wedding-grid h2 {
        font-size: 3.25rem !important;
    }
    
    .quick-actions-section {
        padding: 3rem !important;
    }
    
    .quick-actions-section h3 {
        font-size: 2rem !important;
    }
    
    .quick-actions-section > div:last-child {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        flex-direction: row !important;
        gap: 2rem !important;
    }
    
    .quick-actions-section button {
        padding: 1.5rem !important;
        font-size: 1.1rem !important;
    }
}

