/*
 * File: public-bff/resources/css/product-show.css
 * Page détail produit — public-bff
 * Extrait de show.blade.php v3.7 — v22.3 Sprint 1
 */

.b24-product-layout {
    display: flex; flex-direction: column; gap: 30px;
    margin-top: 50px; margin-bottom: 30px;
    width: 100%; box-sizing: border-box;
}
.b24-columns-row {
    display: flex; flex-direction: row; flex-wrap: wrap;
    gap: 30px; align-items: flex-start;
    width: 100%; box-sizing: border-box;
}

/* v3.5 : colonne images élargie pour accueillir image carrée 500x500 */
.b24-product-images {
    flex: 0 0 590px; width: 590px; max-width: 590px;
    display: flex; flex-direction: row; flex-wrap: nowrap;
    gap: 15px; align-items: flex-start; align-self: flex-start;
    position: sticky; top: 20px;
    box-sizing: border-box; z-index: 2;
}
.b24-product-info { flex: 1 1 300px; min-width: 0; box-sizing: border-box; }
.b24-buy-box {
    flex: 0 0 350px; width: 350px; max-width: 350px;
    background: white; border: 1px solid #D5D9D9; padding: 20px;
    position: sticky; top: 20px; align-self: flex-start;
    box-sizing: border-box; z-index: 1;
}
.b24-description-section { width: 100%; box-sizing: border-box; }

/* Carrousel vignettes */
.thumbnail-column { flex: 0 0 60px; width: 60px; display: flex; flex-direction: column; align-items: center; }
.carousel-btn { width: 60px; height: 30px; background: #F7F8F8; border: 1px solid #D5D9D9; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 16px; color: #565959; transition: all 0.2s; flex-shrink: 0; }
.carousel-btn:hover { background: #E7E7E7; }
.carousel-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.carousel-btn.top { border-radius: 4px 4px 0 0; }
.carousel-btn.bottom { border-radius: 0 0 4px 4px; }

/* v3.5 : container vignettes adapté à hauteur image 500 */
.thumbnail-container { height: 460px; overflow: hidden; position: relative; width: 60px; }
.thumbnail-grid { display: flex; flex-direction: column; gap: 10px; transition: transform 0.3s ease; }
.thumbnail { width: 60px; height: 60px; object-fit: cover; border: 1px solid #D5D9D9; cursor: pointer; transition: border-color 0.2s; flex-shrink: 0; display: block; }
.thumbnail:hover, .thumbnail.active { border-color: #FF9900; border-width: 2px; }

/* v3.5 : IMAGE PRINCIPALE 500×500 CARRÉE (image source garantie 1500×1500 carrée) */
.main-image-wrapper { flex: 0 0 500px; width: 500px; position: relative; }
.main-image-container { position: relative; width: 500px; height: 500px; border: 1px solid #D5D9D9; cursor: crosshair; overflow: visible; }
.main-image { width: 500px; height: 500px; object-fit: contain; background: white; display: block; }
.zoom-lens { position: absolute; border: 2px solid #FF9900; background: rgba(255,255,255,0.3); width: 150px; height: 150px; pointer-events: none; display: none; z-index: 10; }
.zoom-result { position: fixed; top: 0; left: 0; width: 500px; height: 500px; border: 2px solid #232F3E; background: white; overflow: hidden; display: none; z-index: 9999; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.zoom-result img { position: absolute; max-width: none !important; max-height: none !important; transition: none; }

/* Info produit */
.b24-product-info h1 { font-size: 24px; font-weight: 400; margin-bottom: 5px; }
.b24-product-info .brand { color: #007185; text-decoration: none; font-size: 14px; margin-bottom: 10px; display: block; }
.b24-product-info .brand:hover { text-decoration: underline; }
.b24-product-info .rating { display: flex; align-items: center; gap: 8px; margin-bottom: 15px; }
.b24-product-info .stars { color: #FF9900; font-size: 16px; }
.b24-product-info .rating-link { color: #007185; text-decoration: none; font-size: 14px; }
.b24-product-info .price-section { margin-bottom: 20px; }
.b24-product-info .price-main { font-size: 28px; color: #B12704; font-weight: 400; }
.b24-product-info .price-unit { font-size: 14px; color: #565959; margin-left: 10px; }
.b24-product-info .delivery-info { background-color: #F7F8F8; padding: 15px; border: 1px solid #D5D9D9; margin-bottom: 20px; }
.b24-product-info .delivery-info h3 { font-size: 16px; margin-bottom: 8px; }
.b24-product-info .delivery-option { margin-bottom: 8px; font-size: 14px; }
.b24-product-info .delivery-date { font-weight: bold; color: #007185; }

/* Variations */
.variations-section { margin-bottom: 25px; }
.variation-group { margin-bottom: 20px; }
.variation-label { font-weight: 500; margin-bottom: 8px; font-size: 14px; }
.color-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.color-option { width: 40px; height: 40px; border: 2px solid #D5D9D9; cursor: pointer; border-radius: 4px; transition: all 0.2s; flex-shrink: 0; }
.color-option.selected { border-color: #FF9900; border-width: 3px; }
.color-option.unavailable { opacity: 0.4; cursor: not-allowed; }
.age-group-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 15px; }
.age-btn { padding: 8px 16px; border: 1px solid #D5D9D9; background: white; cursor: pointer; border-radius: 20px; font-size: 12px; transition: all 0.2s; }
.age-btn.selected { background: #FFF3CD; border-color: #FF9900; }
.age-btn:hover:not(.selected) { border-color: #888C8C; }
.age-btn.unavailable { opacity: 0.4; cursor: not-allowed; }
.size-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.size-btn { padding: 10px; border: 1px solid #D5D9D9; background: white; cursor: pointer; text-align: center; font-size: 12px; transition: all 0.2s; }
.size-btn.selected { background: #FFF3CD; border-color: #FF9900; }
.size-btn.unavailable { opacity: 0.4; cursor: not-allowed; }
.size-btn:hover:not(.selected):not(.unavailable) { border-color: #888C8C; }
.b24-product-info .stock-info { color: #007600; font-size: 14px; margin-bottom: 15px; }
.b24-product-info .stock-low { color: #B12704; }
.quantity-section { margin-bottom: 20px; }
.quantity-select { padding: 8px; border: 1px solid #D5D9D9; border-radius: 4px; background: #F7F8F8; }

/* Buy box */
.b24-buy-box .buy-box-price { font-size: 28px; color: #B12704; margin-bottom: 10px; }
.b24-buy-box .buy-box-delivery { font-size: 14px; margin-bottom: 15px; }
.b24-buy-box .buy-box-seller { font-size: 14px; color: #565959; margin-bottom: 15px; }
.b24-buy-box .buy-box-stock { color: #007600; font-size: 14px; margin-bottom: 20px; }
.b24-buy-box .action-buttons { display: flex; flex-direction: column; gap: 10px; }
.b24-buy-box .btn, .b24-product-info .btn { padding: 10px 20px; border: none; border-radius: 20px; cursor: pointer; font-size: 14px; transition: all 0.2s; text-align: center; text-decoration: none; display: block; width: 100%; box-sizing: border-box; }
.b24-buy-box .btn-primary, .b24-product-info .btn-primary { background: #ffb700; color: #0F1111; }
.b24-buy-box .btn-primary:hover, .b24-product-info .btn-primary:hover { background: #F7CA00; }
.b24-buy-box .btn-secondary, .b24-product-info .btn-secondary { background: #FF9900; color: white; }
.b24-buy-box .btn-secondary:hover, .b24-product-info .btn-secondary:hover { background: #E47911; }
.b24-buy-box .btn:disabled, .b24-product-info .btn:disabled { opacity: 0.6; cursor: not-allowed; }
.other-sellers { margin-top: 30px; border-top: 1px solid #D5D9D9; padding-top: 20px; }
.b24-buy-box .seller-link { color: #007185; text-decoration: none; font-size: 14px; }
.b24-buy-box .seller-list { margin-top: 15px; }
.b24-buy-box .seller-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #E7E7E7; }
.b24-buy-box .seller-info { flex: 1; }
.b24-buy-box .seller-price { font-weight: bold; color: #B12704; }
.b24-buy-box .seller-shipping { font-size: 12px; color: #565959; }
.b24-buy-box .seller-name { font-size: 12px; color: #007185; }

/* Tabs description */
.description-tabs { border-bottom: 1px solid #D5D9D9; margin-bottom: 20px; }
.tab-btn { padding: 10px 20px; border: none; background: none; cursor: pointer; font-size: 14px; border-bottom: 2px solid transparent; }
.tab-btn.active { border-bottom-color: #FF9900; font-weight: bold; }
.tab-content { display: none; }
.tab-content.active { display: block; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: 10px; text-align: left; border-bottom: 1px solid #E7E7E7; }
.spec-table th { background: #F7F8F8; font-weight: 500; }

/* Responsive */
@media (max-width: 1200px) {
    .b24-buy-box { flex: 0 0 100%; width: 100%; max-width: 100%; position: static; }
}
@media (max-width: 992px) {
    .b24-columns-row { flex-direction: column; }
    .b24-product-images, .b24-product-info, .b24-buy-box { flex: 0 0 100%; width: 100%; max-width: 100%; position: static; }
    .b24-product-images { flex-direction: column; align-items: center; }
    .thumbnail-column { order: -1; flex-direction: row; width: auto; flex: 0 0 auto; }
    .main-image-wrapper { order: 0; flex: 0 0 auto; width: 100%; max-width: 500px; }
    .main-image-container, .main-image { width: 100%; height: auto; aspect-ratio: 1/1; }
    .carousel-btn { display: none; }
    .thumbnail-container { height: auto; overflow: visible; width: auto; }
    .thumbnail-grid { flex-direction: row; flex-wrap: wrap; justify-content: center; transform: none; }
    .main-image-container { cursor: default; }
    .zoom-result { display: none !important; }
    .zoom-lens { display: none !important; }
}

/* Comparaison */
.b24-comparison-section { width: 100%; box-sizing: border-box; margin-top: 10px; }
.b24-comparison-section h2 { font-size: 20px; font-weight: 500; margin-bottom: 20px; color: #0F1111; }
.comparison-wrapper { background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.08); overflow-x: auto; }
.comparison-table { width: 100%; border-collapse: collapse; }
.comparison-table th, .comparison-table td { border: 1px solid #e9ecef; vertical-align: top; }
.product-header { padding: 24px 16px; text-align: center; background: white; width: 180px; }
.characteristics-header { background: #f8f9fa; padding: 24px 16px; width: 200px; border-right: 2px solid #e9ecef; }
.comparison-product-image { width: 100px; height: 140px; margin: 0 auto 16px auto; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 6px rgba(0,0,0,0.1); }
.comparison-product-image img { width: 100%; height: 100%; object-fit: cover; max-width: none; }
.cmp-title { height: 36px; background: #dee2e6; border-radius: 4px; margin-bottom: 8px; }
.cmp-subtitle { height: 18px; background: #dee2e6; border-radius: 4px; margin-bottom: 10px; width: 60%; margin-left: auto; margin-right: auto; }
.cmp-price { height: 14px; background: #dee2e6; border-radius: 4px; width: 40%; margin: 0 auto; }
.feature-row { border-bottom: 1px solid #e9ecef; }
.feature-row:nth-child(even) { background: #fdfdfd; }
.feature-name { padding: 18px 16px; background: #f8f9fa; border-right: 2px solid #e9ecef; font-weight: 500; color: #495057; }
.feature-name-bar { height: 14px; background: #adb5bd; border-radius: 4px; }
.feature-name-bar.long { width: 85%; } .feature-name-bar.medium { width: 65%; } .feature-name-bar.short { width: 45%; }
.feature-cell { padding: 18px 16px; text-align: center; font-size: 18px; font-weight: bold; }
.checkmark { color: #28a745; } .dash { color: #6c757d; }
.text-row .feature-cell { padding: 14px 16px; }
.text-placeholder { height: 11px; background: #ced4da; border-radius: 3px; margin: 4px 0; }
.text-placeholder.full { width: 100%; } .text-placeholder.half { width: 60%; } .text-placeholder.third { width: 40%; }

/* b24up */
.b24up-section { width: 100%; box-sizing: border-box; margin-top: 10px; }
.b24up-section > h2 { font-size: 20px; font-weight: 500; color: #0F1111; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid #e77600; }
.b24up-block { background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.07); margin-bottom: 20px; }
.b24up-brand { position: relative; height: 220px; overflow: hidden; display: flex; align-items: center; }
.b24up-brand-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(0.55); max-width: none; }
.b24up-brand-content { position: relative; z-index: 1; padding: 0 48px; color: white; max-width: 600px; }
.b24up-ph-logo { width: 120px; height: 28px; background: rgba(255,255,255,0.35); border-radius: 4px; margin-bottom: 16px; }
.b24up-ph-title { width: 320px; height: 28px; background: rgba(255,255,255,0.5); border-radius: 4px; margin-bottom: 12px; }
.b24up-ph-text { height: 12px; background: rgba(255,255,255,0.3); border-radius: 3px; margin-bottom: 8px; }
.b24up-ph-text.w100 { width: 100%; } .b24up-ph-text.w75 { width: 75%; } .b24up-ph-text.w55 { width: 55%; }
.b24up-fullimg img { width: 100%; height: 300px; object-fit: cover; display: block; max-width: none; }
.b24up-fullimg-text { padding: 28px 32px; }
.b24up-ph-h { height: 22px; background: #dee2e6; border-radius: 4px; margin-bottom: 14px; }
.b24up-ph-h.w50 { width: 50%; }
.b24up-ph-p { height: 11px; background: #e9ecef; border-radius: 3px; margin-bottom: 8px; }
.b24up-ph-p.w100 { width: 100%; } .b24up-ph-p.w85 { width: 85%; } .b24up-ph-p.w70 { width: 70%; } .b24up-ph-p.w45 { width: 45%; }
.b24up-split { display: flex; align-items: stretch; }
.b24up-split-img { flex: 0 0 50%; overflow: hidden; }
.b24up-split-img img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; display: block; max-width: none; }
.b24up-split-text { flex: 0 0 50%; padding: 36px; display: flex; flex-direction: column; justify-content: center; background: #fafafa; }
.b24up-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.b24up-feature-item { padding: 32px 28px; text-align: center; border-right: 1px solid #e9ecef; }
.b24up-feature-item:last-child { border-right: none; }
.b24up-feature-icon { width: 56px; height: 56px; background: #fff3e0; border-radius: 50%; margin: 0 auto 16px auto; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.b24up-ph-icon-title { height: 16px; background: #dee2e6; border-radius: 4px; width: 65%; margin: 0 auto 12px auto; }
@media (max-width: 768px) {
    .b24up-split { flex-direction: column; }
    .b24up-split-img, .b24up-split-text { flex: 0 0 100%; }
    .b24up-features { grid-template-columns: 1fr; }
    .b24up-feature-item { border-right: none; border-bottom: 1px solid #e9ecef; }
    .b24up-brand-content { padding: 0 24px; }
    .b24up-ph-title { width: 220px; }
}

/* Reviews */
.b24-reviews-section { width: 100%; box-sizing: border-box; margin-top: 10px; }
.b24-reviews-section > h2 { font-size: 20px; font-weight: 500; color: #0F1111; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid #e77600; }
.b24-reviews-layout { display: flex; gap: 30px; align-items: flex-start; }
.b24-reviews-summary { flex: 0 0 280px; background: white; border-radius: 8px; padding: 28px 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.07); position: sticky; top: 20px; }
.b24-reviews-global { text-align: center; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid #e9ecef; }
.b24-reviews-score { font-size: 64px; font-weight: 300; color: #0F1111; line-height: 1; margin-bottom: 8px; }
.b24-reviews-stars-global { color: #FF9900; font-size: 22px; letter-spacing: 2px; margin-bottom: 6px; }
.b24-reviews-count { font-size: 13px; color: #565959; }
.b24-star-bars { display: flex; flex-direction: column; gap: 8px; }
.b24-star-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #007185; cursor: pointer; }
.b24-star-row:hover .b24-bar-fill { filter: brightness(1.1); }
.b24-star-label { flex: 0 0 42px; text-align: right; white-space: nowrap; }
.b24-bar-track { flex: 1; height: 18px; background: #f0f0f0; border-radius: 3px; overflow: hidden; }
.b24-bar-fill { height: 100%; background: #FF9900; border-radius: 3px; transition: width 0.4s ease; }
.b24-star-pct { flex: 0 0 32px; font-size: 12px; color: #565959; }
.b24-reviews-list { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0; }
.b24-review-card { background: white; border-radius: 8px; padding: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.07); margin-bottom: 16px; }
.b24-review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.b24-reviewer-avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: #dee2e6; }
.b24-reviewer-avatar img { width: 100%; height: 100%; object-fit: cover; max-width: none; }
.b24-reviewer-meta { flex: 1; min-width: 0; }
.b24-reviewer-name { height: 13px; background: #dee2e6; border-radius: 3px; width: 120px; margin-bottom: 5px; }
.b24-reviewer-date { height: 11px; background: #e9ecef; border-radius: 3px; width: 80px; }
.b24-review-stars { color: #FF9900; font-size: 14px; letter-spacing: 1px; margin-bottom: 6px; }
.b24-review-title { height: 15px; background: #dee2e6; border-radius: 3px; width: 55%; margin-bottom: 12px; }
.b24-review-body { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.b24-review-line { height: 11px; background: #e9ecef; border-radius: 3px; }
.b24-review-photos { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.b24-review-photo { width: 72px; height: 72px; border-radius: 4px; overflow: hidden; border: 1px solid #D5D9D9; flex-shrink: 0; }
.b24-review-photo img { width: 100%; height: 100%; object-fit: cover; max-width: none; }
.b24-review-helpful { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #f0f0f0; font-size: 12px; color: #565959; }
.b24-helpful-btn { padding: 4px 12px; border: 1px solid #D5D9D9; border-radius: 20px; background: white; font-size: 12px; cursor: pointer; color: #565959; transition: border-color 0.2s; }
.b24-helpful-btn:hover { border-color: #888C8C; }
@media (max-width: 992px) {
    .b24-reviews-layout { flex-direction: column; }
    .b24-reviews-summary { flex: 0 0 auto; width: 100%; position: static; }
}

/* Swipers */
.b24-swiper-section { width: 100vw; margin-left: calc(-50vw + 50%); position: relative; background: #f8f9fa; padding: 32px 0 36px 0; box-sizing: border-box; overflow: hidden; }
.b24-swiper-section + .b24-swiper-section { margin-top: 4px; background: white; }
.b24-swiper-inner { padding: 0 40px; }
.b24-swiper-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; padding: 0 40px; }
.b24-swiper-header h3 { font-size: 20px; font-weight: 500; color: #0F1111; }
.b24-swiper-see-all { font-size: 14px; color: #007185; text-decoration: none; white-space: nowrap; }
.b24-swiper-see-all:hover { text-decoration: underline; }
.b24-swiper-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; background: white; border: 1px solid #D5D9D9; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10; box-shadow: 0 2px 8px rgba(0,0,0,0.12); font-size: 16px; color: #0F1111; transition: all 0.2s; }
.b24-swiper-btn:hover { background: #f0f0f0; box-shadow: 0 4px 12px rgba(0,0,0,0.18); }
.b24-swiper-btn.swiper-button-disabled { opacity: 0.3; cursor: not-allowed; }
.b24-swiper-prev { left: 8px; } .b24-swiper-next { right: 8px; }
.b24-product-card { background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.08); transition: box-shadow 0.2s, transform 0.2s; cursor: pointer; height: 100%; display: flex; flex-direction: column; }
.b24-product-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.14); transform: translateY(-2px); }
.b24-card-img { width: 100%; height: 180px; overflow: hidden; flex-shrink: 0; background: #f0f0f0; }
.b24-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; transition: transform 0.3s ease; }
.b24-product-card:hover .b24-card-img img { transform: scale(1.04); }
.b24-card-body { padding: 12px 14px 14px 14px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.b24-card-title-ph { height: 13px; background: #dee2e6; border-radius: 3px; }
.b24-card-title-ph.w90 { width: 90%; } .b24-card-title-ph.w70 { width: 70%; }
.b24-card-stars-ph { display: flex; align-items: center; gap: 6px; margin: 2px 0; }
.b24-card-stars { color: #FF9900; font-size: 12px; letter-spacing: 1px; }
.b24-card-rcount { height: 11px; width: 40px; background: #e9ecef; border-radius: 3px; }
.b24-card-price-ph { height: 16px; background: #ffd0c0; border-radius: 3px; width: 55%; margin-top: auto; }
.b24-card-badge { position: absolute; top: 10px; left: 10px; background: #0B3D91; color: white; font-size: 10px; padding: 2px 8px; border-radius: 20px; font-weight: 500; }
.b24-card-wrapper { position: relative; }

/* Nora AI */
.nora-fab { position: fixed; bottom: 28px; right: 28px; z-index: 8000; display: flex; align-items: center; gap: 8px; padding: 10px 20px 10px 14px; background: white; border: 1px solid #e0e0e0; border-radius: 999px; box-shadow: 0 4px 20px rgba(0,0,0,0.14); cursor: pointer; font-size: 14px; font-weight: 500; color: #0F1111; transition: box-shadow 0.2s, transform 0.2s; user-select: none; white-space: nowrap; }
.nora-fab:hover { box-shadow: 0 6px 28px rgba(0,0,0,0.2); transform: translateY(-2px); }
.nora-fab-icon { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nora-fab-icon svg { width: 28px; height: 28px; display: block; }
.nora-fab-label { line-height: 1; }
.nora-fab-label span { color: #e77600; font-style: italic; }
.nora-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.3); z-index: 8001; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.nora-overlay.open { opacity: 1; pointer-events: all; }
.nora-panel { position: fixed; top: 0; right: 0; width: 380px; height: 100vh; background: white; z-index: 8002; display: flex; flex-direction: column; box-shadow: -4px 0 24px rgba(0,0,0,0.15); transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
.nora-panel.open { transform: translateX(0); }
.nora-panel-header { display: flex; align-items: center; gap: 12px; padding: 18px 20px; background: #0B3D91; color: white; flex-shrink: 0; }
.nora-panel-avatar { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nora-panel-avatar svg { width: 36px; height: 36px; display: block; }
.nora-panel-title { flex: 1; }
.nora-panel-title strong { display: block; font-size: 15px; }
.nora-panel-title small { font-size: 12px; opacity: 1; color: #e6ecfa; }
.nora-panel-close { background: none; border: none; color: white; font-size: 22px; cursor: pointer; padding: 4px; opacity: 0.8; line-height: 1; transition: opacity 0.2s; }
.nora-panel-close:hover { opacity: 1; }
.nora-messages { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 14px; background: #f8f9fa; }
.nora-msg { display: flex; gap: 8px; align-items: flex-end; }
.nora-msg.nora { flex-direction: row; } .nora-msg.user { flex-direction: row-reverse; }
.nora-msg-avatar { width: 28px; height: 28px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.nora-msg-avatar svg { width: 28px; height: 28px; display: block; }
.nora-bubble { max-width: 80%; padding: 10px 14px; border-radius: 16px; font-size: 13px; line-height: 1.5; }
.nora-msg.nora .nora-bubble { background: white; color: #0F1111; border-bottom-left-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.nora-msg.user .nora-bubble { background: #0B3D91; color: white; border-bottom-right-radius: 4px; }
/* Bulle « Nora est en train d'écrire… » pendant l'appel au modèle */
.nora-typing { display: inline-flex; align-items: center; gap: 4px; }
.nora-typing span { width: 6px; height: 6px; border-radius: 50%; background: #9aa4b2; display: inline-block; animation: noraBlink 1.2s infinite ease-in-out; }
.nora-typing span:nth-child(2) { animation-delay: 0.2s; }
.nora-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes noraBlink { 0%, 80%, 100% { opacity: 0.3; } 40% { opacity: 1; } }
.nora-suggestions { padding: 12px 20px 0 20px; display: flex; flex-wrap: wrap; gap: 8px; background: #f8f9fa; flex-shrink: 0; }
.nora-suggestion-btn { padding: 6px 12px; border: 1px solid #0B3D91; border-radius: 999px; background: white; color: #0B3D91; font-size: 12px; cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.nora-suggestion-btn:hover { background: #0B3D91; color: white; }
.nora-input-area { padding: 14px 16px; border-top: 1px solid #e9ecef; display: flex; gap: 10px; align-items: flex-end; flex-shrink: 0; background: white; }
.nora-input { flex: 1; border: 1px solid #D5D9D9; border-radius: 20px; padding: 10px 16px; font-size: 13px; resize: none; max-height: 100px; outline: none; font-family: inherit; line-height: 1.4; transition: border-color 0.2s; }
.nora-input:focus { border-color: #0B3D91; }
.nora-send-btn { width: 36px; height: 36px; background: #e77600; border: none; border-radius: 50%; color: white; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background 0.2s; }
.nora-send-btn:hover { background: #c96800; }
@media (max-width: 480px) { .nora-panel { width: 100vw; } .nora-fab { bottom: 80px; right: 16px; } }

/* Related searches */
.b24-related-searches { width: 100vw; margin-left: calc(-50vw + 50%); background: white; padding: 28px 40px 32px 40px; box-sizing: border-box; border-top: 1px solid #e9ecef; }
.b24-related-searches h3 { font-size: 18px; font-weight: 500; color: #0F1111; margin-bottom: 16px; }
.b24-related-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.b24-related-pill { display: inline-flex; align-items: center; padding: 8px 16px; border: 1px solid #D5D9D9; border-radius: 999px; background: #f8f9fa; font-size: 13px; color: #0F1111; text-decoration: none; cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.b24-related-pill:hover { background: #fff3e0; border-color: #e77600; color: #e77600; }
@media (max-width: 576px) { .b24-related-searches { padding: 24px 20px 28px 20px; } }