/* ═══════════════════════════════════════════════════════════════
   CRO Updates – Force Mobiles | Audit UX/UI
   ═══════════════════════════════════════════════════════════════ */

/* ─── Anti-CLS : réserver l'espace de la grille produits ─────── */
#product-grid {
    min-height: 600px;
    content-visibility: auto;
    contain-intrinsic-size: 0 600px;
}
@media (max-width: 768px) {
    #product-grid { min-height: 900px; contain-intrinsic-size: 0 900px; }
}

/* ─── Anti-CLS : réserver l'espace de l'image hero ────────────── */
.hero-image-frame {
    aspect-ratio: 1 / 1;
}
@media (max-width: 768px) {
    .hero-image-frame { aspect-ratio: 1200 / 750; }
}

/* ─── Accessibility Utility ───────────────────────────────────── */
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* ─── Hero Reassurance Strip ──────────────────────────────────── */
.hero-reassurance {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 13px 22px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 50px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.90);
    font-weight: 600;
    width: fit-content;
    max-width: 100%;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.hero-reassurance span {
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}
.hero-reassurance i {
    color: #4ade80;
    font-size: 0.8rem;
}
.hero-reassurance .hero-trust-sep {
    color: rgba(255,255,255,0.25);
    font-weight: 300;
}
@media (max-width: 900px) {
    .hero-reassurance {
        justify-content: center;
        border-radius: 16px;
        padding: 12px 18px;
        gap: 10px;
    }
}
@media (max-width: 600px) {
    .hero-reassurance {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        border-radius: 14px;
        gap: 8px;
        width: 100%;
        padding: 11px 14px;
    }
    .hero-reassurance .hero-trust-sep { 
        display: flex;
        font-size: 1rem;
        opacity: 0.6;
    }
    .hero-reassurance span {
        white-space: nowrap;
        justify-content: center;
        width: 100%;
    }
}
@media (max-width: 480px) {
    .hero-reassurance {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        border-radius: 14px;
        gap: 8px;
        width: 100%;
    }
    .hero-reassurance .hero-trust-sep { 
        display: flex;
        font-size: 1rem;
        opacity: 0.6;
    }
    .hero-reassurance span {
        justify-content: center;
        width: 100%;
    }
}

/* ─── Features Tagline ────────────────────────────────────────── */
.features-tagline {
    text-align: center;
    font-style: italic;
    font-size: clamp(0.9rem, 1.8vw, 1.08rem);
    color: rgba(255,255,255,0.72);
    max-width: 680px;
    margin: -25px auto 46px;
    line-height: 1.75;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* ─── Brands Section ──────────────────────────────────────────── */
.brands-section {
    padding: clamp(60px, 8vw, 96px) 0 clamp(40px, 5vw, 60px);
    background: #fff;
}
.brands-intro-text {
    text-align: center;
    color: var(--text-sec);
    font-size: 1.05rem;
    max-width: 600px;
    margin: -28px auto 46px;
    line-height: 1.7;
}
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}
.brand-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px 22px 24px;
    border: 2px solid transparent;
    box-shadow: 0 4px 20px rgba(6,44,89,0.07);
    transition: all 0.3s cubic-bezier(0.25,0.8,0.25,1);
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    overflow: hidden;
}
.brand-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    border-radius: 20px 20px 0 0;
}
.brand-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 45px rgba(6,44,89,0.14);
}

/* Per-brand colors — couleurs officielles logos */
.brand-blackview::before { background: linear-gradient(90deg,#003087,#0057B8); }
.brand-blackview:hover   { border-color: #003087; }
.brand-ulefone::before   { background: linear-gradient(90deg,#0090C8,#00AADD); }
.brand-ulefone:hover     { border-color: #00AADD; }
.brand-oukitel::before   { background: linear-gradient(90deg,#E86B00,#F47920); }
.brand-oukitel:hover     { border-color: #F47920; }
.brand-doogee::before    { background: linear-gradient(90deg,#1B72BE,#E84C1D); }
.brand-doogee:hover      { border-color: #1B72BE; }

.brand-icon-row {
    display: flex;
    align-items: center;
    gap: 14px;
}
.brand-logo-badge {
    width: 64px;
    height: 32px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: transparent;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    padding: 6px;
}
.brand-logo-badge img {
    width: 100%;
    height: auto;
    max-height: 32px;
    object-fit: contain;
    display: block;
}

.brand-card h3 {
    font-size: 1.12rem;
    font-family: var(--font-heading);
    color: var(--primary);
    margin: 0;
    line-height: 1.2;
}
.brand-positioning {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 50px;
    color: #fff;
    margin-top: 4px;
}
.brand-blackview .brand-positioning { background: #003087; }
.brand-ulefone   .brand-positioning { background: #00AADD; }
.brand-oukitel   .brand-positioning { background: #F47920; }
.brand-doogee    .brand-positioning { background: #1B72BE; }

.brand-card > p {
    font-size: 0.87rem;
    color: var(--text-sec);
    line-height: 1.65;
    margin: 0;
}
.brand-targets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 0;
    padding: 0;
}
.brand-targets li {
    font-size: 0.83rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}
.brand-targets li i {
    color: #25D366;
    font-size: 0.72rem;
    flex-shrink: 0;
}
.btn-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.83rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    margin-top: auto;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.brand-blackview .btn-brand { background: linear-gradient(135deg,#003087,#0057B8); }
.brand-ulefone   .btn-brand { background: linear-gradient(135deg,#0090C8,#00AADD); }
.brand-oukitel   .btn-brand { background: linear-gradient(135deg,#E86B00,#F47920); }
.brand-doogee    .btn-brand { background: linear-gradient(135deg,#1B72BE,#E84C1D); }
.brand-card .btn-brand:hover {
    opacity: 0.88;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.22);
}

/* ─── Quiz Section ────────────────────────────────────────────── */
.quiz-section {
    padding: clamp(50px, 7vw, 80px) 0;
    background: linear-gradient(150deg,#031b3a 0%,#063289 55%,#0b2f6e 100%);
    position: relative;
    overflow: hidden;
}
.quiz-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle,rgba(255,255,255,.04) 1px,transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}
.quiz-card {
    background: #fff;
    border-radius: 24px;
    padding: clamp(28px,4vw,50px);
    max-width: 720px;
    margin: 0 auto;
    box-shadow: 0 24px 80px rgba(0,0,0,0.25);
    position: relative;
    z-index: 1;
}
.quiz-header {
    text-align: center;
    margin-bottom: 30px;
}
.quiz-header-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg,var(--accent),var(--accent-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    margin: 0 auto 16px;
    box-shadow: 0 8px 25px rgba(246,142,86,0.4);
}
.quiz-header h2 {
    font-size: clamp(1.2rem,3vw,1.65rem);
    color: var(--primary);
    margin-bottom: 8px;
}
.quiz-header p { color: var(--text-sec); font-size: 0.9rem; }

.quiz-step { display: none; animation: fadeInStep 0.35s ease both; }
.quiz-step.active { display: block; }
@keyframes fadeInStep {
    from { opacity:0; transform:translateY(12px); }
    to   { opacity:1; transform:translateY(0); }
}
.quiz-step h3 {
    font-size: 1.08rem;
    color: var(--primary);
    margin-bottom: 18px;
    font-family: var(--font-heading);
}
.quiz-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.quiz-option {
    background: #f8faff;
    border: 2px solid #e8ecf4;
    border-radius: 12px;
    padding: 15px 14px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    line-height: 1.4;
}
.quiz-option:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6,44,89,0.2);
}
.quiz-progress-wrap {
    margin-top: 26px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.quiz-progress-track {
    flex: 1;
    height: 6px;
    background: #e8ecf4;
    border-radius: 6px;
    overflow: hidden;
}
.quiz-progress-bar {
    height: 100%;
    background: linear-gradient(90deg,var(--secondary),var(--accent));
    border-radius: 6px;
    transition: width 0.4s ease;
    width: 0%;
}
.quiz-progress-text {
    font-size: 0.78rem;
    color: var(--text-sec);
    font-weight: 600;
    white-space: nowrap;
}
.quiz-result { display: none; text-align: center; }
.quiz-result.active { display: block; animation: fadeInStep 0.4s ease both; }
.quiz-result-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: #fff;
    margin: 0 auto 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.quiz-result h3 { font-size: 1.5rem; color: var(--primary); margin-bottom: 6px; }
.quiz-result-label { font-size: 0.85rem; color: var(--text-sec); margin-bottom: 14px; display: block; }
.quiz-result p { color: #444; font-size: 0.95rem; line-height: 1.7; margin-bottom: 24px; }
.quiz-result-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-quiz-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    background: linear-gradient(135deg,#25D366,#1ebe5d);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 6px 20px rgba(37,211,102,0.3);
}
.btn-quiz-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(37,211,102,0.45); }
.btn-quiz-restart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 50px;
    background: transparent;
    border: 2px solid #d1d9e6;
    color: var(--text-sec);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-quiz-restart:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.quiz-section-subtitle {
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}
.quiz-section-subtitle i { color: var(--accent); margin-right: 4px; }

@media (max-width: 480px) {
    .quiz-options { grid-template-columns: 1fr; }
    .quiz-result-cta { flex-direction: column; align-items: center; }
    .btn-quiz-whatsapp, .btn-quiz-restart { width: 100%; justify-content: center; }
}

/* ─── WhatsApp Testimonials Section ──────────────────────────── */
.wa-testimonials-section {
    padding: clamp(60px,8vw,100px) 0;
    background: var(--bg-sec);
}
.wa-section-header {
    text-align: center;
    margin-bottom: 46px;
}
.wa-counter-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg,#25D366,#1ebe5d);
    color: #fff;
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}
.wa-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.wa-chat-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(6,44,89,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}
.wa-chat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.11);
}
.wa-chat-header {
    background: linear-gradient(135deg,#075e54,#128C7E);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.wa-chat-header-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.25);
}
.wa-chat-header-info { display: flex; flex-direction: column; gap: 2px; }
.wa-chat-header-name { color: #fff; font-weight: 700; font-size: 0.92rem; }
.wa-chat-header-job  { color: rgba(255,255,255,0.75); font-size: 0.74rem; }

.wa-chat-body {
    padding: 16px;
    background-color: #e5ddd5;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 150px;
}
.wa-bubble {
    max-width: 86%;
    padding: 10px 13px;
    border-radius: 8px;
    font-size: 0.87rem;
    line-height: 1.55;
    position: relative;
    word-break: break-word;
}
.wa-bubble-received {
    background: #fff;
    border-radius: 0 8px 8px 8px;
    align-self: flex-start;
    color: #1a1a1a;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.wa-bubble-received::before {
    content: '';
    position: absolute;
    top: 0; left: -7px;
    width: 0; height: 0;
    border-right: 7px solid #fff;
    border-top: 7px solid transparent;
}
.wa-bubble-sent {
    background: #dcf8c6;
    border-radius: 8px 0 8px 8px;
    align-self: flex-end;
    color: #1a1a1a;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.wa-bubble-sent::before {
    content: '';
    position: absolute;
    top: 0; right: -7px;
    width: 0; height: 0;
    border-left: 7px solid #dcf8c6;
    border-top: 7px solid transparent;
}
.wa-bubble-time {
    display: block;
    text-align: right;
    font-size: 0.7rem;
    color: #888;
    margin-top: 5px;
}
.wa-ticks { color: #4fc3f7; }

.wa-stars {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 10px 16px;
    background: #f9f9f9;
    border-top: 1px solid #eee;
}
.wa-stars i { color: #f5a623; font-size: 0.85rem; }
.wa-stars > span { font-size: 0.78rem; color: #666; margin-left: 6px; font-weight: 600; }
.wa-verified {
    color: #25D366;
    font-size: 0.72rem;
    font-weight: 700;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 4px;
}
.wa-verified i { font-size: 0.72rem; }

/* ─── Scarcity Tag – Product Page ────────────────────────────── */
.scarcity-tag {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg,#fff3e0,#ffe0b2);
    color: #bf360c;
    border: 1px solid rgba(191,54,12,0.22);
    border-radius: 10px;
    padding: 11px 16px;
    font-size: 0.88rem;
    font-weight: 600;
    animation: pulseScarcity 2.2s ease-in-out infinite;
}
.scarcity-fire { font-size: 1.15rem; }
@keyframes pulseScarcity {
    0%,100% { border-color: rgba(191,54,12,0.22); box-shadow: none; }
    50%      { border-color: rgba(191,54,12,0.5); box-shadow: 0 0 12px rgba(191,54,12,0.12); }
}

/* ─── Sticky Order Bar – Mobile ──────────────────────────────── */
.sticky-order-bar {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #fff;
    border-top: 1px solid rgba(6,44,89,0.1);
    box-shadow: 0 -4px 20px rgba(6,44,89,0.12);
    padding: 10px 16px 14px;
    z-index: 980;
    align-items: center;
    gap: 14px;
    transition: transform 0.3s ease;
}
.sticky-order-bar.hidden { transform: translateY(100%); }
.sticky-price-col { display: flex; flex-direction: column; flex-shrink: 0; }
.sticky-price-label { font-size: 0.68rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.4px; }
.sticky-price-value {
    font-family: var(--font-heading);
    font-size: 1.22rem;
    font-weight: 800;
    color: var(--whatsapp-dk);
    line-height: 1.1;
}
.sticky-price-value small { font-size: 0.7rem; font-weight: 600; margin-left: 2px; }
.sticky-divider { width: 1px; height: 40px; background: rgba(6,44,89,0.1); flex-shrink: 0; }
.btn-sticky-wa {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg,#25D366,#1ebe5d);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 50px;
    padding: 13px 20px;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}
.btn-sticky-wa i { font-size: 1.2rem; }
.btn-sticky-wa:hover { transform: translateY(-1px); box-shadow: 0 7px 22px rgba(37,211,102,0.45); }

@media (max-width: 768px) {
    .sticky-order-bar { display: flex; }
    body.product-page-body { padding-bottom: 80px; }
    /* Push whatsapp float above sticky bar */
    body.product-page-body .whatsapp-float { bottom: 90px; }
}

/* ─── Montres Connectées — Category Card ─────────────────────── */
.category-card--montre .category-icon {
    background: rgba(123, 31, 162, 0.10);
    color: #7b1fa2;
}
.category-card--montre:hover {
    border-color: #7b1fa2;
}
.category-card--montre:hover .category-icon {
    background: linear-gradient(135deg, #4a148c, #7b1fa2);
    color: #fff;
    box-shadow: 0 8px 20px rgba(123, 31, 162, 0.35);
}
.category-card--montre .category-count {
    color: #c62828;
    font-weight: 700;
}

/* ─── Product Thumbnail Strip (color variants) ───────────────── */
.product-thumbs-row {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.product-thumb {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background: #fff;
    border: 2px solid #e0e6f0;
    border-radius: 12px;
    padding: 6px 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-sec);
    min-width: 72px;
}
.product-thumb img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 7px;
    pointer-events: none;
}
.product-thumb:hover {
    border-color: #7b1fa2;
    box-shadow: 0 4px 12px rgba(123,31,162,0.15);
}
.product-thumb.active {
    border-color: #7b1fa2;
    background: rgba(123,31,162,0.04);
    color: #7b1fa2;
    box-shadow: 0 4px 14px rgba(123,31,162,0.18);
}

/* ─── Color Swatch Selector ──────────────────────────────────── */
.color-selector-block {
    margin: 6px 0 2px;
}
.color-selector-label {
    font-size: 0.85rem;
    color: var(--text-sec);
    margin-bottom: 10px;
}
.color-selector-label strong {
    color: var(--primary);
    font-weight: 700;
}
.color-selector-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}
.color-swatch {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    outline: none;
}
.color-swatch:hover {
    transform: scale(1.12);
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.color-swatch-active {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--primary), 0 4px 12px rgba(0,0,0,0.2) !important;
    transform: scale(1.08);
}
.color-check {
    color: #fff;
    font-size: 0.7rem;
    opacity: 0;
    transition: opacity 0.2s;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.color-swatch-active .color-check {
    opacity: 1;
}

/* ─── Bouton Acheter maintenant (product.php) ─────────────────── */
.btn-buy-now {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--accent, #FF6B00), #e05500);
    color: #fff;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255,107,0,0.35);
    transition: var(--transition, all 0.2s ease);
    text-decoration: none;
    font-family: inherit;
}
.btn-buy-now:hover {
    background: linear-gradient(135deg, #e05500, #c44a00);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255,107,0,0.45);
}
.btn-buy-now i { font-size: 1.2rem; }

/* ─── Hero image rectangulaire pleine largeur sur mobile/tablette ─── */
@media (max-width: 768px) {
    .hero-image-col {
        width: 100%;
    }
    .hero-image-frame {
        aspect-ratio: auto;
        max-width: 100%;
        width: 100%;
        border-radius: 12px;
    }
    .hero-image-frame picture {
        display: block;
        width: 100%;
    }
    .hero-image-frame .hero-product-img {
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: fill;
    }
}

/* ═══════════════════════════════════════════════════════════════
   CARTES PRODUITS — Layout simplifié
   photo · titre · sous-titre · prix · Détails + Commander
   ═══════════════════════════════════════════════════════════════ */

/* Nom du produit */
.pc-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
    line-height: 1.3;
}
.pc-title a {
    color: inherit;
}
.pc-title a:hover {
    color: var(--accent);
}

/* Tagline / sous-titre */
.pc-subtitle {
    font-size: 0.8rem;
    color: var(--text-sec);
    font-style: italic;
    margin-bottom: 14px;
    line-height: 1.4;
}

/* Prix */
.pc-price {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--whatsapp-dk);
    margin-bottom: 18px;
    line-height: 1;
}
.pc-price small {
    font-size: 0.72rem;
    font-weight: 600;
    opacity: 0.7;
    margin-left: 2px;
}

/* Boutons côte à côte */
.pc-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}
.pc-actions .btn {
    flex: 1;
    width: auto !important;
    padding: 11px 10px;
    font-size: 0.85rem;
}

/* Ajustement padding info pour le layout allégé */
.product-card .product-info:has(.pc-title) {
    padding: 18px 20px 20px;
    gap: 0;
}

/* ═══════════════════════════════════════════════════════════════
   PAGE PRODUIT — product.php — CSS complet
   ═══════════════════════════════════════════════════════════════ */

/* ── Titre principal + Tagline ──────────────────────────────── */
.product-name-h1 {
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    font-weight: 800;
    color: var(--primary, #062c59);
    line-height: 1.2;
    margin: 0 0 8px;
}
.product-tagline {
    font-size: 0.95rem;
    color: var(--text-sec, #6b7a99);
    font-style: italic;
    line-height: 1.5;
    margin: 0 0 16px;
    padding: 8px 14px;
    background: rgba(13,74,150,0.04);
    border-left: 3px solid var(--accent, #f68e56);
    border-radius: 0 8px 8px 0;
}

/* ── Rating Row ─────────────────────────────────────────────── */
.product-rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.product-stars i { color: #f5a623; font-size: 0.9rem; }
.product-rating-text { font-weight: 700; font-size: 0.92rem; color: var(--primary); }
.product-rating-count { font-size: 0.82rem; color: var(--text-sec); }

/* ── Bloc Prix ──────────────────────────────────────────────── */
.product-price-block {
    display: flex;
    align-items: baseline;
    gap: 14px;
    background: linear-gradient(135deg, #eef6ff, #ddeeff);
    border: 2px solid rgba(13,74,150,0.12);
    border-radius: 14px;
    padding: 14px 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.product-price-large {
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #1b6e20;
    line-height: 1;
}
.product-price-large small {
    font-size: 1rem;
    font-weight: 700;
    margin-left: 3px;
}
.product-price-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-sec);
    background: rgba(13,74,150,0.08);
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: center;
}

/* ── Bandeau stock ──────────────────────────────────────────── */
.product-stock-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    color: #1b5e20;
    border: 1px solid rgba(27,94,32,0.2);
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 18px;
}
.product-stock-banner i { color: #2e7d32; font-size: 1rem; }

/* ── Feature Pills ──────────────────────────────────────────── */
.feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #f0f4ff, #e8edf8);
    border: 1px solid rgba(13,74,150,0.14);
    color: var(--primary, #062c59);
    padding: 7px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s;
    cursor: default;
}
.feature-pill i {
    color: #25D366;
    font-size: 0.72rem;
}
.feature-pill:hover {
    background: var(--primary, #062c59);
    color: #fff;
    border-color: var(--primary, #062c59);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(6,44,89,0.2);
}
.feature-pill:hover i { color: #a5f3c4; }

/* ── Description courte ─────────────────────────────────────── */
.product-desc-short {
    font-size: 0.93rem;
    color: var(--text-sec, #6b7a99);
    line-height: 1.75;
    margin-bottom: 18px;
    padding: 12px 16px;
    background: #f8faff;
    border-left: 3px solid rgba(13,74,150,0.25);
    border-radius: 0 8px 8px 0;
}

/* ── Livraison ──────────────────────────────────────────────── */
.delivery-info-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid #e0e8f4;
    border-radius: 12px;
    margin-bottom: 18px;
}
.delivery-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-main, #1a2640);
}
.delivery-item i {
    font-size: 1.05rem;
    color: #0d4a96;
    width: 22px;
    text-align: center;
    flex-shrink: 0;
}

/* ── Trust Block ────────────────────────────────────────────── */
.trust-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 18px;
}
.trust-block-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #f8faff;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary, #062c59);
    border: 1px solid rgba(13,74,150,0.08);
    transition: background 0.2s;
}
.trust-block-item:hover { background: #eef3ff; }
.trust-block-item i { color: #25D366; font-size: 0.9rem; width: 16px; text-align: center; }

/* ── Meta Row ───────────────────────────────────────────────── */
.product-meta-row {
    font-size: 0.8rem;
    color: var(--text-sec, #6b7a99);
    margin-bottom: 22px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
.product-meta-sep { color: #ccd3e0; }

/* ── CTA Block ──────────────────────────────────────────────── */
.product-cta-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.btn-cta-full {
    width: 100%;
    justify-content: center;
    text-align: center;
    display: flex;
    align-items: center;
}
.btn-whatsapp-pilule {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #25D366, #1ebe5d);
    color: #fff;
    padding: 16px 28px;
    border-radius: 50px;
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-weight: 700;
    font-size: 1.02rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37,211,102,0.35);
    transition: all 0.2s;
    border: none;
}
.btn-whatsapp-pilule:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37,211,102,0.48);
}
.btn-whatsapp-pilule i { font-size: 1.25rem; }

.btn-ask-question {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-sec, #6b7a99);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    padding: 10px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}
.btn-ask-question:hover { color: var(--primary); background: rgba(13,74,150,0.05); }

/* ── Section Tabs ───────────────────────────────────────────── */
.product-tabs-section {
    padding: clamp(40px, 6vw, 70px) 0;
    background: #fff;
}
.tabs-header {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid #e0e8f4;
    margin-bottom: 30px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.tabs-header::-webkit-scrollbar { display: none; }
.tab-btn {
    flex-shrink: 0;
    padding: 13px 22px;
    border: none;
    background: none;
    color: var(--text-sec, #6b7a99);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-body, 'Inter', sans-serif);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 8px 8px 0 0;
    white-space: nowrap;
}
.tab-btn:hover { color: var(--primary); background: rgba(13,74,150,0.04); }
.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: rgba(13,74,150,0.05);
}
.tab-content { display: none; }
.tab-content.active {
    display: block;
    animation: fadeInTab 0.3s ease both;
}
@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Description longue ─────────────────────────────────────── */
.product-description-block {
    max-width: 740px;
    font-size: 0.97rem;
    line-height: 1.9;
    color: var(--text-main, #1a2640);
}
.product-description-block p { margin-bottom: 1em; }

/* ── Fiche Technique ────────────────────────────────────────── */
.specs-table-wrap {
    overflow-x: auto;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(6,44,89,0.07);
    border: 1px solid #dce6f4;
    max-width: 700px;
}
.specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    min-width: 280px;
}
.specs-table tr:nth-child(even) { background: #f4f8ff; }
.specs-table tr:nth-child(odd)  { background: #fff; }
.specs-table tr { transition: background 0.15s; }
.specs-table tr:hover { background: #e8f0fc !important; }
.specs-table th, .specs-table td {
    padding: 13px 18px;
    text-align: left;
    border-bottom: 1px solid #e8eef8;
    vertical-align: top;
}
.specs-table th {
    font-weight: 700;
    color: var(--primary, #062c59);
    width: 38%;
    font-size: 0.84rem;
    white-space: nowrap;
}
.specs-table td {
    color: var(--text-main, #1a2640);
    font-weight: 500;
}
.specs-table tr:last-child th,
.specs-table tr:last-child td { border-bottom: none; }

/* ── Onglet Avis ────────────────────────────────────────────── */
.no-reviews-block {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-sec, #6b7a99);
}
.no-reviews-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 18px;
    opacity: 0.25;
}
.no-reviews-sub {
    font-size: 0.9rem;
    margin-bottom: 24px;
}

/* ── Related Products ───────────────────────────────────────── */
.related-products-section {
    padding: clamp(50px, 7vw, 80px) 0;
    background: var(--bg-sec, #f0f4f8);
}
.related-products-title {
    font-size: clamp(1.25rem, 3vw, 1.65rem);
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    color: var(--primary, #062c59);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.related-products-title i { color: var(--accent, #f68e56); }
.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 22px;
}
.related-product-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(6,44,89,0.07);
    border: 1px solid rgba(6,44,89,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}
.related-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(6,44,89,0.14);
}
.related-product-img-wrap {
    background: #f5f7fc;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 170px;
}
.related-product-img-wrap img {
    max-height: 130px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}
.related-product-card:hover .related-product-img-wrap img { transform: scale(1.06); }
.related-product-info {
    padding: 15px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.related-product-info h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary, #062c59);
    line-height: 1.3;
    margin: 0;
}
.related-product-price {
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-size: 1.1rem;
    font-weight: 800;
    color: #1b6e20;
}
.related-product-cta {
    font-size: 0.82rem;
    color: var(--accent, #f68e56);
    font-weight: 700;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}
.related-product-card:hover .related-product-cta { gap: 10px; }

/* ── Responsive product page ────────────────────────────────── */
@media (max-width: 900px) {
    .trust-block { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .product-name-h1 { font-size: 1.35rem; }
    .product-price-large { font-size: 1.8rem; }
    .tab-btn { padding: 11px 14px; font-size: 0.84rem; }
    .related-products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
    .related-product-img-wrap { height: 140px; }
    .specs-table th, .specs-table td { padding: 11px 14px; }
}
@media (max-width: 480px) {
    .trust-block { grid-template-columns: 1fr 1fr; }
    .feature-pill { font-size: 0.75rem; padding: 6px 11px; }
    .related-products-grid { grid-template-columns: 1fr 1fr; }
    .product-price-block { padding: 12px 16px; }
}
