/* =========================================================
   SINGLE PRODUCT PAGE (MODERN) - STYLESHEET 
========================================================= */

body.single-product { background: #f4f6f9 !important; font-family: Inter, Arial, sans-serif; color: #0f172a; }

.ff-a-breadcrumbs { margin: 0 0 18px; color: #64748b; font-size: 13px; font-weight: 500; }
.ff-a-breadcrumbs a { color: #64748b; text-decoration: none; }
.ff-a-breadcrumbs a:hover { color: #0a2540; }
.ff-a-breadcrumbs span { margin: 0 6px; }

/* ===== MAIN CONTAINER LAYOUT ===== */
.ff-a-main { display: flex; align-items: flex-start; gap: 28px; margin-bottom: 30px; }
.ff-custom-gallery { flex: 1.25; min-width: 0; display: flex; gap: 18px; align-items: flex-start; }
.ff-a-summary { flex: 0.75; min-width: 0; background: #fff; border: 1px solid #e2e8f0; border-radius: 22px; padding: 30px; box-shadow: 0 10px 30px rgba(15,42,70,.06); }

/* ===== DESKTOP VERTICAL GALLERY ===== */
.ff-gallery-thumbs-container { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 140px; flex: 0 0 140px; }
.ff-gallery-thumb-arrow { width: 32px; height: 32px; border: 1px solid #cbd5e1; border-radius: 50%; background: #fff; color: #0a2540; font-size: 11px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: .2s ease; box-shadow: 0 2px 6px rgba(0,0,0,0.05); user-select: none; }
.ff-gallery-thumb-arrow:hover { background: #0a2540; color: #fff; border-color: #0a2540; }
.ff-gallery-thumbs-viewport { width: 100%; max-height: 450px; overflow: hidden; position: relative; }
.ff-gallery-thumbs-track { display: flex; flex-direction: column; gap: 12px; max-height: 450px; overflow-y: auto; scroll-behavior: smooth; scrollbar-width: none; width: 100%; }
.ff-gallery-thumbs-track::-webkit-scrollbar { display: none; }
.ff-gallery-thumb-item { width: 130px !important; height: 110px !important; flex: 0 0 110px !important; border: 1.5px solid #e2e8f0; border-radius: 12px; overflow: hidden; cursor: pointer; background: #fff; padding: 6px; box-sizing: border-box !important; transition: border-color .2s ease, box-shadow .2s ease; }
.ff-gallery-thumb-item img { width: 100% !important; height: 100% !important; object-fit: contain !important; border-radius: 6px; display: block !important; }
.ff-gallery-thumb-item.active { border-color: #0a2540 !important; border-width: 2.5px !important; box-shadow: 0 4px 12px rgba(10,37,64,0.12); }

.ff-gallery-main-container { flex: 1; position: relative; background: #fff; border: 1px solid #eaeef5; border-radius: 16px; padding: 18px; overflow: hidden; box-shadow: 0 6px 20px rgba(15,42,70,.03); }
.ff-gallery-main-viewport { width: 100%; overflow: hidden; display: flex; scroll-behavior: smooth; }
.ff-gallery-main-viewport::-webkit-scrollbar { display: none; }
.ff-gallery-main-track { display: flex; width: 100%; }
.ff-gallery-main-slide { flex: 0 0 100%; width: 100%; display: flex; align-items: center; justify-content: center; }
.ff-gallery-main-slide img { width: 100%; max-height: 490px; object-fit: contain; display: block; }
.ff-gallery-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; background: rgba(255,255,255,0.95); border: 1px solid #e2e8f0; border-radius: 50%; color: #0a2540; font-size: 24px; line-height: 1; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 5; transition: .2s ease; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.ff-gallery-nav-btn:hover { background: #0a2540; color: #fff; border-color: #0a2540; }
.ff-gallery-nav-prev { left: 12px; }
.ff-gallery-nav-next { right: 12px; }
.ff-gallery-dots-indicator { display: flex; justify-content: center; align-items: center; gap: 8px; position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); background: rgba(255, 255, 255, 0.9); padding: 6px 14px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); z-index: 4; }
.ff-gallery-dot-bullet { width: 7px; height: 7px; border-radius: 50%; background: #94a3b8; cursor: pointer; transition: .25s ease; }
.ff-gallery-dot-bullet.active { background: #0a2540; width: 18px; border-radius: 4px; }

/* ===== SUMMARY PANEL ===== */
.ff-brand-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.ff-brand-chip { display: inline-flex; align-items: center; padding: 6px 14px; background: #eef4fa; color: #0a2540; font-size: 11px; font-weight: 800; letter-spacing: 1px; border-radius: 999px; text-transform: uppercase; }
.ff-brand-logo-box { width: 64px; height: 64px; background: #fff; border: 1px solid #e6edf5; border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: 6px; flex: 0 0 auto; }
.ff-brand-logo-box img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ff-a-title { margin: 0 0 16px !important; color: #0a2540; font-size: 30px !important; line-height: 1.2 !important; font-weight: 800 !important; letter-spacing: -.4px !important; }

/* ===== TOP STARS ===== */
.ff-top-stars-wrapper { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.ff-svg-stars { display: flex; gap: 2px; }
.ff-custom-star { width: 18px; height: 18px; }
.ff-top-reviews-text { font-size: 13px; font-weight: 700; color: #64748b; }

/* ===== PRICE & SAVE BADGE ===== */
.ff-price-wrapper { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.ff-a-price { margin: 0 !important; font-family: inherit; }
.ff-a-price del { font-size: 18px; color: #64748b; font-weight: 600; margin-right: 6px; position: relative; text-decoration: none; }
.ff-a-price del::after { content: ''; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; background: #e5202e; transform: rotate(-8deg); }
.ff-a-price ins { font-size: 28px; color: #c0392b; font-weight: 800; text-decoration: none; }
.ff-a-price > .woocommerce-Price-amount { font-size: 28px; color: #c0392b; font-weight: 800; }
.ff-save-badge { border: 1px solid #cbd5e1; color: #475569; font-size: 13px; font-weight: 700; padding: 4px 8px; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; }

/* ===== META BOX ===== */
.ff-a-meta-box { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; background: #f8fafc; border-radius: 8px; padding: 12px 16px; margin-bottom: 24px; border: 1px solid #e2e8f0; }
.ff-meta-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #475569; position: relative; }
.ff-meta-item:not(:last-child)::after { content: ''; position: absolute; right: -9px; top: 50%; transform: translateY(-50%); height: 14px; width: 1px; background: #cbd5e1; }
.ff-meta-item svg { width: 15px; height: 15px; stroke: #64748b; }
.ff-meta-item b { color: #64748b; font-weight: 800; text-transform: uppercase; }
.ff-meta-item span { color: #0a2540; font-weight: 800; }

/* ===== FEATURES BOX ===== */
.ff-modern-features-box { background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 12px; padding: 16px; margin-bottom: 24px; display: flex; flex-direction: column; gap: 14px; }
.ff-feature-item { display: flex; align-items: flex-start; gap: 12px; text-decoration: none !important; color: inherit !important; }
.ff-feature-item:hover .ff-fi-icon { transform: scale(1.05); }
.ff-fi-icon { width: 38px; height: 38px; flex: 0 0 38px; background: #fff; border-radius: 10px; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,0.04); transition: transform 0.2s ease; }
.ff-fi-icon svg { width: 20px; height: 20px; }
.ff-fi-icon img { width: 22px; height: 22px; object-fit: contain; display: block; }
.ff-fi-text { display: flex; flex-direction: column; padding-top: 2px; }
.ff-fi-text strong { font-size: 13px; font-weight: 800; color: #0f172a; line-height: 1.2; }
.ff-fi-text span { font-size: 12px; color: #64748b; margin-top: 2px; }

/* ===== CART ===== */
.ff-cart-row { display: flex; gap: 10px; align-items: stretch; width: 100%; margin-bottom: 14px; }
.ff-a-qty { width: 110px; height: 46px; flex: 0 0 110px; display: flex; align-items: center; justify-content: space-between; border: 1px solid #cbd5e1; border-radius: 999px; overflow: hidden; background: #fff; padding: 0 4px; }
.ff-qty-btn { width: 32px; height: 38px; border: 0; background: transparent; color: #334155; font-size: 18px; cursor: pointer; user-select: none; }
.ff-qty-btn:hover { color: #0a2540; }
.ff-a-qty input, .ff-a-qty .qty { width: 40px !important; height: 38px !important; border: 0 !important; background: transparent !important; text-align: center !important; font-weight: 800 !important; font-size: 14px !important; color: #0f172a !important; padding: 0 !important; margin: 0 !important; -moz-appearance: textfield !important; box-shadow: none !important; }
.ff-a-qty input::-webkit-outer-spin-button, .ff-a-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ff-a-btns-group { display: flex; gap: 10px; flex: 1; }
.ff-a-add-cart, .ff-a-buy-now { flex: 1; height: 46px; min-height: 46px; border: 0 !important; border-radius: 999px !important; display: flex !important; align-items: center !important; justify-content: center !important; font-size: 13px !important; font-weight: 800 !important; letter-spacing: .3px; text-transform: uppercase; text-decoration: none !important; cursor: pointer; transition: .2s ease; white-space: nowrap; color: #fff !important; }
.ff-a-unavailable { padding: 14px; background: #fdeaea; color: #c0392b; border-radius: 12px; font-weight: 700; text-align: center; }

.ff-variable-options-container table.variations { width: 100% !important; margin-bottom: 16px !important; border: 0 !important; }
.ff-variable-options-container table.variations td, .ff-variable-options-container table.variations th { border: 0 !important; padding: 8px 0 !important; background: transparent !important; }
.ff-variable-options-container table.variations label { font-weight: 800; font-size: 13px; color: #0a2540; text-transform: uppercase; }
.ff-variable-options-container table.variations select { width: 100% !important; height: 44px !important; border: 1px solid #cbd5e1 !important; border-radius: 10px !important; padding: 0 14px !important; font-size: 14px !important; font-weight: 600 !important; background: #f8fafc !important; }

/* ===== SHARE ===== */
.ff-a-share-v2 { margin-top: 18px; padding-top: 14px; border-top: 1px solid #edf1f5; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ff-a-share-v2 strong { margin: 0; font-size: 12px; font-weight: 800; color: #0a2540; }
.ff-share-links { display: flex; gap: 8px; flex-wrap: wrap; }
.ff-social-pill { display: inline-flex; align-items: center; padding: 6px 12px; border: 1px solid #e2e8f0; border-radius: 999px; background: #fff; color: #0a2540 !important; font-size: 11px; font-weight: 700; text-decoration: none; cursor: pointer; transition: 0.2s; }
.ff-social-pill:hover { background: #f8fafc; border-color: #cbd5e1; transform: translateY(-2px); }

/* ===== BOTTOM TRUST BADGES ===== */
.ff-a-trust-badges-box { border: 1px solid #e2e8f0; border-radius: 14px; padding: 16px; margin-bottom: 22px; }
.ff-a-trust-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid #eef2f6; margin-bottom: 14px; }
.ff-a-trust-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid; font-size: 12px; font-weight: 700; background: #e8f8ee; color: #1ca34a; border-color: #bde5c9; }
.ff-a-trust-chip:nth-child(2) { background: #f4edfc; color: #7a3bd0; border-color: #ddd0f0; }
.ff-a-trust-chip svg { flex: 0 0 auto; }
.ff-a-trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ff-a-trust-card { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid #eef2f7; border-radius: 12px; background: #fff; text-decoration: none !important; color: inherit !important; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); }
.ff-a-trust-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.06); border-color: #cbd5e1; }
.ff-a-trust-card:hover .tb-icon { transform: scale(1.05); }
.tb-icon { width: 34px; height: 34px; border-radius: 8px; background: #f4f7fa; display: flex; align-items: center; justify-content: center; flex: 0 0 34px; transition: transform 0.2s; }
.tb-icon svg { width: 20px; height: 20px; }
.tb-icon img { width: 22px; height: 22px; object-fit: contain; display: block; }
.tb-text { display: flex; flex-direction: column; }
.tb-text strong { display: block; font-size: 12px; font-weight: 800; color: #0f172a; }
.tb-text span { display: block; font-size: 11px; line-height: 1.3; color: #64748b; }

/* ===== DESCRIPTION ===== */
.ff-description-section { background: #fff !important; border: 1px solid #dbe7f3 !important; border-radius: 20px !important; padding: 35px !important; margin-top: 28px !important; box-shadow: 0 8px 24px rgba(15,42,70,.06) !important; clear: both !important; }
.ff-description-section .ff-section-heading { margin-bottom: 24px !important; }
.ff-description-section .ff-section-heading span { display: block !important; color: #55708c !important; font-size: 12px !important; font-weight: 900 !important; letter-spacing: .7px !important; text-transform: uppercase !important; margin-bottom: 8px !important; }
.ff-description-section .ff-section-heading h2 { margin: 0 !important; color: #00254a !important; font-size: 30px !important; line-height: 1.15 !important; font-weight: 900 !important; }
.ff-prose { color: #334155 !important; font-size: 15px !important; line-height: 1.8 !important; }

/* ===== REVIEWS CAROUSEL ===== */
.ff-reviews-slider-section { background: #fff; border: 1px solid #dbe7f3; border-radius: 20px; padding: 35px; margin-top: 28px; box-shadow: 0 8px 24px rgba(15,42,70,.06); position: relative; }
.ff-reviews-slider-section .ff-section-heading { margin-bottom: 24px; }
.ff-reviews-slider-section .ff-section-heading span { display: block; color: #55708c; font-size: 12px; font-weight: 900; letter-spacing: .7px; text-transform: uppercase; margin-bottom: 8px; }
.ff-reviews-slider-section .ff-section-heading h2 { margin: 0; color: #00254a; font-size: 30px; font-weight: 900; }
.ff-reviews-carousel-wrapper { position: relative; display: flex; align-items: center; }
.ff-reviews-viewport { width: 100%; overflow-x: auto; overflow-y: hidden; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 4px 0 12px; }
.ff-reviews-viewport::-webkit-scrollbar { display: none; }
.ff-reviews-track { display: flex; align-items: stretch; gap: 20px; width: max-content; min-width: 100%; scroll-snap-type: x mandatory; }
.ff-review-slide-card { flex: 0 0 320px; width: 320px; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 20px; box-shadow: 0 4px 12px rgba(0,0,0,0.03); display: flex; flex-direction: column; scroll-snap-align: start; }
.ff-r-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ff-r-avatar { width: 44px; height: 44px; background: #0a2540; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 900; }
.ff-r-avatar-img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 1px solid #cbd5e1; }
.ff-r-meta h4 { margin: 0; font-size: 14px; font-weight: 800; color: #0f172a; display: flex; align-items: center; gap: 4px; }
.ff-r-meta span { font-size: 11px; color: #94a3b8; font-weight: 600; }
.ff-r-stars { margin-bottom: 10px; display: flex; gap: 2px; }
.ff-r-text { font-size: 14px; color: #334155; line-height: 1.6; margin: 0; font-style: italic; }

/* ===== RELATED PRODUCTS CAROUSEL ===== */
.ff-related-section { position: relative !important; background: #fff !important; border: 1px solid #dbe7f3 !important; border-radius: 20px !important; padding: 35px 58px !important; margin-top: 28px !important; margin-bottom: 55px !important; box-shadow: 0 8px 24px rgba(15,42,70,.06) !important; clear: both !important; overflow: hidden !important; }
.ff-related-section .ff-section-heading { margin-bottom: 26px !important; }
.ff-related-section .ff-section-heading span { display: block !important; color: #55708c !important; font-size: 12px !important; font-weight: 900 !important; letter-spacing: .7px !important; text-transform: uppercase !important; margin-bottom: 8px !important; }
.ff-related-section .ff-section-heading h2 { margin: 0 !important; color: #00254a !important; font-size: 30px !important; line-height: 1.15 !important; font-weight: 900 !important; }
.ff-related-viewport { width: 100% !important; overflow-x: auto !important; overflow-y: hidden !important; scroll-behavior: smooth !important; -webkit-overflow-scrolling: touch !important; scrollbar-width: none !important; padding: 4px 0 12px !important; }
.ff-related-viewport::-webkit-scrollbar { display: none !important; }
.ff-related-track { display: flex !important; align-items: stretch !important; gap: 18px !important; width: max-content !important; min-width: 100% !important; }
.ff-rel-card { flex: 0 0 230px !important; width: 230px !important; background: #fff !important; border: 1px solid #dbe7f3 !important; border-radius: 14px !important; box-shadow: 0 6px 18px rgba(15,42,70,.06) !important; overflow: hidden !important; display: flex !important; flex-direction: column !important; transition: transform .2s ease, box-shadow .2s ease !important; margin: 0 !important; float: none !important; }
.ff-rel-card:hover { transform: translateY(-3px) !important; box-shadow: 0 12px 28px rgba(15,42,70,.12) !important; }
.ff-rel-img-link { display: flex !important; align-items: center !important; justify-content: center !important; height: 260px !important; padding: 12px !important; background: #ffffff !important; border-bottom: 1px solid #eef2f7 !important; text-decoration: none !important; overflow: hidden !important; }
.ff-rel-img-link img, .ff-rel-img { display: block !important; width: 100% !important; max-width: 100% !important; height: 100% !important; max-height: 230px !important; object-fit: contain !important; margin: 0 auto !important; }
.ff-rel-body { display: flex !important; flex-direction: column !important; flex: 1 !important; padding: 18px !important; }
.ff-rel-title { margin: 0 0 12px !important; color: #1d2c3a !important; font-size: 15px !important; line-height: 1.3 !important; font-weight: 900 !important; min-height: 58px !important; }
.ff-rel-title a { color: inherit !important; text-decoration: none !important; }
.ff-rel-title a:hover { color: #d90429 !important; }
.ff-rel-stock { margin: 0 0 10px !important; color: #1ca34a !important; font-size: 13px !important; font-weight: 800 !important; }
.ff-rel-price { margin: 0 0 14px !important; color: #5b009d !important; font-size: 20px !important; line-height: 1.2 !important; font-weight: 950 !important; }
.ff-rel-price del { color: #8a8f99 !important; font-size: 14px !important; margin-right: 6px !important; }
.ff-rel-price ins { text-decoration: none !important; }
.ff-rel-actions { margin-top: auto !important; width: 100% !important; }

/* Desktop Cart line in Related Product */
.ff-rel-cartline { display: flex !important; align-items: center !important; gap: 8px !important; width: 100% !important; }
.ff-rel-qty { flex: 0 0 85px !important; height: 40px !important; display: flex !important; align-items: center !important; justify-content: space-between !important; border: 1px solid #cfd9e5 !important; border-radius: 8px !important; overflow: hidden !important; background: #fff !important; }
.ff-rel-minus, .ff-rel-plus { width: 28px !important; height: 40px !important; border: 0 !important; background: #f4f6f8 !important; font-size: 16px !important; font-weight: 800 !important; cursor: pointer !important; padding: 0 !important; margin: 0 !important; display: flex !important; align-items: center !important; justify-content: center !important; }
.ff-rel-qty-input { width: 28px !important; height: 40px !important; border: 0 !important; background: #fff !important; font-size: 14px !important; font-weight: 900 !important; text-align: center !important; padding: 0 !important; margin: 0 !important; box-shadow: none !important; -moz-appearance: textfield !important; }
.ff-rel-btn { flex: 1 1 auto !important; height: 40px !important; border: 0 !important; border-radius: 8px !important; color: #fff !important; font-size: 12px !important; font-weight: 950 !important; display: flex !important; align-items: center !important; justify-content: center !important; text-align: center !important; cursor: pointer !important; text-decoration: none !important; }
.ff-rel-btn-full { width: 100% !important; }

/* Shared Arrows & Dots */
.ff-rev-nav, .ff-rel-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1px solid #d5e2ef; background: #fff; color: #00254a; font-size: 28px; line-height: 1; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 5; box-shadow: 0 6px 18px rgba(15,42,70,.10); padding: 0; }
.ff-rev-prev, .ff-rel-prev { left: -22px; }
.ff-rev-next, .ff-rel-next { right: -22px; }
.ff-rev-nav:hover, .ff-rel-nav:hover { background: #00254a; color: #fff; }
.ff-reviews-dots, .ff-related-dots-container { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 24px; }
.ff-carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: #94a3b8; cursor: pointer; transition: .25s ease; }
.ff-carousel-dot.active { background: #0a2540; width: 18px; border-radius: 4px; }

/* ===== RESPONSIVE MOBILE STYLING ===== */
@media (max-width: 991px) {
    body.single-product { padding-bottom: 90px !important; }
    .ff-a-product { padding: 0 12px !important; }
    .ff-a-main { flex-direction: column !important; gap: 14px !important; }
    .ff-custom-gallery { flex-direction: column !important; width: 100% !important; gap: 14px !important; }
    .ff-gallery-main-container { order: 1 !important; width: 100% !important; padding: 12px !important; }
    .ff-gallery-thumbs-container { order: 2 !important; flex-direction: row !important; width: 100% !important; height: auto !important; flex: 0 0 auto !important; justify-content: flex-start !important; margin-top: 4px !important; }
    .ff-gallery-thumb-arrow { display: none !important; }
    .ff-gallery-thumbs-viewport { width: 100% !important; overflow-x: auto !important; overflow-y: hidden !important; }
    .ff-gallery-thumbs-track { flex-direction: row !important; width: max-content !important; gap: 10px !important; max-height: none !important; padding: 4px 2px !important; }
    .ff-gallery-thumb-item { width: 85px !important; height: 85px !important; flex: 0 0 85px !important; }

    .ff-a-summary { padding: 18px 14px !important; border-radius: 18px !important; width: 100% !important; }
    .ff-a-title { font-size: 21px !important; margin-bottom: 12px !important; }
    
    .ff-price-wrapper { margin-bottom: 14px !important; }
    .ff-a-price > .woocommerce-Price-amount, .ff-a-price ins { font-size: 24px !important; }
    .ff-a-price del { font-size: 16px !important; }
    
    .ff-a-meta-box { flex-direction: column !important; align-items: flex-start !important; gap: 8px !important; }
    .ff-meta-item:not(:last-child)::after { display: none !important; }
    .ff-a-trust-grid { grid-template-columns: 1fr !important; gap: 8px !important; }

    .ff-cart-row { flex-direction: column !important; gap: 10px !important; }
    .ff-a-qty { width: 130px !important; max-width: 130px !important; height: 42px !important; margin: 0 auto !important; flex: 0 0 42px !important; }
    .ff-qty-btn { height: 40px !important; font-size: 16px !important; width: 34px !important; }
    .ff-a-qty input, .ff-a-qty .qty { height: 40px !important; font-size: 14px !important; width: 40px !important; }
    .ff-a-btns-group { width: 100% !important; gap: 8px !important; }
    .ff-a-add-cart, .ff-a-buy-now { height: 46px !important; min-height: 46px !important; font-size: 12px !important; }

    .ff-description-section, .ff-related-section, .ff-reviews-slider-section { padding: 22px 14px !important; border-radius: 16px !important; margin-top: 18px !important; }
    .ff-description-section .ff-section-heading h2, .ff-related-section .ff-section-heading h2 { font-size: 22px !important; }

    /* Show ONE FULL REVIEW CARD on Mobile */
    .ff-review-slide-card { flex: 0 0 100%; width: 100%; scroll-snap-align: center; box-sizing: border-box; }
    .ff-rev-nav { display: none !important; }

    .ff-related-section { padding: 20px 10px !important; }
    .ff-related-track { gap: 12px !important; }
    .ff-rel-card { flex-basis: 220px !important; width: 220px !important; } 
    .ff-rel-img-link { height: 210px !important; padding: 10px !important; background: #ffffff !important; }
    .ff-rel-img-link img, .ff-rel-img { max-width: 100% !important; height: 100% !important; max-height: 190px !important; object-fit: contain !important; }
    
    /* 🔥 FIX QUANTITY SELECTOR ON MOBILE IN RELATED CARDS 🔥 */
    .ff-rel-cartline { 
        flex-direction: column !important; 
        gap: 8px !important; 
        width: 100% !important; 
    }
    .ff-rel-qty { 
        width: 100% !important; 
        flex: 0 0 38px !important; 
        height: 38px !important; 
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        border: 1px solid #cbd5e1 !important;
        border-radius: 8px !important;
        background: #fff !important;
        overflow: hidden !important;
    }
    .ff-rel-minus, .ff-rel-plus { 
        width: 38px !important; 
        height: 38px !important; 
        flex: 0 0 38px !important; 
        background: #f1f5f9 !important; 
        border: 0 !important; 
        font-size: 18px !important; 
        font-weight: 800 !important; 
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .ff-rel-qty-input { 
        flex: 1 !important; 
        width: 100% !important; 
        height: 38px !important; 
        border: 0 !important; 
        background: transparent !important; 
        font-size: 14px !important; 
        font-weight: 900 !important; 
        text-align: center !important; 
        padding: 0 !important;
    }
    .ff-rel-btn { 
        width: 100% !important; 
        flex: 0 0 40px !important; 
        height: 40px !important; 
    }
    .ff-rel-nav { display: none !important; }
}

@media (max-width: 480px) {
    .ff-rel-card { flex-basis: 85vw !important; width: 85vw !important; }
}