/* ===================================
   PLAQUE PRODUCT DETAIL STYLES
   ================================== */

/* Masquer les flèches du input number */
#productDetailQuantity::-webkit-inner-spin-button,
#productDetailQuantity::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.prod-detaille-container {
    margin: 10vh auto 0;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.prod-detaille-left-section {
    flex: 1;
    min-width: 350px;
}

.prod-detaille-main-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    cursor: pointer;
}

.prod-detaille-carousel {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
    scroll-behavior: smooth;
}

.prod-detaille-carousel::-webkit-scrollbar {
    display: none;
}

.prod-detaille-carousel img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    cursor: pointer;
    object-fit: cover;
    flex-shrink: 0;
    transition: transform 0.2s, border 0.2s;
}

.prod-detaille-carousel img:hover {
    transform: scale(1.1);
    border: 2px solid #007bff;
}

.prod-detaille-right-section {
    flex: 1;
    min-width: 300px;
}

.prod-detaille-product-title {
    font-size: 28px;
    color: #333;
}

.prod-detaille-details-row {
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 10px;
}

.prod-detaille-price-div {
    font-size: 24px;
    color: #e91e63;
    font-weight: bold;
}

.btn-success {
    white-space: nowrap;
}

@media (min-width: 1201px) and (max-width: 1400px) {
    .btn-success {
        font-size: 1.1rem !important;
        padding: 10px 16px;
    }

    .prod-detaille-price-div {
        font-size: 22px;
    }

    #productDetailQuantity {
        width: 58px;
        font-size: 15px;
    }

    .btn-outline-secondary.btn-sm {
        padding: 5px 10px;
        font-size: 15px;
    }

    iconify-icon {
        font-size: 1.3rem;
    }
}

.prod-detaille-tabs {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    border-bottom: 2px solid #ddd;
}

.prod-detaille-tab-button {
    background: none;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    color: #555;
    cursor: pointer;
}

.prod-detaille-tab-button:hover,
.prod-detaille-tab-button.active {
    color: #007bff;
    font-weight: bold;
    border-bottom: 2px solid #007bff;
}

.prod-detaille-tab-content {
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    font-size: 16px;
    color: #555;
    margin-top: 10px;
    display: none;
    border:1px;
}

.prod-detaille-tab-content.active {
    display: block;
}

.prod-detaille-personnaliser {
    background-color: #28a745;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}

.prod-detaille-personnaliser:hover {
    background-color: #218838;
}

/* Lightbox */
.prod-detaille-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.prod-detaille-lightbox.active {
    display: flex;
}

.prod-detaille-lightbox img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
    transition: transform 0.3s;
    cursor: zoom-in;
}

.prod-detaille-lightbox img.zoomed {
    transform: scale(1.5);
    cursor: zoom-out;
}

.prod-detaille-lightbox .prod-detaille-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

@media (max-width: 1200px) {
    .prod-detaille-container {
        gap: 20px;
        padding: 20px;
    }

    .btn-success {
        font-size: 0.95rem !important;
        padding: 7px 12px;
    }

    .prod-detaille-price-div {
        font-size: 18px;
    }

    #productDetailQuantity {
        width: 52px;
        font-size: 14px;
    }

    .btn-outline-secondary.btn-sm {
        padding: 4px 9px;
        font-size: 14px;
    }

    iconify-icon {
        font-size: 1.2rem;
    }

    .text-center.d-flex {
        gap: 8px !important;
    }
}

@media (max-width: 992px) {
    .btn-success {
        font-size: 0.85rem !important;
        padding: 6px 10px;
    }

    .prod-detaille-price-div {
        font-size: 16px;
    }

    #productDetailQuantity {
        width: 45px;
        font-size: 13px;
    }

    .btn-outline-secondary.btn-sm {
        padding: 4px 8px;
        font-size: 13px;
    }

    iconify-icon {
        font-size: 1.1rem;
    }

    .text-center.d-flex {
        gap: 8px !important;
    }
}

@media (max-width: 768px) {
    .prod-detaille-container {
        flex-direction: column;
        padding: 15px;
        margin-top: 5vh;
    }

    .prod-detaille-left-section {
        min-width: 100%;
    }

    .prod-detaille-product-title {
        font-size: 20px;
    }

    #prod-detaille-subtit, .prod_detaille_det {
        font-size: 0.85em;
    }

    .prod-detaille-price-div {
        font-size: 20px;
    }

    .btn-success {
        font-size: 1rem !important;
        padding: 8px 16px;
    }

    #productDetailQuantity {
        width: 50px;
        font-size: 14px;
    }

    .btn-outline-secondary.btn-sm {
        padding: 4px 10px;
        font-size: 14px;
    }

    .text-center.d-flex {
        flex-direction: column;
        gap: 15px !important;
    }

    .prod-detaille-tabs {
        gap: 10px;
        flex-wrap: wrap;
    }

    .prod-detaille-tab-button {
        font-size: 14px;
        padding: 8px 12px;
    }

    .prod-detaille-tab-content {
        font-size: 14px;
        padding: 10px;
    }

    .prod-detaille-carousel img {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .prod-detaille-product-title {
        font-size: 18px;
    }

    .prod-detaille-price-div {
        font-size: 18px;
    }

    .btn-success {
        font-size: 0.9rem !important;
        padding: 6px 12px;
    }

    #productDetailQuantity {
        width: 45px;
        font-size: 12px;
    }

    .btn-outline-secondary.btn-sm {
        padding: 3px 8px;
        font-size: 12px;
    }

    iconify-icon {
        font-size: 1.2rem;
    }
}

#prod-detaille-subtit, .prod_detaille_det {
    font-style: italic;
    color: rgb(148, 142, 138);
    font-size: 1em;
    font-family: 'Arial', sans-serif;
    margin-top: 0;
}

.product-container {
    text-align: center;
    padding: 30px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.customizable-text {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 35px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg, #0055ff,rgba(0, 0, 0),rgb(14, 14, 14));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0% { filter: drop-shadow(0 0 5px rgb(0, 85, 255)); }
    100% { filter: drop-shadow(0 0 10px rgba(11, 12, 12, 0.7)); }
}

.affiche_det {
    font-size: 1rem;
}

.prod-det-affich_addapt {
    font-size:1.2rem;
}

.prod-det-affich_addapt_parag {
    font-size:0.8rem;
    position:relative;
}

.prod-det-affich_addapt_parag::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg,rgb(27, 163, 84),rgb(23, 24, 23));
}

.no-underline-link,
.no-underline-link:hover,
.no-underline-link:focus {
    text-decoration: none !important;
    color: inherit !important;
}

.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card .block2-txt-child1 {
    transition: transform 0.3s ease, font-size 0.3s ease;
}

.product-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.product-card:hover .block2-txt-child1 {
    transform: scale(1.05);
}

/* ===================================
   CONTENEUR PRINCIPAL - PAGES/PRODUCT_DETAIL
   ================================== */

.product-detail-container {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

/* ===================================
   LAYOUT PRINCIPAL (GRID 2 COLONNES)
   ================================== */

.product-main-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

/* ===================================
   SECTION IMAGES (GAUCHE)
   ================================== */

.product-images-section {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.main-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 20px;
    overflow: hidden;
    background: #f8f9fa;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    cursor: zoom-in;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.main-image-container:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.main-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Badge sur l'image */
.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
    z-index: 2;
}

/* Icône de zoom */
.zoom-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.main-image-container:hover .zoom-icon {
    opacity: 1;
}

/* Galerie de miniatures */
.thumbnails-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.thumbnail-item {
    aspect-ratio: 1/1;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.thumbnail-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.thumbnail-item.active {
    border-color: #007bff;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===================================
   LIGHTBOX (ZOOM)
   ================================== */

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: #007bff;
    color: white;
    transform: rotate(90deg);
}

.lightbox img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.lightbox img.zoomed {
    transform: scale(1.5);
    cursor: zoom-out;
}

/* ===================================
   SECTION INFO (DROITE)
   ================================== */

.product-info-section {
    padding: 20px 0;
}

/* Titre et sous-titre */
.product-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    line-height: 1.3;
}

.product-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Section notation */
.rating-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
}

.stars {
    display: flex;
    gap: 4px;
    font-size: 22px;
}

.stars i {
    color: #ffc107;
}

.rating-text {
    font-size: 16px;
    color: #555;
    font-weight: 500;
}

.rating-text strong {
    color: #1a1a1a;
}

/* Section prix */
.price-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.price-main {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.price-details {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.price-old {
    text-decoration: line-through;
    opacity: 0.7;
    margin-right: 10px;
}

.price-economy {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    margin-left: 10px;
}

/* Spécifications produit */
.product-specs {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
}

.product-specs h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.spec-item i {
    color: #007bff;
    font-size: 22px;
    margin-top: 2px;
}

.spec-content strong {
    display: block;
    font-size: 14px;
    color: #1a1a1a;
    margin-bottom: 3px;
}

.spec-content span {
    font-size: 14px;
    color: #666;
}

/* Information livraison */
.delivery-info {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 20px 25px;
    border-radius: 16px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 5px 20px rgba(40, 167, 69, 0.2);
}

.delivery-info i {
    font-size: 32px;
}

.delivery-text h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.delivery-text p {
    font-size: 14px;
    margin: 0;
    opacity: 0.95;
}

/* Contrôles de quantité */
.quantity-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.quantity-section label {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    background: white;
}

.quantity-btn {
    width: 50px;
    height: 50px;
    border: none;
    background: #f8f9fa;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: #007bff;
    color: white;
}

.quantity-btn:active {
    transform: scale(0.95);
}

#quantityInput {
    width: 80px;
    height: 50px;
    border: none;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    outline: none;
}

/* Bouton ajouter au panier */
.btn-add-to-cart {
    width: 100%;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 18px 30px;
    border-radius: 14px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
    margin-bottom: 20px;
}

.btn-add-to-cart:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(40, 167, 69, 0.4);
}

.btn-add-to-cart:active {
    transform: translateY(0);
}

.btn-add-to-cart i {
    font-size: 24px;
}

/* Boutons secondaires */
.secondary-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.secondary-btn {
    padding: 14px 20px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.secondary-btn:hover {
    background: #007bff;
    color: white;
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.secondary-btn i {
    font-size: 18px;
}

.secondary-btn.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

/* ===================================
   SECTION ONGLETS
   ================================== */

.product-tabs-section {
    margin-top: 80px;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.tabs-header {
    display: flex;
    gap: 10px;
    border-bottom: 3px solid #f0f0f0;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-button {
    padding: 18px 35px;
    border: none;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 12px 12px 0 0;
}

.tab-button:hover {
    color: #007bff;
    background: #f8f9fa;
}

.tab-button.active {
    color: #007bff;
    background: #f8f9fa;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #667eea);
    border-radius: 3px 3px 0 0;
}

.tabs-content {
    min-height: 300px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contenu description */
.tab-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.tab-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.tab-content ul {
    list-style: none;
    padding: 0;
}

.tab-content ul li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.tab-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: 700;
    font-size: 20px;
}

/* Tableau spécifications */
.specs-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 0 1px #e0e0e0;
}

.specs-table tr:nth-child(even) {
    background: #f8f9fa;
}

.specs-table td {
    padding: 18px 25px;
    font-size: 16px;
}

.specs-table td:first-child {
    font-weight: 700;
    color: #1a1a1a;
    width: 40%;
}

.specs-table td:last-child {
    color: #555;
}

/* Ancien tableau product-details */
.product-details table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
}

.product-details th {
    background-color: #333;
    color: #fff;
    font-size: 18px;
    text-align: center;
    padding: 12px;
}

.product-details td {
    border: 1px solid #ddd;
    padding: 10px;
}

.product-details tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.product-details tbody tr:hover {
    background-color: #e9ecef;
    transition: background-color 0.3s ease;
}

/* ===================================
   RESPONSIVE DESIGN
   ================================== */

@media (max-width: 1200px) {
    .product-main-section {
        gap: 40px;
    }
    
    .product-title {
        font-size: 30px;
    }
    
    .price-main {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .product-main-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-images-section {
        position: relative;
        top: 0;
    }
    
    .thumbnails-gallery {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
    
    .product-title {
        font-size: 26px;
    }
    
    .product-subtitle {
        font-size: 16px;
    }
    
    .price-main {
        font-size: 36px;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .tabs-header {
        overflow-x: auto;
        flex-wrap: nowrap;
    }
    
    .tab-button {
        padding: 14px 25px;
        font-size: 16px;
        white-space: nowrap;
    }
    
    .secondary-actions {
        grid-template-columns: 1fr;
    }
    
    .lightbox {
        padding: 20px;
    }
}

/* ===================================
   ANCIEN CARROUSEL (COMPATIBILITÉ)
   ================================== */

.product-detail-carousel-wrapper {
    position: relative;
    max-width: 100%;
    margin: 2rem 0;
    overflow: hidden;
}

.product-detail-carousel {
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.product-detail-carousel-track {
    display: flex;
    transition: transform 0.3s ease-in-out;
    width: max-content;
}

.product-detail-carousel .product-detail-slide {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
}

.product-detail-slide-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.product-detail-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
    z-index: 10;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.product-detail-carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
    .product-detail-carousel .product-detail-slide {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .product-detail-slide-img {
        height: 120px;
    }
}

/* ===================================
   ANCIEN SYSTÈME D'ONGLETS (COMPATIBILITÉ)
   ================================== */

.product-info {
    width: 100%;
    margin-top: 40px;
}

.tabs {
    display: flex;
    gap: 30px;
    border-bottom: 3px solid #e0e0e0;
    padding-bottom: 0;
    flex-wrap: wrap;
}

.tabs .tab-button {
    background: none;
    border: none;
    padding: 15px 20px;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    font-weight: 600;
    position: relative;
    transition: all 0.3s;
}

.tabs .tab-button:hover {
    color: #007bff;
}

.tabs .tab-button.active {
    color: #007bff;
}

.tabs .tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: #007bff;
}

/* ===================================
   PROD-DETAILLE-RIGHT-SECTION - DESIGN MODERNE MINIMALISTE
   ================================== */

.prod-detaille-right-section {
    background: white;
    padding: 50px 40px;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
}

.prod-detaille-details-row {
    margin-bottom: 35px;
}

/* Titre et sous-titre */
.prod-detaille-product-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    line-height: 1.2;
}

/* Desktop-only increase: make the main product title larger on desktop */
@media (min-width: 992px) {
    .prod-detaille-product-title {
        font-size: 44px;
    }
}

#prod-detaille-subtit {
    font-size: 17px;
    color: #6c757d;
    margin-bottom: 30px;
    font-weight: 400;
}

#prod-detaille-subtit span {
    color: #1a1a1a;
    font-weight: 600;
}

/* Badge personnalisable minimaliste */
.customizable-text {
    position: absolute;
    top: -10px;
    left: 25px;
    background: #1a1a1a;
    color: white;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Conteneur des spécifications - Design avec icônes */
.product-container {
    background: white;
    border-radius: 12px;
    padding: 25px 15px;
    margin-bottom: 30px;
    position: relative;
    border: 1px solid #e0e0e0;
}

.product-container .row {
    margin: 0;
}

/* Cellules avec icônes */
.affiche_det {
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 10px;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.affiche_det:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.affiche_det i {
    font-size: 32px;
    color: #1a1a1a;
    margin-bottom: 10px;
    display: block;
}

/* Labels des spécifications */
.prod-det-affich_addapt {
    font-size: 13px;
    color: #1a1a1a;
    font-weight: 600;
    display: block;
    text-align: center;
}

.prod-det-affich_addapt strong {
    color: #1a1a1a;
    font-weight: 600;
}

/* Valeurs sous les labels */
.prod-det-value {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
    margin-top: 4px;
    display: block;
}

/* Badges de garantie - Minimaliste */
.prod_detaille_det {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    border: 1px solid #e9ecef;
}

.prod_detaille_det i {
    font-size: 18px;
    color: #1a1a1a;
}

/* Section prix - Design sobre */
.prod-detaille-price-div {
    background: white;
    padding: 8px 20px;
    border-radius: 8px;
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
}

.prod-detaille-price-div span:first-child {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
}

.prod-detaille-price-div span:last-child {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
}

/* Bouton Personnaliser - Design épuré */
.prod-detaille-right-section .btn-success {
    background: #1a1a1a;
    border: none;
    padding: 18px 45px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.prod-detaille-right-section .btn-success:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.prod-detaille-right-section .btn-success i {
    font-size: 20px;
}

.prod-detaille-right-section iconify-icon {
    font-size: 28px;
    color: #1a1a1a;
    margin-right: 12px;
}

/* Section Onglets - Design minimaliste moderne */
.prod-detaille-product-info {
    margin-top: 50px;
    background: white;
    border-radius: 12px;
    padding: 40px;
    border: 1px solid #f0f0f0;
}

.prod-detaille-tabs {
    display: flex;
    gap: 5px;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.prod-detaille-tab-button {
    padding: 16px 30px;
    font-size: 16px;
    font-weight: 600;
    color: #6c757d;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 8px 8px 0 0;
    background: transparent;
    border: none;
}

.prod-detaille-tab-button:hover {
    color: #1a1a1a;
    background: #fafafa;
}

.prod-detaille-tab-button.active {
    color: #1a1a1a;
    background: transparent;
}

.prod-detaille-tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #1a1a1a;
}

.prod-detaille-tab-content {
    display: none;
    animation: fadeInUp 0.4s ease;
}

.prod-detaille-tab-content.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.prod-detaille-tab-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 18px;
}

.prod-detaille-tab-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #495057;
    margin-bottom: 14px;
}

.prod-detaille-tab-content ul {
    list-style: none;
    padding: 0;
}

.prod-detaille-tab-content ul li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    font-size: 15px;
    color: #495057;
    line-height: 1.6;
}

.prod-detaille-tab-content ul li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: #1a1a1a;
    font-weight: 900;
    font-size: 24px;
}

/* Responsive */
@media (max-width: 768px) {
    .prod-detaille-right-section {
        padding: 30px 20px;
    }
    
    .prod-detaille-product-title {
        font-size: 24px;
    }
    
    #prod-detaille-subtit {
        font-size: 14px;
    }
    
    .product-container {
        padding: 20px 10px;
    }
    
    .affiche_det {
        padding: 15px 10px;
    }
    
    .affiche_det i {
        font-size: 26px;
        margin-bottom: 8px;
    }
    
    .prod-det-affich_addapt {
        font-size: 12px;
    }
    
    .prod-det-value {
        font-size: 11px;
    }
    
    .prod-detaille-price-div {
        padding: 6px 16px;
    }
    
    .prod-detaille-price-div span:first-child {
        font-size: 28px;
    }
    
    .prod-detaille-price-div span:last-child {
        font-size: 18px;
    }
    
    .prod-detaille-right-section .btn-success {
        font-size: 16px;
        padding: 14px 30px;
    }
    
    .prod-detaille-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        gap: 2px;
    }
    
    .prod-detaille-tab-button {
        padding: 12px 20px;
        font-size: 14px;
        white-space: nowrap;
    }
    
    .prod-detaille-product-info {
        padding: 25px 15px;
    }
    
    .prod-detaille-tab-content h3 {
        font-size: 20px;
    }
    
    .prod-detaille-tab-content p,
    .prod-detaille-tab-content ul li {
        font-size: 14px;
    }
}