:root {
    --primary-color: #8b5cf6;
    --secondary-color: #ec4899;
    --dark-color: #1f2937;
    --light-color: #f9fafb;
    --gradient: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.navbar {
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.brand-text {
    font-family: 'Playfair Display', serif;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

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

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

.btn-primary {
    background: var(--gradient);
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--gradient);
    border-color: transparent;
    transform: translateY(-2px);
}

.hero-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.hero-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bottles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 20px;
    animation: float 3s ease-in-out infinite;
}

.hero-bottle {
    background: rgba(255, 255, 255, 0.75);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 10px 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(6px);
}

.hero-bottle:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(139, 92, 246, 0.25);
}

.hero-bottle img {
    height: 130px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
}

.hero-bottle span {
    margin-top: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    text-align: center;
}

.hero-bottle--1 { animation-delay: 0s; }
.hero-bottle--2 { animation-delay: 0.4s; }
.hero-bottle--3 { animation-delay: 0.8s; }
.hero-bottle--4 { animation-delay: 1.2s; }

.hero-perfume-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.3);
    animation: float 3s ease-in-out infinite;
}

.hero-icon {
    font-size: 15rem;
    color: var(--primary-color);
    opacity: 0.1;
    animation: float 3s ease-in-out infinite;
}

.floating-element {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--gradient);
    border-radius: 50%;
    opacity: 0.1;
    animation: pulse 2s ease-in-out infinite;
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.features-section {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 3rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    background: white;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: transform 0.3s ease;
}

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-title {
    font-size: 1.1rem;
    margin: 0.5rem 0;
    color: var(--dark-color);
}

.product-brand {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient {
    background: var(--gradient);
}

.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    top: -250px;
    right: -250px;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.testimonial-text {
    font-style: italic;
    color: #4b5563;
    margin-bottom: 1rem;
}

.stars i {
    font-size: 1rem;
}

footer {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

footer .social-links a {
    transition: all 0.3s ease;
    display: inline-block;
}

footer .social-links a:hover {
    transform: translateY(-3px);
    color: var(--primary-color) !important;
}

footer .footer-link:hover {
    color: white !important;
    padding-left: 5px;
}

.page-header {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.product-detail-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.note-card {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.feature-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.cart-item {
    transition: all 0.3s ease;
}

.cart-item:hover {
    background: #f8f9fa;
    padding: 1rem;
    margin: 0 -1rem;
    border-radius: 10px;
}

.quantity-control {
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-value {
    min-width: 40px;
    text-align: center;
    font-weight: 600;
}

.order-summary {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
}

.payment-methods i {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.payment-methods i:hover {
    opacity: 1;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.info-item {
    display: flex;
    gap: 1rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    color: white;
    font-size: 1.25rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.3);
}

.accordion-button:not(.collapsed) {
    background: var(--gradient);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
}

.feature-icon-large {
    font-size: 4rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.value-item h5 {
    color: var(--dark-color);
}

/* ── About product grid ── */
.about-img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
}

.about-img-item {
    position: relative;
    background: #f8f9fa;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 10px 10px;
}

.about-img-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.about-img-large {
    grid-column: 1 / -1;
    flex-direction: row;
    gap: 20px;
    padding: 20px;
    justify-content: center;
}

.about-img-item img {
    height: 120px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
}

.about-img-large img {
    height: 160px;
}

.about-img-item span {
    margin-top: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    letter-spacing: 0.4px;
}

.about-img-large span {
    margin-top: 0;
    margin-left: 4px;
    font-size: 0.9rem;
}

/* ── Navbar mobile : panier toujours visible ── */
@media (max-width: 991px) {
    .navbar .navbar-brand {
        flex: 1;
    }
}

@media (max-width: 991px) {
    .about-img-item img {
        height: 90px;
    }
    .about-img-large img {
        height: 110px;
    }
}

.stat-item {
    padding: 2rem;
}

/* ── Scroll Progress Bar ── */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--gradient);
    z-index: 9999;
    transition: width 0.1s linear;
}

/* ── Back to Top ── */
#back-to-top {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}
#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
#back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.5);
}

/* ── WhatsApp Flottant ── */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: white;
    padding: 12px 16px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    transition: all 0.3s ease;
    z-index: 1000;
    max-width: 56px;
    overflow: hidden;
}
.whatsapp-float i {
    font-size: 1.5rem;
    flex-shrink: 0;
}
.whatsapp-label {
    white-space: nowrap;
    max-width: 0;
    overflow: hidden;
    transition: max-width 0.4s ease;
    opacity: 0;
}
.whatsapp-float:hover {
    max-width: 260px;
    color: white;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}
.whatsapp-float:hover .whatsapp-label {
    max-width: 200px;
    opacity: 1;
}

/* ── Nav Active Link ── */
.navbar .nav-link.active {
    color: var(--primary-color) !important;
}
.navbar .nav-link.active::after {
    width: 100%;
}

/* ── Search Input ── */
.input-group .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}
.input-group .input-group-text {
    border-color: #dee2e6;
}
.input-group:focus-within .input-group-text,
.input-group:focus-within .form-control {
    border-color: var(--primary-color);
}

/* ── Cart badge transition ── */
#cart-count {
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .hero-icon {
        font-size: 8rem;
    }
    .product-image {
        height: 200px;
    }
    .display-3, .display-4 {
        font-size: 2rem;
    }
    .hero-bottles-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 10px;
    }
    .hero-bottle img {
        height: 90px;
    }
    .whatsapp-float {
        padding: 12px;
        border-radius: 50%;
    }
    .whatsapp-label {
        display: none;
    }
    #back-to-top {
        bottom: 90px;
        right: 16px;
    }
}

.sticky-top {
    top: 100px;
}

.card {
    border: none;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075) !important;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}
