/* vtv-shop.css - lớp áo kiểu trang chủ cho các trang bán hàng (27/11/2026).
   Mã HTML và chức năng (trình chiếu, giỏ hàng, báo giá) giữ nguyên của web cũ; file này chỉ đổi
   màu, bo góc, cỡ chữ theo trang chủ. Khối bọc: .vs (đặt trên <section> danh sách sản phẩm). */
.vs { --vh-sky: #EBF4FF; --vh-sky2: #DCE9FF; --vh-navy: #0B1B4C; --vh-blue: #254EDB; --vh-or: #D24519; --vh-ink: #101A3C; --vh-text: #3B4663; --vh-muted: #5E6987; --vh-line: #D9E3F4; }

/* Nhóm sản phẩm: dãy nút bo tròn */
.vs .product-category { gap: 10px; margin: clamp(28px, 3.4vw, 48px) 0 clamp(8px, 1.6vw, 20px); }
.vs .product-category__link { display: inline-flex; align-items: center; min-height: 44px; margin: 0; padding: 0 18px; border: 0; border-radius: 999px; background: var(--vh-sky); font-size: 15.5px; font-weight: 600; color: var(--vh-ink); transition: background-color .15s, color .15s; }
.vs .product-category__link:hover, .vs .product-category__link.active { background: var(--vh-blue); color: #fff; }

/* Tiêu đề từng nhóm: chữ đậm và nút tròn cam của "sợi cáp" trang chủ */
.vs .product-group__cover { padding: clamp(30px, 3.6vw, 52px) 0 0; }
.vs .product-group__header { margin-bottom: 22px; }
.vs .general-name { display: flex; align-items: center; gap: 12px; font-size: clamp(23px, 2.3vw, 32px); line-height: 1.2; font-weight: 800; letter-spacing: -.03em; color: var(--vh-ink); }
.vs .product-group__header .general-name::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 5px solid var(--vh-or); background: #fff; box-sizing: border-box; }

/* Ô sản phẩm */
.vs .swiper-slide { height: auto; }
.vs .product-item { display: flex; flex-direction: column; height: 100%; min-width: 0; padding: 10px 10px 16px; border-radius: 22px; background: var(--vh-sky); transition: transform .2s, box-shadow .2s; }
.vs .product-item:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(16, 26, 60, .12); }
.vs .product-item__img { display: block; border-radius: 14px; background: #fff; }
.vs .product-item__img img { transition: transform .4s; }
.vs .product-item:hover .product-item__img img { transform: scale(1.04); }
.vs .product-item__info { margin-top: 12px; padding: 0 6px; }
.vs .product-item__title { font-size: 15px; font-weight: 600; line-height: 1.45; min-height: 44px; }
.vs .product-item__title a { color: var(--vh-ink); }
.vs .product-item__title a:hover { color: var(--vh-blue); }
.vs .price-old { color: var(--vh-muted); font-size: 13.5px; }
.vs .price-new { color: var(--vh-or); font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.vs .product-item__cover { border-top: 1px solid #C9D9F3; }
.vs .product-item__text, .vs .product-item__text p { font-size: 13.5px; line-height: 1.5; color: var(--vh-text); }

/* Nút */
.vs .general-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 28px; border: 2px solid var(--vh-or); border-radius: 14px; background: var(--vh-or); background-image: none; font-size: 16px; font-weight: 700; text-transform: none; color: #fff; transition: background-color .15s, border-color .15s; }
.vs .general-btn:hover { background: #B23A12; border-color: #B23A12; color: #fff; }
.vs .product-group__btn { margin-top: 26px; }
.vs .product-group__btn::after { content: "\2192"; margin-left: 8px; }
.vs .product-group__btn svg, .vs .product-group__btn img { display: none; }

@media (max-width: 53.75em) {
  .vs .product-item { padding: 8px 8px 12px; border-radius: 18px; }
  .vs .product-item__info { padding: 0 4px; }
  .vs .product-item__title { font-size: 14px; }
  .vs .price-new { font-size: 17px; }
  .vs .general-btn { min-height: 46px; font-size: 15px; }
}
@media (max-width: 575.98px) {
  .vs .product-category { flex-wrap: nowrap; overflow-x: auto; margin-right: -12px; padding-bottom: 6px; scrollbar-width: none; }
  .vs .product-category::-webkit-scrollbar { display: none; }
  .vs .product-category__link { flex: none; }
}

/* ===== Trang nhóm sản phẩm, hãng sản xuất, kết quả tìm kiếm ===== */
.vs.nav { padding-top: clamp(22px, 2.6vw, 36px); background: var(--vh-sky); }
.vs.nav .nav-list { padding-bottom: 0; font-size: 15px; }
.vs.nav a.nav-item__link { font-weight: 600; color: var(--vh-blue); }
.vs.nav span.nav-item__link { font-weight: 400; color: var(--vh-muted); }
.vs.category, .vs.search { overflow-x: clip; }
.vs .category-product, .vs .search-header { position: relative; z-index: 0; }
.vs .category-product::before, .vs .search-header::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); background: var(--vh-sky); }
.vs .category-product { padding: clamp(14px, 1.8vw, 24px) 0 clamp(34px, 4vw, 56px); }
.vs .category-product__title { margin-top: 0; padding: 0; font-size: clamp(32px, 4.2vw, 56px); line-height: 1.14; font-weight: 800; letter-spacing: -.035em; color: var(--vh-ink); text-align: left; text-wrap: balance; }
.vs .category-product__desc { max-width: 46em; margin-top: 16px; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--vh-text); }
.vs .category-product__img { margin-top: 28px; overflow: hidden; border-radius: 24px; }
.vs .category-product__img img { display: block; width: 100%; height: auto; }
.vs .category-detail, .vs .search-list { margin-top: clamp(28px, 3.4vw, 48px); gap: 18px; }
.vs .search-pagination { margin-top: clamp(32px, 4vw, 52px); }
.vs .category-search { margin-top: clamp(40px, 5vw, 72px); padding-top: clamp(28px, 3.4vw, 44px); border-top: 1px solid var(--vh-line); }
.vs .category-search__list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.vs .category-search__link { display: inline-flex; align-items: center; min-height: 44px; margin: 0; padding: 0 18px; border: 0; border-radius: 999px; background: var(--vh-sky); font-size: 15.5px; font-weight: 600; color: var(--vh-ink); transition: background-color .15s, color .15s; }
.vs .category-search__link:hover { background: var(--vh-blue); color: #fff; }
.vs.search { padding-top: 0; }
.vs .search-header { padding: clamp(30px, 4vw, 56px) 0; font-size: clamp(26px, 3.2vw, 42px); line-height: 1.2; font-weight: 800; letter-spacing: -.03em; color: var(--vh-ink); text-align: left; }
.vs .search-header__number, .vs .search-header__special { color: var(--vh-blue); }
@media (max-width: 53.75em) {
  .vs .category-product__img { border-radius: 16px; margin-top: 20px; }
  .vs .category-detail, .vs .search-list { gap: 12px; }
}
/* Chừa chỗ cho "sợi cáp cam" của khối tư vấn phía dưới thả xuống */
.vs.category, .vs.product, .vs.search { padding-bottom: clamp(48px, 6vw, 88px); }
.vs.category + .vs.product { margin-top: 0; }

/* ===== Trang chi tiết sản phẩm (.vs-pd) ===== */
.vs-pd .nav-wrapper .nav-list { font-size: 15px; }
.vs-pd .nav-wrapper a.nav-item__link { font-weight: 600; color: var(--vh-blue); }
.vs-pd .nav-wrapper span.nav-item__link { font-weight: 400; color: var(--vh-muted); }
.vs-pd .product-detail__main { overflow: hidden; border-radius: 24px; box-shadow: inset 0 0 0 1.5px var(--vh-line); background: #fff; }
.vs-pd .product-detail__thum .product-detail__item { overflow: hidden; border-radius: 12px; }
.vs-pd h1.product-detail__title { font-size: clamp(23px, 2.3vw, 32px); line-height: 1.25; font-weight: 800; letter-spacing: -.025em; color: var(--vh-ink); text-wrap: pretty; }
.vs-pd .product-detail__article .product-detail__title { font-size: 17px; font-weight: 800; letter-spacing: .01em; color: var(--vh-ink); }
.vs-pd .product-detail__text { color: var(--vh-text); }
.vs-pd .product-digital__link { font-weight: 600; color: var(--vh-blue); }
.vs-pd .product-digital__money { font-weight: 800; letter-spacing: -.02em; color: var(--vh-or); }
.vs-pd .product-activity__quantity { border-radius: 14px; border-color: #BFD2F2; }
.vs-pd .product-activity__add, .vs-pd .product-activity__buy { display: flex; align-items: center; justify-content: center; min-height: 54px; border-radius: 14px; font-size: 16px; font-weight: 700; transition: background-color .15s, border-color .15s; }
.vs-pd .product-activity__add { border: 2px solid var(--vh-or); background: #fff; color: var(--vh-or); }
.vs-pd .product-activity__add:hover { background: #FFF1EA; }
.vs-pd .product-activity__buy { border: 2px solid var(--vh-or); background: var(--vh-or); background-image: none; color: #fff; }
.vs-pd .product-activity__buy:hover { background: #B23A12; border-color: #B23A12; }
.vs-pd .product-activity__phone { border-radius: 14px; border-color: #BFD2F2; background: var(--vh-sky); color: var(--vh-ink); }
.vs-pd .product-activity__link { font-weight: 800; color: var(--vh-or); }
.vs-pd .product-service__item { border: 0; border-radius: 20px; background: var(--vh-sky); }
.vs-pd .product-service__desc { font-weight: 600; color: var(--vh-ink); }
.vs-pd .product-tab__link.active { color: var(--vh-blue) !important; }
.vs-pd .product-quicky { border-radius: 24px; background: var(--vh-sky); }
.vs-pd .product-quicky__title { font-weight: 700; color: var(--vh-ink); }
.vs-pd .product-quicky__buy { border-radius: 16px; background: var(--vh-or); background-image: none; transition: background-color .15s; }
.vs-pd .product-quicky__buy:hover { background: #B23A12; }
.vs-pd .product-detail__group { margin-top: clamp(36px, 4vw, 60px); }
.vs-pd .product-activity__add { padding: 0 10px; font-size: 15px; white-space: nowrap; }

/* ===== Giỏ hàng và thanh toán (.vs-cart) ===== */
.vs.cart { overflow-x: clip; padding-bottom: clamp(48px, 6vw, 88px); }
.vs-cart .cart-title { position: relative; z-index: 0; margin: 0; padding: clamp(12px, 1.6vw, 22px) 0 clamp(30px, 3.6vw, 48px); font-size: clamp(30px, 3.8vw, 50px); line-height: 1.15; font-weight: 800; letter-spacing: -.035em; color: var(--vh-ink); text-align: left; }
.vs-cart .cart-title::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); background: var(--vh-sky); }
.vs-cart .cart-cover { margin-top: clamp(26px, 3vw, 44px); }
.vs-cart .cart-header { border-radius: 14px; background: var(--vh-sky); font-weight: 700; color: var(--vh-ink); }
.vs-cart .cart-content__item { border-color: var(--vh-line); }
.vs-cart .cart-content__img { overflow: hidden; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--vh-line); }
.vs-cart .cart-content__title, .vs-cart .cart-bill__name { font-weight: 600; color: var(--vh-ink); }
.vs-cart .cart-content__price, .vs-cart .cart-bill__money, .vs-cart .cart-bill__price { font-weight: 800; color: var(--vh-or); }
.vs-cart .cart-content__remove { color: var(--vh-muted); }
.vs-cart .product-activity__quantity { border-radius: 14px; border-color: #BFD2F2; }
.vs-cart .cart-bill__info { border: 0; border-radius: 24px; background: var(--vh-sky); }
.vs-cart .cart-bill__title, .vs-cart .cart-form__title { font-weight: 800; letter-spacing: -.02em; color: var(--vh-ink); }
.vs-cart .cart-bill__btn { display: flex; align-items: center; justify-content: center; min-height: 56px; border: 0; border-radius: 14px; background: var(--vh-or); background-image: none; font-size: 17px; font-weight: 700; text-transform: none; color: #fff; transition: background-color .15s; }
.vs-cart .cart-bill__btn:hover { background: #B23A12; color: #fff; }
.vs-cart .form-control, .vs-cart .form-select { min-height: 52px; border: 1.5px solid #BFD2F2; border-radius: 14px; color: var(--vh-ink); }
.vs-cart textarea.form-control { min-height: 108px; }
.vs-cart .form-control:focus, .vs-cart .form-select:focus { border-color: var(--vh-blue); box-shadow: 0 0 0 3px rgba(37, 78, 219, .18); }
.vs-cart .form-check-input:checked { border-color: var(--vh-blue); background-color: var(--vh-blue); }
.vs-feat .general-name { display: flex; align-items: center; gap: 12px; }
.vs-feat .general-name::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 5px solid var(--vh-or); background: #fff; box-sizing: border-box; }
