:root {
    --primary: #B76E79; /* Rose muted élégant */
    --secondary: #9A8478; /* Taupe sophistiqué */
    --accent: #D4AF37; /* Or subtile */
    --text: #333333;
    --light-text: #ffffff;
    --dark-bg: #21202A;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.98);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.input-group-text {
        background: linear-gradient(45deg, var(--primary), var(--secondary));
        color: white;
        border: none;
        font-weight: bold;
}

.input-group .form-control {
        border-right: 1px solid #ddd;
}

.text-muted {
        font-size: 0.8rem;
        margin-top: 5px;
}

.buy-btn {
        width: 100%;
        padding: 10px;
        border: none;
        border-radius: 10px;
        background: linear-gradient(45deg, var(--primary), var(--secondary));
        color: white;
        font-weight: bold;
        transition: all 0.3s ease;
        cursor: pointer;
}

.buy-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.product-image {
        position: relative;
        overflow: hidden;
        border-radius: 20px 20px 0 0;
        cursor: zoom-in;
}

.product-image img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
        transform: scale(1.1);
}

.zoom-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.8);
        z-index: 9999;
        display: none;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        touch-action: none;
}

.zoom-container {
        position: relative;
        width: 90%;
        max-width: 600px;
        height: auto;
        max-height: 80vh;
        overflow: hidden;
        border-radius: 10px;
        box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.zoom-image {
        width: 100%;
        height: auto;
        object-fit: contain;
        transform-origin: center;
        touch-action: manipulation;
}

.zoom-close {
        position: absolute;
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        color: white;
        font-size: 20px;
        cursor: pointer;
        z-index: 10000;
        transition: all 0.3s ease;
}

.zoom-close:hover {
        background: rgba(255, 255, 255, 0.4);
        transform: rotate(90deg);
}

.zoom-controls {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 15px;
        z-index: 10000;
}

.zoom-btn {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        color: white;
        font-size: 18px;
        cursor: pointer;
        transition: all 0.3s ease;
}

.zoom-btn:hover {
        background: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
        .zoom-container {
                width: 95%;
        }

        .zoom-controls {
                bottom: 10px;
        }

        .zoom-btn, .zoom-close {
                width: 36px;
                height: 36px;
                font-size: 16px;
        }
}

.modal-content {
        border-radius: 15px;
        border: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.modal-header {
        background: linear-gradient(45deg, var(--primary), var(--secondary));
        color: white;
        border-radius: 15px 15px 0 0;
}

.btn-close {
        filter: brightness(0) invert(1);
}

.form-control, .form-select {
        border-radius: 10px;
        border: 1px solid #ddd;
        padding: 10px 15px;
}

.form-control:focus, .form-select:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.25);
}

.color-options, .size-options {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px;
        border-radius: 10px;
        background: rgba(0,0,0,0.02);
}

.color-option {
        width: 35px;
        height: 35px;
        border-radius: 50%;
        cursor: pointer;
        position: relative;
        border: 2px solid transparent;
        transition: all 0.3s ease;
}

.color-option.selected {
        border-color: var(--primary);
        transform: scale(1.1);
}

.color-option.selected::after {
        content: '✓';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
        text-shadow: 0 0 2px rgba(0,0,0,0.5);
}

.size-option {
        padding: 8px 16px;
        border-radius: 20px;
        border: 2px solid #ddd;
        cursor: pointer;
        transition: all 0.3s ease;
        background: white;
}

.size-option:hover {
        border-color: var(--primary);
        transform: translateY(-2px);
}

.size-option.selected {
        background: var(--primary);
        color: white;
        border-color: var(--primary);
}

.option-error {
        color: #dc3545;
        font-size: 0.875em;
        margin-top: 5px;
        display: none;
}

.delivery-options {
        display: flex;
        gap: 15px;
        margin-top: 10px;
}

.delivery-option {
        flex: 1;
        padding: 15px;
        border: 2px solid #ddd;
        border-radius: 15px;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        background: white;
}

.delivery-option i {
        font-size: 24px;
        color: var(--primary);
}

.delivery-option span {
        font-size: 0.9rem;
        text-align: center;
}

.delivery-option:hover {
        border-color: var(--primary);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.delivery-option.selected {
        background: linear-gradient(45deg, var(--primary), var(--secondary));
        border-color: transparent;
        color: white;
}

.delivery-option.selected i {
        color: white;
}

@media (max-width: 576px) {
        .delivery-options {
                flex-direction: column;
        }
}

.social-links {
    display: flex;
    gap: 10px;
    margin: 10px 0;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-link.facebook {
    background: #1877F2;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-link.details {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border: none;
    cursor: pointer;
}

.featured-products {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.featured-products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.05) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
}

.featured-products h2 {
    position: relative;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    color: var(--dark-bg);
    text-align: center;
}

.featured-products h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

.swiper {
    width: 100%;
    padding: 70px 20px;
    overflow: visible !important;
}

.swiper-wrapper {
    align-items: center;
}

.swiper-slide {
    width: 320px;
    transition: all 0.5s ease;
    opacity: 0.7;
    transform: scale(0.85);
}

.swiper-slide-active {
    opacity: 1;
    transform: scale(1) translateY(-30px);
    z-index: 2;
}

.swiper-slide-active .product-card {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.swiper-pagination {
    position: relative;
    margin-top: 30px;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--primary);
    opacity: 0.3;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary);
    transform: scale(1.2);
}

.product-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--card-shadow);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-10px);
}

.glass-card {
    position: relative;
}

.glass-card::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    animation: glassShineSlow 6s linear infinite;
    opacity: 0;
    pointer-events: none;
}

@keyframes glassShineSlow {
    0% {
        left: -100%;
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    50% {
        left: 100%;
        opacity: 0;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

.product-image {
    height: 280px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.product-image:hover img {
    transform: scale(1.1);
}

.discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary), #d1919a);
    color: white;
    font-weight: bold;
    padding: 8px 12px;
    font-size: 0.9rem;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(183, 110, 121, 0.3);
    z-index: 2;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(183, 110, 121, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(183, 110, 121, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(183, 110, 121, 0);
    }
}

.product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.product-card:hover .product-title {
    color: var(--primary);
}

.category-name {
    font-size: 0.9rem;
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 15px;
}

.price-section {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 15px 0;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
}

.discounted-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.3rem;
}

.regular-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.3rem;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.social-link.facebook {
    background: linear-gradient(45deg, #1877F2, #3b5998);
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-link.details {
    background: linear-gradient(45deg, var(--accent), #e6c457);
    color: var(--dark-bg);
    border: none;
    cursor: pointer;
    font-weight: 700;
}

.buy-btn {
    width: 100%;
    border: none;
    padding: 12px 20px;
    background: linear-gradient(45deg, var(--primary), #d1919a);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(183, 110, 121, 0.3);
    position: relative;
    overflow: hidden;
    margin-top: 15px;
}

.buy-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: linear-gradient(90deg, 
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.2) 50%,
        rgba(255,255,255,0) 100%);
    transition: left 0.7s ease;
}

.buy-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(183, 110, 121, 0.4);
}

.buy-btn:hover::after {
    left: 100%;
}

.product-colors {
    display: flex;
    gap: 8px;
    margin: 12px 0;
}

.color-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.color-dot:hover {
    transform: scale(1.2);
    box-shadow: 0 0 8px rgba(0,0,0,0.2);
}

.product-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 15px;
}

.size-badge {
    padding: 5px 12px;
    background-color: rgba(154, 132, 120, 0.1);
    color: var(--secondary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.size-badge:hover {
    background-color: var(--secondary);
    color: white;
    transform: translateY(-2px);
}

.modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
}

.modal-header {
    background: linear-gradient(45deg, var(--primary), #d1919a);
    color: white;
    padding: 15px 20px;
    border-bottom: none;
}

.modal-title {
    font-weight: 600;
    font-size: 1.25rem;
}

.modal-body {
    padding: 25px;
}

.product-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.form-label {
    color: var(--text);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-control {
    border: 2px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(183, 110, 121, 0.15);
}

.delivery-options {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.delivery-option {
    flex: 1;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: white;
}

.delivery-option i {
    font-size: 24px;
    color: var(--secondary);
    transition: all 0.3s ease;
}

.delivery-option span {
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s ease;
}

.delivery-option:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.delivery-option.selected {
    background: linear-gradient(45deg, var(--primary), #d1919a);
    border-color: transparent;
    color: white;
    box-shadow: 0 10px 25px rgba(183, 110, 121, 0.3);
}

.delivery-option.selected i,
.delivery-option.selected span {
    color: white;
}

.color-options, .size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.color-option, .size-option {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.color-option {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.color-option:hover {
    transform: scale(1.1);
}

.color-option.selected::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 16px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
}

.size-option {
    padding: 8px 15px;
    border: 2px solid #eee;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    background: white;
}

.size-option:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.size-option.selected {
    background: var(--primary);
    color: white;
    border-color: transparent;
}

.option-error {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.product-details-modal .modal-content {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-details-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.product-details-image:hover {
    transform: scale(1.02);
}

.product-details-description {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.product-details-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.zoom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    z-index: 9999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.zoom-container {
    position: relative;
    width: 90%;
    max-width: 900px;
    height: 70vh;
    overflow: hidden;
}

.zoom-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transform-origin: center;
    transition: transform 0.1s ease-out;
    margin: auto;
    display: block;
}

.zoom-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.zoom-close:hover {
    background: white;
    color: black;
    transform: rotate(90deg);
}

.zoom-controls {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.zoom-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.zoom-btn:hover {
    background: white;
    color: black;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .swiper-slide {
        width: 250px;
    }
    
    .swiper-slide-active {
        transform: scale(1) translateY(-15px);
    }
    
    .product-image {
        height: 220px;
    }
    
    .product-title {
        font-size: 1.1rem;
    }
    
    .delivery-options {
        flex-direction: column;
    }
    
    .featured-products h2 {
        font-size: 1.8rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: calc(var(--i) * 0.1s);
    opacity: 0;
}

.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(183, 110, 121, 0.2);
    border-top: 5px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.social-links-label {
    font-size: 0.75rem;
    color: #666;
    margin-right: 8px;
    padding: 3px 8px;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: inline-block;
}

.social-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}