/* Styles scoped to san-pham/t25c-thong-minh.html. */

/* Hero Banner SP */
        .product-hero {
            background: linear-gradient(135deg, var(--primary-light) 0%, #fff 100%);
            padding: 60px 0;
        }

        .product-hero-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            align-items: center;
            gap: 50px;
        }

        .product-hero-title {
            font-size: 42px;
            margin: 15px 0;
            color: var(--text-dark);
        }

        .product-hero-badges {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            margin-top: 30px;
        }

        .product-hero-badge-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
        }

        .product-hero-badge-item i {
            color: var(--primary-color);
            font-size: 24px;
            margin-top: 4px;
        }

        .product-hero-badge-item h4 {
            font-size: 14px;
            margin-bottom: 4px;
        }

        .product-hero-badge-item p {
            font-size: 12px;
            color: var(--text-muted);
        }

        /* Product Main Info */
        .product-main-grid {
            display: grid;
            grid-template-columns: 1.1fr 0.9fr;
            gap: 50px;
            min-width: 0;
        }

        /* Product Gallery */
        .product-gallery {
            display: flex;
            gap: 20px;
            min-width: 0;
            max-width: 100%;
        }

        .gallery-thumbs {
            display: flex;
            flex-direction: column;
            gap: 12px;
            width: 80px;
            max-width: 100%;
            max-height: 552px;
            overflow-x: hidden;
            overflow-y: auto;
            overscroll-behavior: contain;
            -ms-overflow-style: none;
            scrollbar-width: none;
            scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch;
            cursor: grab;
            user-select: none;
            box-sizing: border-box;
        }

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

        .gallery-thumbs.is-dragging {
            cursor: grabbing;
            scroll-behavior: auto;
        }

        .gallery-thumb-item {
            border: 1px solid var(--border-color);
            border-radius: 8px;
            cursor: pointer;
            overflow: hidden;
            aspect-ratio: 1;
            flex: 0 0 80px;
            width: 80px;
            height: 80px;
            padding: 5px;
            background-color: var(--white);
        }

        .gallery-thumb-item img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            pointer-events: none;
        }

        .gallery-thumb-item.active, .gallery-thumb-item:hover {
            border-color: var(--primary-color);
        }

        .gallery-main {
            flex-grow: 1;
            border: 1px solid var(--border-color);
            border-radius: 16px;
            overflow: hidden;
            background-color: var(--white);
            padding: 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .gallery-main img {
            max-height: 450px;
            object-fit: contain;
        }

        .video-intro-btn {
            margin-top: 15px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            font-weight: 600;
            color: var(--text-muted);
            cursor: pointer;
        }

        .video-intro-btn:hover {
            color: var(--primary-color);
        }

        /* Product Specs Form */
        .product-details-box {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .product-badge-model {
            align-self: flex-start;
            background-color: var(--primary-light);
            color: var(--primary-color);
            padding: 4px 12px;
            border-radius: 4px;
            font-weight: 700;
            font-size: 12px;
        }

        .product-title {
            font-size: 32px;
            color: var(--text-dark);
        }

        .product-rating {
            display: flex;
            align-items: center;
            gap: 15px;
            font-size: 13px;
        }

        .stars {
            color: #ffc107;
        }

        .product-price-box {
            font-size: 36px;
            font-weight: 800;
            color: var(--primary-color);
            border-bottom: 1px solid var(--border-color);
            padding-bottom: 15px;
        }

        .product-features-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .product-features-list li {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 14px;
        }

        .product-features-list li i {
            color: var(--success);
        }

        .product-option-selector {
            margin: 15px 0;
        }

        .color-picker {
            display: flex;
            gap: 15px;
            margin-top: 10px;
        }

        .color-btn {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            border: 2px solid transparent;
            cursor: pointer;
            position: relative;
        }

        .color-btn.active {
            border-color: var(--primary-color);
        }

        .color-pink {
            background-color: #f7d6d7;
        }

        .color-white {
            background-color: #ffffff;
            border: 1px solid #ddd;
        }

        .color-green {
            background-color: #b2cfc0;
        }

        .color-purple {
            background-color: #b9a2c8;
        }

        .buy-actions {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            margin-bottom: 25px;
        }

        .trust-badges {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            background-color: var(--bg-gray);
            padding: 15px;
            border-radius: 12px;
            text-align: center;
            font-size: 11px;
            font-weight: 600;
        }

        .trust-badges i {
            color: var(--primary-color);
            font-size: 18px;
            display: block;
            margin-bottom: 5px;
        }

        /* Specs & Comparison Section */
        .compare-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 30px;
            background-color: var(--white);
            border-radius: 16px;
            overflow: hidden;
            box-shadow: var(--shadow-sm);
        }

        .compare-table th, .compare-table td {
            border: 1px solid var(--border-color);
            padding: 15px 20px;
            text-align: center;
        }

        .compare-table th {
            font-family: var(--font-title);
            font-weight: 700;
            background-color: var(--bg-gray);
        }

        .compare-table td:first-child, .compare-table th:first-child {
            text-align: left;
            font-weight: 600;
            width: 25%;
        }

        .compare-table tr.highlight-row, .compare-table td.highlight-row, .compare-table th.highlight-row {
            background-color: var(--primary-light);
        }

        /* Suggest Products Carousel */
        .suggest-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }

        .suggest-card {
            background-color: var(--white);
            border-radius: 16px;
            padding: 25px;
            border: 1px solid var(--border-color);
            text-align: center;
            transition: var(--transition-normal);
        }

        .suggest-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-md);
        }

        .suggest-img {
            max-height: 150px;
            object-fit: contain;
            margin-bottom: 15px;
        }

        .t25c-showcase-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
            margin-top: 34px;
        }

        .t25c-info-card {
            background: var(--white);
            border: 1px solid var(--border-color);
            border-radius: 16px;
            overflow: hidden;
            box-shadow: var(--shadow-sm);
        }

        .t25c-info-card img {
            width: 100%;
            aspect-ratio: 1 / 1;
            object-fit: cover;
            background: var(--primary-light);
        }

        .t25c-info-card-body {
            padding: 18px;
        }

        .t25c-info-card h3 {
            font-size: 17px;
            margin-bottom: 8px;
        }

        .t25c-info-card p {
            color: var(--text-muted);
            font-size: 13px;
        }

        .t25c-split {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 56px;
            align-items: center;
        }

        .t25c-spec-grid {
            display: grid;
            gap: 12px;
            margin-top: 24px;
        }

        .t25c-spec-item {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            gap: 16px;
            padding: 12px 14px;
            border: 1px solid var(--border-color);
            border-radius: 10px;
            background: var(--white);
        }

        .t25c-spec-item span {
            color: var(--text-muted);
            font-size: 12px;
            font-weight: 700;
        }

        .t25c-spec-item strong {
            color: var(--text-dark);
            font-size: 13px;
            font-weight: 600;
            text-align: right;
        }

        .t25c-package-content .badge,
        .t25c-package-content .section-title {
            display: block;
            width: fit-content;
        }

        .t25c-image-frame {
            border: 1px solid var(--border-color);
            border-radius: 18px;
            overflow: hidden;
            background: var(--white);
            box-shadow: var(--shadow-sm);
        }

        .t25c-image-frame img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .t25c-spec-list {
            margin-top: 26px;
        }

        .t25c-spec-row {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            padding: 14px 0;
            border-bottom: 1px solid var(--border-color);
            gap: 16px;
        }

        .t25c-spec-row:first-child {
            border-top: 1px solid var(--border-color);
        }

        .t25c-spec-row span {
            color: var(--text-muted);
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.4px;
            flex-shrink: 0;
            min-width: 100px;
        }

        .t25c-spec-row strong {
            color: var(--text-dark);
            font-size: 14px;
            font-weight: 500;
            text-align: right;
            line-height: 1.45;
        }

        .t25c-result-grid,
        .t25c-use-grid,
        .t25c-step-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 18px;
            margin-top: 34px;
        }

        .t25c-step-grid {
            grid-template-columns: repeat(3, 1fr);
        }

        .t25c-result-card,
        .t25c-use-card,
        .t25c-step-card {
            background: var(--white);
            border: 1px solid var(--border-color);
            border-radius: 16px;
            overflow: hidden;
            box-shadow: var(--shadow-sm);
        }

        .t25c-result-card img,
        .t25c-use-card img,
        .t25c-step-card img {
            width: 100%;
            aspect-ratio: 4 / 5;
            object-fit: cover;
            background: var(--primary-light);
        }

        .t25c-use-card img {
            aspect-ratio: 4 / 3;
        }

        .t25c-step-card img {
            aspect-ratio: 2 / 3;
        }

        .t25c-card-caption {
            padding: 14px;
        }

        .t25c-card-caption h3 {
            font-size: 15px;
            margin-bottom: 5px;
            color: var(--text-dark);
        }

        .t25c-card-caption p {
            font-size: 12px;
            color: var(--text-muted);
        }

        .t25c-note {
            margin-top: 22px;
            padding: 16px 18px;
            border-radius: 12px;
            background: var(--primary-light);
            color: var(--text-muted);
            font-size: 13px;
            text-align: center;
        }

        @media (max-width: 1024px) {
            .product-hero-grid {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .product-hero-badges {
                justify-content: center;
            }

            .product-main-grid {
                grid-template-columns: 1fr;
            }

            .suggest-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .t25c-showcase-grid,
            .t25c-spec-grid,
            .t25c-result-grid,
            .t25c-use-grid,
            .t25c-step-grid {
                grid-template-columns: 1fr 1fr;
            }

            .t25c-split {
                grid-template-columns: 1fr;
                gap: 30px;
            }
        }

        @media (max-width: 768px) {
            .suggest-grid {
                grid-template-columns: 1fr;
            }

            .product-hero {
                padding: 34px 0 30px;
            }

            .product-hero-grid {
                gap: 18px !important;
            }

            .product-hero-title {
                font-size: 26px !important;
                line-height: 1.2 !important;
                margin: 14px 0 12px;
            }

            .product-hero-grid > div:first-child > p {
                max-width: 300px !important;
                margin: 0 auto;
                font-size: 14px !important;
                line-height: 1.65;
            }

            .product-hero-badges {
                grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
                gap: 10px !important;
                margin-top: 22px;
                justify-content: stretch !important;
            }

            .product-hero-badge-item {
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 8px;
                min-height: 126px;
                padding: 14px 10px 12px;
                border: 1px solid var(--border-color);
                border-radius: 14px;
                background: rgba(255, 255, 255, 0.72);
                box-shadow: var(--shadow-sm);
                text-align: center;
            }

            .product-hero-badge-item i {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                width: 34px;
                height: 34px;
                margin-top: 0;
                border-radius: 50%;
                background-color: var(--primary-color);
                color: var(--white);
                font-size: 16px;
            }

            .product-hero-badge-item h4 {
                font-size: 12px;
                line-height: 1.25;
                margin-bottom: 4px;
            }

            .product-hero-badge-item p {
                font-size: 11px !important;
                line-height: 1.35;
            }

            .product-gallery {
                flex-direction: column-reverse;
                overflow: hidden;
                width: 100%;
            }

            .gallery-thumbs {
                flex-direction: row !important;
                flex-wrap: nowrap;
                width: 100% !important;
                max-width: 100%;
                min-width: 0;
                max-height: none;
                overflow-x: auto !important;
                overflow-y: hidden !important;
                justify-content: flex-start !important;
                padding-bottom: 4px;
                touch-action: pan-x;
            }

            .gallery-thumb-item {
                flex: 0 0 64px;
                width: 64px;
                height: 64px;
            }

            .buy-actions {
                grid-template-columns: 1fr;
            }

            .compare-table {
                display: block;
                overflow-x: auto;
            }

            .t25c-showcase-grid,
            .t25c-result-grid,
            .t25c-use-grid,
            .t25c-step-grid {
                grid-template-columns: 1fr;
            }

            .t25c-spec-grid {
                grid-template-columns: 1fr !important;
                gap: 10px;
            }

            .t25c-spec-item {
                align-items: flex-start;
                flex-direction: column;
                gap: 4px;
                padding: 12px 14px;
            }

            .t25c-spec-item strong {
                text-align: left;
                line-height: 1.4;
            }

            .t25c-image-frame {
                width: 100%;
            }
        }
