
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Arial', sans-serif;
            min-height: 100vh;
            padding: 0;
            position: relative;
            overflow-x: hidden;
            display: flex;
            flex-direction: column;
            /* Giới hạn chiều rộng cho màn laptop */
            max-width: 40%;
            margin: 0 auto;
        }

        @keyframes float {
            0% { transform: translateX(-100px); }
            100% { transform: translateX(calc(100vw + 100px)); }
        }

        .container {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 20px;
            position: relative;
            z-index: 10;
        }

        .product-container {
            position: relative;
            width: 100%;
            max-width: 280px;
            margin: 0 auto;
        }

        .product-card {
            background: none;
            text-align: center;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            display: none;
            min-height: calc(100vh - 170px);
            display: flex;
            flex-direction: column;
        }

        .product-card.active {
            display: flex;
            animation: slideIn 0.5s ease-out;
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(20px) scale(0.98);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        .product-image {
            width: 100%;
            height: 100%;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            flex: 1;
        }

        .product-image img,
        .product-image video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
            top: 0;
            left: 0;
            cursor: pointer;
        }
        
        .product-image video::-webkit-media-controls {
            display: none !important;
        }
        
        .product-image video::-webkit-media-controls-enclosure {
            display: none !important;
        }

        .product-image-placeholder {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 120px;
            font-weight: bold;
            font-family: 'Arial', sans-serif;
        }

        .product-name {
            font-size: 40px;
            font-weight: bold;
            color: black;
            letter-spacing: 1px;
            position: absolute;
            bottom: 20px;
            left: 0;
            right: 0;
            text-align: center;
            padding: 20px;
        }

        .controls-section {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: transparent;
            padding: 0;
            z-index: 20;
        }

        .controls {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 40px;
            max-width: 300px;
            margin: 0 auto;
            /* background: rgba(255, 255, 255, 0.9); */
            /* backdrop-filter: blur(10px); */
            /* border-radius: 20px 20px 0 0; */
            padding: 15px;
            transform: translateY(-50%);
        }

        .controls button {
            background: none;
            border: none;
            padding: 0;
            outline: none;
            box-shadow: none;
            align-items: center;
            height: 80px;
            cursor: pointer;
        }

        .prev-btn {
            background: linear-gradient(135deg, #74b9ff, #0984e3);
        }

        .audio-btn {
            background: linear-gradient(135deg, #fd79a8, #e84393);
            width: 70px;
            height: 70px;
            font-size: 28px;
            margin-bottom: 30px;
        }

        .next-btn {
            background: linear-gradient(135deg, #00b894, #00a085);
        }

        .control-btn:hover:not(:disabled) {
            transform: scale(1.1);
        }

        .control-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
        }

         .footer {
            position: fixed;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            text-align: center;
            background: linear-gradient(to bottom, #4fc3f7 0%, #0288d1 100%);
            z-index: 50;
            border-radius: 25px;
            margin-bottom: 5px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.2), inset 0 2px 4px rgba(255,255,255,0.5);
            padding: 5px 15px;
            width: auto;
            min-width: 280px;
            max-width: 90%;
        }

        .footer p {
            font-family: 'Dancing Script', cursive;
            color: white;
            font-size: 24px;
            margin: 0;
            font-weight: 600;
            text-shadow: 0 1px 2px rgba(0,0,0,0.4);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }


        .no-products {
            text-align: center;
            color: white;
            font-size: 20px;
            margin-top: 60px;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        .audio-player {
            display: none;
        }

        /* Desktop / Laptop Large (>1200px) */
        @media (min-width: 1200px) {
            body {
                max-width: 40%;
                box-shadow: #666 0px 0px 10px;
            }
            
            .controls {
                gap: 170px;
                padding: 10px;
            }
            
            .controls button img {
                width: 75px;
                height: 75px;
            }
            
            .controls button#audioBtn img {
                width: 95px;
                height: 95px;
            }
            
            .product-name {
                font-size: 45px;
                bottom: 25px;
            }

            .footer {
                width: 40%;
                height: 40px;
                max-width: none;
                min-width: 500px;
            }

            .footer p {
                font-size: 26px;
                margin-bottom: 10px; 
                white-space: normal;
            }
        }

        /* Laptop / Desktop (768px - 1199px) */
        @media (min-width: 768px) and (max-width: 1199px) {
            body {
                max-width: 100%;
            }
            
            .controls {
                gap: 200px;
                margin-bottom: 10px;
            }
            
            .controls button img {
                width: 85px;
                height: 85px;
            }
            
            .controls button#audioBtn img {
                width: 110px;
                height: 110px;
            }
            
            .controls-section {
                padding: 30px;
                background-color: #fff;
            }
            
            .product-name {
                font-size: 42px;
                bottom: 22px;
            }
            .footer {
                width: 95%;
                max-width: none;
            }
        }

        /* Tablet (481px - 767px) */
        @media (min-width: 481px) and (max-width: 767px) {
            body {
                max-width: 100%;
            }
            
            .controls {
                gap: 80px;
                margin-bottom: 10px;
            }
            
            .controls button img {
                width: 70px;
                height: 70px;
            }
            
            .controls button#audioBtn img {
                width: 90px;
                height: 90px;
            }
            
            .controls-section {
                padding: 25px;
                background-color: #fff;
            }
            
            .product-name {
                font-size: 38px;
                bottom: 18px;
            }
            .footer {
                width: 100%;
                max-width: none;
            }
        }

        /* Mobile (≤480px) */
        @media (max-width: 480px) {
            body {
                max-width: 100%;
            }
            
            .product-card {
                min-height: calc(100vh - 150px);
            }
            
            .product-name {
                font-size: 30px;
                bottom: 15px;
                padding: 15px;
            }

            .controls {
                gap: 80px;
                padding: 0 10px;
                margin-bottom: 10px;
            }

            .controls button img {
                width: 65px;
                height: 65px;
            }

            .controls button#audioBtn img {
                width: 85px;
                height: 85px;
            }

            .controls-section {
                padding: 20px;
                background-color: #fff;

            }

            .product-image-placeholder {
                background-color: #f0f0f0;
                color: #666;
                font-size: 24px;
                padding: 20px;
                text-align: center;
                height: 100%;
                display: flex;
                align-items: center;
                justify-content: center;
            }
            .footer {
                width: 95%;
                max-width: none;
            }
        }

        /* Small Mobile (≤375px) */
        @media (max-width: 375px) {
            .controls {
                gap: 60px;
            }
            
            .controls button img {
                width: 55px;
                height: 55px;
            }

            .controls button#audioBtn img {
                width: 75px;
                height: 75px;
            }
            
            .product-name {
                font-size: 26px;
            }
            
            .footer p {
                font-size: 16px;
            }
        }

        /* Short Height Devices */
        @media (max-height: 600px) {
            .product-card {
                min-height: calc(100vh - 130px);
            }

            .controls-section {
                padding: 20px;
            }
            
            .controls {
                margin-bottom: 10px;
            }

            .product-name {
                font-size: 24px;
                bottom: 10px;
                padding: 10px;
            }

            .footer p {
                font-size: 16px;
                margin-top: 10px;
            }
        }

        /* Very Short Height Devices */
        @media (max-height: 500px) {
            .controls-section {
                padding: 15px;
            }
            
            .controls {
                gap: 30px;
                margin-bottom: 5px;
            }
            
            .controls button img {
                width: 50px;
                height: 50px;
            }

            .controls button#audioBtn img {
                width: 70px;
                height: 70px;
            }
            
            .product-name {
                font-size: 20px;
                bottom: 5px;
                padding: 8px;
            }
        }