/* ═══════════════════════════════════════════════════════
   product_claude/product.css
   Charte : jaune #fdb819 | bleu nuit #2c3e50
   ═══════════════════════════════════════════════════════ */

body.no-scroll {
    overflow: hidden;
}

/* ── Vidéo ── */
#videoModal {
    display: none;
    text-align: center;
    padding: 15px;
}

.ui-dialog {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

.openVideo {
    display: inline-block;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    position: relative;
}

.openVideo::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30px;
    color: rgba(255, 255, 255, .9);
    text-shadow: 0 2px 8px rgba(0, 0, 0, .5);
    pointer-events: none;
}

.openVideo img {
    max-width: 100%;
    border-radius: 4px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.openVideo img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}


/* ── Titre pleine largeur ── */
.product-title-row {
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 2px solid #f0f0f0;
}

.product-main-title {
    font-size: 26px;
    font-weight: 800;
    color: #2c3e50;
    line-height: 1.2;
    margin: 0 0 10px;
    padding-left: 14px;
    border-left: 5px solid #fdb819;
}

/* ── Galerie ── */
.product-gallery-col {
    padding-right: 20px;
}

.gallery-main-wrap {
    position: relative;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.gallery-main-wrap > a.thumbnail,
.gallery-main-wrap > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: none !important;
    padding: 6px !important;
    box-shadow: none !important;
    background: transparent !important;
}

.gallery-main-wrap img {
    width: 100%;
    max-height: 380px;
    object-fit: contain;
    transition: transform .3s ease;
}

.gallery-main-wrap:hover img {
    transform: scale(1.03);
}

.gallery-photo-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(44,62,80,.8);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
    pointer-events: none;
}

.gallery-zoom-hint {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(44,62,80,.65);
    color: rgba(255,255,255,.9);
    font-size: 10px;
    padding: 2px 10px;
    border-radius: 20px;
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s;
    white-space: nowrap;
}

.gallery-main-wrap:hover .gallery-zoom-hint {
    opacity: 1;
}

/* Miniatures en rangée horizontale sous l'image */
.gallery-thumbs-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.gthumb {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    min-height: 64px !important;
    max-width: 64px !important;
    max-height: 64px !important;
    border: 2px solid #e0e0e0;
    border-radius: 7px;
    overflow: hidden !important;
    cursor: pointer;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0 !important;
    margin: 0 !important;
}

.gthumb img {
    width: 58px !important;
    height: 58px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 58px !important;
    max-height: 58px !important;
    object-fit: contain !important;
    padding: 0 !important;
    display: block !important;
    transition: transform .2s;
}

.gthumb:hover {
    border-color: #fdb819;
    box-shadow: 0 2px 8px rgba(253,184,25,.3);
}

.gthumb:hover img {
    transform: scale(1.08);
}

.gthumb.active-thumb {
    border-color: #fdb819;
    box-shadow: 0 0 0 3px rgba(253,184,25,.25);
}

/* ── Colonne infos ── */
.product-info-col {
    padding-left: 8px;
    padding-right: 8px;
}

/* ── Outils section — cards verticales ── */
.outils-section {
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin-top: 14px;
}

.outil-item {
    flex: 1;
    min-width: 0;
    border: 1px solid #e8e4d8;
    border-top: 3px solid #fdb819;
    border-radius: 6px;
    background: #fffdf5;
    overflow: hidden;
}

.outil-item-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 8px;
    background: #fff8e1;
    border-bottom: 1px solid #f0e8c8;
    font-size: 11px;
    font-weight: 700;
    color: #7a5800;
    text-transform: uppercase;
    letter-spacing: .5px;
    text-align: center;
}

.outil-icon {
    font-size: 15px;
}

.outil-item-body {
    padding: 10px 6px 6px;
    font-size: 11px;
}

/* Masquer les titres h4 redondants dans les partials outils */
.outil-item-body h4 {
    display: none !important;
}

/* Items outils : grille centrée */
.outil-item-body .row {
    margin: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
}

.outil-item-body .col-xs-4,
.outil-item-body .col-sm-6,
.outil-item-body .col-md-6 {
    width: auto !important;
    flex: 0 0 auto !important;
    padding: 4px 6px !important;
    text-align: center;
    float: none !important;
}

.outil-item-body img {
    max-height: 60px !important;
    max-width: 60px !important;
    width: auto !important;
    height: auto !important;
    display: block;
    margin: 0 auto 4px !important;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,.15));
}

.outil-item-body p {
    margin: 0 !important;
    font-size: 10px !important;
    line-height: 1.3 !important;
    color: #444;
    font-weight: 500;
}


/* ── Carte prix (redesign moderne) ── */
.product-purchase-card {
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,.12);
    background: #fff;
    position: sticky;
    top: 16px;
    overflow: hidden;
}

.ppc-header {
    background: linear-gradient(135deg, #1a2a3a 0%, #2c3e50 100%);
    color: #fff;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    padding: 11px 14px;
    letter-spacing: 1.2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    cursor: pointer;
}

.ppc-body {
    padding: 16px;
}

.ppc-price-block {
    text-align: center;
    padding-bottom: 14px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 12px;
}

.ppc-from {
    font-size: 10px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.ppc-price {
    font-size: 30px;
    font-weight: 800;
    color: #c0392b;
    line-height: 1;
    margin: 4px 0 2px;
}

.ppc-ht {
    font-size: 11px;
    color: #bbb;
}

/* Delivery pills */
.ppc-delivery-badges {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 14px;
}

.ppc-delivery-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
}

.ppc-delivery-pill.green {
    background: #eafaf1;
    color: #1a7a3c;
    border: 1px solid #a9dfbf;
}

.ppc-delivery-pill.blue {
    background: #eaf4fb;
    color: #1a5276;
    border: 1px solid #a9cce3;
}

.ppc-pill-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
    color: #fff;
    background: currentColor;
}

.ppc-delivery-pill.green .ppc-pill-check { background: #27ae60; }
.ppc-delivery-pill.blue  .ppc-pill-check { background: #2980b9; }

/* ── Bouton devis ── */
.btn-devis {
    width: 100%;
    background: linear-gradient(135deg, #fdb819 0%, #e5a400 100%);
    color: #1a1a1a;
    border: none;
    border-radius: 8px;
    padding: 13px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: box-shadow .2s, transform .15s;
    letter-spacing: .3px;
    box-shadow: 0 3px 10px rgba(253,184,25,.4);
    display: block;
}

.btn-devis:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(253,184,25,.55);
    color: #1a1a1a;
}

/* ── Bloc tableau variantes ── */
.variants-block {
    margin: 20px 0;
    border: 1px solid #e0e4ea;
    border-top: 3px solid #fdb819;
    border-radius: 0 0 8px 8px;
    overflow: visible;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .07);
}

.variants-block .block-header {
    background: #2c3e50;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 16px;
    letter-spacing: .4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.variants-block .block-header::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: #fdb819;
    border-radius: 2px;
}

.variants-block .table-responsive {
    overflow-x: auto;
    overflow-y: visible;
}

.variants-block table {
    margin-bottom: 0;
    font-size: 13px;
    border: none;
}

.variants-block thead tr {
    background: linear-gradient(135deg, #1a2a3a 0%, #2c3e50 60%, #34495e 100%);
    color: #fff;
}

.variants-block thead th {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .8px;
    padding: 12px 14px;
    border: none !important;
    white-space: nowrap;
    vertical-align: middle;
    color: rgba(255, 255, 255, .9);
}

.variants-block thead th:first-child {
    border-radius: 8px 0 0 0;
}

.variants-block thead th:last-child {
    border-radius: 0 8px 0 0;
}

.variants-block tbody tr {
    transition: background .15s ease, box-shadow .15s ease;
}

.variants-block tbody td {
    vertical-align: middle;
    padding: 10px 14px;
    border-color: #f0f0f0 !important;
    font-size: 13px;
}

.variants-block tbody tr:nth-child(even) {
    background: #f9fbfd;
}

.variants-block tbody tr:hover {
    background: #fffcf0;
    box-shadow: inset 4px 0 0 #fdb819;
}

.variants-block tbody tr:hover td {
    border-color: #fce8a0 !important;
}

/* ── Galerie thumbnails ── */
.product-additional {
    margin-top: 8px;
}

#additional-carousel .image-additional {
    padding: 2px;
}

#additional-carousel .image-additional a {
    display: block;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

#additional-carousel .image-additional a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 3px;
}

#additional-carousel .image-additional a:hover {
    border-color: #fdb819;
    box-shadow: 0 2px 8px rgba(253, 184, 25, .35);
}

#additional-carousel .image-additional a.active-thumb {
    border-color: #fdb819;
    box-shadow: 0 0 0 3px rgba(253, 184, 25, .25);
}

/* ── Onglets ── */
.propage-tab .nav-tabs {
    border-bottom: 2px solid #e0e0e0;
    margin-top: 18px;
}

.propage-tab .nav-tabs > li > a {
    font-weight: 600;
    color: #555;
    border-radius: 4px 4px 0 0;
    padding: 8px 18px;
}

.propage-tab .nav-tabs > li.active > a,
.propage-tab .nav-tabs > li.active > a:hover {
    color: #c0392b;
    border-bottom: 2px solid #c0392b;
    background: #fff;
}

.propage-tab .tab-content {
    padding: 14px 0;
}

/* ── Titre section ── */
.section-title {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    border-left: 3px solid #fdb819;
    padding-left: 10px;
    margin: 18px 0 12px;
}

/* ── Produits liés ── */
.related-card {
    text-align: center;
    padding: 8px;
    border: 1px solid #eee;
    border-radius: 5px;
    transition: box-shadow .2s, transform .2s;
}

.related-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
    transform: translateY(-2px);
}

.related-card img {
    max-height: 85px;
    margin: 0 auto 6px;
}

.related-card p {
    font-size: 11px;
    color: #333;
    margin: 0;
    line-height: 1.3;
}

/* ── Colonne Dispo ── */
.dispo-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: default;
}

.dispo-base-text {
    font-size: 12px;
    font-weight: 600;
    color: #1a7a3c;
}

.dispo-base-text.out {
    color: #999;
}

.dispo-tooltip {
    display: none;
    position: absolute;
    bottom: calc(100% + 10px);
    left: 0;
    transform: none;
    background: #fff;
    border: 1px solid #d0d7e2;
    border-top: 3px solid #fdb819;
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .13);
    padding: 10px 14px;
    min-width: 210px;
    z-index: 200;
    white-space: nowrap;
    animation: tooltipFadeIn .15s ease;
}

@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Flèche — contour */
.dispo-tooltip::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 18px;
    border: 7px solid transparent;
    border-top-color: #d0d7e2;
}

/* Flèche — fond blanc par-dessus */
.dispo-tooltip::after {
    content: '';
    position: absolute;
    top: calc(100% - 1px);
    left: 19px;
    border: 6px solid transparent;
    border-top-color: #fff;
}

/* Trait de connexion vertical entre tooltip et ligne */
.dispo-tooltip-connector {
    position: absolute;
    bottom: calc(100% + 3px);
    left: 23px;
    width: 2px;
    height: 8px;
    background: linear-gradient(to bottom, #fdb819, transparent);
    z-index: 199;
    display: none;
}

.variants-block tbody tr:hover .dispo-tooltip,
.variants-block tbody tr:hover .dispo-tooltip-connector {
    display: block;
}

.dispo-tooltip-row {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    padding: 4px 0;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

.dispo-tooltip-row:last-child {
    border-bottom: none;
}

.dispo-tooltip-row .tip-icon {
    font-size: 14px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.dispo-tooltip-row .tip-text {
    font-weight: 600;
}

.dispo-tooltip-row .tip-sub {
    font-size: 10px;
    color: #888;
    font-weight: 400;
    display: block;
}

/* ── Indicateur stock ── */
.stock-ok {
    background: #2ecc71;
    box-shadow: 0 0 0 0 rgba(46, 204, 113, .5);
    animation: pulse-ok 2s infinite;
}

.stock-out {
    background: #e0e0e0;
    border: 1px solid #bbb;
}

@keyframes pulse-ok {
    0%   { box-shadow: 0 0 0 0 rgba(46, 204, 113, .5); }
    70%  { box-shadow: 0 0 0 5px rgba(46, 204, 113, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

/* ── Quantité +/- ── */
.qty-group {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1.5px solid #d0d5dd;
    border-radius: 20px;
    overflow: hidden;
    width: fit-content;
    background: #fff;
}

.qty-group .btn-qty {
    background: transparent;
    color: #555;
    border: none;
    width: 30px;
    height: 30px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    transition: background .15s, color .15s;
}

.qty-group .btn-qty:hover {
    background: #f5f5f5;
    color: #111;
}

.qty-group input {
    width: 40px;
    height: 30px;
    text-align: center;
    border: none;
    border-left: 1.5px solid #d0d5dd;
    border-right: 1.5px solid #d0d5dd;
    font-size: 13px;
    font-weight: 600;
    -moz-appearance: textfield;
    appearance: textfield;
    background: #fff;
}

.qty-group input::-webkit-inner-spin-button,
.qty-group input::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

/* ── Bouton ajouter au panier ── */
.btn-addcart {
    background: linear-gradient(135deg, #fdb819, #e5a400);
    color: #1a1a1a;
    border: none;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: box-shadow .2s, transform .15s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 6px rgba(253, 184, 25, .4);
    letter-spacing: .3px;
}

.btn-addcart:hover {
    box-shadow: 0 4px 12px rgba(253, 184, 25, .6);
    transform: translateY(-2px);
}

.btn-addcart:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(253, 184, 25, .3);
}

/* ── Paliers remise ── */
.price-tiers {
    line-height: 1.8;
}

.tier-badge {
    display: inline-block;
    background: #eef2f7;
    color: #444;
    border: 1px solid #d5dde8;
    border-radius: 4px;
    padding: 2px 7px;
    font-size: 11px;
    white-space: nowrap;
    margin: 1px 2px 1px 0;
}

.tier-badge.best {
    background: #fffbf0;
    color: #7a5800;
    border-color: #fdb819;
    font-weight: 700;
}

/* ── Prix net dans tableau ── */
.prix-net {
    font-size: 14px;
    font-weight: 700;
    color: #2c3e50;
    display: inline-block;
    background: #eaf0f6;
    border: 1px solid #b0c4d8;
    border-radius: 20px;
    padding: 2px 10px;
    line-height: 1.6;
}

.prix-public-barre {
    font-size: 11px;
    color: #aaa;
    text-decoration: line-through;
    display: inline;
}

.remise-badge {
    display: inline-block;
    background: #fff4e0;
    color: #b85c00;
    border: 1px solid #f5c87a;
    border-radius: 20px;
    padding: 1px 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .3px;
}

/* ── A : Galerie — image principale ── */
.gallery-main-wrap {
    position: relative;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    overflow: hidden;
    background: #fafafa;
}

/* Neutralise tous les borders parasites Bootstrap/thème dans la galerie */
.gallery-main-wrap > a.thumbnail,
.gallery-main-wrap > a {
    border: none !important;
    border-radius: 0 !important;
    padding: 8px !important;
    box-shadow: none !important;
    background: transparent !important;
    display: block;
    text-align: center;
}

/* ── A : Miniatures — reset (le style est sur le <a> parent) ── */
.gallery-thumb {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: transform .15s;
}

.gallery-thumb:hover {
    transform: scale(1.04);
}

/* ── B : Badge nombre de photos ── */
.gallery-photo-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(44, 62, 80, .75);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
    pointer-events: none;
    letter-spacing: .3px;
}

/* ── C : Badges référence / modèle ── */
.product-title {
    font-size: 24px;
    font-weight: 800;
    color: #2c3e50;
    line-height: 1.25;
    margin-bottom: 10px;
    padding-left: 12px;
    border-left: 4px solid #fdb819;
}

.product-refs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
    padding-left: 2px;
}

.ref-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 4px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid;
}

.ref-badge.ref-sku {
    background: #fffbf0;
    border-color: #fdb819;
    color: #7a5800;
}

.ref-badge.ref-model {
    background: #eaf0f6;
    border-color: #b0c4d8;
    color: #2c3e50;
}

.ref-badge .ref-label {
    font-weight: 400;
    opacity: .65;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* ── Description courte ── */
.product-desc-short {
    font-size: 13.5px;
    color: #444;
    line-height: 1.7;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 14px;
    border-left: 3px solid #fdb819;
}

/* ── Séparateur → outils ── */
.info-divider {
    border: none;
    border-top: 2px dashed #e8e0cc;
    margin: 10px 0 12px;
    position: relative;
}

.info-divider::before {
    content: '▼';
    position: absolute;
    left: 50%;
    top: -9px;
    transform: translateX(-50%);
    font-size: 10px;
    color: #fdb819;
    background: #fff;
    padding: 0 4px;
}

/* ── Cards outils ── */
.outils-cards {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.outil-card {
    background: #f4f6f8;
    border: 1px solid #e0e4ea;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 12px;
    flex: 1 1 0;
    min-width: 80px;
}

/* ── Badge tarifs dégressifs ── */
.degressive-badge {
    display: inline-block;
    background: #fff4e0;
    color: #b85c00;
    border: 1px solid #f5c87a;
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: .2px;
}

/* ── Vidéos redesign ── */
.product-videos-block {
    margin: 20px 0 10px;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 10px;
}

.video-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.12);
    background: #111;
    transition: transform .2s, box-shadow .2s;
}

.video-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,.2);
}

.video-card .openVideo {
    display: block;
    width: 100%;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    text-align: left;
}

.video-ratio-box {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    background: #111;
}

.video-ratio-box img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}

.video-card:hover .video-ratio-box img {
    transform: scale(1.05);
}

.video-play-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 48px; height: 48px;
    background: rgba(253,184,25,.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #1a1a1a;
    transition: background .2s, transform .2s;
    pointer-events: none;
}

.video-card:hover .video-play-btn {
    background: #fdb819;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-card-title {
    padding: 8px 12px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: #1a1a2e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Breadcrumb ── */
#product-page .breadcrumb li,
#product-page .breadcrumb li a {
    font-size: 14px;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .product-gallery-col { padding-right: 0; }
}

@media (max-width: 767px) {
    /* Tooltip dispo : masqué sur mobile (overflow du tableau) */
    .dispo-tooltip,
    .dispo-tooltip-connector {
        display: none !important;
    }

    /* Titre */
    .product-main-title { font-size: 20px; }

    /* Galerie + info : Bootstrap col-xs-12 gère déjà l'empilement */
    .product-gallery-col,
    .product-info-col {
        margin-bottom: 16px;
    }

    /* Outils → scroll horizontal */
    .product-outils-flex {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        gap: 8px !important;
    }
    .product-outils-flex > div {
        flex: 0 0 160px !important;
        min-width: 160px !important;
    }

    /* Vidéos → 2 par ligne */
    .video-item {
        flex: 0 0 calc(50% - 4px) !important;
    }

    /* Box Commander mobile */
    .box-commander-mobile { display: block; }

    /* Purchase card */
    .product-purchase-card { position: static; }
    .card-toggle-icon {
        margin-left: auto;
        font-size: 11px;
        transition: transform .2s;
    }
    .product-purchase-card.collapsed .card-toggle-icon {
        transform: rotate(180deg);
    }
    .product-purchase-card.collapsed #card-commander-body {
        display: none;
    }
    .videos-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    /* Vidéos → 1 par ligne */
    .video-item {
        flex: 0 0 100% !important;
    }
    .videos-grid {
        grid-template-columns: 1fr;
    }

    /* Colonne droite → colonne */
    .product-right-col {
        flex-direction: column !important;
    }
    .product-right-col > div {
        flex: 1 1 100%;
    }
}

/* ── Summernote : neutraliser la couleur jaune du thème dans les éditeurs ── */
.note-editable,
.note-editable p,
.note-editable h1,
.note-editable h2,
.note-editable h3,
.note-editable h4,
.note-editable h5,
.note-editable h6,
.note-editable li,
.note-editable span,
.note-editable a {
    color: #222 !important;
}
