/* ============================================================
   MOBILE NATIVE APP REDESIGN - Product Detail Page v3.0
   lisans.com | /urun/{slug}
   2026-04-13
   ============================================================ */

@media (max-width: 991.98px) {

    /* === VARIABLES === */
    :root {
        --mn-r: 16px;
        --mn-rl: 20px;
        --mn-rxl: 24px;
        --mn-sp: 16px;
        --mn-card: rgba(255, 255, 255, 0.97);
        --mn-safe: env(safe-area-inset-bottom, 0px);
        --mn-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    /* ==============================
       1. LAYOUT: Full-bleed product page
       ============================== */
    main > .container.py-5 {
        padding: 0 !important;
        max-width: 100% !important;
    }

    main > .container.py-5 > .row.g-5 {
        --bs-gutter-x: 0;
        --bs-gutter-y: 0;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
    }

    main > .container.py-5 > .row.g-5 > .col-lg-8,
    main > .container.py-5 > .row.g-5 > .col-lg-4 {
        padding: 0 !important;
    }

    /* Sidebar FIRST (title + price), then main content */
    main > .container.py-5 > .row.g-5 > .col-lg-4 {
        order: -1 !important;
    }

    main > .container.py-5 > .row.g-5 > .col-lg-8 {
        order: 1 !important;
    }

    /* Bottom padding for sticky bar + bottom nav */
    main > .container.py-5 {
        padding-bottom: 180px !important;
    }

    /* ==============================
       2. BREADCRUMB: Hide
       ============================== */
    nav[aria-label="breadcrumb"],
    nav.mb-4[aria-label="breadcrumb"] {
        display: none !important;
    }

    /* ==============================
       3. SIDEBAR CONTAINER: Flex column for reorder
       ============================== */
    .price-card-sticky {
        position: relative !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        z-index: auto !important;
        padding: 0 var(--mn-sp) !important;
        display: flex !important;
        flex-direction: column !important;
    }

    /* Title */
    .price-card-sticky > h1 {
        order: 1 !important;
        font-size: 1.4rem !important;
        font-weight: 800 !important;
        line-height: 1.25 !important;
        margin-bottom: 6px !important;
        padding-top: 14px !important;
        letter-spacing: -0.025em;
    }

    /* Badges */
    .price-card-sticky > .d-flex.gap-2.mb-4 {
        order: 2 !important;
        margin-bottom: 10px !important;
    }

    .price-card-sticky > .d-flex.gap-2.mb-4 .badge {
        font-size: 0.68rem;
        padding: 3px 10px;
        border-radius: 20px;
    }

    /* Price card (first glass-card) */
    .price-card-sticky > .glass-card.p-4.mb-4:first-of-type {
        order: 3 !important;
        display: block !important;
        background: var(--mn-card) !important;
        border-radius: var(--mn-rl) !important;
        padding: 14px var(--mn-sp) !important;
        margin-bottom: 10px !important;
        border: 1px solid rgba(0, 0, 0, 0.06) !important;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05) !important;
    }

    /* Meta info card - HIDE */
    .price-card-sticky > .glass-card.p-4.mb-4 ~ .glass-card.p-4.mb-4 {
        order: 99 !important;
        display: none !important;
    }

    /* WhatsApp card - HIDE in sidebar (reduce clutter at top) */
    .price-card-sticky > .whatsapp-contact-card,
    .price-card-sticky .whatsapp-contact-card {
        order: 98 !important;
        display: none !important;
    }

    /* ==============================
       4. PRICE DISPLAY
       ============================== */
    .price-card-sticky .price-amount {
        font-size: 2rem !important;
        font-weight: 800 !important;
        letter-spacing: -0.02em;
    }

    .price-card-sticky .price-original {
        font-size: 0.95rem !important;
    }

    .price-card-sticky .discount-badge {
        font-size: 0.7rem !important;
        padding: 3px 8px !important;
        border-radius: 8px !important;
    }

    /* ==============================
       5. QUANTITY SELECTOR: Compact
       ============================== */
    .price-card-sticky .quantity-selector-wrapper {
        margin-bottom: 8px !important;
    }

    .price-card-sticky .quantity-btn {
        min-width: 40px !important;
        min-height: 40px !important;
    }

    .price-card-sticky .quantity-input {
        min-height: 40px !important;
        font-size: 1rem !important;
        width: 52px !important;
        padding: 0 !important;
    }

    /* ==============================
       6. STICKY BOTTOM BUY BAR
       ============================== */
    .price-card-sticky #addToCartForm {
        position: fixed !important;
        bottom: calc(64px + var(--mn-safe)) !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1030 !important;
        background: rgba(255, 255, 255, 0.94) !important;
        backdrop-filter: blur(20px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
        border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
        padding: 10px var(--mn-sp) !important;
        box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.1) !important;
        margin: 0 !important;
    }

    /* Hide hidden inputs sizing */
    .price-card-sticky #addToCartForm input[type="hidden"] {
        min-height: 0 !important;
        padding: 0 !important;
        font-size: inherit !important;
    }

    /* Show purchase buttons */
    .price-card-sticky #addToCartForm .purchase-buttons-wrapper {
        display: block !important;
        padding: 0 !important;
    }

    .price-card-sticky #addToCartForm .purchase-buttons-wrapper .d-grid.gap-2 {
        display: flex !important;
        gap: 10px !important;
        align-items: center;
    }

    /* SSL text hide */
    .price-card-sticky #addToCartForm .purchase-buttons-wrapper .text-center.mt-3 {
        display: none !important;
    }

    /* Buy Now - Orange CTA */
    .price-card-sticky #addToCartForm .btn-buy-now {
        flex: 2 !important;
        padding: 12px 20px !important;
        font-size: 0.92rem !important;
        font-weight: 700 !important;
        border-radius: 14px !important;
        min-height: 48px !important;
        background: linear-gradient(135deg, #f39321 0%, #e8850d 100%) !important;
        color: #fff !important;
        border: none !important;
        box-shadow: 0 4px 14px rgba(243, 147, 33, 0.35) !important;
        margin: 0 !important;
        transition: all 0.2s var(--mn-ease) !important;
    }

    .price-card-sticky #addToCartForm .btn-buy-now:active {
        transform: scale(0.97) !important;
    }

    /* Add to Cart - Secondary */
    .price-card-sticky #addToCartForm .btn-add-cart {
        flex: 1 !important;
        padding: 12px 14px !important;
        font-size: 0.85rem !important;
        font-weight: 600 !important;
        border-radius: 14px !important;
        min-height: 48px !important;
        background: rgba(0, 0, 0, 0.06) !important;
        color: #1e293b !important;
        border: 1px solid rgba(0, 0, 0, 0.08) !important;
        box-shadow: none !important;
        margin: 0 !important;
        transition: all 0.2s var(--mn-ease) !important;
    }

    .price-card-sticky #addToCartForm .btn-add-cart:active {
        transform: scale(0.97) !important;
    }

    /* ==============================
       7. TRUST BADGES: Horizontal Chips
       ============================== */
    .col-lg-4 .trust-badges-card {
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        margin-top: 8px !important;
    }

    .col-lg-4 .trust-badges-card .trust-badges-grid {
        display: flex !important;
        grid-template-columns: unset !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }

    .col-lg-4 .trust-badges-card .trust-badges-grid::-webkit-scrollbar {
        display: none;
    }

    .col-lg-4 .trust-badges-card .trust-badge-item {
        flex-shrink: 0 !important;
        scroll-snap-align: start;
        padding: 6px 12px !important;
        border-radius: 50px !important;
        gap: 8px !important;
        background: rgba(243, 147, 33, 0.06) !important;
        border: 1px solid rgba(243, 147, 33, 0.15) !important;
        white-space: nowrap;
    }

    .col-lg-4 .trust-badges-card .trust-badge-icon {
        width: 26px !important;
        height: 26px !important;
        border-radius: 50% !important;
    }

    .col-lg-4 .trust-badges-card .trust-badge-icon i {
        font-size: 0.7rem !important;
    }

    .col-lg-4 .trust-badges-card .trust-badge-text {
        flex-direction: row !important;
        gap: 4px !important;
    }

    .col-lg-4 .trust-badges-card .trust-badge-title,
    .col-lg-4 .trust-badges-card .trust-badge-desc {
        font-size: 0.72rem !important;
    }

    /* ==============================
       8. PRODUCT IMAGE HERO
       ============================== */
    .product-media-gallery {
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin-bottom: 0 !important;
        background: transparent !important;
    }

    .pmg-main-wrap {
        min-height: 240px !important;
        max-height: 320px !important;
        border-radius: 0 0 var(--mn-rxl) var(--mn-rxl) !important;
        border: none !important;
        background: linear-gradient(180deg, #f0f4f8 0%, #e2e8f0 100%) !important;
        position: relative;
        overflow: hidden !important;
    }

    .pmg-main-wrap::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 80px;
        background: linear-gradient(to top, rgba(255, 255, 255, 0.85) 0%, transparent 100%);
        pointer-events: none;
        z-index: 1;
        border-radius: 0 0 var(--mn-rxl) var(--mn-rxl);
    }

    .pmg-main-image {
        max-height: 320px !important;
    }

    .pmg-empty {
        padding: 3rem 1.5rem !important;
    }

    .pmg-empty-icon {
        font-size: 3rem !important;
    }

    /* Thumbnails horizontal */
    .pmg-thumbs {
        display: flex !important;
        grid-template-columns: unset !important;
        overflow-x: auto !important;
        gap: 8px !important;
        padding: 10px var(--mn-sp) !important;
        scrollbar-width: none;
    }

    .pmg-thumbs::-webkit-scrollbar { display: none; }

    .pmg-thumb {
        flex-shrink: 0 !important;
        width: 60px !important;
        border-radius: 10px !important;
    }

    .pmg-thumb img {
        height: 48px !important;
        border-radius: 8px !important;
    }

    /* ==============================
       9. SPECS GRID: Horizontal Scroll Chips
       ============================== */
    .glass-card.mb-4.overflow-hidden {
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
        margin-bottom: 4px !important;
        background: transparent !important;
    }

    .specs-grid-container {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        gap: 8px !important;
        padding: 14px var(--mn-sp) !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .specs-grid-container::-webkit-scrollbar { display: none; }

    .specs-item {
        flex: 0 0 auto !important;
        min-width: 110px !important;
        max-width: 140px !important;
        scroll-snap-align: start;
        padding: 10px 12px !important;
        border-radius: var(--mn-r) !important;
        background: var(--mn-card) !important;
        border: 1px solid rgba(0, 0, 0, 0.06) !important;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
        text-align: center;
    }

    .specs-item:hover { transform: none !important; }

    .specs-icon {
        width: 32px !important;
        height: 32px !important;
        border-radius: 8px !important;
        font-size: 0.8rem !important;
        margin-bottom: 4px !important;
    }

    /* ==============================
       10. TABS: iOS Segmented Control
       ============================== */
    .glass-card.p-0.overflow-hidden {
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
        background: transparent !important;
        overflow: visible !important;
    }

    .custom-tabs.nav-justified {
        display: flex !important;
        background: rgba(0, 0, 0, 0.05) !important;
        border-radius: 12px !important;
        padding: 3px !important;
        margin: 12px var(--mn-sp) !important;
        gap: 2px !important;
        border: none !important;
        border-bottom: none !important;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .custom-tabs.nav-justified::-webkit-scrollbar { display: none; }

    .custom-tabs .nav-item {
        flex: 1 0 auto !important;
    }

    .custom-tabs .nav-link {
        padding: 10px 12px !important;
        font-size: 0.78rem !important;
        font-weight: 600 !important;
        border-radius: 10px !important;
        border: none !important;
        color: #64748b !important;
        background: transparent !important;
        transition: all 0.25s var(--mn-ease) !important;
        white-space: nowrap;
        text-align: center;
        min-height: 40px;
    }

    .custom-tabs .nav-link.active {
        background: #fff !important;
        color: #0f172a !important;
        box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06) !important;
        border: none !important;
    }

    .custom-tabs .nav-link:hover {
        border: none !important;
    }

    /* Tab content */
    .tab-content.p-4 {
        padding: 12px var(--mn-sp) !important;
    }

    .tab-pane {
        background: var(--mn-card) !important;
        border-radius: var(--mn-rl) !important;
        padding: var(--mn-sp) !important;
        border: 1px solid rgba(0, 0, 0, 0.06);
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    }

    .tab-pane h4 {
        font-size: 1.1rem !important;
        margin-bottom: 10px !important;
    }

    .prose {
        font-size: 0.92rem !important;
        line-height: 1.7 !important;
    }

    .feature-check-item {
        padding: 10px 12px !important;
        border-radius: 12px !important;
        margin-bottom: 6px !important;
        background: rgba(16, 185, 129, 0.04);
    }

    /* ==============================
       11. REVIEWS: Card Style
       ============================== */
    .reviews-section.glass-card {
        margin: 12px var(--mn-sp) !important;
        border-radius: var(--mn-rl) !important;
        padding: var(--mn-sp) !important;
        background: var(--mn-card) !important;
        border: 1px solid rgba(0, 0, 0, 0.06) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    }

    .reviews-section .review-stats-card {
        border-radius: var(--mn-r) !important;
        padding: 14px !important;
    }

    /* ==============================
       12. WHATSAPP (shown after main content)
       Show a full-width WhatsApp button after reviews
       ============================== */

    /* The WhatsApp card in sidebar is hidden via section 3.
       It will naturally be at the end of sidebar content.
       Let's actually SHOW it but move it to end visually */
    .price-card-sticky > .whatsapp-contact-card,
    .price-card-sticky .whatsapp-contact-card {
        order: 98 !important;
        display: block !important;
        margin: 0 !important;
        border-radius: var(--mn-rl) !important;
        padding: 14px !important;
    }

    /* But since sidebar comes first (order -1),
       WhatsApp still appears before main content.
       Solution: Don't use order -1 for sidebar.
       Instead, use a grid layout to place things. */

    /* ==============================
       REVISED LAYOUT: Grid approach
       Place sidebar items strategically
       ============================== */

    /* Actually, let's NOT reorder the columns.
       Keep natural order: col-lg-8 (main) first, col-lg-4 (sidebar) second.
       This means image/specs/tabs first, then price/buy. 
       The sticky bottom bar ensures buy is always accessible.
       This is more like native app flow anyway:
       Product info first, then buy action at bottom. */

    main > .container.py-5 > .row.g-5 > .col-lg-4 {
        order: 1 !important;
    }

    main > .container.py-5 > .row.g-5 > .col-lg-8 {
        order: 0 !important;
    }

    /* ==============================
       13. SCROLL FADE on horizontal lists
       ============================== */
    .specs-grid-container,
    .col-lg-4 .trust-badges-card .trust-badges-grid,
    .pmg-thumbs {
        mask-image: linear-gradient(to right, black calc(100% - 24px), transparent 100%);
        -webkit-mask-image: linear-gradient(to right, black calc(100% - 24px), transparent 100%);
    }

    /* ==============================
       14. MICRO-INTERACTIONS
       ============================== */
    .specs-item:active,
    .trust-badge-item:active,
    .custom-tabs .nav-link:active,
    .pmg-thumb:active {
        transform: scale(0.96) !important;
        transition: transform 0.1s ease !important;
    }

    /* ==============================
       15. ACCESSIBILITY: 44px Touch Targets
       ============================== */
    .custom-tabs .nav-link,
    .specs-item,
    .trust-badge-item,
    .pmg-thumb,
    .btn-purchase,
    .quantity-btn {
        min-height: 44px !important;
    }

    .custom-tabs .nav-link:focus-visible,
    .pmg-thumb:focus-visible {
        outline: 2px solid #f39321;
        outline-offset: 2px;
    }

    /* ==============================
       16. DARK MODE
       ============================== */
    @media (prefers-color-scheme: dark) {
        :root { --mn-card: rgba(30, 41, 59, 0.95); }

        .price-card-sticky #addToCartForm {
            background: rgba(15, 23, 42, 0.94) !important;
            border-top-color: rgba(255, 255, 255, 0.08) !important;
            box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3) !important;
        }

        .price-card-sticky #addToCartForm .btn-add-cart {
            background: rgba(255, 255, 255, 0.08) !important;
            color: #e2e8f0 !important;
            border-color: rgba(255, 255, 255, 0.1) !important;
        }

        .custom-tabs.nav-justified {
            background: rgba(255, 255, 255, 0.06) !important;
        }

        .custom-tabs .nav-link.active {
            background: rgba(255, 255, 255, 0.12) !important;
            color: #fff !important;
        }

        .tab-pane {
            background: rgba(30, 41, 59, 0.6) !important;
            border-color: rgba(255, 255, 255, 0.06) !important;
        }

        .specs-item {
            background: rgba(30, 41, 59, 0.8) !important;
            border-color: rgba(255, 255, 255, 0.08) !important;
        }

        .col-lg-4 .trust-badge-item {
            background: rgba(243, 147, 33, 0.1) !important;
            border-color: rgba(243, 147, 33, 0.2) !important;
        }

        .pmg-main-wrap {
            background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
        }

        .pmg-main-wrap::after {
            background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, transparent 100%) !important;
        }

        .reviews-section.glass-card {
            background: rgba(30, 41, 59, 0.8) !important;
            border-color: rgba(255, 255, 255, 0.06) !important;
        }
    }

    [data-theme="dark"] .price-card-sticky #addToCartForm {
        background: rgba(15, 23, 42, 0.95) !important;
        border-top-color: rgba(255, 255, 255, 0.08) !important;
    }

    [data-theme="dark"] .price-card-sticky #addToCartForm .btn-add-cart {
        background: rgba(255, 255, 255, 0.08) !important;
        color: #e2e8f0 !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
    }

    [data-theme="dark"] .custom-tabs.nav-justified {
        background: rgba(255, 255, 255, 0.06) !important;
    }

    [data-theme="dark"] .custom-tabs .nav-link.active {
        background: rgba(255, 255, 255, 0.12) !important;
        color: #fff !important;
    }

    [data-theme="dark"] .tab-pane {
        background: rgba(30, 41, 59, 0.6) !important;
        border-color: rgba(255, 255, 255, 0.06) !important;
    }

    [data-theme="dark"] .specs-item {
        background: rgba(30, 41, 59, 0.8) !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
    }

    [data-theme="dark"] .pmg-main-wrap {
        background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
    }

    [data-theme="dark"] .pmg-main-wrap::after {
        background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, transparent 100%) !important;
    }

    /* ==============================
       17. CONFLICT OVERRIDES
       ============================== */
    .price-card-sticky .quantity-input {
        min-height: 40px !important;
        font-size: 1rem !important;
        padding: 0 !important;
    }

    /* ==============================
       18. PRINT
       ============================== */
    @media print {
        .price-card-sticky #addToCartForm {
            position: static !important;
            background: none !important;
            backdrop-filter: none !important;
            box-shadow: none !important;
            border: none !important;
        }
    }

} /* END @media (max-width: 991.98px) */

/* =============================================
   MOBILE NATIVE FIX: Kutu iç içe, boşluklar,
   review, meta info, trust badges
   ============================================= */

@media (max-width: 991.98px) {

    /* ---- 1. KUTU İÇ İÇE FIX: neo-glass kaldır ---- */
    .col-lg-8 > .neo-glass {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 0 !important;
        overflow: visible !important;
    }

    /* Sidebar glass-card de transparan */
    .col-lg-4 .sticky-sidebar > .glass-card {
        background: var(--lj-card, rgba(30, 41, 59, 0.8)) !important;
        border-radius: 16px !important;
        border: 1px solid var(--lj-border, rgba(255,255,255,0.1)) !important;
    }

    /* ---- 2. GÖRSEL-SPEC ARASI BOŞLUK FIX ---- */
    .pmg-main-wrap,
    .product-media-gallery {
        margin-bottom: 12px !important;
        border-radius: 16px !important;
        overflow: hidden !important;
    }

    .action-pills {
        padding: 0 4px !important;
        margin-bottom: 8px !important;
    }

    .spec-grid {
        padding: 0 4px !important;
        margin: 0 0 12px 0 !important;
        gap: 8px !important;
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .spec-item {
        padding: 12px 8px !important;
        margin: 0 !important;
        border-radius: 12px !important;
        min-height: auto !important;
    }

    .spec-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
        margin-bottom: 4px !important;
    }

    .spec-label {
        font-size: 0.65rem !important;
        margin-bottom: 2px !important;
    }

    .spec-value {
        font-size: 0.85rem !important;
    }

    /* ---- 3. SEGMENT TABS kompakt ---- */
    .segment-tabs {
        padding: 0 4px !important;
        margin-bottom: 12px !important;
        gap: 4px !important;
    }

    .segment-tab {
        padding: 8px 12px !important;
        font-size: 0.8rem !important;
    }

    /* Tab content kompakt */
    .tab-content-area {
        padding: 12px 8px !important;
    }

    .tab-panel {
        padding: 12px !important;
    }

    /* ---- 4. MÜŞTERİ DEĞERLENDİRMELERİ: kutu kaldır, en alta ---- */
    .col-lg-8 > .neo-glass.mt-4.p-4 {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin-top: 16px !important;
        order: 99 !important;
    }

    /* Review section içerik */
    .review-stats-card {
        border-radius: 16px !important;
        overflow: hidden !important;
    }

    /* ---- 5. ÜRÜN BİLGİLERİ (meta-info): 2x2 Grid ---- */
    .col-lg-4 .glass-card .lj-meta-card,
    .col-lg-4 [class*="product-meta"] .glass-card {
        padding: 12px !important;
    }

    .lj-meta-card .lj-meta-rows,
    .lj-meta-card > div {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1px !important;
    }

    .lj-meta-row {
        flex-direction: column !important;
        padding: 10px !important;
        gap: 2px !important;
        border-bottom: none !important;
        background: var(--lj-glass, rgba(255,255,255,0.05)) !important;
        border-radius: 8px !important;
    }

    .lj-meta-row:last-child {
        border-bottom: none !important;
    }

    .lj-meta-label {
        font-size: 0.65rem !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        opacity: 0.6 !important;
    }

    .lj-meta-value {
        font-size: 0.8rem !important;
        font-weight: 600 !important;
        text-align: left !important;
    }

    /* "Ürün Bilgileri" title kompakt */
    .lj-meta-card h6,
    .lj-meta-card .fw-bold {
        font-size: 0.9rem !important;
        margin-bottom: 8px !important;
    }

    /* ---- 6. TRUST BADGES: 2x2 Grid ---- */
    .trust-badges-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        overflow: visible !important;
        flex-wrap: unset !important;
    }

    .trust-badge-item {
        flex: unset !important;
        min-width: unset !important;
        width: 100% !important;
        padding: 10px !important;
        border-radius: 12px !important;
        white-space: normal !important;
    }

    .trust-badge-icon {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
    }

    .trust-badge-title {
        font-size: 0.75rem !important;
        line-height: 1.2 !important;
    }

    .trust-badge-desc {
        font-size: 0.65rem !important;
        line-height: 1.2 !important;
    }

    /* ---- 7. SIDEBAR GENEL SPACING ---- */
    .col-lg-4 .sticky-sidebar {
        padding: 0 4px !important;
    }

    .col-lg-4 .sticky-sidebar > h1 {
        font-size: 1.4rem !important;
        margin-bottom: 8px !important;
    }

    .col-lg-4 .sticky-sidebar > .d-flex.gap-2.mb-4 {
        margin-bottom: 12px !important;
    }

    /* Fiyat kartı kompakt */
    .col-lg-4 .glass-card.p-4.mb-4 {
        padding: 16px !important;
        margin-bottom: 12px !important;
    }

    .price-amount {
        font-size: 2rem !important;
    }

    /* ---- 8. FOOTER BOŞLUK (bottom bar için) ---- */
    .mobile-spacer {
        height: 80px !important;
    }

    /* ---- 9. CONTAINER padding azalt ---- */
    .container.py-3.py-lg-4 {
        padding-left: 8px !important;
        padding-right: 8px !important;
        padding-top: 8px !important;
    }

    /* ---- 10. FAQ kompakt ---- */
    .faq-section {
        padding: 12px 8px !important;
    }

    .faq-item {
        margin-bottom: 6px !important;
    }

    .faq-question {
        padding: 10px 12px !important;
        font-size: 0.85rem !important;
    }

    /* ---- 11. WhatsApp kart mobilde göster ---- */
    .col-lg-4 .desktop-only {
        display: block !important;
    }

    .whatsapp-contact-card {
        border-radius: 16px !important;
        margin-top: 12px !important;
    }

    /* ---- 12. İlgili Ürünler kompakt ---- */
    .related-products-section {
        margin-top: 16px !important;
    }

    .related-products-section .row.g-4 {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory !important;
        padding-bottom: 8px !important;
    }

    .related-products-section .col-6,
    .related-products-section .col-md-3 {
        min-width: 160px !important;
        flex: 0 0 45% !important;
        scroll-snap-align: start !important;
    }
}

/* ---- MASAÜSTÜ DÜZELTMELER ---- */
@media (min-width: 992px) {
    /* Görsel-spec arası boşluk azalt */
    .spec-grid {
        margin-top: 0 !important;
    }

    /* Neo-glass iç padding normalize */
    .col-lg-8 > .neo-glass {
        padding: 0 !important;
    }

    .pmg-main-wrap {
        margin-bottom: 0 !important;
    }
}

/* =============================================
   MOBILE OVERRIDE FINAL - Yüksek specificity
   ============================================= */

@media (max-width: 991.98px) {

    /* TRUST BADGES: 2x2 GRID (override flex nowrap) */
    .col-lg-4 .trust-badges-card .trust-badges-grid,
    .trust-badges-card .trust-badges-grid,
    .trust-badges-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        overflow: visible !important;
        overflow-x: visible !important;
        flex-wrap: wrap !important;
        padding: 0 !important;
    }

    .col-lg-4 .trust-badges-card .trust-badge-item,
    .trust-badges-card .trust-badge-item,
    .trust-badge-item {
        flex: unset !important;
        min-width: unset !important;
        max-width: unset !important;
        width: 100% !important;
        padding: 10px !important;
        border-radius: 12px !important;
        white-space: normal !important;
        scroll-snap-align: unset !important;
    }

    /* Trust badges scroll fade kaldır */
    .trust-badges-card::after,
    .trust-badges-grid::after {
        display: none !important;
    }

    /* META ROWS: 2x2 GRID */
    .lj-meta-list {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2px !important;
    }

    .lj-meta-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 10px !important;
        gap: 2px !important;
        border-bottom: none !important;
        background: rgba(255, 255, 255, 0.03) !important;
        border-radius: 8px !important;
    }

    .lj-meta-label {
        font-size: 0.6rem !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        opacity: 0.5 !important;
        margin-bottom: 2px !important;
    }

    .lj-meta-value {
        font-size: 0.78rem !important;
        font-weight: 600 !important;
        text-align: left !important;
    }

    /* Meta card title */
    .lj-meta-card > h6:first-child,
    .glass-card > h6:first-child {
        font-size: 0.85rem !important;
        margin-bottom: 10px !important;
    }

    /* REVIEWS: en alta ve kutu kaldır */
    .col-lg-8 > .neo-glass.mt-4 {
        order: 99 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        padding: 0 4px !important;
        margin-top: 16px !important;
    }

    /* Review inner heading tekrar engelle */
    .col-lg-8 > .neo-glass.mt-4 > h5 {
        display: none !important;
    }
}

/* Mobil urun detay: WhatsApp float buton gizle */
@media (max-width: 991.98px) {
    .wp-float-btn,
    #wp-float-btn,
    .wp-float-tooltip {
        display: none !important;
    }
}

/* =============================================
   MOBILE SPACING FIX - Bosluk azaltma
   ============================================= */
@media (max-width: 991.98px) {
    /* Gorsel alt bosluk */
    .pmg-main-wrap,
    .product-media-gallery {
        margin-bottom: 4px !important;
    }

    /* Action pills bosluk */
    .action-pills {
        padding: 4px 8px !important;
        margin: 0 !important;
        gap: 6px !important;
    }
    .action-pills:empty {
        display: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Spec grid sıkıştır */
    .spec-grid {
        padding: 4px 8px !important;
        margin: 0 !important;
        gap: 6px !important;
    }
    .spec-item {
        padding: 10px 6px !important;
        border-radius: 10px !important;
    }
    .spec-icon {
        width: 28px !important;
        height: 28px !important;
        margin-bottom: 2px !important;
    }
    .spec-label {
        font-size: 0.6rem !important;
        margin-bottom: 1px !important;
    }
    .spec-value {
        font-size: 0.8rem !important;
    }

    /* Tab bar sıkıştır */
    .segment-tabs {
        padding: 4px 8px !important;
        margin: 4px 0 !important;
        gap: 2px !important;
    }
    .segment-tab {
        padding: 7px 10px !important;
        font-size: 0.78rem !important;
    }

    /* Tab content sıkıştır */
    .tab-content-area {
        padding: 8px !important;
    }
    .tab-panel {
        padding: 8px !important;
    }

    /* Neo-glass iç boşluk kaldır */
    .col-lg-8 > .neo-glass {
        padding: 0 !important;
        gap: 0 !important;
    }

    /* Sidebar başlık-fiyat kartı */
    .col-lg-4 .glass-card.p-4.mb-4 {
        padding: 12px !important;
        margin-bottom: 8px !important;
    }
    .col-lg-4 h1 {
        font-size: 1.3rem !important;
        margin-bottom: 4px !important;
    }
    .price-amount {
        font-size: 1.8rem !important;
    }

    /* Container üst boşluk */
    .container.py-3 {
        padding-top: 4px !important;
    }
}
