/* ==========================================
   AMAZON-STYLE PRODUCT DETAIL PAGE
   ========================================== */

/* Layout */
.amz-page { background:#EAEDED; min-height:100vh; }
.amz-breadcrumb { background:white; padding:8px 0; border-bottom:1px solid #ddd; font-size:13px; }
.amz-breadcrumb nav { display:flex; gap:6px; align-items:center; flex-wrap:wrap; }
.amz-breadcrumb a { color:#007185; }
.amz-breadcrumb a:hover { color:#C7511F; text-decoration:underline; }
.amz-breadcrumb i { color:#999; font-size:10px; }
.amz-breadcrumb span { color:#333; }

.amz-main { max-width:1500px; margin:0 auto; padding:16px 16px 0; display:grid; grid-template-columns:40px 1fr 1fr 290px; gap:20px; align-items:start; }

/* ── Gallery Column ── */
.amz-thumbs { display:flex; flex-direction:column; gap:6px; }
.amz-thumb { width:38px; height:38px; border:1px solid #ddd; border-radius:3px; cursor:pointer; overflow:hidden; display:flex; align-items:center; justify-content:center; background:white; transition:border-color 0.15s; padding:2px; }
.amz-thumb:hover, .amz-thumb.active { border-color:#C7511F; border-width:2px; }
.amz-thumb img { width:100%; height:100%; object-fit:contain; }
.amz-thumb i { font-size:16px; color:#aaa; }

.amz-gallery { background:white; border-radius:4px; overflow:hidden; }
.amz-main-img { position:relative; display:flex; align-items:center; justify-content:center; min-height:440px; padding:24px; cursor:zoom-in; }
.amz-main-img img { max-height:400px; object-fit:contain; transition:transform 0.3s; }
.amz-main-img:hover img { transform:scale(1.08); }
.amz-main-img .img-placeholder { display:flex; align-items:center; justify-content:center; height:400px; width:100%; }
.amz-main-img .img-placeholder i { font-size:160px; color:#0057A8; opacity:0.14; }
.amz-img-nav { display:flex; gap:6px; padding:12px 24px; border-top:1px solid #f0f0f0; overflow-x:auto; }
.amz-img-dot { width:48px; height:48px; border:2px solid #ddd; border-radius:3px; flex-shrink:0; cursor:pointer; display:flex; align-items:center; justify-content:center; background:#fafafa; transition:all 0.15s; }
.amz-img-dot.active, .amz-img-dot:hover { border-color:#C7511F; }
.amz-img-dot i { font-size:18px; color:#aaa; }

/* ── Product Info Column ── */
.amz-info { background:white; padding:20px; border-radius:4px; }
.amz-brand { font-size:13px; color:#007185; margin-bottom:4px; }
.amz-brand a:hover { text-decoration:underline; }
.amz-title { font-size:22px; line-height:1.35; color:#0F1111; font-weight:400; margin-bottom:10px; }
.amz-rating-row { display:flex; align-items:center; gap:10px; margin-bottom:10px; padding-bottom:10px; border-bottom:1px solid #f0f0f0; flex-wrap:wrap; }
.amz-stars { display:flex; align-items:center; gap:2px; }
.amz-stars i { font-size:14px; }
.amz-star-fill  { color:#FFA41C; }
.amz-star-half  { color:#FFA41C; }
.amz-star-empty { color:#ddd; }
.amz-rating-num { font-size:14px; color:#007185; cursor:pointer; }
.amz-rating-num:hover { color:#C7511F; text-decoration:underline; }
.amz-review-count { font-size:13px; color:#007185; cursor:pointer; }
.amz-review-count:hover { text-decoration:underline; }
.amz-answered { font-size:13px; color:#007185; cursor:pointer; }

/* Price block */
.amz-price-block { margin:14px 0; }
.amz-was-price { font-size:13px; color:#565959; margin-bottom:2px; }
.amz-was-price span { text-decoration:line-through; }
.amz-price-main { display:flex; align-items:flex-start; gap:6px; margin-bottom:4px; }
.amz-price-symbol { font-size:14px; color:#0F1111; margin-top:6px; font-weight:500; }
.amz-price-whole  { font-size:36px; font-weight:400; color:#0F1111; line-height:1; }
.amz-price-fraction { font-size:14px; color:#0F1111; margin-top:4px; }
.amz-price-saving { font-size:14px; color:#CC0C39; }
.amz-instalment { font-size:13px; color:#007185; margin-top:6px; }
.amz-instalment a { color:#007185; }
.amz-instalment a:hover { color:#C7511F; text-decoration:underline; }
.amz-climate-pledge { display:flex; align-items:center; gap:6px; font-size:12px; color:#007600; margin-top:8px; }

/* Product details */
.amz-about-item { padding-bottom:12px; margin-bottom:12px; border-bottom:1px solid #f0f0f0; }
.amz-about-item:last-child { border-bottom:none; margin-bottom:0; }
.amz-about-label { font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:0.5px; color:#565959; margin-bottom:6px; }
.amz-about-val { font-size:14px; color:#0F1111; line-height:1.6; }

/* Bullets */
.amz-bullets { list-style:disc; padding-left:18px; display:flex; flex-direction:column; gap:6px; }
.amz-bullets li { font-size:14px; color:#0F1111; line-height:1.55; }
.amz-bullets li::marker { color:#555; }

/* Variants / Qty */
.amz-qty-row { display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.amz-qty-label { font-size:14px; color:#0F1111; font-weight:500; }
.amz-qty-select { border:1px solid #888; border-radius:3px; padding:6px 10px; font-size:14px; background:#F0F2F2; cursor:pointer; min-width:60px; }

/* Badges */
.amz-badge-row { display:flex; gap:8px; flex-wrap:wrap; margin:12px 0; }
.amz-badge { display:inline-flex; align-items:center; gap:5px; padding:4px 10px; border-radius:3px; font-size:12px; font-weight:600; }
.amz-badge-bestseller { background:#C7511F; color:white; }
.amz-badge-nafdac { background:#007600; color:white; }
.amz-badge-new { background:#232F3E; color:white; }

/* Technical Spec Table */
.amz-spec-table { width:100%; border-collapse:collapse; font-size:14px; }
.amz-spec-table tr { border-bottom:1px solid #f0f0f0; }
.amz-spec-table tr:nth-child(even) { background:#F7FAFA; }
.amz-spec-table td { padding:10px 14px; vertical-align:top; }
.amz-spec-table td:first-child { font-weight:600; color:#0F1111; width:36%; white-space:nowrap; }
.amz-spec-table td:last-child { color:#333; }

/* ── Buy Box (right column) ── */
.amz-buybox { background:white; border:1px solid #ddd; border-radius:8px; padding:18px; position:sticky; top:85px; }
.amz-buybox-price { margin-bottom:14px; }
.amz-buybox-price .amz-price-whole { font-size:28px; }
.amz-deliver-to { font-size:13px; color:#0F1111; margin-bottom:10px; }
.amz-deliver-to a { color:#007185; font-weight:500; }
.amz-stock { font-size:16px; color:#007600; font-weight:500; margin-bottom:12px; }
.amz-stock.low { color:#C7511F; }
.amz-stock.out { color:#CC0C39; }
.amz-ships-from { font-size:13px; color:#565959; margin-bottom:14px; display:flex; flex-direction:column; gap:4px; }
.amz-ships-row { display:flex; gap:8px; }
.amz-ships-row span:first-child { width:100px; color:#565959; }
.amz-ships-row span:last-child { color:#0F1111; font-weight:500; }
.amz-btn-cart { width:100%; padding:10px; background:#FFD814; border:1px solid #FCD200; border-radius:20px; font-size:14px; font-weight:500; cursor:pointer; color:#0F1111; transition:all 0.15s; margin-bottom:8px; }
.amz-btn-cart:hover { background:#F7CA00; }
.amz-btn-buy { width:100%; padding:10px; background:#FF9900; border:1px solid #E67C00; border-radius:20px; font-size:14px; font-weight:500; cursor:pointer; color:#0F1111; transition:all 0.15s; margin-bottom:14px; }
.amz-btn-buy:hover { background:#F08700; }
.amz-btn-wa { width:100%; padding:10px; background:#25D366; border:none; border-radius:20px; font-size:14px; font-weight:500; cursor:pointer; color:white; transition:all 0.15s; margin-bottom:14px; display:flex; align-items:center; justify-content:center; gap:8px; text-decoration:none; }
.amz-btn-wa:hover { background:#1ea952; color:white; }
.amz-secure { display:flex; align-items:center; gap:6px; font-size:12px; color:#565959; justify-content:center; margin-bottom:10px; }
.amz-other-actions { display:flex; gap:14px; justify-content:center; margin-bottom:14px; }
.amz-other-actions button { background:none; border:none; color:#007185; font-size:13px; cursor:pointer; display:flex; align-items:center; gap:5px; }
.amz-other-actions button:hover { color:#C7511F; text-decoration:underline; }
.amz-buybox-divider { border:none; border-top:1px solid #f0f0f0; margin:12px 0; }
.amz-share-row { display:flex; gap:8px; justify-content:center; }
.amz-share-icon { width:32px; height:32px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:13px; color:white; }

/* ── Tabs / Sections below ── */
.amz-lower { max-width:1500px; margin:0 auto; padding:0 16px 40px; }
.amz-section { background:white; border-radius:4px; padding:24px; margin-top:16px; }
.amz-section-title { font-size:20px; font-weight:700; color:#0F1111; margin-bottom:18px; padding-bottom:12px; border-bottom:1px solid #f0f0f0; }

/* Tab Nav */
.amz-tab-nav { display:flex; gap:0; border-bottom:2px solid #ddd; overflow-x:auto; }
.amz-tab-btn { padding:12px 20px; font-size:14px; color:#333; background:none; border:none; border-bottom:3px solid transparent; cursor:pointer; margin-bottom:-2px; white-space:nowrap; font-weight:500; transition:all 0.15s; }
.amz-tab-btn:hover { color:#C7511F; background:#fafafa; }
.amz-tab-btn.active { color:#C7511F; border-bottom-color:#C7511F; }
.amz-tab-pane { display:none; padding-top:20px; }
.amz-tab-pane.active { display:block; }

/* Reviews */
.amz-rating-summary { display:grid; grid-template-columns:auto 1fr; gap:24px; align-items:start; margin-bottom:24px; }
.amz-big-rating { text-align:center; }
.amz-big-num { font-size:64px; font-weight:400; color:#0F1111; line-height:1; }
.amz-big-stars { margin:6px 0; }
.amz-big-label { font-size:13px; color:#565959; }
.amz-rating-bars { display:flex; flex-direction:column; gap:5px; }
.amz-bar-row { display:flex; align-items:center; gap:8px; font-size:13px; }
.amz-bar-row a { color:#007185; white-space:nowrap; text-decoration:none; min-width:60px; }
.amz-bar-row a:hover { text-decoration:underline; color:#C7511F; }
.amz-bar-track { flex:1; height:12px; background:#E8E8E8; border-radius:2px; overflow:hidden; }
.amz-bar-fill { height:100%; background:#FFA41C; border-radius:2px; }
.amz-bar-pct { font-size:12px; color:#565959; white-space:nowrap; width:32px; text-align:right; }

.amz-review-item { padding:20px 0; border-bottom:1px solid #f0f0f0; }
.amz-review-item:last-child { border-bottom:none; }
.amz-reviewer-head { display:flex; align-items:center; gap:10px; margin-bottom:8px; }
.amz-reviewer-avatar { width:32px; height:32px; border-radius:50%; background:#ddd; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:13px; color:#333; flex-shrink:0; }
.amz-reviewer-name { font-size:14px; font-weight:600; color:#0F1111; }
.amz-review-title { font-size:15px; font-weight:700; color:#0F1111; margin-bottom:4px; display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.amz-verified { font-size:12px; color:#C7511F; font-weight:400; }
.amz-review-date { font-size:13px; color:#565959; margin-bottom:6px; }
.amz-review-body { font-size:14px; color:#0F1111; line-height:1.65; }
.amz-helpful { font-size:13px; color:#565959; margin-top:8px; }
.amz-helpful button { background:none; border:1px solid #999; border-radius:3px; padding:3px 10px; font-size:12px; cursor:pointer; margin-right:6px; }

/* Use Cases */
.amz-usecase-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:14px; }
.amz-usecase-card { background:#F7FAFA; border:1px solid #ddd; border-radius:6px; padding:16px; }
.amz-usecase-card i { font-size:22px; color:#007185; margin-bottom:10px; display:block; }
.amz-usecase-card h4 { font-size:14px; font-weight:600; color:#0F1111; margin-bottom:5px; }
.amz-usecase-card p { font-size:12px; color:#565959; line-height:1.5; }

/* Related / Frequently bought together */
.amz-related-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:14px; }
.amz-related-card { border:1px solid #ddd; border-radius:6px; overflow:hidden; background:white; transition:box-shadow 0.2s; }
.amz-related-card:hover { box-shadow:0 2px 12px rgba(0,0,0,0.12); }
.amz-related-img { height:160px; background:#fafafa; display:flex; align-items:center; justify-content:center; }
.amz-related-img i { font-size:56px; color:#aaa; }
.amz-related-info { padding:12px; }
.amz-related-name { font-size:13px; color:#0F1111; line-height:1.4; margin-bottom:6px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.amz-related-name a { color:inherit; }
.amz-related-name a:hover { color:#C7511F; }
.amz-related-price { font-size:16px; font-weight:700; color:#0F1111; margin-bottom:6px; }
.amz-related-old { font-size:12px; color:#999; text-decoration:line-through; margin-left:6px; font-weight:400; }
.amz-related-btn { width:100%; padding:6px; background:#FFD814; border:1px solid #FCD200; border-radius:14px; font-size:12px; cursor:pointer; font-weight:500; }
.amz-related-btn:hover { background:#F7CA00; }

/* FAQ accordion */
.amz-faq-item summary { font-size:15px; font-weight:500; color:#007185; cursor:pointer; list-style:none; padding:12px 0; display:flex; justify-content:space-between; align-items:center; border-bottom:1px solid #f0f0f0; }
.amz-faq-item summary:hover { color:#C7511F; }
.amz-faq-item summary::after { content:'+'; font-size:20px; color:#999; flex-shrink:0; margin-left:10px; }
.amz-faq-item[open] summary::after { content:'–'; }
.amz-faq-item p { font-size:14px; color:#333; line-height:1.7; padding:12px 0 16px; border-bottom:1px solid #f0f0f0; }

/* Review form */
.amz-review-form { background:#F7FAFA; border:1px solid #ddd; border-radius:6px; padding:20px; margin-top:20px; }
.amz-review-form h4 { font-size:16px; font-weight:700; color:#0F1111; margin-bottom:16px; }
.amz-star-select { display:flex; gap:4px; margin-bottom:14px; cursor:pointer; }
.amz-star-select i { font-size:28px; color:#ddd; transition:color 0.1s; }
.amz-star-select i.lit { color:#FFA41C; }

/* Shipping zone table */
.amz-ship-table { width:100%; border-collapse:collapse; font-size:13px; }
.amz-ship-table th { background:#232F3E; color:white; padding:10px 14px; text-align:left; }
.amz-ship-table td { padding:10px 14px; border-bottom:1px solid #f0f0f0; }
.amz-ship-table tr:nth-child(even) td { background:#F7FAFA; }

    .amz-ship-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.amz-ship-table-wrap::-webkit-scrollbar {
    height: 6px;
}
.amz-ship-table-wrap::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}
/* Responsive */
@media(max-width:1200px){ .amz-main{ grid-template-columns:40px 1fr 1fr; } .amz-buybox{ display:none; } }
@media(max-width:768px){ .amz-main{ grid-template-columns:1fr; } .amz-thumbs{ flex-direction:row; } .amz-lower { padding:0 8px 40px; } }

/* ══════════════════════════════════════════
   MOBILE GALLERY — THUMBNAILS + SWIPE
══════════════════════════════════════════ */
@media(max-width:820px){
    /* Layout: stack vertically */
    .amz-main { grid-template-columns: 1fr !important; padding: 10px !important; gap: 10px !important; }

    /* Thumb column: horizontal strip below the image on mobile */
    .amz-thumbs {
        display: flex !important;   /* override the display:none from main.css */
        flex-direction: row !important;
        gap: 8px;
        order: 2;                   /* appear below gallery */
        overflow-x: auto;
        padding: 4px 0 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .amz-thumbs::-webkit-scrollbar { display: none; }
    .amz-thumb {
        width: 58px !important;
        height: 58px !important;
        flex-shrink: 0;
        border-radius: 6px !important;
    }
    .amz-thumb.active { border-color: #C7511F !important; border-width: 2.5px !important; }

    /* Gallery sits above thumbs */
    .amz-gallery { order: 1; }
    .amz-main-img { min-height: 280px; cursor: zoom-in; }

    /* Bottom dot nav: hide (replaced by thumb strip) */
    .amz-img-nav { display: none; }

    /* Info & buybox below */
    .amz-info { order: 3; }
    .amz-buybox { display: none !important; }

    /* Titles / price on mobile */
    .amz-title      { font-size: 16px; }
    .amz-price-whole{ font-size: 26px; }
    .amz-section    { padding: 14px; }
    .amz-tab-nav    { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
    .amz-tab-btn    { padding: 10px 12px; font-size: 12px; white-space: nowrap; flex-shrink: 0; }
    .amz-lower      { padding: 0 10px 90px !important; } /* space for mobile buy bar */
}

@media(max-width:480px){
    .amz-thumb { width: 52px !important; height: 52px !important; }
    .amz-main-img { min-height: 240px; }
}

/* ══════════════════════════════════════════
   IMAGE LIGHTBOX / ZOOM OVERLAY
══════════════════════════════════════════ */
#imgLightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 99990;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
    animation: lbFadeIn 0.22s ease;
}
#imgLightbox.open { display: flex; }
@keyframes lbFadeIn { from { opacity:0; } to { opacity:1; } }

#lbImage {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 48px rgba(0,0,0,0.6);
    transition: transform 0.25s;
    cursor: zoom-out;
    transform-origin: center;
}
#lbImage.zoomed { transform: scale(1.8); cursor: zoom-in; }

#lbIconPlaceholder {
    font-size: 140px;
    color: rgba(255,255,255,0.15);
}

/* Lightbox controls */
#lbClose {
    position: fixed;
    top: 18px; right: 22px;
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: white; font-size: 20px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.15s;
    z-index: 99991;
}
#lbClose:hover { background: rgba(255,255,255,0.25); }

.lb-arrow {
    position: fixed;
    top: 50%; transform: translateY(-50%);
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    color: white; font-size: 18px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.15s;
    z-index: 99991;
}
.lb-arrow:hover { background: rgba(255,255,255,0.28); }
#lbPrev { left: 16px; }
#lbNext { right: 16px; }

/* Lightbox thumbnail strip */
#lbThumbs {
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 8px 16px;
    overflow-x: auto;
    max-width: 90vw;
}
.lb-thumb {
    width: 52px; height: 52px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.15s;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.06);
}
.lb-thumb.active { border-color: #C7511F; }
.lb-thumb img { width:100%; height:100%; object-fit:contain; }
.lb-thumb i { font-size:20px; color:rgba(255,255,255,0.4); }

/* Swipe hint */
#lbHint {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    text-align: center;
    letter-spacing: 0.5px;
}

/* ══════════════════════════════════════════════════
   PRODUCT DETAIL — COMPLETE MOBILE RESPONSIVE
   Covers: tabs, specs, reviews, shipping, FAQ,
           use cases, related grid, review form
══════════════════════════════════════════════════ */

/* ── Base fixes for all screen sizes ── */
.amz-spec-table     { table-layout: fixed; }
.amz-spec-table td  { word-break: break-word; vertical-align: top; }
.amz-tab-nav        { -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.amz-tab-nav::-webkit-scrollbar { display: none; }
.amz-lower          { overflow-x: hidden; }

/* ── 900px and below ── */
@media (max-width: 900px) {
    .amz-lower { padding: 0 12px 90px !important; }
    .amz-section { padding: 18px 16px; margin-top: 12px; }
    .amz-section-title { font-size: 17px; margin-bottom: 14px; padding-bottom: 10px; }

    /* Tabs nav — scrollable pills */
    .amz-tab-nav {
        gap: 0;
        border-bottom: 2px solid #ddd;
        overflow-x: auto;
        flex-wrap: nowrap;
    }
    .amz-tab-btn {
        padding: 10px 14px;
        font-size: 13px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    .amz-tab-pane { padding-top: 16px; }

    /* ── SPEC TABLE — stack label above value ── */
    .amz-spec-table,
    .amz-spec-table tbody,
    .amz-spec-table tr,
    .amz-spec-table td {
        display: block;
        width: 100% !important;
    }
    .amz-spec-table tr {
        border-bottom: 1px solid #f0f0f0;
        padding: 10px 0;
    }
    .amz-spec-table td:first-child {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        color: #888;
        font-weight: 700;
        white-space: normal;
        width: 100% !important;
        padding-bottom: 3px;
    }
    .amz-spec-table td:last-child {
        font-size: 14px;
        color: #0F1111;
        padding-top: 2px;
    }

    /* ── SHIPPING TABLE — horizontal scroll wrapper ── */
    .amz-ship-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 4px;
        border: 1px solid #eee;
    }
    .amz-ship-table { min-width: 500px; font-size: 12px; }
    .amz-ship-table th,
    .amz-ship-table td { padding: 8px 10px; }

    /* ── REVIEWS — rating summary stacks ── */
    .amz-rating-summary {
        grid-template-columns: auto 1fr !important;
        gap: 16px;
    }
    .amz-big-num { font-size: 52px; }
    .amz-bar-row { gap: 6px; }
    .amz-bar-row a { min-width: 48px; font-size: 12px; }
    .amz-bar-pct { font-size: 11px; }
    .amz-review-item { padding: 14px 0; }
    .amz-review-title { font-size: 14px; flex-wrap: wrap; }
    .amz-review-body { font-size: 13px; }
    .amz-helpful button { padding: 3px 8px; font-size: 11px; }

    /* ── REVIEW FORM ── */
    .amz-review-form { padding: 16px; }
    .amz-star-select i { font-size: 24px; }

    /* ── USE CASES ── */
    .amz-usecase-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }
    .amz-usecase-card { padding: 12px; }
    .amz-usecase-card i { font-size: 18px; margin-bottom: 7px; }
    .amz-usecase-card h4 { font-size: 13px; }
    .amz-usecase-card p  { font-size: 11px; }

    /* ── RELATED PRODUCTS ── */
    .amz-related-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }
    .amz-related-img { height: 130px; }
    .amz-related-img i { font-size: 44px; }
    .amz-related-info { padding: 10px; }
    .amz-related-name { font-size: 12px; }
    .amz-related-price { font-size: 14px; }
    .amz-related-btn { font-size: 11px; padding: 5px; }

    /* ── FAQ ── */
    .amz-faq-item summary { font-size: 14px; padding: 10px 0; }
    .amz-faq-item p { font-size: 13px; line-height: 1.65; }

    /* ── DELIVERY INFO ── */
    .amz-delivers-grid { grid-template-columns: 1fr !important; }
}

/* ── 600px and below ── */
@media (max-width: 600px) {
    .amz-tab-btn { padding: 9px 11px; font-size: 12px; }
    .amz-section  { padding: 14px 12px; margin-top: 10px; }
    .amz-section-title { font-size: 16px; }

    /* Rating summary: big number beside bars */
    .amz-rating-summary { grid-template-columns: auto 1fr !important; gap: 12px; }
    .amz-big-num { font-size: 44px; }
    .amz-big-stars i { font-size: 13px; }
    .amz-big-label { font-size: 11px; }

    /* Use cases: 1 col on small phones */
    .amz-usecase-grid { grid-template-columns: 1fr 1fr !important; }

    /* Related: 2 col */
    .amz-related-grid { grid-template-columns: 1fr 1fr !important; }
    .amz-related-img  { height: 110px; }

    /* Spec table clean up */
    .amz-spec-table td:first-child { font-size: 10px; }
    .amz-spec-table td:last-child  { font-size: 13px; }

    /* FAQ */
    .amz-faq-item summary { font-size: 13px; }
    .amz-faq-item p { font-size: 12px; }

    /* Review form */
    .amz-review-form { padding: 14px; }
    .amz-star-select { gap: 2px; }
    .amz-star-select i { font-size: 22px; }

    /* Bullets in product info */
    .amz-bullets li { font-size: 13px; }

    /* Product info column */
    .amz-brand { font-size: 12px; }
    .amz-title { font-size: 15px; line-height: 1.3; }
    .amz-rating-row { gap: 6px; flex-wrap: wrap; }
    .amz-price-main .amz-price-whole { font-size: 26px; }
    .amz-instalment { font-size: 12px; }
}

/* ── 400px and below (smallest phones) ── */
@media (max-width: 400px) {
    .amz-tab-btn { padding: 8px 9px; font-size: 11px; }
    .amz-usecase-grid { grid-template-columns: 1fr 1fr !important; }
    .amz-related-grid { grid-template-columns: 1fr 1fr !important; }
    .amz-bar-row a { min-width: 40px; font-size: 11px; }
    .amz-section-title { font-size: 15px; }
}

/* ══════════════════════════════════════════
   VIDEO THUMBNAIL + PLAYER STYLES
══════════════════════════════════════════ */

/* Video thumbnail in strip */
.amz-video-thumb {
    position: relative;
    background: #000;
    overflow: hidden;
}
.amz-video-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.amz-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.35);
    transition: background 0.15s;
    pointer-events: none;
}
.amz-play-overlay i {
    color: white;
    font-size: 20px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}
.amz-video-thumb:hover .amz-play-overlay {
    background: rgba(0,87,168,0.55);
}
.amz-video-thumb.active .amz-play-overlay {
    background: rgba(199,81,31,0.4);
}

/* Lightbox video */
#lbVideo {
    max-width: 90vw;
    max-height: 75vh;
    border-radius: 8px;
    background: #000;
    box-shadow: 0 8px 48px rgba(0,0,0,0.6);
}

/* Admin upload grid */
.existing-media-thumb img,
.existing-media-thumb video {
    transition: opacity 0.2s;
}
