/* ==========================================================================
   TAIBA STATIONERY — PRODUCT_DETAILS.CSS
   Page détail produit — FR (LTR) + AR (RTL) + Responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. BREADCRUMB & BARRE DE TITRE
   -------------------------------------------------------------------------- */
 

/* --------------------------------------------------------------------------
   8. PAGINATION
   -------------------------------------------------------------------------- */
.pagination-wrapper {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination li a,
.pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: 8px;
    background-color: #ffffff;
    color: #475569;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.pagination li a:hover {
    background-color: #fff5f5;
    color: #d32f2f;
    border-color: #fed7d7;
}

.pagination li.active span,
.pagination li.active a {
    background-color: #d32f2f;
    color: #ffffff;
    border-color: #d32f2f;
    box-shadow: 0 4px 10px rgba(211, 47, 47, 0.25);
}

.pagination li.disabled span {
    background-color: #f8fafc;
    color: #cbd5e1;
    border-color: #f1f5f9;
    cursor: not-allowed;
}

/* Alignment RTL pour les icônes de flèches */
[dir="rtl"] .pagination .page-link-prev,
[dir="rtl"] .pagination .page-link-next,
[dir="rtl"] .pagination .fa-chevron-left,
[dir="rtl"] .pagination .fa-chevron-right,
[dir="rtl"] .pagination .fa-angle-left,
[dir="rtl"] .pagination .fa-angle-right,
[dir="rtl"] .pagination .fa-arrow-left,
[dir="rtl"] .pagination .fa-arrow-right {
    transform: scaleX(-1);
}



/* --------------------------------------------------------------------------
   2. CONTENEUR PRINCIPAL
   -------------------------------------------------------------------------- */
.product-details-container {
    padding-bottom: 60px;
}

.product-main-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: flex-start;
    margin-bottom: 48px;
}


/* --------------------------------------------------------------------------
   3. GALERIE IMAGES
   -------------------------------------------------------------------------- */
.product-gallery {
    position: sticky;
    top: 90px;
}

.main-image-container {
    position: relative;
    background: #fff;
    border-radius: 16px 16px 0 0;
    border: 1px solid var(--border-color);
    border-bottom: none;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 300px;
}

.main-image-container img#mainProductImage {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.35s ease;
    cursor: pointer;
}

.main-image-container img:hover { transform: scale(1.04); }

/* Badge promo — LTR: gauche / RTL: droite */
.promo-badge {
    position: absolute;
    top: 14px;
    background: #e63946;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 1px;
    direction: ltr;          
    right: 14px; left: auto;
}

[dir="ltr"] .promo-badge { left: 14px; right: auto; }
[dir="rtl"] .promo-badge { left: 14px; right: auto; }

/* Flèches navigation sur la grande image */
.image-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: rgba(255,255,255,0.95);
    color: var(--text-dark);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.22s ease;
    z-index: 3;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}

.image-nav-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.image-nav-btn.img-prev { left: 14px; }
.image-nav-btn.img-next { right: 14px; }

/* En RTL : les flèches gardent leur position visuelle (prev=gauche, next=droite) */
[dir="rtl"] .image-nav-btn.img-prev { left: 14px; right: auto; }
[dir="rtl"] .image-nav-btn.img-next { right: 14px; left: auto; }

/* ── Barre d'actions SOUS l'image ────────────────────────────────────── */
.gallery-actions-bar {
    display: flex;
    align-items: stretch;
    gap: 0;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
    border-radius: 0 0 16px 16px;
    overflow: hidden;
    margin-bottom: 14px;
}

.gallery-action-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 10px;
    border: none;
    background: transparent;
    color: var(--text-dark);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.22s ease;
    text-decoration: none;
}

/* Séparateur vertical entre boutons */
.gallery-action-btn:not(:last-child) {
    border-inline-end: 1px solid var(--border-color);
}

.gallery-action-btn i { font-size: 1rem; }

.gallery-action-btn:hover {
    background: #fff;
    color: var(--primary-color);
}

/* Favoris */
.gallery-action-btn.btn-wishlist i.active { color: var(--primary-color); }

/* J'aime */
.gallery-action-btn.btn-like i.active { color: #7b1113; }

/* Fond coloré du bouton entier si :has() supporté */
@supports selector(:has(*)) {
    .gallery-action-btn.btn-wishlist:has(i.active) {
        background: #fdeaec;
        color: var(--primary-color);
    }
    .gallery-action-btn.btn-like:has(i.active) {
        background: #fdeaec;
        color: #7b1113;
    }
}

/* Compteur de likes */
.like-count {
    font-weight: 700;
    direction: ltr;
    unicode-bidi: isolate;
    min-width: 8px;
}
.like-count:empty { display: none; }

/* Miniatures */
.thumbnails-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.thumbnail {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    border: 2px solid var(--border-color);
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease;
    background: #fff;
    flex-shrink: 0;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.thumbnail:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.thumbnail.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(123,17,19,0.12);
}


/* --------------------------------------------------------------------------
   4. INFOS PRODUIT
   -------------------------------------------------------------------------- */
.product-info-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.product-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-category-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--primary-color);
    text-decoration: none;
}

.product-category-link i { font-size: 0.7rem; }

.out-of-stock-detail {
    display: inline-block;
    background: #6c757d;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    width: fit-content;
}

.product-title {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}


/* --------------------------------------------------------------------------
   5. VOTE / ÉTOILES
   -------------------------------------------------------------------------- */
.product-rating-section {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.user-vote-section {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.stars-vote {
    display: flex;
    gap: 3px;
    cursor: pointer;
}

/* RTL : étoiles de droite à gauche */
[dir="rtl"] .stars-vote { flex-direction: row-reverse; }

.vote-star {
    font-size: 1.1rem;
    color: #ddd;
    transition: color 0.15s ease, transform 0.15s ease;
    cursor: pointer;
}

.vote-star.fas { color: #f5c518; }

.stars-vote:hover .vote-star { color: #f5c518; }

.stars-vote .vote-star:hover ~ .vote-star { color: #ddd; }

[dir="rtl"] .stars-vote .vote-star:hover ~ .vote-star { color: #f5c518; }
[dir="rtl"] .stars-vote:hover .vote-star              { color: #f5c518; }
[dir="rtl"] .vote-star:hover ~ .vote-star             { color: #ddd; }


/* --------------------------------------------------------------------------
   6. PRIX
   -------------------------------------------------------------------------- */
.product-pricing {
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    padding: 18px 20px;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ── Style de base du prix ────────────────────────────────────────────── */
.current-price-large {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
}

.current-price-large-em {
    font-size: 1rem;
    font-weight: 600;
    font-style: normal;
    opacity: 0.85;
}

.original-price {
    font-size: 1.05rem;
    color: #a0aec0;
    text-decoration: line-through;
    font-style: normal;
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
}

/* ── RÈGLES ARABE (RTL) FIX ────────────────────────────────────────────── */
[dir="rtl"] .current-price-large,
[dir="rtl"] .original-price {
    direction: ltr !important;
    unicode-bidi: isolate;
}

[dir="rtl"] .current-price-large-em,
[dir="rtl"] .current-price-large em,
[dir="rtl"] .current-price-large small,
[dir="rtl"] .current-price-large .devise,
[dir="rtl"] .original-price em,
[dir="rtl"] .original-price small,
[dir="rtl"] .original-price .devise {
    order: -1;
    direction: rtl !important;
    unicode-bidi: isolate;
}

.discount-badge {
    background: #e63946;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
}


/* --------------------------------------------------------------------------
   7. OPTIONS (COULEURS + QUANTITÉ)
   -------------------------------------------------------------------------- */
.product-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 7px;
}

.option-label i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

/* Couleurs */
.color-options-images {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.color-option-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 6px;
    border-radius: 10px;
    border: 2px solid var(--border-color);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
}

.color-option-image.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(123,17,19,0.12);
}

.color-option-image:hover { border-color: var(--accent-color); }

.color-radio { display: none; }

.color-image-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-light);
}

.color-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.color-name {
    font-size: 0.72rem;
    font-weight: 600;
    text-align: center;
}

/* Quantité */
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.quantity-btn {
    width: 40px;
    height: 42px;
    background: var(--bg-light);
    border: none;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.quantity-input {
    width: 56px;
    height: 42px;
    border: none;
    border-inline: 1px solid var(--border-color);
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    outline: none;
    color: var(--text-dark);
}

.quantity-input::-webkit-inner-spin-button,
.quantity-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.quantity-input {
    -moz-appearance: textfield;
    appearance: textfield;
}


/* --------------------------------------------------------------------------
   8. BOUTON AJOUTER AU PANIER
   -------------------------------------------------------------------------- */
.product-actions-main { display: flex; gap: 12px; }

.btn-add-to-cart {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-add-to-cart:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(123,17,19,0.28);
}

.btn-add-to-cart i { font-size: 1.1rem; }


/* --------------------------------------------------------------------------
   9. PARTAGE
   -------------------------------------------------------------------------- */
.product-share {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding-top: 4px;
    border-top: 1px solid var(--border-color);
}

.share-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
}

.share-buttons { display: flex; gap: 8px; }

.share-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #fff;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.share-btn:hover { transform: translateY(-2px); opacity: 0.88; }

.share-btn.facebook { background: #1877f2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.linkedin { background: #0a66c2; }
.share-btn.telegram { background: #0088cc; }


/* --------------------------------------------------------------------------
   10. TABS DESCRIPTION / SPÉCIFICATIONS
   -------------------------------------------------------------------------- */
.detail-tabs-wrapper {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    margin-bottom: 24px;
}

.detail-tabs-nav {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    background: var(--bg-light);
}

.detail-tab-btn {
    padding: 14px 24px;
    background: none;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.detail-tab-btn.current {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: #fff;
}

.detail-tab-btn:hover { color: var(--primary-color); }

.detail-tabs-body { padding: 28px; }

.detail-panel { display: none; }
.detail-panel.visible { display: block; }

.full-description {
    font-size: 0.92rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.specs-table tr { border-bottom: 1px solid var(--border-color); }
.specs-table tr:last-child { border-bottom: none; }

.specs-table td {
    padding: 12px 16px;
    vertical-align: middle;
}

.specs-table td:first-child {
    font-weight: 700;
    color: var(--text-muted);
    width: 35%;
    background: var(--bg-light);
}

.specs-table td:last-child { color: var(--text-dark); }


/* --------------------------------------------------------------------------
   11. SECTION AVIS
   -------------------------------------------------------------------------- */
.detail-tabs-body-avis {
    padding: 20px 28px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-tabs-body-avis > i { color: #f5c518; }

.reviews-wrapper { display: flex; flex-direction: column; gap: 24px; }

.reviews-overview { display: flex; align-items: center; gap: 24px; }

.rating-score {
    background: var(--bg-light);
    border-radius: 14px;
    padding: 20px 28px;
    text-align: center;
    border: 1px solid var(--border-color);
    min-width: 160px;
}

.rating-number-big {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 8px;
    direction: ltr;
}

.rating-stars-big {
    display: flex;
    gap: 3px;
    justify-content: center;
    margin-bottom: 6px;
}

[dir="rtl"] .rating-stars-big { flex-direction: row-reverse; }

.rating-stars-big i { font-size: 1rem; color: #f5c518; }
.rating-stars-big i.far { color: #ddd; }

.rating-count-text {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

.review-form { display: flex; flex-direction: column; gap: 12px; }

.review-form .form-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
}

.review-form .form-control {
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.9rem;
    padding: 12px 14px !important;
    resize: vertical;
    transition: border-color 0.2s ease;
    text-align: inherit;
}

.review-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(123,17,19,0.1);
    outline: none;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
    width: fit-content;
}

.btn-submit:hover { background: var(--primary-hover); }

.reviews-items { display: flex; flex-direction: column; gap: 16px; }

.review-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 16px 20px;
    border: 1px solid var(--border-color);
}

.review-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 12px;
}

.reviewer-box { display: flex; align-items: center; gap: 12px; }

.reviewer-pic {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.reviewer-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-dark);
}

.review-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.verified-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 700;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 3px 10px;
    border-radius: 20px;
}

.review-text {
    font-size: 0.88rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.empty-reviews {
    font-size: 0.88rem;
    color: var(--text-muted);
    text-align: center;
    padding: 20px 0;
    font-style: italic;
}


/* --------------------------------------------------------------------------
   12. MODAL IMAGE
   -------------------------------------------------------------------------- */
.image-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.88);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.image-modal.active { display: flex; }

.modal-content-image {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 90vw;
    max-height: 90vh;
}

.modal-close {
    position: absolute;
    top: -44px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

[dir="ltr"] .modal-close { right: 0; }
[dir="rtl"] .modal-close { left: 0; right: auto; }

.modal-close:hover { background: var(--primary-color); }

.modal-counter {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
    direction: ltr;
}

.modal-image-container {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    max-width: 70vw;
    max-height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image-container img {
    max-width: 100%;
    max-height: 65vh;
    object-fit: contain;
    padding: 16px;
}

.modal-thumbnails {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.modal-thumbnail {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,0.3);
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s;
    background: #fff;
}

.modal-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 3px;
}

.modal-thumbnail.active { border-color: var(--accent-color); }


/* --------------------------------------------------------------------------
   13. ÉTOILES MODAL ET HOVER
   -------------------------------------------------------------------------- */
#vote-modal-stars {
    display: inline-flex;
    gap: 6px;
    cursor: pointer;
}

.vote-modal-star {
    font-size: 1.6rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.15s ease, transform 0.15s ease;
}

.vote-modal-star.fas { color: #f5c518; }

.vote-modal-star:hover { transform: scale(1.15); }

#user-rating-stars { cursor: pointer; }
#user-rating-stars .vote-star:hover { transform: scale(1.1); }


/* --------------------------------------------------------------------------
   14. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .product-main-section {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .product-gallery { position: static; }

    .main-image-container { max-height: 400px; }

    .product-title { font-size: 1.4rem; }

    .current-price-large { font-size: 1.5rem; }
}

@media (max-width: 768px) {
    .page-title-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 14px 18px;
    }

    .page-title { font-size: 1.2rem; }

    .current-price-large { font-size: 1.3rem; }

    .detail-tabs-nav { overflow-x: auto; }

    .detail-tab-btn {
        padding: 12px 16px;
        font-size: 0.82rem;
        white-space: nowrap;
    }

    .detail-tabs-body { padding: 18px; }

    .detail-tabs-body-avis { padding: 16px 18px; }

    .rating-score { min-width: 120px; padding: 14px 18px; }

    .rating-number-big { font-size: 2rem; }

    .thumbnail { width: 56px; height: 56px; }

    .modal-image-container { max-width: 95vw; }

    .specs-table td:first-child { width: 45%; }
}

@media (max-width: 480px) {
    .product-actions-main { flex-direction: column; }

    .btn-add-to-cart { width: 100%; }

    .price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .product-share { gap: 10px; }

    .share-btn { width: 30px; height: 30px; font-size: 0.75rem; }
}