/* Styles scoped to san-pham/t14.html. */

.t14-hero {
            background: linear-gradient(135deg, var(--primary-light), #fff);
            padding: 56px 0
        }

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

        .t14-hero h1 {
            font-size: 42px;
            margin: 14px 0
        }

        .t14-hero img {
            width: 100%;
            max-height: 430px;
            object-fit: contain;
            border-radius: 20px;
            box-shadow: var(--shadow-lg)
        }

        .t14-gallery {
            display: grid;
            grid-template-columns:90px 1fr;
            gap: 18px
        }

        .t14-thumbs {
            display: flex;
            flex-direction: column;
            gap: 10px
        }

        .t14-thumbs button {
            padding: 0;
            border: 2px solid transparent;
            background: #fff;
            border-radius: 8px;
            overflow: hidden;
            cursor: pointer
        }

        .t14-thumbs button.active {
            border-color: var(--primary-color)
        }

        .t14-thumbs img {
            width: 100%;
            aspect-ratio: 1;
            object-fit: cover;
            display: block
        }

        .t14-main-image {
            width: 100%;
            height: 540px;
            object-fit: contain;
            border-radius: 16px;
            background: #fafafa
        }

        .t14-price {
            font-size: 27px;
            font-weight: 800;
            border-bottom: 1px solid var(--border-color);
            padding: 12px 0 16px
        }

        .t14-sale {
            color: var(--primary-color)
        }

        .t14-old {
            text-decoration: line-through;
            color: var(--text-muted);
            font-size: 14px;
            font-weight: 500;
            display: block
        }

        .t14-video {
            width: 100%;
            max-height: 620px;
            border-radius: 16px;
            background: #111
        }

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

            .t14-hero h1 {
                font-size: 32px
            }

            .t14-gallery {
                grid-template-columns:1fr
            }

            .t14-thumbs {
                order: 2;
                flex-direction: row;
                overflow: auto
            }

            .t14-thumbs button {
                min-width: 68px
            }

            .t14-main-image {
                height: 360px
            }

        }

        @media (max-width: 768px) {
            .t14-video-grid {
                grid-template-columns:1fr !important
            }
        }
        /* Đồng bộ cấu trúc hiển thị với trang T25C. */
        .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-gallery { display: flex; gap: 20px; min-width: 0; max-width: 100%; }
        .gallery-thumbs { display: flex; flex-direction: column; gap: 12px; width: 80px; max-height: 552px; overflow-y: auto; scrollbar-width: none; }
        .gallery-thumbs::-webkit-scrollbar { display: none; }
        .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: var(--white); }
        .gallery-thumb-item.active, .gallery-thumb-item:hover { border-color: var(--primary-color); }
        .gallery-thumb-item img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
        .gallery-main { flex-grow: 1; min-width: 0; border: 1px solid var(--border-color); border-radius: 16px; overflow: hidden; background: var(--white); padding: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
        .gallery-main img { max-height: 450px; width: 100%; object-fit: contain; }
        .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-price-box .old-price { display: block; margin-bottom: 4px; color: var(--text-muted); font-size: 14px; font-weight: 500; text-decoration: line-through; }
        .video-intro-btn { margin-top: 15px; display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 13px; font-weight: 600; }
        .product-option-selector { margin: 15px 0; }
        .color-picker { display: flex; gap: 12px; margin-top: 10px; }
        .color-btn { width: 32px; height: 32px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; background: #e7b8a8; }
        .color-btn.active { border-color: var(--primary-color); box-shadow: 0 0 0 2px var(--white), 0 0 0 3px var(--primary-color); }
        @media (max-width: 768px) { .product-hero { padding: 34px 0 30px; } .product-hero-title { font-size: 26px !important; line-height: 1.2; } .product-hero-badges { gap: 10px; margin-top: 22px; } .product-hero-badge-item { flex-direction: column; align-items: center; min-height: 126px; padding: 14px 10px 12px; border: 1px solid var(--border-color); border-radius: 14px; background: rgba(255,255,255,.72); 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: var(--primary-color); color: var(--white); font-size: 16px; } .product-gallery { flex-direction: column-reverse; width: 100%; overflow: hidden; } .gallery-thumbs { flex-direction: row; width: 100%; max-height: none; overflow-x: auto; overflow-y: hidden; padding-bottom: 4px; } .gallery-thumb-item { flex: 0 0 64px; width: 64px; height: 64px; } .gallery-main img { max-height: 340px; } }
        .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-grid>img{width:100%;max-height:400px;object-fit:contain;border-radius:20px;box-shadow:var(--shadow-lg)}.product-main-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:50px;min-width:0}.t14-gallery{display:flex;gap:20px;min-width:0;max-width:100%}.t14-thumbs{display:flex;flex-direction:column;gap:12px;width:80px;max-height:552px;overflow-y:auto;flex-shrink:0}.t14-thumbs button{border:1px solid var(--border-color);border-radius:8px;cursor:pointer;overflow:hidden;aspect-ratio:1;flex:0 0 80px;width:80px;padding:5px;background:var(--white)}.t14-thumbs button.active,.t14-thumbs button:hover{border-color:var(--primary-color)}.t14-thumbs img{width:100%;height:100%;object-fit:contain}.t14-main-image{flex:1;min-width:0;height:490px;max-width:100%;object-fit:contain;border:1px solid var(--border-color);border-radius:16px;background:var(--white);padding:20px}.product-details-box{display:flex;flex-direction:column;gap:20px}.product-badge-model{align-self:flex-start;background:var(--primary-color);color:var(--white);padding:4px 12px;border-radius:4px;font-weight:700;font-size:12px}.product-features-list{display:flex;flex-direction:column;gap:12px}.product-features-list li{display:flex;align-items:flex-start;gap:10px;font-size:14px}.product-features-list li i{color:var(--success);margin-top:4px}.buy-actions{display:grid;grid-template-columns:1.2fr .8fr;gap:15px;margin-bottom:25px}.trust-badges{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;background: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}@media(max-width:1024px){.product-hero-grid,.product-main-grid{grid-template-columns:1fr}.product-hero-grid{text-align:center}.product-hero-grid>img{max-height:360px;margin:auto}.t14-gallery{max-width:760px;width:100%;margin:auto}}@media(max-width:768px){.t14-gallery{flex-direction:column-reverse;width:100%;overflow:hidden}.t14-thumbs{flex-direction:row;width:100%;max-width:100%;max-height:none;overflow-x:auto;overflow-y:hidden;padding-bottom:4px}.t14-thumbs button{flex:0 0 64px;width:64px;height:64px}.t14-main-image{height:360px;width:100%}.buy-actions{grid-template-columns:1fr}.trust-badges{gap:8px;padding:12px 8px}}
