
    /* Sembunyikan Header mobile sewaktu di PC */
    .accordion-mobile-header {
        display: none;
    }

    /* ========================================
       DESKTOP MODE (≥ 768px)
    ======================================== */
    @media only screen and (min-width: 768px) {
        /* Sembunyikan elemen mobile */
        .mobile-drawer-header,
        .mobile-extra-info,
        .drawer-backdrop,
        .mobile-sticky-cart-wrapper {
            display: none !important;
        }
        
        .desktop-only-btn {
            display: inline-block !important;
        }

        /* Sembunyikan semua accordion di desktop */
        .accordion-mobile-header {
            display: none !important;
        }
        
        .accordion-content-pane {
            display: none !important;
        }
        
        .accordion-item-wrapper {
            border: none !important;
            border-radius: 0 !important;
            margin-bottom: 0 !important;
            background: transparent !important;
            box-shadow: none !important;
        }
        
        .accordion-item-wrapper.active-mobile {
            border: none !important;
        }
        
        .accordion-item-wrapper.active-mobile .accordion-content-pane {
            display: none !important;
        }

        /* Tab Desktop */
        .desktop-tabs-nav {
            display: flex !important;
            flex-wrap: wrap;
            gap: 5px;
            border-bottom: 2px solid #e4e7eb;
            padding-bottom: 0;
            margin-bottom: 30px;
        }

        .desktop-tabs-nav .product__details--tab__list {
            padding: 12px 24px;
            cursor: pointer;
            font-weight: 600;
            font-size: 14px;
            color: #747d8c;
            border-bottom: 3px solid transparent;
            transition: all 0.3s ease;
            margin-bottom: -2px;
            list-style: none;
        }

        .desktop-tabs-nav .product__details--tab__list:hover {
            color: #2f3542;
        }

        .desktop-tabs-nav .product__details--tab__list.active {
            color: #e04f4f;
            border-bottom-color: #e04f4f;
        }

        /* SEMUA TAB PANE DISEMBUNYIKAN, KECUALI YANG AKTIF */
        .tab_content .tab_pane {
            display: none !important;
        }
        
        .tab_content .tab_pane.active.show {
            display: block !important;
        }
    }

    /* ========================================
       MOBILE/HP MODE (≤ 767px)
    ======================================== */
    @media only screen and (max-width: 767px) {
        /* Amankan Spacing Form Varian Asli */
        .product__variant--list.quantity {
            margin-bottom: 75px !important;
        }

        /* Drawer Varian HP */
        .product__variant {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background: #ffffff;
            z-index: 10000;
            padding: 20px 20px 85px 20px;
            border-radius: 16px 16px 0 0;
            box-shadow: 0 -5px 25px rgba(0,0,0,0.15);
            transform: translateY(100%);
            transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
            max-height: 75vh;
            overflow-y: auto;
        }
        .product__variant.drawer-open {
            transform: translateY(0);
        }

        .mobile-drawer-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #f1f2f6;
            padding-bottom: 12px;
            margin-bottom: 15px;
        }
        .mobile-drawer-title { 
            font-size: 16px; 
            font-weight: 700; 
            color: #2f3542; 
        }
        .mobile-drawer-close { 
            background: none; 
            border: none; 
            font-size: 24px; 
            color: #a4b0be; 
            cursor: pointer; 
            line-height: 1; 
        }

        .mobile-extra-info { 
            display: block; 
            border-top: 1px solid #f1f2f6; 
            margin-top: 15px; 
            padding-top: 15px; 
        }
        .btn-check-stock { 
            width: 100%; 
            background: #ffffff; 
            border: 1px solid #e4e7eb; 
            color: #2f3542; 
            padding: 10px; 
            border-radius: 6px; 
            font-size: 13px; 
            font-weight: 600; 
            margin-bottom: 12px; 
            text-align: center; 
        }
        .mobile-subtotal-display { 
            text-align: center; 
            font-size: 14px; 
            font-weight: 700; 
            color: #2f3542; 
        }

        .drawer-backdrop { 
            position: fixed; 
            top: 0; 
            left: 0; 
            width: 100%; 
            height: 100%; 
            background: rgba(0,0,0,0.5); 
            z-index: 9999; 
            display: none; 
            opacity: 0; 
            transition: opacity 0.3s ease; 
        }
        .drawer-backdrop.show { 
            display: block; 
            opacity: 1; 
        }
        .desktop-only-btn { 
            display: none !important; 
        }

        /* Bar navigasi melayang permanent bawah screen HP */
        .mobile-sticky-cart-wrapper {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background: #ffffff;
            padding: 12px 15px;
            box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.1);
            display: flex;
            align-items: center;
            gap: 12px;
            z-index: 10001;
        }
        .mobile-action-buttons { 
            display: flex; 
            gap: 8px; 
        }
        .btn-mobile-share, 
        .btn-mobile-wa { 
            width: 42px; 
            height: 42px; 
            border-radius: 6px; 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            background: #ffffff; 
            cursor: pointer; 
        }
        .btn-mobile-share { 
            border: 1px solid #f3d1d1; 
            color: #e04f4f; 
        }
        .btn-mobile-wa { 
            border: 1px solid #a3e9be; 
            color: #25d366; 
        }

        .mobile-submit-btn {
            flex-grow: 1;
            height: 42px;
            border-radius: 6px;
            font-weight: 700;
            text-transform: uppercase;
            font-size: 14px;
            border: none;
            background-color: #ff0000 !important;
            color: #ffffff !important;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* ===== ACCORDION UNTUK HP ===== */
        .desktop-tabs-nav {
            display: none !important;
        }
        
        .product__details--tab__inner.mobile-accordion-container {
            border: none !important;
            padding: 0 !important;
            background: transparent !important;
        }
        
        .accordion-item-wrapper {
            border: 1px solid #e4e7eb;
            border-radius: 10px;
            margin-bottom: 12px;
            background: #ffffff;
            overflow: hidden;
        }
        
        .accordion-mobile-header {
            display: flex !important;
            justify-content: space-between;
            align-items: center;
            padding: 15px 20px;
            font-size: 15px;
            font-weight: 600;
            color: #2f3542;
            cursor: pointer;
            background: #f8f9fa;
        }
        .accordion-mobile-header:hover {
            background: #f1f2f6;
        }
        
        .accordion-icon svg {
            transition: transform 0.3s ease;
            color: #747d8c;
        }
        
        .accordion-content-pane {
            display: none !important;
            padding: 0 20px 20px 20px;
            background: #ffffff;
        }

        /* Indikator aktif Accordion */
        .accordion-item-wrapper.active-mobile {
            border: 1px solid #e04f4f !important;
        }
        .accordion-item-wrapper.active-mobile .accordion-mobile-header {
            color: #e04f4f;
            font-weight: 700;
            background: #fff5f5;
        }
        .accordion-item-wrapper.active-mobile .accordion-icon svg {
            transform: rotate(-180deg);
            color: #e04f4f;
        }
        .accordion-item-wrapper.active-mobile .accordion-content-pane {
            display: block !important;
        }
    }
