/* ============================================================
   DESIGN TOKENS — Nội Thất Minh Thi
   Cập nhật: 23/05/2026 | Nguồn: UI_SPEC_FINAL.md § 1
   ============================================================ */
:root {

  /* --- Màu sắc --- */
  --color-red:            #C62828;  /* Đỏ chủ đạo — nút CTA, border active */
  --color-red-dark:       #B71C1C;  /* Hover/active trên nền đỏ */
  --color-red-price:      #E53935;  /* Giá sản phẩm, badge HOT/MỚI */
  --color-red-light:      #FFEBEE;  /* Background highlight nhẹ */
  --color-black:          #1A1A1A;  /* Nền navigation, tiêu đề chính */
  --color-text-primary:   #212121;  /* Văn bản chính */
  --color-text-secondary: #616161;  /* Mô tả phụ, meta, placeholder */
  --color-text-muted:     #9E9E9E;  /* Nhãn phụ, ghi chú nhỏ */
  --color-bg-page:        #F7F7F7;  /* Nền tổng trang */
  --color-bg-white:       #FFFFFF;  /* Nền card, panel, sidebar */
  --color-bg-section:     #F2F2F2;  /* Section xen kẽ */
  --color-border:         #E0E0E0;  /* Border card, input, divider */
  --color-border-focus:   #C62828;  /* Border khi focus input */

  /* --- Spacing --- */
  --space-4:   4px;
  --space-8:   8px;
  --space-12:  12px;
  --space-16:  16px;
  --space-20:  20px;
  --space-24:  24px;
  --space-32:  32px;
  --space-40:  40px;
  --space-48:  48px;
  --space-64:  64px;

  /* --- Font size --- */
  --fs-xs:   11px;
  --fs-sm:   13px;
  --fs-base: 14px;
  --fs-md:   15px;
  --fs-lg:   16px;
  --fs-xl:   18px;
  --fs-2xl:  22px;

  /* --- Font weight --- */
  --fw-normal:   400;
  --fw-semibold: 600;
  --fw-bold:     700;

  /* --- Line height --- */
  --lh-tight: 1.3;
  --lh-base:  1.6;

  /* --- Border radius --- */
  --radius-sm: 4px;   /* Button, badge, input */
  --radius-md: 6px;   /* Card sản phẩm, panel */
  --radius-lg: 10px;  /* Modal, section nổi bật */

  /* --- Shadow --- */
  --shadow-card:       0 2px 8px rgba(0,0,0,0.08);
  --shadow-card-hover: 0 4px 16px rgba(0,0,0,0.14);
  --shadow-dropdown:   0 8px 24px rgba(0,0,0,0.12);

  /* --- Transition --- */
  --transition: 0.2s ease;

  /* --- Layout --- */
  --container-max: 1240px;
  --sidebar-width: 220px;
  --grid-gap:      16px;
  --grid-gap-sm:   10px;
}

/* ============================================================ */

/* ============================================================
   T02 — CSS Reset + Base | 23/05/2026
   ============================================================ */

/* Box-sizing — dùng inherit pattern để an toàn với layout cũ */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
}

/* Ảnh responsive — không dùng display:block tránh vỡ ảnh inline */
img {
  max-width: 100%;
  height: auto;
}

/* ============================================================ */

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}

table{border-collapse:collapse;border-spacing:0;}

fieldset,img{border:0;}

address,caption,cite,code,dfn,em,var{font-style:normal;font-weight:normal;}

li{list-style:none;}

caption,th{text-align:left;}

h1,h2,h3,h4,h5,h6{font-size:100%;}

q:before,q:after{content:'';}

abbr,acronym{border:0;font-variant:normal;}

sup{vertical-align:text-top;}

sub{vertical-align:text-bottom;}

input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}

input,textarea,select{*font-size:100%;}

legend{color:#000;}
select{width:auto !important}
.cf{zoom:1;}

.cf:after{content:'';display:block;clear:both;height:0;overflow:hidden;visibility:hidden;}

body{font:normal 13px/1.3 Arial,Tahoma,Helvetica,sans-serif;color:#333333}


/* ============================================================
   T03 — Layout Container + Grid | 23/05/2026
   ============================================================ */

.container-new {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-16);
}

/* Product grid — mobile first: 2 → 3 → 4 cột */
.product-grid-new {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--grid-gap-sm);
}

@media (min-width: 768px) {
  .product-grid-new {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--grid-gap);
  }
}

@media (min-width: 1024px) {
  .product-grid-new {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--grid-gap);
  }
}

/* Utility spacing */
.mt-16 { margin-top:     var(--space-16); }
.mb-16 { margin-bottom:  var(--space-16); }
.pt-24 { padding-top:    var(--space-24); }
.pb-24 { padding-bottom: var(--space-24); }

/* ============================================================ */

/* ============================================================
   T04 — Button Atoms | 23/05/2026
   ============================================================ */

/* Base — layout + behavior chung cho tất cả biến thể */
.btn-new {
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  height:          44px;
  padding:         0 var(--space-20);
  border:          2px solid transparent;
  border-radius:   var(--radius-sm);
  font-size:       var(--fs-base);
  font-weight:     var(--fw-semibold);
  line-height:     1;
  white-space:     nowrap;
  cursor:          pointer;
  text-decoration: none;
  transition:      background-color var(--transition),
                   color            var(--transition),
                   border-color     var(--transition);
}
.btn-new:hover { text-decoration: none; }

/* Đỏ — CTA chính: Đặt mua, Mua ngay */
.btn-red {
  background-color: var(--color-red);
  color:            var(--color-bg-white);
  border-color:     var(--color-red);
}
.btn-red:hover,
.btn-red:focus {
  background-color: var(--color-red-dark);
  border-color:     var(--color-red-dark);
  color:            var(--color-bg-white);
}

/* Đen — header action, CTA phụ tối */
.btn-dark {
  background-color: var(--color-black);
  color:            var(--color-bg-white);
  border-color:     var(--color-black);
}
.btn-dark:hover,
.btn-dark:focus {
  background-color: #333333;
  border-color:     #333333;
  color:            var(--color-bg-white);
}

/* Outline đỏ — Trả góp, thêm giỏ hàng phụ */
.btn-outline-red {
  background-color: transparent;
  color:            var(--color-red);
  border-color:     var(--color-red);
}
.btn-outline-red:hover,
.btn-outline-red:focus {
  background-color: var(--color-red-light);
  color:            var(--color-red-dark);
  border-color:     var(--color-red-dark);
}

/* Ghost — link dạng nút, "Xem thêm", breadcrumb action */
.btn-ghost {
  background-color: transparent;
  color:            var(--color-red);
  border-color:     transparent;
  padding:          0 var(--space-8);
}
.btn-ghost:hover,
.btn-ghost:focus {
  color:            var(--color-red-dark);
  text-decoration:  underline;
}

/* Disabled — dùng chung tất cả biến thể */
.btn-new:disabled,
.btn-new.disabled {
  opacity:        0.45;
  cursor:         not-allowed;
  pointer-events: none;
}

/* ============================================================ */

/* ============================================================
   T05 — Product Card Component | 23/05/2026
   ============================================================ */

/* Card wrapper */
.card-product-new {
  background-color: var(--color-bg-white);
  border-radius:    var(--radius-md);
  box-shadow:       var(--shadow-card);
  overflow:         hidden;
  transition:       box-shadow var(--transition), transform var(--transition);
}
.card-product-new:hover {
  box-shadow: var(--shadow-card-hover);
  transform:  translateY(-2px);
}

/* Ảnh — tỉ lệ 1:1, object-fit cover, zoom nhẹ khi hover */
.card-img {
  position:   relative;
  overflow:   hidden;
  aspect-ratio: 1 / 1;
}
.card-img img {
  width:      100%;
  height:     100%;
  object-fit: cover;
  display:    block;
  transition: transform 0.35s ease;
}
.card-product-new:hover .card-img img {
  transform: scale(1.05);
}

/* Nội dung dưới ảnh */
.card-body {
  padding: var(--space-12) var(--space-12) var(--space-16);
}

/* Tên sản phẩm — 2 dòng, cắt ellipsis */
.card-title {
  font-size:      var(--fs-base);
  font-weight:    var(--fw-semibold);
  color:          var(--color-text-primary);
  line-height:    var(--lh-tight);
  display:        -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow:       hidden;
  margin-bottom:  var(--space-8);
}
.card-title a {
  color: inherit;
  text-decoration: none;
}
.card-title a:hover {
  color: var(--color-red);
  text-decoration: none;
}

/* Giá — new + old side by side */
.card-price {
  display:     flex;
  align-items: baseline;
  gap:         var(--space-8);
  flex-wrap:   wrap;
}

/* Giá bán — đỏ, bold */
.price-new {
  font-size:   var(--fs-md);
  font-weight: var(--fw-bold);
  color:       var(--color-red-price);
  white-space: nowrap;
}

/* Giá gốc — xám, gạch ngang */
.price-old {
  font-size:       var(--fs-sm);
  font-weight:     var(--fw-normal);
  color:           var(--color-text-muted);
  text-decoration: line-through;
  white-space:     nowrap;
}

/* ============================================================ */

/* ============================================================
   T06 — Badge, Tag, Section Title | 23/05/2026
   ============================================================ */

/* --- Badge base --- */
.badge-hot,
.badge-new,
.badge-sale {
  display:         inline-block;
  padding:         2px 7px;
  border-radius:   var(--radius-sm);
  font-size:       var(--fs-xs);
  font-weight:     var(--fw-bold);
  line-height:     1.6;
  letter-spacing:  0.03em;
  white-space:     nowrap;
  vertical-align:  middle;
}

/* HOT — đỏ đặc */
.badge-hot {
  background-color: var(--color-red);
  color:            var(--color-bg-white);
}

/* NEW — xanh lá nhẹ (phân biệt với HOT/SALE) */
.badge-new {
  background-color: #2E7D32;
  color:            var(--color-bg-white);
}

/* SALE — đỏ nhạt, chữ đỏ đậm */
.badge-sale {
  background-color: var(--color-red-light);
  color:            var(--color-red-dark);
  border:           1px solid var(--color-red);
}

/* --- Tag danh mục --- */
.tag-cate {
  display:          inline-block;
  padding:          3px 10px;
  border-radius:    var(--radius-sm);
  border:           1px solid var(--color-border);
  background-color: var(--color-bg-white);
  font-size:        var(--fs-sm);
  color:            var(--color-text-secondary);
  transition:       border-color var(--transition), color var(--transition),
                    background-color var(--transition);
  text-decoration:  none;
  cursor:           pointer;
}
.tag-cate:hover,
.tag-cate.active {
  border-color:     var(--color-red);
  color:            var(--color-red);
  background-color: var(--color-red-light);
  text-decoration:  none;
}

/* --- Section title --- */
.section-title-new {
  display:     flex;
  align-items: center;
  gap:         var(--space-12);
  font-size:   var(--fs-xl);
  font-weight: var(--fw-bold);
  color:       var(--color-black);
  margin-bottom: var(--space-20);
  padding-left:  var(--space-12);
  border-left:   4px solid var(--color-red);
  line-height:   var(--lh-tight);
}

/* Link "Xem tất cả" bên phải section title */
.section-title-new .see-all {
  margin-left:  auto;
  font-size:    var(--fs-sm);
  font-weight:  var(--fw-normal);
  color:        var(--color-red);
  white-space:  nowrap;
  text-decoration: none;
}
.section-title-new .see-all:hover {
  text-decoration: underline;
}

/* ============================================================ */

/* ============================================================
   T07 — Breadcrumb + Pagination | 23/05/2026
   ============================================================ */

/* --- Breadcrumb --- */
.breadcrumb-new {
  display:     flex;
  align-items: center;
  flex-wrap:   wrap;
  gap:         2px;
  padding:     var(--space-8) 0;
  font-size:   var(--fs-sm);
  line-height: 1.4;
}

.breadcrumb-new a {
  color:           var(--color-text-secondary);
  text-decoration: none;
  transition:      color var(--transition);
}
.breadcrumb-new a:hover {
  color:           var(--color-red);
  text-decoration: none;
}

/* Cấp cuối — không phải link, màu đậm hơn */
.breadcrumb-new span:last-child {
  color:       var(--color-text-primary);
  font-weight: var(--fw-semibold);
}

/* Dấu phân cách › */
.breadcrumb-separator {
  color:   var(--color-text-muted);
  padding: 0 var(--space-4);
  font-size: var(--fs-xs);
  user-select: none;
}

/* --- Pagination --- */
.pagination-new {
  display:         flex;
  align-items:     center;
  justify-content: center;
  flex-wrap:       wrap;
  gap:             var(--space-4);
  padding:         var(--space-24) 0;
}

/* Item chung: số trang, prev, next */
.pagination-new a,
.pagination-new .current,
.pagination-new .prev,
.pagination-new .next {
  display:          inline-flex;
  align-items:      center;
  justify-content:  center;
  min-width:        36px;
  height:           36px;
  padding:          0 var(--space-8);
  border-radius:    var(--radius-sm);
  border:           1px solid var(--color-border);
  background-color: var(--color-bg-white);
  font-size:        var(--fs-sm);
  color:            var(--color-text-secondary);
  text-decoration:  none;
  transition:       background-color var(--transition),
                    border-color     var(--transition),
                    color            var(--transition);
}

/* Hover số trang */
.pagination-new a:hover {
  border-color:     var(--color-red);
  color:            var(--color-red);
  background-color: var(--color-red-light);
  text-decoration:  none;
}

/* Trang hiện tại — nền đỏ đặc */
.pagination-new .current {
  background-color: var(--color-red);
  border-color:     var(--color-red);
  color:            var(--color-bg-white);
  font-weight:      var(--fw-semibold);
  cursor:           default;
  pointer-events:   none;
}

/* Prev / Next — rộng hơn chút */
.pagination-new .prev,
.pagination-new .next {
  padding: 0 var(--space-12);
  font-weight: var(--fw-semibold);
}

/* ============================================================ */

/* ============================================================
   T09 — Header CSS | 23/05/2026
   ============================================================ */

.site-header {
  width: 100%;
  background: #fff;
  z-index: 1000;
}

/* TOPBAR */
.site-topbar {
  background: #1A1A1A;
  color: #fff;
  font-size: 12px;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 34px;
}
.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.topbar-hotline {
  color: #E0E0E0;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.topbar-hotline:hover { color: #fff; text-decoration: none; }
.topbar-link {
  color: #bbb;
  font-size: 12px;
  text-decoration: none;
  padding: 0 8px;
  white-space: nowrap;
  line-height: 34px;
}
.topbar-link:hover { color: #fff; text-decoration: none; }
.topbar-cart {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px;
}
.topbar-cart .item-cart.cart-quantity {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: #C62828;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 9px;
}

/* HEADER MAIN */
.site-header-main {
  background: #fff;
  padding: 18px 0;
}
.header-main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.site-logo { flex-shrink: 0; }
.site-logo .logo-heading { margin: 0; padding: 0; line-height: 1; }
.site-logo a { display: flex; align-items: center; text-decoration: none; }
.site-logo a:hover { text-decoration: none; }
.site-logo img { max-height: 64px; width: auto; display: block; }
.site-logo span { display: none; }

/* Search */
.site-search { flex: 1; max-width: 480px; }
.site-search form { display: flex; width: 100%; }
.site-search .form-search {
  display: flex;
  width: 100%;
  height: 42px;
  border: 2px solid #E0E0E0;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}
.site-search .form-search:focus-within { border-color: #C62828; }
.site-search .cat-wrapper {
  flex-shrink: 0;
  background: #F5F5F5;
  border-right: 1px solid #E0E0E0;
  display: flex;
  align-items: center;
}
.site-search .cat-wrapper select,
.site-search #cat {
  height: 42px;
  padding: 0 8px;
  border: none;
  background: transparent;
  font-size: 13px;
  color: #616161;
  outline: none;
}
.site-search .input-search { flex: 1; display: flex; align-items: center; }
.site-search .input-search input,
.site-search input#search {
  flex: 1;
  height: 42px;
  padding: 0 12px;
  border: none !important;
  font-size: 14px;
  color: #212121;
  background: transparent;
  outline: none;
  box-shadow: none;
}
.site-search .button-search-pro {
  flex-shrink: 0;
  width: 48px;
  height: 42px;
  background: #C62828 !important;
  border: none;
  color: #fff;
  font-size: 17px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-search .button-search-pro:hover { background: #B71C1C !important; }

/* Hotline */
.site-hotline { flex-shrink: 0; text-align: right; }
.hotline-link {
  display: block;
  color: #C62828;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.hotline-link:hover { color: #B71C1C; text-decoration: none; }

/* NAV */
.site-nav { background: #C62828; }
.site-nav .container-new { padding-top: 0; padding-bottom: 0; }
.site-nav-list {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav-list li { margin: 0; }
.site-nav-list a {
  display: block;
  padding: 14px 16px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav-list a:hover { background: #B71C1C; text-decoration: none; }

/* ============================================================ */

/* ============================================================
   T10 — Header Sticky | 23/05/2026
   ============================================================ */

.site-header.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
  animation: hdr-slide-down 0.22s ease;
}
@keyframes hdr-slide-down {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
.site-header.is-sticky .site-topbar { display: none; }
.site-header.is-sticky .site-header-main { padding: 8px 0; }
.site-header.is-sticky .site-logo img { max-height: 40px; }

@media (max-width: 991px) {
  .site-header.is-sticky { position: relative; box-shadow: none; animation: none; }
}

/* ============================================================ */

a{color:#333333;text-decoration:none;}

a:hover{text-decoration:underline;}

span.money{font-family:Helvetica,arial,sans-serif;}

span.required{color:red;}

.f-input, input.date, input.number, .f-input-small{font-size:14px;padding:3px 4px;border-color:#89B4D6;border-style:solid;border-width:1px;}

.h-input, input.date, input.number{font-size:12px;padding:2px 3px;border-color:#89B4D6;border-style:solid;border-width:1px;width:120px;}

.f-text{font-size:14px;padding:3px 4px;border-color:#89B4D6;border-style:solid;border-width:1px;}

.f-textarea{font-size:14px;padding:3px 4px;border-color:#7c7c7c #c3c3c3 #ddd;border-style:solid;border-width:1px;}

.f-select{font-size:14px;padding:3px 0 3px 4px;border-color:#89B4D6;border-style:solid;border-width:1px;}

/*input.formbutton{margin-left:10px;padding:4px 1em;*padding:5px 1.5em 0;border:2px solid;border-color:#82D0D4 #4D989B #54A3A7 #92D6D9;background:#63C5C8;color:#fff;letter-spacing:.1em;cursor:pointer;*width:auto;_width:0;*overflow:visible;}*/

input.formbutton{

	text-decoration: none;

	line-height: 1em;

	cursor: pointer;

	color: white;

	font-weight: bold;

	font-size: 13px; font-family:Arial, Helvetica, sans-serif;

	padding: 3px 15px;

	-moz-border-radius: 7px;

	-webkit-border-radius: 7px;

	border-radius: 7px;

	background-clip: padding-box;

	-moz-text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.5);

	-webkit-text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.5);

	text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.5);

	border: 1px solid #369ec1;

	-moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) ;

	-webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) ;

	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) ;

	-moz-background-clip: padding-box !important;

	-webkit-background-clip: padding-box !important;

	background-clip: padding-box !important; 

	background: #ed5824;

	background: -moz-linear-gradient(top, #f49676, #ed5824);

	background: -webkit-gradient(linear, left top, left bottom, from(#f49676), to(#ed5824));

	border-color: #ed5824;

	behavior: url(ie-css3.htc);

}

input.formbutton:hover {

	text-decoration: none;

	line-height: 1em;

	cursor: pointer;

	color: white;

	font-weight: bold;

	font-size: 13px; font-family:Arial, Helvetica, sans-serif;

	padding: 3px 15px;

	-moz-border-radius: 7px;

	-webkit-border-radius: 7px;

	border-radius: 7px;

	background-clip: padding-box;

	-moz-text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.5);

	-webkit-text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.5);

	text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.5);

	-moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) ;

	-webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) ;

	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) ;

	-moz-background-clip: padding-box !important;

	-webkit-background-clip: padding-box !important;

	background-clip: padding-box !important; 

	text-decoration: none;

	background: -moz-linear-gradient(top, #f8bfaa, #f49b7c 10%, #ed5824);

	background: -webkit-gradient(linear, left top, left bottom, from(#f8bfaa), color-stop(10%, #f49b7c), to(#ed5824));

	behavior: url(ie-css3.htc);

}

input.disabled{border:1px solid #ccc;background:#eee;color:#999;cursor:default;}

button.formbutton{height:21px;padding:0 1.5em;border:1px solid;border-color:#82D0D4 #92D6D9 #54A3A7 #4D989B;background:#63C5C8;color:#fff;letter-spacing:.3em;cursor:pointer;line-height:21px;}

dd.formbutton:focus{border-color:#000;}



/* New style - ThietKeTrangChu.com */

#logo{padding-top:15px; /*padding-top:15px;*/ float:left;}

#logo a{}

#logo-noel{padding-top:5px;padding-left:10px; /*padding-top:15px;*/ float:left;}

.line_head{  background: url("i/line_head.png") no-repeat scroll transparent; float: left;

    font-size: 0;

    height: 109px;

    width: 4px;}

#selectCity {

    float: left;

    overflow: hidden;

    padding: 36px 0 0 22px;

    position: relative;

	margin-right:160px;

	z-index:100;

   /* width: 200px;*/

}

div.Theme_Human_Wrapper {

    background: url("i/bg-select-home.png") no-repeat scroll left top transparent;

    height: 30px;

    width: 138px;

	padding: 7px 0 0 7px;

	cursor:pointer;

}



div.DropListUI {

    position: relative;

}

div.Theme_Human_Wrapper p {

    color: #000;

    cursor: pointer;

    font-family: Arial,Helvetica,sans-serif;

    font-size: 12px;

    height: 31px;

    overflow: hidden !important;

    padding: 8px 0 0 6px;

    width: 149px;

}

.choose_city{ color:#fff;}



.sysmsg-tip-deal-close-moz1{

	margin-left:8px;

	text-decoration: none;

	line-height: 170%;

	color: black;

	font-weight: normal;

	font-size: 14px; font-family:Arial, Helvetica, sans-serif;

	padding:5px 15px;

	-moz-border-radius: 7px;

	-webkit-border-radius: 7px;

	border-radius: 7px;

	background-clip: padding-box;

	-moz-text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.5);

	-webkit-text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.5);

	border: 1px solid #369ec1;

	-moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) ;

	-webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) ;

	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) ;

	-moz-background-clip: padding-box !important;

	-webkit-background-clip: padding-box !important;

	background-clip: padding-box !important; 

	/*background: #ffffff;

	background: -moz-linear-gradient(top, #ffffff, #ffffff);

	background: -webkit-gradient(linear, left top, left bottom, from(#fffedf), to(#fbfbc5));*/

	background-color:#fff;

	border-color: #fbfbc5;

	min-height:65px;

	padding-left:20px;

	margin-bottom:-20px;

	margin-top:-10px;

	behavior: url(/hotdeal/static/css/PIE.htc);

}

.cat_choose_df{ margin-bottom:8px; margin-top:10px; font-size:12px;} 

.cat_choose{ color:#333;font-size:13px;}

.cat_choose a{ color:#333;}

.cat_choose span{ color:#c40000; margin:5px 5px 5px 0; font-size:13px;}

.email_newsletter{ float:left; position:absolute; right:0; top:30px; color:#fff;}

.email_newsletter input.ftext1{   height: 25px!important; margin-top: 7px; width: 266px;

 

}

.login_register{ position:absolute; right:5px; top:122px; font-weight:bold;}

.login_register a {

    color: #626262;

    font-size: 16px;

    font-weight: bold;

   	margin-top:2px;

  

   /* padding: 0 15px;*/

}

.login_register a:hover {

   color: #FA6D18;

    text-decoration: none;

}



.login_register1{ position:absolute; right:0px; top:110px; font-weight:bold;}

.login_register1 a {

    color: #FFFFFF;

    font-size: 12px;

    font-weight: bold;

   	margin-top:2px;

  

   /* padding: 0 15px;*/

}

.login_register1 a:hover {

   color: #FA6D18;

    text-decoration: none;

}



.deal_feature{ 

	background:#FFF;

	border: 1px solid #FBFBC5;

    border-radius: 7px 7px 7px 7px;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);

    padding: 5px 15px;

    color: black;

    float: left;

    font-family: Arial,Helvetica,sans-serif;

    font-size: 14px;

    font-weight: normal;

    line-height: 1em;

    text-decoration: none;

    width: 947px;

	behavior: url(static/css/PIE.htc);

	height:280px;

}

.img_feature{ float:left; margin: 10px 0 8px 8px;

-moz-border-radius: 2px;

border-radius: 2px;

-moz-box-shadow: 2px 2px 2px #B1B1B1;

-webkit-box-shadow: 2px 2px 2px #B1B1B1;

box-shadow: 2px 2px 2px #B1B1B1;

 width:359px; height:254px; }

#right_feature{float:left; width:560px;padding-top:5px}

#right_feature .title_feature{   margin-left:29px; color:#036b94; font-weight:bold; font-size:26px; margin-top:5px; line-height:120%; }

#right_feature .title_feature a:hover{ text-decoration:underline;}

#right_feature .title_feature a{ color:#036b94;}

#right_feature .desc_feature {  margin-left:29px;  font-weight:normal; font-size:19px; line-height:140%;}

.price_feature{float:left; margin-left:29px;  margin-top:0px; font-size:28px; font-weight:bold}

.price_feature span.hot_price{ color:#c22227;}

.price_feature .small-box-save {

    border-right: 1px dotted #BABABA;

    float: left;

    text-align: center;

    width: 68px;

	font-size:13px;

	margin-top:20px;

	line-height:20px;

	padding-right:5px;

	font-weight:normal;

}

.price_feature .small-box-save span.number{ font-weight:bold; font-size:20px;}

.price_feature .small-box-buyer {

    border-right: 1px dotted #BABABA;

    float: left;

    text-align: center;

    width: 108px;

	font-size:13px;

	margin-top:20px;

	line-height:20px;

	padding-right:5px;

	font-weight:normal;

	padding-left:5px;

}

.price_feature .small-box-buyer span.number{ color:#c22227;font-weight:bold; font-size:20px}

.price_feature .small-box-timer {

    border-right: 1px dotted #BABABA;

    float: left;

    text-align: center;

    width: 108px;

	font-size:13px;

	margin-top:20px;

	line-height:20px;

	padding-right:5px;

	font-weight:normal;

	padding-left:5px;

}

.price_feature .small-box-timer span.number{ color:#000;font-weight:bold; font-size:20px}



div.myButton{float:left; margin-left:45px; margin-top:25px;}

div.myButton input {

background:url(i/xem-top.gif) no-repeat;

cursor:pointer;

width: 176px;

height: 78px;

border: none;

}

div.myButton input:hover {



}

.deal_list_view div.view_list_bt input{

background:url(i/xem.gif) no-repeat;

cursor:pointer;

width: 109px;

height: 64px;

border: none;

}



.deal_list_view div.view_list_bt input:hover{



}



.deal_list_view div.view_list_bt_h input{

background:url(i/xem_h.gif) no-repeat;

cursor:pointer;

width: 170px;

height: 60px;

border: none;

}



.deal_list_view div.view_list_bt_h input:hover{

background:url(i/xem_h_over.gif) no-repeat;

cursor:pointer;

width: 170px;

height: 60px;

border: none;

}

#listdeal{ float:left; margin-bottom:-55px;}

#listdeal_h{ float:left; margin-left:8px;margin-top:5px;}

.deal_list{ width:283px; margin: 17px auto 0px;

	margin-right:17px;

	text-decoration: none;

	line-height: 1em;

	color: black;

	font-weight: normal;

	font-size: 14px; font-family:Arial, Helvetica, sans-serif;

	padding:10px 15px;

	-moz-border-radius: 7px;

	-webkit-border-radius: 7px;

	border-radius: 7px;

	background-clip: padding-box;

	-moz-text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.5);

	-webkit-text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.5);

	border: 1px solid #369ec1;

	-moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) ;

	-webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) ;

	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) ;

	-moz-background-clip: padding-box !important;

	-webkit-background-clip: padding-box !important;

	background-clip: padding-box !important; 

	background: #ffffff;

	background: -moz-linear-gradient(top, #ffffff, #ffffff);

	background: -webkit-gradient(linear, left top, left bottom, from(#fffedf), to(#fbfbc5));

	border-color: #FBFBC5;

	float:left;

	background:#fff;



}

.deal_list_h{ width:434px;;

	text-decoration: none;

	line-height: 1em;

	color: black;

	font-weight: normal;

	font-size: 14px; font-family:Arial, Helvetica, sans-serif;

	padding:10px 15px;

	-moz-border-radius: 7px;

	-webkit-border-radius: 7px;

	border-radius: 7px;

	background-clip: padding-box;

	-moz-text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.5);

	-webkit-text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.5);

	border: 1px solid #369ec1;

	-moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) ;

	-webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) ;

	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) ;

	-moz-background-clip: padding-box !important;

	-webkit-background-clip: padding-box !important;

	background-clip: padding-box !important; 

	background: #ffffff;

	background: -moz-linear-gradient(top, #ffffff, #ffffff);

	background: -webkit-gradient(linear, left top, left bottom, from(#fffedf), to(#fbfbc5));

	border-color: #76A045;

	float:left;

	background:#fff;



}

.deal_list_end{ margin-right:0;}

.deal_list_title{ font-size:18px; font-weight:bold; color:#036b94; line-height:120%; overflow:hidden;height:20px;}

.deal_list_title a{

	color:#339999;

}

.deal_list_img{ margin-top:5px; -moz-border-radius: 2px;

border-radius: 2px;

-moz-box-shadow: 2px 2px 2px #B1B1B1;

-webkit-box-shadow: 2px 2px 2px #B1B1B1;

box-shadow: 2px 2px 2px #B1B1B1; width:280px; min-height:190px;height:190px;}

.deal_list_img_h{ margin-top:5px; -moz-border-radius: 5px;

border-radius: 5px;

-moz-box-shadow: 5px 5px 5px black;

-webkit-box-shadow: 5px 5px 5px black;

box-shadow: 5px 5px 5px black; width:430px; min-height:295px;height:295px;}

.deal_list_desc{ margin-top:10px; line-height:140%; min-height:60px;overflow:hidden; height:60px}

.deal_list_view{ margin-top:10px; float:right;}

.deal_list_view_price-l{

	float:left;

	width:150px;

	}

.deal_list_view_price-l_h{

	float:left;

	width:250px;

	}	

.deal_list_view_price{ float:left;margin-top:22px; width:160px; line-height:180%;}

.deal_list_view_price span{ font-size:12px;}

.deal_list_view_price .number{color:#c22227; font-size:23px; font-weight:bold;text-shadow:#CCCCCC 1px 1px 1px}

.deal_list_view_price_h{ float:left;margin-top:10px; width:250px; line-height:250%;}

.deal_list_view_price_h .number_h{color:#c22227; font-size:36px; font-weight:bold;text-shadow:#CCCCCC 1px 1px 1px}

.submit_newsletter{background: url("i/bt_email_regis.gif") no-repeat scroll left top #FFFEDF;

    border: medium none;

    color: #626262;

    font-size: 12px;

    height: 30px;

	padding:0 0 2px;

    width: 80px;

	font-weight:bold;

	!margin-top:10px;

}

.list_view_price {

background: url("i/bg_list.png") repeat-x scroll 0 0 transparent;

    float: left;

    font-size: 28px;

    font-weight: bold;

    margin-bottom: -10px;

    margin-left: -15px;

    margin-top: 10px;

    padding-left: 17px;

    width: 296px;

	border-radius:0 0 5px 5px;

}

.bg_home{

	width: 447px;

	}

.list_view_price span.hot_price{ color:#c22227;}

.list_view_price .small-box-save {

    border-right: 1px dotted #BABABA;

    float: left;

    text-align: center;

    width: 68px;

	font-size:10px;

	padding: 5px 0;

	line-height:20px;

	padding-right:5px;

	font-weight:normal;

}

.list_view_price .small-box-save span.number{ font-weight:bold; font-size:18px;color:#000000}

.list_view_price .small-box-buyer {

    border-right: 1px dotted #BABABA;

    float: left;

    text-align: center;

    width: 90px;

	font-size:10px;

	padding: 5px 0;

	line-height:20px;

	padding-right:5px;

	font-weight:normal;

	padding-left:5px;

}

.list_view_price .share-button {

    border-left: 1px dotted #BABABA;

    float: left;

    text-align: center;

    width: 160px;

	font-size:10px;

	padding: 5px 0;

	line-height:20px;

	padding-right:5px;

	font-weight:normal;

	padding-left:5px;

}

.list_view_price .small-box-buyer span.number{ color:#c22227;font-weight:bold; font-size:18px}

.list_view_price .small-box-timer {

   

    float: left;

    text-align: center;

    width: 105px;

	font-size:10px;

	padding: 5px 0;

	line-height:20px;

	padding-right:5px;

	font-weight:normal;

	padding-left:5px;

}

.list_view_price .small-box-timer span.number{ color:#000;font-weight:bold; font-size:18px}

.yahoo-google{ margin-left:10px; margin-bottom:20px;}

.bg-share {

    background: url("i/bg-share.png")  no-repeat scroll 0 0 transparent;

    height: 89px;

    padding-top: 10px;

    width: 179px;

	padding-left:12px;

 	border-radius: 7px 7px 7px 7px;

    box-shadow: 3px 5px 5px rgba(0, 0, 0, 0.5);

	

}

.bg-share span{ padding:10px; line-height:180%;}

.bg-share span.hotline{ padding:10px; line-height:180%; font-weight:bold; font-size:14px;}



#pagination { margin:10px 0 10px 0; padding-top:20px;}

#pagination a {padding:5px 10px; background:#FFFFFF; border:2px #DDDDDD solid; font-weight:bold; color:#000; text-decoration:none; margin-right:5px;}

#pagination a:hover {background:#f2e4c5; border:2px #f2e4c5 solid; color:#000; text-decoration:none;}

#pagination .selected {background:#c52225; border:2px #af2023 solid; color:#000;}

#pagination  ul.paginator li.current{padding:5px 10px; background:#f2e4c5; border:2px #f2e4c5 solid; color:#000; text-decoration:none;}

/* new end style - Kent */

#nav{position:relative;}

#nav ul{font-size:16px;font-weight:bold;}

#myaccount-menu{display:none;position:absolute;right:5px;top:39px;padding:5px 0 5px;border:1px solid #018989;border-top:none;font-weight:normal;font-size:14px;background-color:#F9EDD7; width:170px;}

#myaccount-menu li{width:150px;padding-bottom:5px;}

#myaccount-menu li a{display:block;padding-left:20px;color:#626262;}

#myaccount-menu li a:hover{color:#0981be;text-decoration:none;color:#FF3300;}

#ft{width:1200px;margin:0 auto;background:#A2D071;}

#ft .contact{height:6px;line-height:6px;font-weight:bold;text-align:right; font-size:11px;}

#ft .contact a{color:#000000;}

#ft ul{}

#ft ul,#ft ul a,#ft .copyright{color:#333; font-weight:normal}

#ft li.col{float:left;display:inline;width:160px;height:110px;padding:10px 0 10px 20px;}

#ft li.end{border:none;padding-left:20px; color:#fff;width:190px;}

#ft h3{font-size:14px;}

#ft .sub-list{margin-top:5px;font-size:12px;}

#ft .sub-list li{list-style-position:inside;list-style-type:disc;line-height:20px;}

#ft .logo-footer{padding-top:0px;}

.copyright{
	text-align:center;
	background:#438EB9;
	color:#FFF;
	padding:5px 0;
	margin-bottom:0;
}
.copyright a{color:#FFF; text-decoration:none}
.thietketrangchu{

	float:right;

	background:#0d6a8c;

	padding-right:10px;

	width:auto;

}

.copyright p{color:#333333;padding:3px 0;text-align:center;font-size:12px; font-weight:bold}

#bd{position:relative;z-index:1;}




.box-top{

	}

.box-content {



}

.box-bottom {

   

}

.mainwide .box-top{}

.mainwide .box-bottom{

	background: url_("i/bg-box-944.gif") no-repeat scroll 0 -21px transparent;

    height: 20px;

    overflow: hidden;

}



.box-split .box-top{background:#FFF;height:10px;

border:2px solid #76A045;

border-bottom:none;

border-radius: 10px 10px 0px 0px;

}

.box-split .box-content{

    border-left: 2px solid #76A045;

    border-right: 2px solid #76A045;

}

.box-split .box-bottom{

	background:#FFF;height:10px;

border:2px solid #76A045;

border-top:none;

border-radius: 0px 0px 10px 10px;

}

.thietketrangchu2{

	background:#FFFABF;

    border-top: 2px solid #76A045;

    border-bottom: 2px solid #76A045;

	border-radius: 10px 10px 10px 10px;

	padding:10px 0;

}

.sbox{width:230px; margin:0px; }

.sbox-top{background:url(i/bg-sbox-230.gif) no-repeat 0 0;height:3px;overflow:hidden;}

.sbox-content{background:#FFFFFF;border-left:2px solid #E8E8E8;border-right:2px solid #E8E8E8;}

.sbox-bottom{background:url(i/bg-sbox-230.gif) no-repeat 0.8px -24px;height:3px;}

.sbox-white{width:230px;}

.sbox-white .sbox-top{background:url(i/bg-sbox-230-white.gif) no-repeat 0 0;height:12px;overflow:hidden;}

.sbox-white .sbox-content{background:#fff;border:none;}

.sbox-white .sbox-bottom{background:url(i/bg-sbox-230-white.gif) no-repeat 0 -13px;height:12px;}

.clear{clear:both;}



/* signup */



#signup .f-input-tip{float:left;margin-left:10px;margin-top:5px;font-size:12px;color:#666;}

#signup .email .f-input{font-weight:bold;}

#signup .username .f-input{font-weight:bold;}

#signup .city{margin-bottom:0;}

#signup .f-city{float:left;margin-top:4px;color:#333;}

#signup .field .f-cityname{width:100px;color:#333;}

#signup .enter-city{float:left;margin-top:3px;*margin-top:0;margin-left:15px;color:#333;}

#signup .subscribe{width:200px;margin-left:110px;*margin-left:107px;padding-bottom:0;margin-top:5px;}

#signup .subscribe label{width:150px;margin-top:0;*margin-top:2px;height:20px;line-height:20px;font-size:12px;text-align:left;padding-left:3px;}

#signup .act{margin-top:10px;*margin-top:0;}

#signuped .sect{width:auto;padding:20px 50px 20px;}

#signuped .notice-content{padding:5px 0;color:#666;}

#signuped .help-tip{margin-top:25px;background:#f7f7f7;padding:20px 30px 20px 25px;font-size:12px;}

#signuped .help-list{margin:10px 0 0;}

#signuped .help-list li{margin-bottom:5px;list-style-position:inside;list-style-type:disc;color:#666;}

.signup-gotoverify{margin-top:15px;text-align:center;}

#verify .sect{width:auto;padding:50px 50px 50px;}

#verify .notice-content{padding:5px 0;color:#666;}



#login .email .f-input{font-weight:bold;}

#login .autologin{width:200px;margin-left:110px;padding-bottom:0;margin-top:0;}

#login .autologin label{margin-top:0;*margin-top:2px;height:20px;line-height:20px;font-size:12px;text-align:left;padding-left:3px;}

#login .lostpassword{float:left;margin-left:10px;margin-top:5px;font-size:12px;}



#coupons .head{position:relative;}

#coupons .filter{position:absolute;top:25px;right:10px;}

#coupons .filter li{float:left;margin:0 5px 0 0;font-size:12px;}

#coupons .filter a{padding:3px 1px;}

#coupons .filter .current a{padding:3px 7px;background:#00ADB2;color:#fff;-moz-border-radius:2px;-webkit-border-radius:2px;}

#coupons .delivery-text{color:#808080;}

#coupons .sbox{margin-top:34px;}

#coupons .invalid{color:#ddd;}



#credit .sect{padding:15px 20px 40px;width:auto;}

#credit .credit-title{padding-bottom:12px;border-bottom:1px solid #f1f1f1;}

#credit .credit-title strong{font-size:24px;color:#c33;}

#credit p.charge{background:#fffbcc;border:1px solid #ffec19;margin:0 0 10px;padding:10px;}

#credit p.charge span{color:#399;}

#credit p.charge a{text-decoration:underline;}

#credit .coupons-table{margin:1px 0 0;width:100%;}

#credit .coupons-table th,#credit .coupons-table td{border:none;}

#credit .coupons-table .income{color:#b2302d;}

#credit .coupons-table .expense{color:#469800;}

#credit .coupons-table a{color:#666;}

#credit .paginator{margin-top:20px;}

#credit .notice{padding:10px 0;}

#credit .rail{margin-top:34px;}

#credit .credit-card-box{margin-top:20px;}

#credit .credit-card{padding:4px 10px 4px 15px;}

#credit .credit-card .f-input{display:block;width:185px;}

#credit .credit-card .act{margin-top:10px;}

#credit .credit-card-notice{padding:5px 0 5px;color:red;}

#credit .credit-card-link{background:url(i/blue_arrow.gif) no-repeat 0 5px;padding-left:12px;}

#credit .credit-card .captcha{display:none;margin-top:10px;}

#credit .credit-card .captcha img{display:block;margin-top:5px;}

#credit .credit-card .show{display:block;}



#biz .autologin{margin-left:110px;padding-bottom:0;margin-top:0;}

#biz .autologin label{margin:0;height:20px;line-height:20px;font-size:12px;text-align:left;padding-left:5px;}

#biz .field .coupon-code{clear:left;float:left;width:500px;font-size:25px;height:30px;padding:10px;}

#biz .verify{margin-left:0;}

#biz .verify .formbutton{padding:.5em 1.5em;margin-right:10px;}

#biz .verify-noti{margin:30px 10px 0;}

#biz .verify-noti dt{margin:20px 0 5px;font-size:16px;font-weight:bold;}

#biz .edit-password th{font-weight:normal;text-align:right;}

#mis .f-textarea{width:430px;height:200px;}

#mis .f-input{width:430px;}

#feedback .notice{margin:0px 10px 10px;}

#feedback .f-textarea{width:430px;}

#feedback .f-input{width:430px;}



#about .sect h3{margin:20px 0 10px;padding-left:10px;font-size:1.2em;}

#about .sect h4{margin:25px 0 10px;padding-left:10px;font-size:1em;}

#about .sect p{margin:10px;line-height:1.5em;}

#about .sect ol.list{margin:10px 20px;}

#about .sect ol.list li{list-style-position:inside;list-style-type:decimal;}

#about .sect ul.list{margin:10px 20px;}

#about .about .sect{padding:10px 10px;}

#about .about ul.list{margin:5px 10px 30px 30px;}

#about .about dl{margin-top:20px;margin-left:10px;}

#about .about dt{font-weight:bold;}

#about .about h3.contact{padding:8px 18px;background:#E8F9FF;font-size:16px;}

#about .about dl.contact{margin-left:18px;}



#about .job .caption{margin:0 20px;}

#about .job .faith{margin:10px 10px 30px;padding-left:21px;*padding-left:21px;}

#about .job .joinus{padding-left:21px;*padding-left:23px;}

#about .job .job-title{padding:3px 30px;background:#E8F9FF url(i/bg-toggle-fold.gif) no-repeat 10px -89px;cursor:pointer;zoom:1;}

#about .job .fold{background-position:10px -89px;}

#about .job .unfold{background-position:10px 11px;;}

#about .job .job-desc{display:block;}

#about .job .job-desc p{margin-left:30px;margin-bottom:0;}

#about .job .job-desc p.continue{margin-bottom:20px;}

#about .job .job-desc ul{margin:5px 20px 0 45px;*margin-left:47px;}

#about .job .job-desc ol{margin:5px 20px 20px 50px;*margin-left:53px;}

#about .job .job-desc ul li{list-style-position:outside;list-style-type:disc;}

#about .job .job-desc ol li{list-style-position:outside;list-style-type:decimal;}

#about .job .job-desc h4{font-size:16px;}

#about .job .job-desc h5{margin-left:30px;}



#learn .intro{margin:0 10px;}

#learn .step{margin:10px 10px 20px;}

#learn .first{margin-top:0;}

#learn .guide{padding:20px 30px;width:auto;}

#learn .guide-steps{color:#666;}

#learn .guide-steps li{position:relative;z-index:1;}

#learn .guide-steps h3{width:370px;height:38px;margin-top:50px;background:url(i/bg-learn-guide-titles.gif) no-repeat 0 0;text-indent:-999em;}

#learn .guide-steps h3.step1{margin-top:0;}

#learn .guide-steps h3.step2{background-position:0 -200px;}

#learn .guide-steps h3.step3{background-position:0 -400px;}

#learn .guide-steps h3.step4{background-position:0 -600px;}

#learn .guide-steps .text{width:290px;padding-left:50px;margin-top:5px;}

#learn .guide-steps .text img{display:block;margin-top:10px;}

#learn .bubble{position:absolute;top:0;left:370px;}

#learn .bubble-top{width:237px;padding:20px 10px 20px 28px;background:url(i/bg-learn-guide-bubble.gif) no-repeat 0 0;}

#learn .bubble-bottom{width:275px;height:12px;zoom:1;overflow:hidden;background:url(i/bg-learn-guide-bubble.gif) no-repeat 0 -588px;}

#learn .bubble li{list-style-position:inside;list-style-type:decimal;}

#learn .bubble ol.buy li{margin-bottom:25px;}

#learn .bubble ol.buy li.last{margin-bottom:0;}

#learn .bubble ol.coupon li{margin-top:5px;}

#learn .bubble ol.coupon p{font-size:12px;padding-left:20px;}

#learn .bubble ol.coupon p img{display:block;margin-top:12px;margin-left:-18px;}

#help .sect{padding-top:10px;}

#help .sect h3{margin:20px 0 10px;padding-left:10px;font-size:1.2em;}

#help .sect h4{margin:25px 0 5px;padding-left:10px;font-size:1em;}

#help .sect h4.first{margin:0;}

#help .sect p{line-height:1.5em;}



#help .faq .sect{padding:16px 10px 10px;width:auto;}

#help .faq .faqlist li{margin-bottom:12px;padding:10px;list-style-position:inside;list-style-type:decimal;}

#help .faq .faqlist li.alt{background:#f6f6f6;}

#help .faq .faqlist h4{display:inline;color:#333;}

#help .faq .faqlist p{margin:8px 20px 0;*margin-left:16px;line-height:1.5em;color:#666;}

#help .faq .paytype p{padding-top:10px;*padding-top:15px;padding-left:140px;}

#help .faq .paytype .alipay{height:39px;background:url(i/alipay.gif) no-repeat 0 2px;}

#help .faq .paytype .yeepay{height:33px;background:url(i/yeepay.gif) no-repeat 0 2px;}

#help .faq .paytype .chinabank{height:35px;background:url(i/chinabank.gif) no-repeat 0 3px;*background-position:0 5px;}

#help .faq .paytype .tenpay{height:35px;background:url(i/tenpay.jpg) no-repeat 0 3px;*background-position:0 5px;}

@media screen and(-webkit-min-device-pixel-ratio:0){#help .faq .faqlist p{margin-left:17px;}

}




/*validator*/

span.errorTip{ font-size:12px; color:#C00; display:none; }

div.errorTip { font-size:12px; color:#C00; display:none; }

div.validTip, span.validTip{ font-size:12px; display:none; } 

span.require { color:#C00; font-weight:bold; }

.noerror .errorTip, .noerror .validTip { display: none; } 

.errorInput{border-color:#c40000;border-style:solid;border-width:1px; background-color:#FBF5AC; } 






/*top slider*/

.top-slider{width:980px;height:auto;position:relative;background:#fffedf url(i/bg_top.gif) center center no-repeat;height:50px;}

.label-big-subscription{font-size:14px; font-family:Arial, Helvetica, sans-serif;font-weight:500;line-height:22px;padding-top:7px;color:#03477c; white-space:nowrap}

.ftext{font-size:14px;padding:2px 4px;border-color:#cccccc;border-style:solid;border-width:1px; width:200px;}

.submit{background:url(i/btn_regis.gif) left top no-repeat;height:32px; width:33px; border:none; color:#FFFFFF; font-size:12px; padding-bottom:3px; cursor:pointer; font-weight:bold}



/*Facebook side*/

.leftFacebook{height:36px; background:#3a589c url(i/title_facebook.png) no-repeat left top; overflow:hidden}

.rightFacebook{height:36px; background:url(i/title_facebook.png) no-repeat right -36px; overflow:hidden}

.detailFacebook{border:1px solid #dbdbdb; border-bottom:none;padding:20px; line-height:20px}



#ediv{

	 background:#80b04f;

}

.buttonDetail {height:26px; background:url('i/bg_detail.png') no-repeat 0 0; right:0px; bottom:0px; padding-left:20px; position:absolute}

.buttonDetail div{background:#87ad00;padding:0 10px 0 5px;color:#fff; font-weight:bold; line-height:26px;}







/*sysmsg-tip-deal-close*/

.sysmsg-tip-deal-close-moz{

	text-decoration: none;

	line-height: 1em;

	cursor: pointer;

	color: black;

	font-weight: normal;

	font-size: 14px; font-family:Arial, Helvetica, sans-serif;

	padding:10px 15px;

	-moz-border-radius: 7px;

	-webkit-border-radius: 7px;

	border-radius: 7px;

	background-clip: padding-box;

	-moz-text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.5);

	-webkit-text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.5);

	border: 1px solid #369ec1;

	-moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) ;

	-webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) ;

	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) ;

	-moz-background-clip: padding-box !important;

	-webkit-background-clip: padding-box !important;

	background-clip: padding-box !important; 

	background: #fbfbc5;

	background: -moz-linear-gradient(top, #fffedf, #fbfbc5);

	background: -webkit-gradient(linear, left top, left bottom, from(#fffedf), to(#fbfbc5));

	border-color: #fbfbc5;

}

/*End*/

/*Dialog*/

#mask {

  position:absolute;

  left:0;

  top:0;

  z-index:9000;

  background-color:#000;

  display:none;

}

  

#boxes .window {

  position:absolute;

  left:0;

  top:0;

  width:440px;

  height:200px;

  display:none;

  z-index:9999;

}



#boxes #dialogs {

  width:375px; 

  height:235px;

  background-color:#ffffff;

  border:#c40000 2px solid;

}

a.close{float:right;*margin-top:-15px;padding-right:16px;margin-right:5px;background:url(i/bg-sysmsg-close.gif) 100% 50% no-repeat;font-size:12px;cursor:pointer;}



/*HOC EDIT*/

#pop-box-city{



    width: 360px;

    height: 280px;

    opacity:1;

    position: fixed;

    left: 50%;

    top: 50%;

    margin-left: -170px;

    margin-top: -200px;

    z-index: 355;

    background: url('i/bg-box.png') top left no-repeat;

}

#pop-box-city center{

    margin-top: 120px;

}

#pop-box-city a{

    width: 158px;

    height: 36px;

    display: block;

    padding-left: 20px;

    background: url('i/sl-tp.png') top left no-repeat;

    margin-bottom: 10px;

    color: #e11919;

    font-size: 14px;

    font-weight: 900;

    line-height: 32px;

}

#discount-percent {

    background: url("i/discount-percent.png") no-repeat scroll 0 0 transparent;

    font-weight: bold;

    height: 70px;

    left: 225px;

    padding-left: 13px;

    padding-top: 13px;

    position: relative;

    top: -220px;

    width: 70px;

    z-index: 1;

}

#discount-percent .title {

    font-size: 11px;

    padding-bottom: 5px;

    text-align: center;

    width: 40px;

}

#discount-percent .value {

    font-size: 24px;

    line-height: 18px;

}

.babydeal-cate{

	background: #44acaf;

	border-radius:5px 5px 5px 5px;

    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);

    margin: 0px 2px 10px;

	width:945px;

	margin-left:8px;

	}

#choice_type{

	line-height:170%;

	overflow:hidden;

	}

#choice_type .hlist li.active {

    background:#525354;

}

#choice_type .hlist li {

    float: left;

	padding:10px 0;

	background:url(i/line.png) no-repeat left center;

	

}	

#choice_type .icon{

	background:url(i/home.png) no-repeat;

	display:block;

	height:32px;

	width:35px;

	float:left;

	margin-left:5px;

	margin-top:-10px;

	}

#choice_type .hlist li.all{

	border-radius:5px 0px 0px 5px;



	}

#choice_type .hlist li.all a{	

	margin-left:-5px;

}

#choice_type .hlist li a {

    color: #FFFFFF;

    padding: 14px 10px;

	font-weight:bold;

	font-size:12px;

	text-shadow:#333333 1px 1px 0px;

}

#choice_type .hlist li a:hover {

	 background:#525354;

	text-decoration:none;

	 

	}

#choice_type .hlist li a .total {

    color: #FFFFFF;

}

#choice_type .hlist li.active a {

    color: #FFFFFF;

}

#choice_type .hlist li.active a .total {

    color: #FFFFFF;

}

#updates {

    display: block;

    float: right;

    margin-top: 25px;

    position: relative;

    width: 323px;

}

#updates span{

	padding-left:5px;

	color:#FFF;

	}

#updates .frmemail {

    background:url(i/bg_form.png) no-repeat left top;

    height: 34px;

	margin-top:3px;

}

input.email {

    background: none repeat scroll 0 0 transparent;

    border: medium none;

    color: #626262;

    float: left;

    height: 25px;

    margin-top: 5px;

    padding-left: 35px;

    width: 230px;

	margin-right:7px;

}

input.sub {

    background:transparent;

	color:#C00;

	font-weight:bold;

    border: medium none;

    cursor: pointer !important;

    display: block;

    float: left;

    height: 35px;

    width: 50px;

}	

.box-white-info-links{

	padding-left:17px;

}

.box-white-info-links a {

    float: left;

    padding: 0 6px;

}

.contactbox {

    background: none repeat scroll 0 0 #B92E35;

    border-radius: 10px 10px 10px 10px;

    box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.8);

    color: #FFFFFF;

    float: left;

    line-height: 24px;

    padding: 5px 20px;

}

.map{	

	float:left;

	width:460px;

	padding-left:15px;

	border-right:1px dashed #CCCCCC;

	}

.v2-detail-deal-title{

	font-weight:bold;

	font-size:18px;

	padding-bottom:10px;

	}

.info-address{

	float:left;

	width:215px;

	padding-left:5px;

	}	

.detail-deal .horizon p {

    clear: none;

    text-align: left;

    

	float:left;



}

.priceB{

	background:url(i/giaban.png) no-repeat left top;

	margin-left:10px;

	width: 250px;

}

.horizon p .prc1{

	color:#C22227;

	font-size:26px;

	font-weight:bold;

	margin-left:65px;

}

.horizon p .prc2{

	margin-left:65px;

	

	

}

.horizon p .prc2 b{

	text-decoration:line-through;

	color:#999;

	font-weight:normal;

}

.expires .view-button {

    background: url(i/btn-hethan.png) no-repeat;

    height: 52px;

    width: 180px;

	display:block;

	margin:0 auto;

}

.orderdeal{

	

	}

.orderdeal .view-button {

    background: url(i/mua.gif) no-repeat;

    height: 52px;

    width: 180px;

	display:block;

	margin:0 auto;

}

.fireof .view-button {

    background: url(i/btn-chayhang.png) no-repeat;

    height: 52px;

    width: 180px;

	display:block;

	margin:0 auto;

}

.detail-deal .horizon .box-white-info-sale {

    float: left;

    padding: 12px 0 0 10px;

}

.detail-deal .box-white-info-save {

    border-right: 1px solid #B8B8B8;

    padding-left: 3px;

    width: 30px;

	width:70px;

	float:left;

	text-align:center;

}

.box-white-info-sale span.number {

    font-size: 16px;

    font-weight: 700;

	display:block;

	color:#555;

}	

.box-white-info-sale span {

    color: #555555;

    display: block;

    font-size: 11px;

    line-height: 16px;

}

#dBuyBottom .box-white-info-buyer {

    width: 80px;

	float: left;

    height: 30px;

    text-align: center;

	border-right: 1px solid #B8B8B8;

}

#dBuyBottom .box-white-info-time {

    width: 100px;

	float:left;

	text-align:center;

	height:30px;

}

.deal-timeleft span{

	

	}

.dSOListBRN {

    background: url(i/red-hiv-small.png) no-repeat;

    height: 61px;

    position: absolute;

    right: -10px;

    top: 35px;

    width: 61px;

}

.write-comment .txtThietKeTrangChu {

    border: 1px solid #D6D6D6;

    border-radius: 2px 2px 2px 2px;

    color: #6A6A6A;

    font-size: 16px;

    font-weight: 400;

    height: 76px;

    padding: 8px 0 7px 13px;

    width: 400px;

}

.write-comment .lbl{

	float:left;

	margin-right:5px;

	background:url(i/required.gif) no-repeat right top;

	text-align:left;

	width:150px;

}

.write-comment .textareaCP {

    border: 1px solid #D6D6D6;

    border-radius: 2px 2px 2px 2px;

    color: #6A6A6A;

    font-size: 16px;

    font-weight: 400;

    height: 76px;

    padding: 8px 0 7px 13px;

    width: 515px;

}

.write-comment .view-button{

	background:url(i/send.png) no-repeat;

	height:41px;

	width:105px;

	display:block;

	cursor:pointer;

	}

.write-comment span.write-comment-btn {

    padding-left: 14px;

    padding-top: 42px;

}

.write-comment-content span{

	float:left;

	margin-bottom:10px;

	}	

.list-comments{

	clear:left;

	float:left;

	overflow:visible;

	}

.comment-content .detail-deal {

    float: right;

    padding-bottom: 5px;

    padding-right: 15px;

    position: relative;

    width: 580px;

	border-radius:10px;

	-moz-border-radius:10px;

	-webkit-border-radius:10px;

	background:#f4f4f4;

	padding:15px 0 0 15px;

	overflow:hidden;

	margin-top:10px;

}

.comment-content i {

	display: block;

	font-size:0;

	background:url(i/arrow-cross.png) no-repeat;

	width: 5px;

	height: 9px;

	float: right;

	margin: 29px 0 0 13px;

}

.comment-content-right{

	float: right;

	width: 54px;

	margin-top: 20px;

	position:relative;

}

.comment-content-right img{

	background-color: #ffffff;

	border: 1px solid #CCCCCC;

	padding: 1px;

	width:50px;

	height: 50px;

}

.comment-content p.user-info {

	font-size: 12px;

	color: #999999;/*19.12*/

	padding-top: 0px;/*19.12*/

	line-height:1.231;/*19.12*/

	margin-top:3px;

}

.comment-content a {

	font-size: 12px;

	color: #0f5f92;

	font-weight: 700;

	line-height: 18px;

}		

.user-info em{ color:#00850C; font-weight:700;}

.user-info span{ display:block; font-size:11px; line-height:1.5em;}

.user-info {

	display: block;

	padding-left: 35px;

	background: url(i/vip-icon.png) no-repeat;

}

p.vip-dif {background-position: 0 -195px;}

p.vip-sim {background-position: 0 -146px;}

p.vip-sil {background-position: 0 -96px;}

p.vip-gol {background-position: 0 -5px;}

p.vip-dia {background-position: 0 -48px;}

p.vip-clo {background-position: 0 -235px;}

/*end 19.12*/

.comment-content .total-comment {

	background: none;

	filter:none;

	background-color: #cacdcf;

	width: auto;

	height: 24px;

	position: absolute; 

	bottom: 0;

	right: 0;

	left:auto;

	padding:3px 12px 0 12px;

	text-align: center;

	border-radius: 10px 0 10px 0;

	-moz-border-radius:10px 0 10px 0;

	-webkit-border-radius:10px 0 10px 0;

	cursor:pointer;

}

.comment-content span.icon-comment {

	background-position:0 -218px;

	width: 27px;

	height: 20px;

}

.total-comment span.num-comment {padding: 5px 0 0 2px;}

.total-comment span.num-comment a{ color:#333;}

.comment-content-alignright {

	text-align: right;

	margin-top: 20px;

}

.comment-content-alignright .textareaCP {

	width: 548px;

	height: 44px;

	border:1px solid #800000;

	padding: 7px 0 8px 13px;

	font-size: 16px;

	font-weight: 400;

	border-radius: 10px;

	-moz-border-radius:10px;

	-webkit-border-radius:10px;

	color:#6A6A6A;

}

.comment-content-alignright p {

	text-align: right;

	padding: 10px 0 0 0;

}

.comment-content-alignright .view-button {

	background: url(i/send-small.png) no-repeat;

	width: 50px;

	height: 21px;

	float: right;

	cursor:pointer;

}

.comment-content-alignright .view-button-en {

	background: url(i/btn-gui-small-en.png) no-repeat;

	width: 57px;

	height: 25px;

	float: right;

}

.pro-comment {padding: 4px 0px 15px 0px;}

.pro-comment-img {background:url(i/comment-pro.png) no-repeat;width: 96px;height: 114px;display: inline-block;}

.pro-comment-text {width: 145px; font-size: 17px; color: #ffffff; font-weight: bold; margin: 21px 0px 0px 15px;}

.pro-comment-text a{font-size: 17px; color: #ffffff; font-weight: bold;}

.total-comment span.num-comment {

	padding: 5px 0px 0px 6px;

}	

.total-comment span.icon-comment {

	background: url(i/btn-slide.png) no-repeat scroll 0 -194px;

	width: 29px;

	height: 24px;

}	

.total-comment span {

	vertical-align: top;

	font-size: 13px;

	color: #333333;

	font-weight: 700;

	font-style: italic;

	display: inline-block;

}

.center{

	text-align:center;

	}

.nav_2 {

    background: none repeat scroll 0 0 #FFFFFF;

    border-radius: 8px 8px 8px 8px;

    box-shadow: 0 2px 4px #888888;

    height: 64px;

    margin-bottom: 15px;

    overflow: hidden;

    width: 980px;

}

.nav_2 .all {

    border-bottom-left-radius: 8px;

    border-right: 1px solid #E0E0E0;

    border-top-left-radius: 8px;

    float: left;

    height: 64px;

    line-height: 64px;

    padding: 0 0 0 12px;

    text-transform: uppercase;

    width: 100px;

}

.nav_2 .all a {

    color: #333333;

    display: block;

    font-size: 13px;

    position: relative;

    text-decoration: none;

}

.nav_2 .all a:hover {

    color: #FFFFFF;

    font-size: 13px;

    text-decoration: none;

}

.nav_2 .all:hover {

    background: none repeat scroll 0 0 #ED951C;

}

.nav_2 .all.current {

    background: none repeat scroll 0 0 #ED951C;

}

.nav_2 .all.current a {

    color: #FFFFFF;

    font-size: 13px;

    text-decoration: none;

}

.nav_2 .all span {

    background: url("i/bg_total.png") no-repeat scroll 0 0 transparent;

    color: #FFFFFF;

    display: block;

    font-size: 12px;

    height: 12px;

    line-height: 11px;

    padding: 3px 4px;

    position: absolute;

    right: 12px;

    text-align: center;

    top: 10px;

    width: 27px;

}

* + html .nav_2 .all span {

    right: 12px;

    top: -12px;

}

.nav_2 .bor_bt {

    border-bottom: 1px solid #E0E0E0;

    height: 34px;

}

.nav_2 ul .bg {

    background: none repeat scroll 0 0 #F7F7F7;

    border-bottom-right-radius: 8px;

    height: 32px;

}

.nav_2 ul {

    display: block;

    float: left;

    list-style-type: none;

    margin: 0;

    overflow: hidden;

    padding: 0;

    width: 867px;

}

.nav_2 ul li {

    color: #519501;

    float: left;

    font-size: 13px;

    font-weight: bold;

    list-style-type: none;

    margin: 0;

    min-width: 100px;

    padding: 5px 10px 4px;

}

.nav_2 ul li a {

    background: none repeat scroll 0 0 transparent;

    color: #000000;

    display: block;

    font-weight: normal;

    margin: 0;

    padding: 2px 10px;

    text-decoration: none;

}

.nav_2 ul li a span {

    color: #CC0000;

}

.nav_2 ul li p {

    color: #519501;

    font-weight: bold;

    margin: 0;

    padding: 3px 0;

}

.nav_2 ul li a:hover {

    background: none repeat scroll 0 0 #ED951C;

    color: #FFFFFF;

    text-decoration: none;

}

.nav_2 ul li.current a {

    background: none repeat scroll 0 0 #ED951C;

    color: #FFFFFF;

    text-decoration: none;

}	

#deal-delivery .voucher {

    background: url("i/voucher.png") no-repeat scroll 0 0 transparent;

    height: 60px;

    line-height: 18px;

    padding-left: 80px;

}

#deal-delivery .freeship {

    background: url("i/freeship.png") no-repeat scroll 0 0 transparent;

    height: 60px;

    line-height: 18px;

    padding-left: 80px;

}

#deal-delivery .strong {

    color: #559E00;

    font-weight: bold;

    line-height: 18px;

    text-transform: uppercase;

}

.button a, .button-action a, .button-big a, .button-submit-action input, .button-submit input, .button-submit-big input {

    background-color: #9C9C9C;

    color: #FFFFFF;

    font: bold 11px Arial;

    padding: 2px 8px 3px;

}

.button-submit-action, .button-submit, .button-submit-big, .button, .button-action, .button-big, .buy-button-options, .redeal-button, .buy-button-options-see {

    background: -moz-linear-gradient(center top , #F6E6B3, #ED9319) repeat scroll 0 0 transparent;

    border: 1px solid #D27D00;

    border-radius: 3px 3px 3px 3px;

    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);

    color: #C22227;

    cursor: pointer;

    font-size: 14px;

    font-weight: bold;

    margin: 0;

    outline: medium none;

    padding: 3px 20px;

    text-align: center;

    text-decoration: none;

    vertical-align: baseline;

}

.button-submit-action.disable, .redeal-button.disable {

    background: -moz-linear-gradient(center top , #FDFDFD, #AAAAAA) repeat scroll 0 0 transparent;

    border: 1px solid #DDDDDD;

    color: #999999;

}

.button-submit-action input, .button-submit input, .button-submit-big input, .button-action a, .button a, .button-big a {

    background: none repeat scroll 0 0 transparent;

    border: 0 none;

    color: #C22227;

    font-size: 13px;

    margin: 0;

    outline: medium none;

    padding: 0;

}

.button-submit-big input, .button-big a {

    font: bold 12px/29px Verdana,Geneva,Arial,Helvetica,sans-serif;

    height: 29px;

}

.subheader{ background:url(i/dot.gif) repeat-x left bottom;

			margin-top:50px;

			font-size:18px;

			margin-bottom:20px;

}

.txtnote{

	float:left;

	width:300px;

	margin-left:15px;

}

.p10{

	padding:10px;

}

.titleNote{

	color:#80B04F;

	font-weight:bold;

	font-size:18px;

}

.divPager {
    text-align: right;
    float: right;
    padding-top: 20px
}

.divPager div {
    float: left
}

.divPager a,.divPager span {
    float: left
}

.divPager .spText {
    color: #595959;
    line-height: 20px;
    font-size: 10pt
}

.divPager .btnFirst {
    background-image: url("/PagerPreview.png");
    background-position: 0 0;
    background-repeat: no-repeat;
    display: block;
    width: 20px;
    height: 24px;
    margin: auto;
    margin: 0 10px
}

.divPager .btnLast {
    background-image: url("/PagerNext.png");
    background-position: 0 0;
    background-repeat: no-repeat;
    display: block;
    width: 20px;
    height: 24px;
    margin: auto;
    margin: 0 10px
}

.divPager .selected {
    background-image: url("i/PagerBg.png");
    background-position: 0 -25px;
    background-repeat: no-repeat;
    display: block;
    width: 24px;
    height: 24px;
    line-height: 21px;
    font-weight: bold;
    text-align: center;
    color: #fff;
    margin: auto;
    margin: 0 5px
}

.divPager .btnNomarl {
    background-image: url("i/PagerBg.png");
    background-position: 0 0;
    background-repeat: no-repeat;
    display: block;
    width: 24px;
    height: 24px;
    line-height: 21px;
    font-weight: bold;
    text-align: center;
    margin: auto;
    margin: 0 5px
}

.divPager .btnFirst:hover,.divPager .btnNomarl:hover,.divPager .btnLast:hover {
    background-position: 0 -25px;
    color: #fff
}
ul.campaign li{
	float: left;
	margin-left: 10px;
	font-size: 14px;
	width: 900px;
	margin-bottom: 10px;
	list-style:inherit;
}
ul.campaign li span{
	color:#F00;
}
.add-order{
	
}
.add-order a{
	background:#F00;
	padding:5px 10px;
	font-weight:bold;
	color:#FFF
}
.add-order a:hover{
	background:#39C
}
.oncss{ border:1px solid #F00}
.payon{
	  color: #F00;
  font-size: 7px;
  font-weight: bold;
  text-transform: uppercase;
}
/* ============================================================
   HEADER OVERRIDE — full specificity, loaded last
   ============================================================ */

.site-header {
  width: 100%;
  background: #fff;
  position: relative;
  z-index: 1000;
}

/* ── TOPBAR ── */
.site-header .site-topbar {
  background: #1A1A1A;
  color: #fff;
  font-size: 12px;
}

.site-header .topbar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header .topbar-left {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.site-header .topbar-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0;
}

/* links trong topbar */
.site-header .topbar-right a,
.site-header .topbar-link {
  color: #bbb;
  font-size: 12px;
  text-decoration: none;
  padding: 0 10px;
  line-height: 36px;
  white-space: nowrap;
}
.site-header .topbar-right a:hover,
.site-header .topbar-link:hover { color: #fff; text-decoration: none; }

.site-header .topbar-cart {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px;
}
.site-header .topbar-cart .item-cart.cart-quantity {
  background: #C62828;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 9px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ── HEADER MAIN ── */
.site-header .site-header-main {
  background: #fff;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
}

.site-header .header-main-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
}

/* Logo */
.site-header .site-logo {
  flex-shrink: 0;
}
.site-header .site-logo .logo-heading { margin: 0; padding: 0; line-height: 1; }
.site-header .site-logo a { display: flex; align-items: center; text-decoration: none; }
.site-header .site-logo a:hover { text-decoration: none; }
.site-header .site-logo img { max-height: 72px; width: auto; display: block; }
.site-header .site-logo span { display: none; }

/* Search */
.site-header .site-search {
  flex: 1;
  max-width: 480px;
}
.site-header .site-search form {
  display: flex;
  width: 100%;
  height: 42px;
  border: 2px solid #E0E0E0;
  border-radius: 4px;
  overflow: visible;
  background: #fff;
  position: relative;
}
.site-header .site-search form:focus-within { border-color: #C62828; }

.site-header .site-search .cat-wrapper {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  background: #F5F5F5;
  border-right: 1px solid #E0E0E0;
  align-self: stretch;
  overflow: hidden;
}
.site-header .site-search select,
.site-header .site-search #cat {
  height: 38px;
  min-width: 140px;
  border: none;
  background: transparent;
  padding: 0 8px;
  font-size: 13px;
  color: #555;
  outline: none;
  cursor: pointer;
}

/* Uniform: ẩn .selector > span (phantom label) và các UI element của Uniform */
.site-header .site-search .cat-wrapper .selector > span { display: none !important; }
.site-header .site-search .cat-wrapper .selector {
  display: flex !important;
  align-items: center;
  align-self: stretch;
  width: 100%;
  background: transparent;
  position: static !important;
  padding: 0;
  margin: 0;
}

/* jqTransform: ẩn custom HTML (span+arrow div, dropdown ul), dùng native select
   Lý do: jqTransformHidden class không có CSS ẩn select gốc nên bị hiển thị 2 lần */
.site-header .site-search .jqTransformSelectWrapper > div { display: none !important; }
.site-header .site-search .jqTransformSelectWrapper > ul  { display: none !important; }

/* Wrapper là pass-through container */
.site-header .site-search .jqTransformSelectWrapper {
  width: 100% !important;
  display: flex !important;
  align-items: center;
  align-self: stretch;
  float: none !important;
  position: static !important;
  background: transparent;
  z-index: auto !important;
  margin: 0;
  padding: 0;
}

/* Native select — hiện và căn đều với form content area (38px = 42px border-box - 2px×2 border) */
.site-header .site-search select,
.site-header .site-search select.jqTransformHidden,
.site-header .site-search #cat {
  display: block !important;
  height: 38px !important;
  line-height: normal;
  padding: 0 8px 0 12px;
  border: none !important;
  background: transparent;
  font-size: 13px;
  color: #555;
  outline: none;
  cursor: pointer;
  -webkit-appearance: auto;
  -moz-appearance: auto;
  appearance: auto;
  min-width: 130px;
  width: 100% !important;
  flex: 1;
  vertical-align: middle;
  box-shadow: none !important;
}

.site-header .site-search .input-search {
  flex: 1;
  display: flex;
  align-items: center;
  align-self: stretch;
}
.site-header .site-search input,
.site-header .site-search input#search {
  height: 42px;
  flex: 1;
  min-width: 0;
  border: none !important;
  outline: none;
  padding: 0 12px;
  font-size: 14px;
  background: transparent;
  box-shadow: none;
  line-height: 42px;
}
.site-header .site-search button,
.site-header .site-search .button-search-pro {
  flex-shrink: 0;
  width: 46px;
  height: 42px;
  background: #C62828 !important;
  color: #fff !important;
  border: none;
  cursor: pointer;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 2px 2px 0;
}
.site-header .site-search .cat-wrapper { border-radius: 2px 0 0 2px; }
.site-header .site-search button:hover,
.site-header .site-search .button-search-pro:hover { background: #B71C1C !important; }

/* Hotline */
.site-header .site-hotline {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-header .hotline-icon {
  font-size: 28px;
  color: #C62828;
  line-height: 1;
}
.site-header .hotline-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.site-header .hotline-label {
  font-size: 11px;
  color: #9E9E9E;
  white-space: nowrap;
  line-height: 1.4;
}
.site-header .hotline-link {
  display: block;
  color: #C62828;
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
}
.site-header .hotline-link:hover { color: #B71C1C; text-decoration: none; }

/* ── NAV ── */
.site-header .site-nav { background: #C62828; }

.site-header .site-nav-list {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}

.site-header .site-nav-list > li {
  margin: 0;
  padding: 0;
  position: relative;
}

.site-header .site-nav-list > li > a {
  display: block;
  padding: 14px 15px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  font-size: 13px;
  line-height: 1.4;
}
.site-header .site-nav-list > li > a:hover,
.site-header .site-nav-list > li:hover > a {
  background: #B71C1C;
  color: #fff;
  text-decoration: none;
}

/* Dropdown */
.site-header .site-nav-list li > ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  display: none;
  z-index: 999;
  border-top: 3px solid #C62828;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  list-style: none;
  margin: 0;
  padding: 6px 0;
}
.site-header .site-nav-list li:hover > ul { display: block; }

.site-header .site-nav-list li ul li a {
  display: block;
  color: #222;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
  background: transparent;
}
.site-header .site-nav-list li ul li a:hover {
  background: #f5f5f5;
  color: #C62828;
  text-decoration: none;
}

/* ── HEADER TIPS (header_tips.html dùng Bootstrap col — override lại) ── */
.site-header .topbar-left .sl-header-text {
  float: none !important;
  width: 100% !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  height: 36px;
}
.site-header .topbar-left .offer-wrapper {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  height: 36px;
}
.site-header .topbar-left .offer-header {
  overflow: hidden;
  height: 36px;
}
.site-header .topbar-left .label-offer-slider {
  flex-shrink: 0;
  background: #C62828;
  color: #fff !important;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 2px;
  text-decoration: none;
}
.site-header .topbar-left .offer-wrapper { flex: 1; overflow: hidden; }
.site-header .topbar-left .offer-header  { overflow: hidden; }
.site-header .topbar-left #offer-slider  { margin: 0; padding: 0; list-style: none; }
.site-header .topbar-left #offer-slider .item {
  height: 36px;
  line-height: 36px;
}
.site-header .topbar-left #offer-slider .item a {
  color: #bbb;
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  height: 36px;
  line-height: 36px;
}
.site-header .topbar-left #offer-slider .item a:hover { color: #fff; text-decoration: none; }

/* ── TÀI KHOẢN DROPDOWN ── */
.site-header .account-nav {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.site-header .account-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-top: 2px solid #C62828;
  box-shadow: 0 4px 12px rgba(0,0,0,0.10);
  list-style: none;
  margin: 0;
  padding: 4px 0;
  z-index: 1001;
  display: none;
}
.site-header .account-nav:hover .account-dropdown { display: block; }
.site-header .account-dropdown li { padding: 0; margin: 0; }
.site-header .account-dropdown li a {
  display: block;
  padding: 9px 16px;
  color: #333 !important;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
}
.site-header .account-dropdown li a:hover {
  background: #f5f5f5;
  color: #C62828 !important;
  text-decoration: none;
}

/* ── SEARCH — form content area = 38px (42px border-box - 2×2px border) ── */
.site-header .site-search .form-search {
  display: flex !important;
  align-items: stretch !important;
  align-self: stretch;
  overflow: visible;
  position: relative;
}
.site-header .site-search .cat-wrapper,
.site-header .site-search .input-search {
  display: flex;
  align-items: center;
}
.site-header .site-search .input-search input,
.site-header .site-search input#search {
  display: block;
  height: 38px;
  line-height: 38px;
  vertical-align: middle;
  padding-top: 0;
  padding-bottom: 0;
}
.site-header .site-search .button-search-pro,
.site-header .site-search button {
  align-self: stretch;
  height: auto;
}

/* ── STICKY — override padding để padding nhỏ khi sticky ── */
.site-header.is-sticky .site-header-main { padding: 8px 0 !important; }

/* ── SEARCH AUTOCOMPLETE — dropdown bên dưới ô tìm kiếm ── */
.site-header .site-search #search_autocomplete {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1050;
  display: none;
  background: #fff;
  border: 1px solid #E0E0E0;
  border-top: none;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.10);
  max-height: 300px;
  overflow-y: auto;
}

/* ── BOOTSTRAP MODAL — modal đã được chuyển ra ngoài .site-header ── */
/* Bootstrap tự xử lý display:none/block, không cần override */

/* ── CONTENT PAGE HEADINGS — restore typography bị ảnh hưởng bởi T02 margin/font reset ── */
#yt_wrapper .page-title h1 {
  font-size: 166.67% !important;
  font-weight: 700 !important;
  color: #212121 !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
  margin: 6px 0 !important;
}

/* ============================================================
   RESPONSIVE HEADER
   ============================================================ */

/* Tablet: max-width 1024px */
@media (max-width: 1024px) {
  .site-header .header-main-inner {
    gap: 16px;
    padding: 0 12px;
  }
  .site-header .site-logo img { max-height: 60px; }
  .site-header .hotline-icon { font-size: 22px; }
  .site-header .hotline-link { font-size: 16px; }
  .site-header .site-search { max-width: none; }
  .site-header .site-nav-list > li > a { padding: 13px 12px; font-size: 13px; }
}

/* Mobile / small tablet: max-width 768px */
@media (max-width: 768px) {
  /* Ngăn horizontal overflow toàn header */
  .site-header {
    overflow-x: hidden;
    max-width: 100vw;
  }

  /* Topbar: ẩn news ticker, giữ cart/login */
  .site-header .topbar-left { display: none; }
  .site-header .topbar-inner {
    min-height: 32px;
    justify-content: flex-end;
    padding: 0 12px;
  }

  /* Header main: logo + hotline hàng 1, search hàng 2 */
  .site-header .site-header-main { padding: 10px 0; }
  .site-header .header-main-inner {
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 12px;
    max-width: 100%;
    box-sizing: border-box;
  }
  .site-header .site-logo { flex: 1; min-width: 0; }
  .site-header .site-logo img { max-height: 44px; }
  .site-header .site-hotline { flex-shrink: 0; gap: 6px; }
  .site-header .hotline-label { display: none; }
  .site-header .hotline-icon { font-size: 20px; }
  .site-header .hotline-link { font-size: 14px; }

  /* Search full width hàng 2 */
  .site-header .site-search {
    order: 3;
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    box-sizing: border-box;
  }
  .site-header .site-search form {
    width: 100%;
    box-sizing: border-box;
  }

  /* Nav: cuộn ngang, không wrap, ẩn sub-menu */
  .site-header .site-nav .container-new { padding-left: 0; padding-right: 0; }
  .site-header .site-nav-list {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    padding: 0 8px;
    scrollbar-width: none;
    width: 100%;
    box-sizing: border-box;
  }
  .site-header .site-nav-list::-webkit-scrollbar { display: none; }
  .site-header .site-nav-list > li > a { padding: 12px 10px; font-size: 13px; white-space: nowrap; }
  /* Ẩn dropdown sub-menu trên mobile — không có hover trigger */
  .site-header .site-nav-list > li > ul { display: none !important; }
}

/* Mobile nhỏ: max-width 390px */
@media (max-width: 390px) {
  .site-header .topbar-right a,
  .site-header .topbar-link { padding: 0 5px; font-size: 11px; }
  .site-header .topbar-cart .item-cart.cart-quantity { min-width: 14px; height: 14px; font-size: 9px; }
  .site-header .site-logo img { max-height: 36px; }
  .site-header .hotline-icon { font-size: 16px; }
  .site-header .hotline-link { font-size: 12px; white-space: nowrap; }
  .site-header .header-main-inner { padding: 0 8px; gap: 6px; }
  /* Ngăn iOS Safari zoom khi focus input */
  .site-header .site-search input,
  .site-header .site-search input#search { font-size: 16px; }
  .site-header .site-search select,
  .site-header .site-search #cat { font-size: 16px; }
  /* Compact search category để không tràn */
  .site-header .site-search .cat-wrapper { max-width: 120px; }
  .site-header .site-search select,
  .site-header .site-search #cat { min-width: 100px; }
}

/* ============================================================ */
/* EDIT BY THIETKETRANGCHU.COM*/

/* ============================================================
   HEADER FIX PATCH — 3 remaining issues | 23/05/2026
   ============================================================ */

/* ── Fix 1: Search select "Tất cả danh mục" vertical align ──
   jqTransform wraps <select> as:
     .jqTransformSelectWrapper > div > span + a.jqTransformSelectOpen
   The inner span drifts a few px; force flex-center on each layer.   */
.site-search .cat-wrapper .jqTransformSelectWrapper {
  display: flex !important;
  align-items: center;
  height: 100%;
}
.site-search .cat-wrapper .jqTransformSelectWrapper > div {
  display: flex !important;
  align-items: center;
  height: 100%;
}
.site-search .cat-wrapper .jqTransformSelectWrapper > div > span {
  display: flex !important;
  align-items: center;
  height: 100%;
  line-height: 1 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* ── Fix 2: Nav link heading styles — restore large bold ──
   Previous T09 value: 14px / 600. Desktop now 15px / 700.
   Responsive sizes are re-declared below so they win in cascade.     */
.site-header .site-nav-list > li > a {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
/* Tablet 768–1024px: keep compact */
@media (max-width: 1024px) {
  .site-header .site-nav-list > li > a {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
  }
}

/* ── Fix 3: Mobile/tablet nav — hamburger toggle ──
   Replaces the old overflow-x horizontal-scroll approach.            */

/* sub-toggle chevron — desktop: hidden, shown via mobile media query below */
.sub-toggle { display: none; }

/* Hamburger button — desktop: hidden */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 52px;
  min-height: 44px;
  height: auto;
  padding: 6px 6px 5px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: auto;
}
.nav-hamburger .nav-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-hamburger-label {
  display: block;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: 0.02em;
  margin-top: 1px;
  white-space: nowrap;
}
.nav-hamburger.is-open .nav-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.is-open .nav-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open .nav-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile ≤768px — override old scroll rules, switch to vertical */
@media (max-width: 768px) {
  .site-header .nav-hamburger { display: flex; }

  .site-header .site-nav .container-new {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding-top: 6px;
    padding-bottom: 0;
  }

  /* Hide list; override old overflow-x approach */
  .site-header .site-nav-list {
    display: none;
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
    overflow-x: visible;
    padding: 0 0 6px 0;
    margin-top: 4px;
    scrollbar-width: auto;
    -webkit-overflow-scrolling: auto;
  }
  .site-header .site-nav-list.is-open { display: flex; }
  .site-header .site-nav-list::-webkit-scrollbar { display: initial; }

  .site-header .site-nav-list > li {
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.12);
  }
  .site-header .site-nav-list > li > a {
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 700;
    white-space: normal;
    display: block;
  }

  /* Parent link row: flex to align link + toggle button */
  .site-header .site-nav-list > li.has-sub {
    position: relative;
  }
  .site-header .site-nav-list > li.has-sub > a {
    padding-right: 48px;
  }

  /* Sub-toggle button — mobile only */
  .sub-toggle {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 48px;
    background: rgba(0,0,0,0.15);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s, transform .2s;
    outline: none;
    padding: 0;
  }
  .sub-toggle:hover { background: rgba(0,0,0,0.28); }
  .sub-toggle svg { transition: transform .2s; }
  .site-header .site-nav-list > li.has-sub.is-expanded .sub-toggle svg {
    transform: rotate(180deg);
  }

  /* Sub-menu: hidden by default, expand via JS */
  .site-header .site-nav-list > li > ul {
    display: none;
    position: static;
    background: rgba(0,0,0,0.18);
  }
  .site-header .site-nav-list > li.is-expanded > ul {
    display: block !important;
  }
  .site-header .site-nav-list > li > ul li a {
    padding: 9px 28px;
    font-size: 13px;
    font-weight: 600;
  }
}

/* 390px — tighten nav item padding */
@media (max-width: 390px) {
  .site-header .site-nav-list > li > a {
    padding: 10px 12px;
    font-size: 13px;
  }
}

/* ============================================================
   T13 — HOMEPAGE HERO: Sidebar Danh Mục + Slider Banner
   Scope: .home-hero-wrap, .home-cate-sidebar, .home-slider-col
   Không ảnh hưởng trang danh mục / chi tiết / tin tức
   ============================================================ */

/* ── Wrapper hero: CSS Grid — banner column defines row height, sidebar stretches to match ── */
.home-hero-wrap {
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: stretch;
  margin-bottom: 20px;
}

/* ── Sidebar danh mục: cột trái 260px, JS sets explicit height = bannerEl.getBoundingClientRect().height.
   overflow:visible — must NOT clip submenu dropdowns that open to the right at left:268px.
   position:relative + z-index — ensures sidebar stacking context sits above banner (z:1). ── */
.home-hero-wrap .home-cate-sidebar {
  width: 260px !important;
  box-sizing: border-box;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: visible;
  position: relative;
  z-index: 10;
  border: 1px solid #E0E0E0;
  border-right: none;
  background: #fff;
}

/* ── Slider banner: cột phải 1fr, chiều cao tự nhiên của ảnh OWL ── */
.home-hero-wrap .home-slider-col {
  width: 100% !important;
  float: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box;
}

/* ── Tiêu đề sidebar ── */
.home-cate-sidebar .mega-left-title {
  background: #C62828 !important;
  height: auto !important;
  padding: 11px 16px !important;
  margin: 0;
  flex-shrink: 0;
}
.home-cate-sidebar .mega-left-title::before,
.home-cate-sidebar .mega-left-title strong::before {
  display: none !important;
}
.home-cate-sidebar .mega-left-title strong {
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* ── Wrapper menu dọc: flex:1 fill sidebar.
   overflow:visible — dropdown panels (position:absolute, left:268px) must escape this box.
   padding-bottom:38px reserves space for the absolutely-positioned see-all button. ── */
.home-cate-sidebar .sm_megamenu_wrapper_vertical_menu {
  border: none !important;
  padding: 4px 0 38px !important;
  margin-bottom: 0 !important;
  background: #fff;
  flex: 1 1 auto;
  min-height: 0;
  overflow: visible;
}

/* Extra items hidden by JS when they exceed available height */
.home-cate-sidebar .is-extra-hidden {
  display: none !important;
}

/* ── Mỗi item danh mục ── */
.home-cate-sidebar .sm_megamenu_wrapper_vertical_menu .sm_megamenu_menu > li > a {
  padding: 9px 14px 9px 16px !important;
  font-size: 13px;
  color: #212121 !important;
  text-transform: none !important;
  border-bottom: 1px solid #F5F5F5;
  transition: background 0.15s, color 0.15s;
  display: block;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-cate-sidebar .sm_megamenu_wrapper_vertical_menu .sm_megamenu_menu > li:last-child > a {
  border-bottom: none;
}
.home-cate-sidebar .sm_megamenu_wrapper_vertical_menu .sm_megamenu_menu > li:hover > a {
  background-color: #FFEBEE !important;
  color: #C62828 !important;
}
.home-cate-sidebar .sm_megamenu_wrapper_vertical_menu .sm_megamenu_menu > li.sm_megamenu_actived > a {
  background-color: #FFEBEE !important;
  color: #C62828 !important;
  border-left: 3px solid #C62828;
  padding-left: 13px !important;
}

/* Arrow indicator khi có danh mục con */
.home-cate-sidebar .sm_megamenu_wrapper_vertical_menu .sm_megamenu_menu > li.parent-child > a::before {
  color: #9E9E9E;
  font-size: 11px;
}
.home-cate-sidebar .sm_megamenu_wrapper_vertical_menu .sm_megamenu_menu > li.parent-child:hover > a::before {
  color: #C62828;
}

/* ── Nút "Xem tất cả ▼" — position:absolute bottom:0, không theo last menu item.
   z-index:30 > wrapper z-index:29 (theme-french) — ensures button paints above
   the wrapper's white background (which extends down through padding-bottom:38px). ── */
.home-cate-see-more {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38px;
  line-height: 38px;
  text-align: center;
  margin: 0;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 600;
  color: #C62828;
  background: #FFEBEE;
  border: none;
  border-top: 1px solid #E0E0E0;
  cursor: pointer;
  transition: background 0.15s;
  box-sizing: border-box;
  z-index: 30;
}
.home-cate-see-more:hover {
  background: #FFCDD2;
  color: #B71C1C;
}

/* ── Cột slider: block (not inline-block) removes baseline gap; zero margin for top alignment ── */
.home-slider-col .yt-slideshow {
  display: block;
  margin: 0;
  padding: 0;
}
.home-slider-col .margin-sl-image {
  margin: 0;
  overflow: hidden;
  background: #fff;
}

/* Ảnh slider: height cố định — Desktop target 1920x650, object-fit:cover */
.home-slider-col .sm_imageslider .item img {
  width: 100%;
  height: 500px;
  min-height: 480px;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* OwlCarousel buttons */
.home-slider-col .owl-buttons .owl-prev,
.home-slider-col .owl-buttons .owl-next {
  background: rgba(0,0,0,0.45) !important;
  border-radius: 0 !important;
  opacity: 1;
  transition: background 0.15s;
}
.home-slider-col .owl-buttons .owl-prev:hover,
.home-slider-col .owl-buttons .owl-next:hover {
  background: rgba(0,0,0,0.72) !important;
}

/* OwlCarousel dots */
.home-slider-col .owl-pagination .owl-page span {
  background: rgba(255,255,255,0.6) !important;
  border-radius: 50%;
  width: 8px;
  height: 8px;
}
.home-slider-col .owl-pagination .owl-page.active span {
  background: #C62828 !important;
}

/* HERO OWL VIEWPORT CLIP FIX */
.home-hero-wrap .home-slider-col,
.home-hero-wrap .yt-slideshow,
.home-hero-wrap .sm_imageslider,
.home-hero-wrap .owl-wrapper-outer {
  overflow: hidden;
  max-width: 100%;
}

.home-hero-wrap .home-slider-col {
  min-width: 0;
}

.home-hero-wrap .owl-item img {
  width: 100%;
  max-width: 100%;
  display: block;
}

/* ── Responsive: tablet 768–991px ── */
@media (max-width: 991px) and (min-width: 768px) {
  .home-hero-wrap {
    grid-template-columns: 230px 1fr;
  }
  .home-hero-wrap .home-cate-sidebar {
    width: 230px !important;
  }
  /* Tablet target: 1200x500 */
  .home-slider-col .sm_imageslider .item img {
    height: 360px;
    min-height: 340px;
  }
}

/* ── Responsive: mobile < 768px ── */
@media (max-width: 767px) {
  .home-hero-wrap {
    display: block;
    margin-bottom: 12px;
  }
  .home-hero-wrap .home-cate-sidebar {
    display: none !important;
  }
  .home-hero-wrap .home-slider-col {
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  /* Mobile target: 1080x1350 portrait — taller height for portrait uploads */
  .home-slider-col .sm_imageslider .item img {
    height: 280px;
    min-height: 260px;
    max-height: 340px;
    object-fit: cover;
    object-position: center top;
  }
}

/* ============================================================
   T12 — FOOTER HTML + CSS
   Scope: .site-footer-new, .footer-subscribe-strip, .footer-copyright-bar
   Không ảnh hưởng header / product / category / trang khác
   ============================================================ */

/* ── Base footer ── */
.site-footer-new {
  background: #1A1A1A;
  color: #BDBDBD;
  font-size: 13px;
}

/* ── Subscribe + Social strip ── */
.footer-subscribe-strip {
  background: #111111;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
}
.footer-sub-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-sub-text { flex-shrink: 0; }
.footer-sub-title {
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  margin: 0 0 2px !important;
}
.footer-sub-desc {
  color: #9E9E9E;
  font-size: 12px;
  margin: 0 !important;
}
.footer-sub-form {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  flex: 1;
  min-width: 240px;
}
.footer-sub-form .input-box {
  flex: 1;
  position: relative;
}
.footer-sub-form #newsletter {
  width: 100% !important;
  height: 36px !important;
  background: #2A2A2A !important;
  border: 1px solid #444 !important;
  color: #ccc !important;
  padding: 0 10px !important;
  font-size: 13px !important;
  border-radius: 4px !important;
  box-sizing: border-box;
}
.footer-sub-form .actions {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.footer-sub-form .button.sex {
  height: 36px !important;
  line-height: 36px !important;
  padding: 0 12px !important;
  background: #C62828 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 4px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: background 0.15s;
}
.footer-sub-form .button.sex:hover { background: #B71C1C !important; }
.footer-sub-form .NH-loading,
.footer-sub-form .NH-success {
  display: none;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
}

/* Social icons */
.footer-social-col { padding-top: 4px; }
.footer-social-heading {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.footer-social-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-social-list li { margin: 0; padding: 0; }
.footer-social-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: #C62828 !important;
  color: #fff !important;
  border-radius: 4px;
  font-size: 16px;
  text-decoration: none !important;
  transition: background 0.15s;
}
.footer-social-link:hover {
  background: #B71C1C !important;
  color: #fff !important;
  text-decoration: none !important;
}
.footer-social-link span { display: none; }

/* ── Main footer columns ── */
.footer-main-section { padding: 36px 0 24px; }
.footer-col {
  margin-bottom: 24px;
  padding-right: 20px;
  box-sizing: border-box;
}
.footer-col-heading {
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #C62828;
  padding-bottom: 8px;
  margin: 0 0 14px;
  line-height: 1.4;
}

/* Brand column */
.footer-brand-desc {
  color: #9E9E9E;
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 10px;
}
.footer-hotline-row { margin: 0; }
.footer-hotline-link {
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
  transition: color 0.15s;
}
.footer-hotline-link:hover {
  color: #C62828 !important;
  text-decoration: none !important;
}
/* A01: hotline icon alignment + pulse glow */
.footer-hotline-icon {
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
  margin-top: -2px;
  flex-shrink: 0;
}
.footer-hotline-pulse {
  display: inline-flex;
  align-items: center;
  animation: hotlinePulse 2.4s ease-in-out infinite;
}
@keyframes hotlinePulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.72; }
}

/* Nav columns */
.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav-list li { padding: 0 0 7px; }
.footer-nav-list li:last-child { padding-bottom: 0; }
.footer-nav-list a {
  color: #BDBDBD !important;
  font-size: 13px;
  text-decoration: none !important;
  transition: color 0.15s;
  display: inline-block;
}
.footer-nav-list a:hover {
  color: #fff !important;
  text-decoration: none !important;
}

/* Company column */
.footer-company-body {
  color: #9E9E9E;
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 12px;
}
.footer-company-body a { color: #BDBDBD !important; text-decoration: none !important; }
.footer-company-body a:hover { color: #fff !important; }

/* Payment logos */
.footer-logos-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.footer-logos-list li { margin: 0; padding: 0; }
.footer-logos-list img {
  max-height: 28px;
  width: auto;
  display: block;
  opacity: 0.75;
  transition: opacity 0.15s;
}
.footer-logos-list a:hover img { opacity: 1; }

/* ── Copyright bar ── */
.footer-copyright-bar {
  background: #111111;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 10px 0;
}
.footer-copyright {
  color: #757575;
  font-size: 12px;
  text-align: center;
  line-height: 1.5;
}
.footer-copyright a { color: #9E9E9E !important; text-decoration: none !important; }
.footer-copyright a:hover { color: #fff !important; }

/* ── Responsive ── */
@media (max-width: 991px) {
  .footer-sub-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-sub-form { min-width: 0; width: 100%; }
  .footer-col { padding-right: 12px; }
}
@media (max-width: 767px) {
  .footer-subscribe-strip { padding: 16px 0; }
  .footer-social-col { padding-top: 16px; }
  .footer-main-section { padding: 24px 0 12px; }
  .footer-sub-form { flex-wrap: wrap; gap: 8px; }
  .footer-sub-form .input-box { width: 100%; }
  .footer-sub-form .actions { width: 100%; }
  .footer-sub-form .button.sex { flex: 1; text-align: center; }
  .footer-copyright { text-align: left; }

  /* 2-cột mobile: override Bootstrap col-xs-12 bằng CSS grid */
  .footer-cols-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .footer-cols-row > .footer-col {
    width: auto !important;
    float: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-bottom: 0;
  }

  /*
   * Thứ tự DOM từ loop: Brand(1) | nav1-Giới thiệu(2) | nav2-Hướng dẫn(3) | nav3-Thông tin(4) | Company(5)
   * Muốn mobile hiển thị: Brand(1) | Hướng dẫn(2) / Giới thiệu(3) | Thông tin(4) / Company full-width(5)
   * Cần đặt order tường minh cho tất cả để tránh xung đột với default order:0
   */
  .footer-cols-row > .footer-col:nth-child(1) { order: 1; } /* Brand */
  .footer-cols-row > .footer-col:nth-child(2) { order: 3; } /* Giới thiệu → hàng 2 trái */
  .footer-cols-row > .footer-col:nth-child(3) { order: 2; } /* Hướng dẫn → hàng 1 phải */
  .footer-cols-row > .footer-col:nth-child(4) { order: 4; } /* Thông tin → hàng 2 phải */
  /* Công ty: luôn cuối, span full width */
  .footer-cols-row > .footer-col-company {
    order: 5;
    grid-column: 1 / -1;
  }
}

/* ============================================================
   T13 — PRODUCT CARD UI UPGRADE
   Scope: .respl-item (tất cả product card), .bs-item (related)
   Không ảnh hưởng header, footer, cart logic, URL, backend
   ============================================================ */

/* ── Grid: equal-height rows ── */
.products-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch;
}

/* ── Card wrapper ── */
.respl-item {
  display: flex !important;
  flex-direction: column;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.respl-item .item-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #EEEEEE;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.respl-item .item-inner:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.13);
  transform: translateY(-2px);
}

/* ── Image: 1:1 aspect ratio, no distort, zoom on hover ── */
.respl-item .w-image-box {
  position: relative;
  overflow: hidden;
  background: #F5F5F5;
}

.respl-item .hover-background {
  display: none !important;
}

.respl-item .item-image {
  position: relative;
  display: block;
  width: 100%;
  padding-bottom: 100%;
  height: 0;
  overflow: hidden;
}

.respl-item .item-image .product-image {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.respl-item .item-image .product-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.respl-item .item-inner:hover .item-image .product-image img {
  transform: scale(1.07);
}

/* ── Sale badge ── */
.respl-item .sale-item {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  pointer-events: none;
}

.respl-item .sale-item .txt-label {
  background: #C62828;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  display: inline-block;
  line-height: 1.4;
  text-transform: none;
}

/* ── Info section ── */
.respl-item .item-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 10px 12px 12px;
}

/* ── Title: 2-line clamp ── */
.respl-item .item-title {
  flex: 1;
  margin-bottom: 8px;
}

.respl-item .item-title a {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  color: #1f2937 !important;
  text-decoration: none !important;
  word-break: break-word;
  max-height: 3.8em;
}

.respl-item .item-title a:hover {
  color: #C62828 !important;
  text-decoration: none !important;
}

/* ── Price ── */
.respl-item .item-price {
  margin-top: auto;
}

.respl-item .price-box {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.respl-item .price-box .old-price,
.respl-item .price-box .special-price {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.3;
  display: block;
}

.respl-item .price-box .price-label {
  display: none !important;
}

.respl-item .price-box .old-price .price {
  font-size: 11px !important;
  color: #BDBDBD !important;
  text-decoration: line-through;
  font-weight: 400 !important;
}

.respl-item .price-box .special-price .price,
.respl-item .price-box .special-price .price .price {
  font-size: 16px !important;
  color: #C62828 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

/* ── Sidebar product cards: .block-left-products .bs-item ──
   Scoped cao hơn theme-french.css để override float-based layout cũ.
   Áp dụng cho: best seller (homepage/category) + related (product detail).
   Dùng !important để beat specificity của theme-french.css.
   ── */

/* Reset old float layout, dùng flex */
.block-left-products .bs-item {
  padding: 0 0 10px !important;
  border-bottom: 1px solid #F0F0F0 !important;
  margin-bottom: 10px !important;
  display: block !important;
  width: 100% !important;
  box-sizing: border-box;
}

.block-left-products .bs-item:last-child {
  border-bottom: none !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.block-left-products .bs-item .bs-item-inner {
  display: flex !important;
  flex-direction: row !important;
  gap: 12px;
  align-items: center;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.block-left-products .bs-item .bs-item-inner .bs-image {
  flex-shrink: 0 !important;
  width: 86px !important;
  height: 86px !important;
  float: none !important;
  overflow: hidden;
  border-radius: 6px;
  background: #F5F5F5;
}

.block-left-products .bs-item .bs-item-inner .bs-image a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.block-left-products .bs-item .bs-item-inner .bs-image a img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  display: block !important;
  transition: opacity 0.2s !important;
}

.block-left-products .bs-item .bs-item-inner .bs-image a img:hover {
  opacity: 0.85 !important;
}

.block-left-products .bs-item .bs-item-inner .bs-content {
  flex: 1 !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.block-left-products .bs-item .bs-item-inner .bs-content .bs-title a {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  padding: 0 !important;
  color: #1f2937 !important;
  text-decoration: none !important;
}

.block-left-products .bs-item .bs-item-inner .bs-content .bs-title a:hover {
  color: #C62828 !important;
}

/* Price box: bỏ height cố định của theme-french (height:30px), cho auto */
.block-left-products .bs-item .bs-item-inner .bs-content .price-box {
  height: auto !important;
  line-height: 1.3 !important;
  margin-top: 5px;
}

/* Ẩn label giá "Giá bán:", "Giá cũ:" */
.block-left-products .bs-item .bs-item-inner .bs-content .price-label {
  display: none !important;
}

/* Giá hiện tại: đỏ, đậm */
.block-left-products .bs-item .bs-item-inner .bs-content .price-box .price {
  color: #C62828 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

/* Giá cũ: xám, gạch ngang */
.block-left-products .bs-item .bs-item-inner .bs-content .price-box .old-price .price {
  font-size: 11px !important;
  color: #BDBDBD !important;
  font-weight: 400 !important;
  text-decoration: line-through !important;
}

/* minimal-price (best seller template) */
.block-left-products .bs-item .bs-item-inner .bs-content .minimal-price .price {
  color: #C62828 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

/* regular-price (related template) */
.block-left-products .bs-item .bs-item-inner .bs-content .regular-price .price {
  color: #C62828 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

/* ── Responsive: tablet 768–991px ── */
@media (max-width: 991px) and (min-width: 768px) {
  .respl-item .item-title a {
    font-size: 12px;
  }
  .respl-item .price-box .special-price .price,
  .respl-item .price-box .special-price .price .price {
    font-size: 15px !important;
  }
}

/* ── Responsive: mobile < 768px ── */
@media (max-width: 767px) {
  .respl-item .item-info {
    padding: 8px 8px 10px;
  }
  .respl-item .item-title a {
    font-size: 12px;
  }
  .respl-item .price-box .special-price .price,
  .respl-item .price-box .special-price .price .price {
    font-size: 14px !important;
  }
}

/* ── End T13 ── */

/* ============================================================
   T14 — HOMEPAGE CATEGORY PRODUCT BLOCKS
   Scope: .section-block-new, .section-title-new, .product-grid-new, .card-product-new
   Không ảnh hưởng trang danh mục / chi tiết / tin tức
   ============================================================ */

/* ── Section wrapper spacing ── */
.section-block-new {
  margin-bottom: 32px;
}

/* ── Section header: tab-style — red title badge aligned to bottom edge ── */
.section-title-new {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-end !important;
  gap: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  border-bottom: 2px solid #C62828 !important;
  border-top: none !important;
  padding: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 16px !important;
  position: static !important;
}

/* Title h2 — compact red tab: rộng bằng chữ, bo góc nhẹ */
.section-title-new h2 {
  display: block !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 7px 14px 8px 12px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  border: none !important;
  background: #C62828 !important;
  background-color: #C62828 !important;
  border-radius: 4px 4px 0 0 !important;
}

/* Title link — chữ trắng trên nền đỏ */
.section-title-new h2 a {
  color: #fff !important;
  text-decoration: none !important;
  text-shadow: none !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}
.section-title-new h2 a:hover {
  color: #FFE0E0 !important;
  text-shadow: none !important;
}

/* Span trong title — transparent bg (thừa từ theme cũ), chữ trắng */
.section-title-new h2 a span {
  display: inline !important;
  background: transparent !important;
  background-color: transparent !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  padding: 0 !important;
  text-transform: none !important;
  line-height: 1.4 !important;
  position: static !important;
  letter-spacing: normal !important;
}

/* Xóa pseudo-element arrow (:before trên span) */
.section-title-new h2 a span:before {
  display: none !important;
  content: none !important;
}

/* ── "Xem thêm →" wrapper — canh giữa dưới lưới sản phẩm ── */
.section-viewmore-wrap {
  text-align: center;
  margin: 16px 0 4px;
  width: 100%;
  clear: both;
}
.section-viewmore-wrap .btn-view-more-cat {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #C62828;
  text-decoration: none;
  padding: 8px 28px;
  border: 1px solid #C62828;
  border-radius: 4px;
  line-height: 1.5;
  white-space: nowrap;
  background: transparent;
  transition: background 0.15s, color 0.15s;
}
.section-viewmore-wrap .btn-view-more-cat:hover,
.section-viewmore-wrap .btn-view-more-cat:focus {
  background: #C62828;
  color: #fff;
  text-decoration: none;
}

/* ── Sub-category chips — fill remaining space, canh phải ── */
.section-title-new .category-wrap-cat {
  display: block !important;
  float: none !important;
  width: auto !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 0 6px 12px !important;
  background: transparent !important;
}
.section-title-new .cat-list {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
  gap: 6px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.section-title-new .cat-list li {
  display: block !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.section-title-new .cat-list li a {
  display: inline-block !important;
  font-size: 12px !important;
  color: #616161 !important;
  padding: 3px 10px !important;
  border: 1px solid #E0E0E0 !important;
  border-radius: 20px !important;
  text-decoration: none !important;
  background: transparent !important;
  line-height: 1.5;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.section-title-new .cat-list li a:hover {
  background: #FFEBEE !important;
  color: #C62828 !important;
  border-color: #C62828 !important;
}

/* ── Product grid: CSS Grid 4 cols — override Bootstrap float ── */
.products-grid.product-grid-new {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-top: 12px !important;
}

/* Bootstrap .row adds ::before/::after clearfix — these become extra grid cells.
   Suppress them so the 4-column layout is stable (no 3-4-1 shift). */
.products-grid.product-grid-new::before,
.products-grid.product-grid-new::after {
  display: none !important;
  content: none !important;
}

/* Neutralize Bootstrap col width / float / padding inside CSS Grid */
.products-grid.product-grid-new > .respl-item {
  width: auto !important;
  max-width: none !important;
  float: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-bottom: 0 !important;
}

/* Card: giữ style mới nhưng gọn hơn trong homepage blocks */
.products-grid.product-grid-new .respl-item .item-inner {
  border-radius: 6px !important;
}
.products-grid.product-grid-new .respl-item .item-info {
  padding: 8px 10px 10px !important;
}

/* ── Carousel nav buttons ── */
.section-block-new .custom-nav-default {
  text-align: right;
  margin-bottom: 6px;
}
.section-block-new .custom-nav-default .button-default {
  background: #C62828 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 4px !important;
  width: 30px !important;
  height: 30px !important;
  line-height: 30px !important;
  text-align: center;
  display: inline-block;
  margin-left: 4px;
  opacity: 1 !important;
  transition: background 0.15s;
}
.section-block-new .custom-nav-default .button-default:hover {
  background: #B71C1C !important;
}

/* ── Carousel item: ảnh 1:1 + hover zoom (scroll mode) ── */
.section-block-new .item-supercat .item-image {
  position: relative;
  overflow: hidden;
  padding-bottom: 100%;
  height: 0;
}
.section-block-new .item-supercat .item-image .product-image {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.section-block-new .item-supercat .item-image .product-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.section-block-new .item-supercat .item-inner:hover .item-image .product-image img {
  transform: scale(1.07);
}

/* ── Responsive: tablet 768-991px ── */
@media (max-width: 991px) and (min-width: 768px) {
  .section-title-new h2 {
    font-size: 14px !important;
    padding: 6px 12px 7px 10px !important;
  }
  .section-title-new h2 a,
  .section-title-new h2 a span {
    font-size: 14px !important;
  }
  .section-title-new .category-wrap-cat {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .section-title-new .cat-list {
    flex-wrap: nowrap !important;
  }
  .section-block-new {
    margin-bottom: 24px;
  }
  .products-grid.product-grid-new {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

/* ── Responsive: mobile < 768px ── */
@media (max-width: 767px) {

  .section-block-new {
    margin-bottom: 20px;
  }

  /* Header: single row — title left, hamburger icon right */
  .section-title-new {
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    padding: 0 !important;
  }

  /* Title h2: chiếm space còn lại, compact */
  .section-title-new h2 {
    flex: 1 1 auto !important;
    width: auto !important;
    font-size: 14px !important;
    padding: 7px 12px 8px !important;
    border-radius: 4px 4px 0 0 !important;
  }
  .section-title-new h2 a,
  .section-title-new h2 a span {
    font-size: 14px !important;
  }

  /* Hamburger: 38px, nằm cùng hàng bên phải title */
  .section-title-new .category-wrap-cat {
    flex: 0 0 38px !important;
    width: 38px !important;
    min-width: 0 !important;
    position: relative !important;
    cursor: pointer !important;
    overflow: visible !important;
    padding: 0 !important;
    background: #B71C1C !important;
    background-image: none !important;
  }

  /* CSS hamburger icon: 3 đường kẻ ngang màu trắng */
  .section-title-new .category-wrap-cat::before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 2px;
    background: #fff;
    box-shadow: 0 5px 0 #fff, 0 -5px 0 #fff;
    pointer-events: none;
  }

  /* Cat-list: ẩn mặc định, xổ xuống khi hover/tap */
  .section-title-new .cat-list {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    width: 180px !important;
    z-index: 999 !important;
    background: #fff !important;
    border: 1px solid #E0E0E0 !important;
    box-shadow: 0 3px 8px rgba(0,0,0,.12) !important;
    padding: 4px 0 !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    margin: 0 !important;
  }
  /* Chip items: đổi từ pill sang block list */
  .section-title-new .cat-list li a {
    display: block !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 7px 14px !important;
    font-size: 13px !important;
    color: #333 !important;
    white-space: normal !important;
    line-height: 1.4 !important;
  }
  .section-title-new .cat-list li a:hover {
    background: #FFEBEE !important;
    color: #C62828 !important;
    border-color: transparent !important;
  }

  /* Xổ dropdown khi hover/tap vào hamburger */
  .section-title-new .category-wrap-cat:hover .cat-list {
    display: flex !important;
  }

  /* Product grid: 2 cột */
  .products-grid.product-grid-new {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 10px !important;
  }

  .section-viewmore-wrap {
    margin: 12px 0 4px;
  }
  .section-viewmore-wrap .btn-view-more-cat {
    font-size: 12px;
    padding: 6px 20px;
  }
}

/* ── Responsive: small mobile < 480px ── */
@media (max-width: 480px) {
  .section-title-new h2 {
    font-size: 13px !important;
    padding: 6px 10px 7px !important;
  }
  .section-title-new h2 a,
  .section-title-new h2 a span {
    font-size: 13px !important;
  }
  .section-title-new .category-wrap-cat {
    flex: 0 0 34px !important;
    width: 34px !important;
  }
  .products-grid.product-grid-new {
    gap: 8px;
  }
  .products-grid.product-grid-new .respl-item .item-info {
    padding: 6px 8px 8px !important;
  }
}

/* ── End T14 ── */

/* ============================================================
   T14-FIX — Homepage carousel: uniform card layout

   Nguồn gốc vấn đề (từ theme-french.css + T05):
   1. .border-cat { box-shadow: 0 0 1px inset } → viền chữ nhật quanh toàn carousel
   2. .respl-item .item-inner { padding: 5px } → ảnh không fill flush, tạo inner gap
   3. .super-cat-wrapper { margin-top: 30px } → khoảng cách thừa giữa title và carousel
   4. T05 .card-product-new có shadow/bg/radius trên outer .item → double frame với .item-inner
   5. .rw-margin { margin: 0 -15px } + .owl-item { padding: 0 15px } → gap 30px quá rộng
   6. Không có min-height trên .item-title → tên 1 dòng làm card thấp hơn tên 2 dòng

   Scope: .section-block-new (carousel mode qua .super-cat-wrapper)
   Không ảnh hưởng: .products-grid.product-grid-new (grid mode), category, deal, news
   ============================================================ */

/* Fix 1: Xóa padding 5px của theme-french trên .item-inner
   → ảnh fill flush lên cạnh card, không có inner gap thừa */
.respl-item .item-inner {
  padding: 0 !important;
}

/* Fix 2: Xóa inset shadow của .border-cat → không còn viền chữ nhật bao quanh carousel */
.section-block-new .border-cat {
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}

/* Fix 3: Reset margin-top của .super-cat-wrapper
   theme-french: margin-top: 30px — thừa vì .section-title-new đã có margin-bottom: 16px */
.section-block-new .super-cat-wrapper {
  margin-top: 0 !important;
}

/* Fix 4: Chuẩn hóa gap giữa các item carousel
   Từ: -15px / 15px (gap 30px — quá rộng)
   Thành: -10px / 10px (gap 20px — đồng bộ grid mode gap: 20px) */
.section-block-new .rw-margin {
  margin-left: -10px !important;
  margin-right: -10px !important;
}
.section-block-new .rw-margin .owl-item {
  padding: 0 10px !important;
  box-sizing: border-box !important;
  border: none !important;
  outline: none !important;
}

/* Fix 5: Xóa double visual layer — outer .item wrapper phải transparent.
   Card visual (border, shadow, radius) đã hoàn chỉnh trên .item-inner.
   .card-product-new (T05) adds shadow/bg/radius trên outer .item → double frame. */
.section-block-new .super-cat-wrapper .item.respl-item {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: none !important;
}
.section-block-new .super-cat-wrapper .item.respl-item:hover {
  box-shadow: none !important;
  transform: none !important;
  background: transparent !important;
}

/* Fix 6: Đảm bảo card đều chiều cao — giữ 2-line space cho tên sản phẩm.
   13px × 1.45 lh × 2 dòng = 37.7px → min-height: 38px.
   Tên 1 dòng: auto-padded lên 38px. Tên 2 dòng: clamp tại 38px.
   → Tất cả card cùng 1 carousel đều chiều cao. */
.section-block-new .super-cat-wrapper .respl-item .item-title {
  min-height: 38px !important;
  flex-shrink: 0 !important;
}

/* Fix 7: Mobile — gap nhỏ hơn trên màn nhỏ (2 items/viewport) */
@media (max-width: 767px) {
  .section-block-new .rw-margin {
    margin-left: -6px !important;
    margin-right: -6px !important;
  }
  .section-block-new .rw-margin .owl-item {
    padding: 0 6px !important;
  }
}

/* ── End T14-FIX ── */

/* ============================================================
   T15 — HOMEPAGE: VÌ SAO CHỌN CHÚNG TÔI
   Scope: .why-choose-section và tất cả con cháu
   Không ảnh hưởng T14, header, sidebar, footer
   ============================================================ */

.why-choose-section {
  background: var(--color-bg-section, #F2F2F2);
  padding: 36px 0 40px;
  margin-bottom: 0;
  box-sizing: border-box;
}

/* Flex wrapper: ảnh trái 40%, nội dung phải 60% */
.why-choose-wrap {
  display: flex;
  align-items: center;
  gap: 40px;
}

/* ── Cột ảnh ── */
.why-choose-image {
  flex: 0 0 40%;
  max-width: 40%;
}

.why-choose-img {
  display: block;
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,.10);
}

/* ── Cột nội dung ── */
.why-choose-content {
  flex: 1 1 auto;
  min-width: 0;
}

/* Tiêu đề — có thanh đỏ bên trái */
.why-choose-title {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #1A1A1A !important;
  margin: 0 0 12px !important;
  padding: 0 0 0 14px !important;
  line-height: 1.35 !important;
  border: none !important;
  border-left: 4px solid #C62828 !important;
  background: transparent !important;
  text-transform: none !important;
}

/* Mô tả */
.why-choose-desc {
  font-size: 14px;
  color: #616161;
  line-height: 1.7;
  margin: 0 0 20px;
  padding: 0;
}

/* Grid 4 điểm mạnh — 2 cột */
.why-choose-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
  margin-bottom: 24px;
}

/* Mỗi điểm: icon + text nằm ngang */
.why-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.why-point-icon {
  flex: 0 0 auto;
  line-height: 0;
  margin-top: 1px;
}

.why-point-icon svg {
  display: block;
}

.why-point-body {
  flex: 1 1 auto;
  min-width: 0;
}

.why-point-body strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #1A1A1A;
  margin-bottom: 3px;
  line-height: 1.3;
}

.why-point-body span {
  display: block;
  font-size: 12px;
  color: #616161;
  line-height: 1.5;
}

/* Nút CTA */
.why-choose-cta {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #C62828;
  text-decoration: none;
  padding: 8px 24px;
  border: 1.5px solid #C62828;
  border-radius: 4px;
  line-height: 1.5;
  background: transparent;
  transition: background .15s, color .15s;
}

.why-choose-cta:hover,
.why-choose-cta:focus {
  background: #C62828;
  color: #fff !important;
  text-decoration: none;
}

/* ── Responsive: tablet 768-991px ── */
@media (max-width: 991px) and (min-width: 768px) {
  .why-choose-wrap {
    gap: 24px;
  }
  .why-choose-title {
    font-size: 19px !important;
  }
  .why-choose-points {
    gap: 14px 16px;
  }
}

/* ── Responsive: mobile < 768px — stack 1 cột ── */
@media (max-width: 767px) {
  .why-choose-section {
    padding: 24px 0 28px;
  }
  .why-choose-wrap {
    flex-direction: column;
    gap: 18px;
  }
  .why-choose-image {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
  }
  .why-choose-img {
    max-height: 200px;
  }
  .why-choose-title {
    font-size: 17px !important;
  }
  .why-choose-desc {
    font-size: 13px;
    margin-bottom: 16px;
  }
  .why-choose-points {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 18px;
  }
}

/* ── Responsive: small mobile < 480px — 1 cột dọc ── */
@media (max-width: 480px) {
  .why-choose-points {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .why-choose-title {
    font-size: 15px !important;
  }
  .why-choose-img {
    max-height: 170px;
  }
}

/* ── End T15 ── */

/* ============================================================
   STICKY LEFT BANNER SIDEBAR — catalog/product area only
   .home-catalog-layout wraps #yt_left + #yt_main in main.html.
   Wrapper ends before .home-video-section so sticky stops there.
   Desktop only (≥992px). Mobile/tablet unchanged.
   top: 110px = sticky header (56px logo area + 46px red nav) + 8px buffer.
   ============================================================ */

@media (min-width: 992px) {
  .home-catalog-layout {
    display: grid;
    grid-template-columns: 290px 1fr;
    align-items: start;
    gap: 0;
  }

  .home-catalog-layout #yt_left {
    float: none !important;
    width: auto !important;
    position: sticky;
    top: 110px;
    align-self: start;
    z-index: 2;
  }

  .home-catalog-layout #yt_main {
    float: none !important;
    width: auto !important;
    min-width: 0;
  }
}

@media (max-width: 991px) {
  .home-catalog-layout {
    display: block;
  }
}

/* ── End STICKY LEFT ── */

/* ============================================================
   T16 — HOMEPAGE: DEALER CTA BANNER
   Scope: .dealer-cta-section và tất cả con cháu
   Không ảnh hưởng T13/T14/T15, footer, header
   ============================================================ */

.dealer-cta-section {
  background: linear-gradient(120deg, #C62828 0%, #7B0000 100%);
  padding: 28px 0;
}

/* Flex row: text trái, nút phải */
.dealer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.dealer-cta-content {
  flex: 1 1 auto;
  min-width: 0;
}

.dealer-cta-title {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #fff !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  line-height: 1.3 !important;
  border: none !important;
  background: transparent !important;
  text-shadow: none !important;
}

.dealer-cta-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
  margin: 0;
  padding: 0;
}

/* Nhóm nút */
.dealer-cta-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Base button */
.dealer-cta-btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 4px;
  border: 2px solid transparent;
  line-height: 1.4;
  white-space: nowrap;
  text-align: center;
  transition: background .15s, color .15s, border-color .15s;
  cursor: pointer;
}

/* Nút chính: nền trắng, chữ đỏ */
.dealer-cta-btn-primary {
  background: #fff;
  color: #C62828;
  border-color: #fff;
}

.dealer-cta-btn-primary:hover,
.dealer-cta-btn-primary:focus {
  background: #FFEBEE;
  color: #B71C1C;
  border-color: #FFEBEE;
  text-decoration: none;
}

/* Nút phụ: viền trắng, nền trong suốt */
.dealer-cta-btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
}

.dealer-cta-btn-outline:hover,
.dealer-cta-btn-outline:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  color: #fff;
  text-decoration: none;
}

/* ── Responsive: tablet 768-991px ── */
@media (max-width: 991px) and (min-width: 768px) {
  .dealer-cta-inner {
    gap: 24px;
  }
  .dealer-cta-title {
    font-size: 20px !important;
  }
  .dealer-cta-btn {
    padding: 10px 20px;
    font-size: 13px;
  }
}

/* ── Responsive: mobile < 768px — stack dọc ── */
@media (max-width: 767px) {
  .dealer-cta-section {
    padding: 20px 0;
  }
  .dealer-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .dealer-cta-title {
    font-size: 19px !important;
  }
  .dealer-cta-desc {
    font-size: 13px;
  }
  .dealer-cta-actions {
    width: 100%;
  }
  .dealer-cta-btn {
    flex: 1 1 auto;
    min-width: 130px;
    padding: 11px 16px;
    font-size: 13px;
    text-align: center;
  }
}

/* ── Responsive: small mobile < 480px — nút full width ── */
@media (max-width: 480px) {
  .dealer-cta-actions {
    flex-direction: column;
    gap: 10px;
  }
  .dealer-cta-btn {
    width: 100%;
    min-width: unset;
  }
  .dealer-cta-title {
    font-size: 17px !important;
  }
}

/* ── Mobile contact bar (#wrap-phone) — footer bottom bar ── */

/* Desktop: ẩn hoàn toàn — override Bootstrap visible-xs/visible-sm */
#wrap-phone {
  display: none !important;
}

/* Mobile only (< 768px): hiện dạng fixed bottom bar */
@media (max-width: 767px) {
  #wrap-phone {
    display: flex !important;
    align-items: stretch;
    background: #fff;
    border-top: 1px solid #e5e5e5;
    width: 100% !important;
    overflow: hidden;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1050;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, .10);
    height: 56px;
  }

  #wrap-phone > [class*="col-xs"] {
    flex: 1 1 0 !important;
    float: none !important;
    width: auto !important;
    padding: 0 !important;
    text-align: center;
    display: flex;
    align-items: stretch;
  }

  #wrap-phone > [class*="col-xs"]:not(:last-child) {
    border-right: 1px solid #EEEEEE;
  }

  #wrap-phone .link_title {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 6px 4px 4px;
    color: #333 !important;
    text-decoration: none !important;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
    line-height: 1.2;
    gap: 3px;
  }

  #wrap-phone .link_title:active {
    background: #FFF5F5;
    color: #C62828 !important;
  }

  #wrap-phone .link_title img {
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    object-fit: contain !important;
    margin: 0 !important;
    flex-shrink: 0;
  }

  /* Chừa khoảng trống cuối trang bằng chiều cao bar */
  body {
    padding-bottom: 56px;
  }
}

/* ── End T16 ── */

/* ============================================================
   T17 — HOMEPAGE VIDEO BLOCK
   Scope: .home-video-section và con cháu
   Không ảnh hưởng T13/T14/T15/T16, footer, header
   ============================================================ */

/* Section wrapper */
.home-video-section {
  padding: 24px 0 32px !important;
}

/* Grid: 4 cols — CSS Grid để tránh Bootstrap float issues */
.home-video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 0;
}

/* Card */
.home-video-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  transition: box-shadow .2s ease, transform .2s ease;
}

.home-video-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, .14);
  transform: translateY(-3px);
}

/* Thumbnail: tỉ lệ 16:9 */
.home-video-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  background: #111;
  padding-bottom: 56.25%;
  height: 0;
}

.home-video-thumb > a {
  display: block !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.home-video-thumb img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform .35s ease !important;
}

.home-video-card:hover .home-video-thumb img {
  transform: scale(1.05) !important;
}

/* Play button overlay — đè lên .play của theme cũ */
.home-video-thumb .play {
  display: block !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 46px !important;
  height: 46px !important;
  background: rgba(198, 40, 40, 0.88) !important;
  border-radius: 50% !important;
  z-index: 3 !important;
  pointer-events: none !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .35) !important;
  transition: background .2s ease, transform .2s ease !important;
}

/* Triangle play icon via ::after */
.home-video-thumb .play::after {
  content: '' !important;
  position: absolute !important;
  top: 50% !important;
  left: 56% !important;
  transform: translate(-50%, -50%) !important;
  width: 0 !important;
  height: 0 !important;
  border-style: solid !important;
  border-width: 8px 0 8px 14px !important;
  border-color: transparent transparent transparent #fff !important;
}

.home-video-card:hover .home-video-thumb .play {
  background: #B71C1C !important;
  transform: translate(-50%, -50%) scale(1.1) !important;
}

/* Info: tên video */
.home-video-info {
  padding: 9px 12px 11px;
}

.home-video-name {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #212121 !important;
  text-decoration: none !important;
  line-height: 1.45 !important;
  transition: color .15s !important;
}

.home-video-name:hover {
  color: #C62828 !important;
  text-decoration: none !important;
}

/* Tablet 768-991px: 3 cols */
@media (max-width: 991px) and (min-width: 768px) {
  .home-video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
}

/* Note: outer div có hidden-xs → đã tự ẩn trên mobile < 768px */

/* ── End T17 ── */

/* ============================================================
   T34 — BOTTOM NAVIGATION BAR (mobile only)
   Scope: .bottom-nav và con cháu — chỉ hiện trên mobile < 768px
   Thay thế #wrap-phone (T16) trên mobile
   ============================================================ */

/* Desktop: ẩn hoàn toàn */
.bottom-nav {
  display: none;
}

@media (max-width: 767px) {
  /* Ẩn #wrap-phone cũ để tránh double-bar */
  #wrap-phone {
    display: none !important;
  }

  /* Bottom nav wrapper */
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: #fff;
    border-top: 1px solid #E5E5E5;
    z-index: 1060;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, .09);
    padding: 0;
    margin: 0;
  }

  /* Items: 4 equal columns — S2.1-T01 conversion nav */
  .bottom-nav-item {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #757575;
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    gap: 3px;
    transition: color .15s, background .15s;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    min-height: 44px;
    border: none;
    background: transparent;
    padding: 0;
    font-family: inherit;
    outline: none;
  }
  .bottom-nav-item:hover,
  .bottom-nav-item:active {
    text-decoration: none;
  }
  /* Call — green */
  .bottom-nav-call         { color: #2E7D32; }
  .bottom-nav-call:hover,
  .bottom-nav-call:active  { color: #1B5E20; }
  /* Zalo — blue */
  .bottom-nav-zalo         { color: #0068ff; }
  .bottom-nav-zalo:hover,
  .bottom-nav-zalo:active  { color: #0054cc; }
  /* AI — brand red */
  .bottom-nav-ai           { color: #C62828; }
  .bottom-nav-ai:hover,
  .bottom-nav-ai:active    { color: #b71c1c; }
  /* Cart — neutral dark */
  .bottom-nav-cart         { color: #424242; }
  .bottom-nav-cart:hover,
  .bottom-nav-cart:active  { color: #212121; }

  /* Icon wrapper */
  .bottom-nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    position: relative;
  }

  .bottom-nav-icon svg {
    width: 22px;
    height: 22px;
  }

  /* Label */
  .bottom-nav-label {
    font-size: 10px;
    line-height: 1;
    white-space: nowrap;
  }

  /* Body padding — tránh content bị che, bao gồm iPhone safe area */
  body {
    padding-bottom: calc(60px + env(safe-area-inset-bottom));
  }

  /* Safe area cho bottom nav trên iPhone X+ */
  .bottom-nav {
    padding-bottom: env(safe-area-inset-bottom);
    height: calc(60px + env(safe-area-inset-bottom));
  }
}

/* ── End T34 ── */

/* ============================================================
   S2.1-T01 — PRODUCT PAGE STICKY CTA BAR (mobile only)
   ============================================================ */

.pd-sticky-cta {
  display: none;
}

@media (max-width: 767px) {
  .pd-sticky-cta {
    display: none; /* JS controls visibility via .is-visible */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(56px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: #fff;
    border-top: 1px solid #E5E5E5;
    z-index: 1061; /* above .bottom-nav (1060) */
    box-shadow: 0 -2px 10px rgba(0,0,0,.12);
    flex-direction: row;
    align-items: stretch;
  }
  .pd-sticky-cta.is-visible {
    display: flex;
  }
  /* When sticky bar visible, hide global bottom nav */
  body.pd-sticky-open .bottom-nav {
    display: none;
  }

  .pd-sticky-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    gap: 3px;
    min-height: 44px;
    transition: background .15s;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
  }
  .pd-sticky-btn svg {
    width: 20px;
    height: 20px;
  }
  /* Call — full green bg */
  .pd-sticky-call {
    background: #2E7D32;
    color: #fff;
  }
  .pd-sticky-call:hover,
  .pd-sticky-call:active { background: #1B5E20; color: #fff; }
  /* Zalo — blue */
  .pd-sticky-zalo {
    background: #0068ff;
    color: #fff;
  }
  .pd-sticky-zalo:hover,
  .pd-sticky-zalo:active { background: #0054cc; color: #fff; }
  /* Trả góp — brand red */
  .pd-sticky-installment {
    background: #C62828;
    color: #fff;
  }
  .pd-sticky-installment:hover,
  .pd-sticky-installment:active { background: #b71c1c; color: #fff; }
}

/* ── End S2.1-T01 sticky CTA ── */

/* ============================================================
   S2.1-T01 — CHECKOUT MOBILE FIXES
   ============================================================ */

@media (max-width: 767px) {
  /* Form inputs full width, legible font size */
  .opc-wrapper-opc input[type="text"],
  .opc-wrapper-opc input[type="tel"],
  .opc-wrapper-opc input[type="email"],
  .opc-wrapper-opc select,
  .opc-wrapper-opc textarea {
    font-size: 16px !important; /* prevent iOS auto-zoom */
    width: 100%;
    box-sizing: border-box;
  }
  /* Checkout columns stack vertically */
  .opc-col-left,
  .opc-col-right {
    width: 100% !important;
    float: none !important;
    margin-left: 0 !important;
  }
  /* Checkout button full width */
  .opc-wrapper-opc .btn-checkout {
    width: 100%;
    min-height: 48px;
    font-size: 16px;
  }
  /* Prevent horizontal overflow */
  .opc-wrapper-opc {
    overflow-x: hidden;
  }
}

/* ── End checkout mobile fixes ── */

/* ============================================================
   T38 — SCROLL TO TOP BUTTON
   ============================================================ */

.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: #C62828;
  color: #fff;
  cursor: pointer;
  z-index: 990;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, background 0.15s;
  padding: 0;
}

.scroll-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-to-top:hover {
  background: #B71C1C;
  transform: translateY(-3px);
}

.scroll-to-top svg {
  flex-shrink: 0;
}

/* Mobile: nằm trên bottom nav (56px) + margin */
@media (max-width: 767px) {
  .scroll-to-top {
    bottom: 68px;
    right: 14px;
    width: 44px;
    height: 44px;
  }
}

/* ── End T38 ── */

/* ============================================================
   T45 Refine — Featured Products Section (.home-featured-section)
   Scope: homepage only — full-width section between hero and sidebar
   ============================================================ */

.home-featured-section {
  clear: both;
  width: 100%;
  padding: 24px 0 28px;
  margin-bottom: 20px;
}

/* ── Heading row: title left, prev/next right ── */
.home-featured-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f2f2f2;
}

.hf-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-black, #1a1a1a);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin: 0;
  padding-left: 12px;
  border-left: 4px solid var(--color-red, #C62828);
  line-height: 1.3;
}

/* ── Prev/Next nav buttons ── */
.hf-nav {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.hf-btn {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--color-red, #C62828);
  background: #fff;
  color: var(--color-red, #C62828);
  border-radius: 50%;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.18s;
  padding: 0;
}

.hf-btn:hover {
  background: var(--color-red, #C62828);
  color: #fff;
}

/* ── OWL carousel: item padding ── */
.home-featured-carousel .hf-item {
  padding: 0 7px;
}

/* ── Product card ── */
.home-featured-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.home-featured-card:hover {
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.14);
  transform: translateY(-3px);
}

/* ── Image area ── */
.hf-image-wrap {
  position: relative;
  overflow: hidden;
  background: #f7f7f7;
}

.hf-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.home-featured-card:hover .hf-image-wrap img {
  transform: scale(1.05);
}

/* ── "Nổi bật" badge (top-left) ── */
.featured-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--color-red, #C62828);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.6;
  pointer-events: none;
}

/* ── Discount % badge (top-right) ── */
.hf-sale-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #e65100;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  line-height: 1.6;
  pointer-events: none;
}

/* ── Card info area ── */
.hf-info {
  padding: 10px 12px 14px;
}

.hf-name {
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}

.hf-name a {
  color: var(--color-text-primary, #212121);
  text-decoration: none;
}

.hf-name a:hover {
  color: var(--color-red, #C62828);
}

.hf-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hf-old-price {
  font-size: 12px;
  color: var(--color-text-muted, #9e9e9e);
  text-decoration: line-through;
  line-height: 1.4;
}

.hf-sale-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-red, #C62828);
  line-height: 1.3;
}

/* ── Mobile ── */
@media (max-width: 767px) {
  .home-featured-section {
    padding: 16px 0 20px;
    margin-bottom: 12px;
  }

  .hf-title {
    font-size: 15px;
  }

  .hf-btn {
    width: 28px;
    height: 28px;
    font-size: 18px;
  }

  .hf-info {
    padding: 8px 10px 12px;
  }

  .hf-name {
    font-size: 12px;
    min-height: 35px;
  }

  .hf-sale-price {
    font-size: 13px;
  }

  .hf-old-price {
    font-size: 11px;
  }
}

/* ── End T45 Featured ── */

/* ============================================================
   T46 Refine — Featured Categories (.home-featured-cate-section)
   Card design: tall image + pill label overlaid at bottom center
   Scope: homepage only
   ============================================================ */

.home-featured-cate-section {
  clear: both;
  width: 100%;
  padding: 20px 0 24px;
  margin-bottom: 4px;
}

/* ── OWL item padding ── */
.home-featured-cate-carousel .hfc-item {
  padding: 0 6px;
}

/* ── Card: <a> — fixed height, image fills, label overlaid ── */
.hfc-card {
  display: block;
  position: relative;
  height: 260px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
  text-decoration: none;
  background: #d0d0d0;
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.hfc-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transform: translateY(-3px);
  text-decoration: none;
}

/* ── Image: cover the full card ── */
.hfc-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.hfc-card:hover img {
  transform: scale(1.05);
}

/* ── Pill label: centered at bottom, semi-transparent ── */
.hfc-label {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(20, 20, 20, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 999px;
  padding: 8px 20px;
  white-space: nowrap;
  max-width: calc(100% - 20px);
  transition: background 0.2s ease;
}

.hfc-card:hover .hfc-label {
  background: rgba(198, 40, 40, 0.78);
}

.hfc-label-text {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Mobile ── */
@media (max-width: 767px) {
  .home-featured-cate-section {
    padding: 14px 0 18px;
    margin-bottom: 2px;
  }

  .hfc-card {
    height: 200px;
    border-radius: 10px;
  }

  .hfc-label {
    bottom: 12px;
    padding: 6px 14px;
  }

  .hfc-label-text {
    font-size: 11px;
  }
}

/* ── End T46 Featured Cate ── */

/* ============================================================
   T47/T48-FIX — Dealer Registration Page
   /dang-ky-dai-ly.html
   ============================================================ */

/* ── Hero — Premium B2B redesign ── */
.dealer-hero {
  position: relative;
  overflow: hidden;
  padding: 68px 0 60px;
  text-align: center;
  border-radius: 14px;
  margin-top: 24px;
  margin-bottom: 36px;
  background:
    linear-gradient(135deg, #0a0a0a 0%, #1a0505 35%, #7b1010 68%, #C62828 100%);
}
.dealer-hero::before {
  content: '';
  position: absolute;
  top: -60%;
  left: 10%;
  width: 80%;
  height: 160%;
  background: radial-gradient(ellipse, rgba(198,40,40,.28) 0%, transparent 65%);
  pointer-events: none;
}
.dealer-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.dealer-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
}
.dh-top-row {
  margin-bottom: 20px;
}
.dealer-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(198,40,40,.22);
  border: 1px solid rgba(198,40,40,.55);
  color: #ffb3b3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  padding: 6px 18px;
  border-radius: 999px;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.dh-badge-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff8a80;
  flex-shrink: 0;
  animation: dh-pulse 2s ease-in-out infinite;
}
@keyframes dh-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.75); }
}
.dealer-hero-title {
  font-size: 44px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 18px;
  letter-spacing: -.01em;
}
.dh-title-highlight {
  display: inline;
  color: transparent;
  background: linear-gradient(90deg, #ff7043, #ffca28);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.dealer-hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,.7);
  margin: 0 0 32px;
  line-height: 1.75;
}

/* Stats row */
.dealer-hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 12px;
  padding: 18px 8px;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.dh-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 28px;
  gap: 4px;
}
.dh-stat-num {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.dh-stat-label {
  font-size: 11px;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.dh-stat-div {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.15);
  flex-shrink: 0;
}

/* Trust badges row */
.dealer-hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.dh-trust-item {
  font-size: 13px;
  color: rgba(255,255,255,.72);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Benefits grid */
.dealer-benefits {
  margin-bottom: 40px;
}
.dealer-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.dealer-benefit-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 24px 18px;
  text-align: center;
}
.dealer-benefit-icon {
  font-size: 32px;
  margin-bottom: 12px;
}
.dealer-benefit-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-black);
  margin: 0 0 8px;
}
.dealer-benefit-item p {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* Main layout */
.dealer-main-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  margin-bottom: 48px;
  align-items: start;
}

/* Form box */
.dealer-form-box {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 32px 36px;
}
.dealer-form-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-black);
  margin: 0 0 6px;
}
.dealer-form-note {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin: 0 0 24px;
}

/* Fields */
.dealer-field {
  margin-bottom: 18px;
}
.dealer-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 0;
}
.dealer-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 6px;
}
.dealer-field label span {
  color: var(--color-red);
}
.dealer-field input[type="text"],
.dealer-field input[type="tel"],
.dealer-field input[type="email"],
.dealer-field select,
.dealer-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 14px;
  color: var(--color-text-primary);
  background: #fafafa;
  transition: border-color .15s;
  outline: none;
  font-family: inherit;
}
.dealer-field select {
  height: 46px;
  padding-top: 0;
  padding-bottom: 0;
  appearance: auto;
  -webkit-appearance: auto;
  cursor: pointer;
  line-height: 46px;
}
.dealer-field input:focus,
.dealer-field select:focus,
.dealer-field textarea:focus {
  border-color: var(--color-red);
  background: #fff;
}
.dealer-field textarea {
  resize: vertical;
}

/* Checkboxes */
.dealer-checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.dealer-cb-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-primary);
  cursor: pointer;
}
.dealer-cb-label input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--color-red);
  flex-shrink: 0;
}

/* Wide selects (business type + budget) */
.dealer-field-wide-select select {
  width: 360px;
  max-width: 100%;
}

/* Error messages */
.dealer-err {
  display: block;
  font-size: 12px;
  color: var(--color-red);
  margin-top: 4px;
  min-height: 16px;
}

/* Submit */
.dealer-submit-row {
  margin-top: 24px;
}
.dealer-submit-btn {
  display: inline-block;
  background: var(--color-red);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 40px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  cursor: pointer;
  transition: background .15s, transform .1s;
}
.dealer-submit-btn:hover {
  background: #b71c1c;
  transform: translateY(-1px);
}
.dealer-submit-btn:disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none;
}
.dealer-privacy-note {
  font-size: 12px;
  color: var(--color-text-secondary);
  margin: 10px 0 0;
}

/* Thank-you block */
.dealer-thankyou {
  text-align: center;
  padding: 48px 24px;
}
.dealer-ty-icon {
  width: 64px;
  height: 64px;
  line-height: 64px;
  border-radius: 50%;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 28px;
  margin: 0 auto 20px;
}
.dealer-thankyou h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-black);
  margin: 0 0 12px;
}
.dealer-thankyou p {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Sidebar boxes */
.dealer-contact-box,
.dealer-products-box {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 24px 20px;
  margin-bottom: 20px;
}
.dealer-contact-box h3,
.dealer-products-box h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-black);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-red);
  display: inline-block;
}
.dealer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dealer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--color-text-primary);
}
.dealer-contact-list a {
  color: var(--color-red);
  text-decoration: none;
  font-weight: 600;
}
.dc-icon {
  flex-shrink: 0;
  font-size: 16px;
  margin-top: 1px;
}
.dealer-hours {
  font-size: 13px;
  color: var(--color-text-secondary);
  background: #f9fafb;
  border-radius: 8px;
  padding: 10px 12px;
  margin-top: 14px;
  line-height: 1.7;
}
.dealer-products-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.dealer-products-list li {
  font-size: 13px;
  color: var(--color-text-primary);
  padding: 6px 0;
  border-bottom: 1px dashed #eee;
  display: flex;
  align-items: center;
  gap: 6px;
}
.dealer-products-list li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-red);
  flex-shrink: 0;
}
.dealer-products-list li:last-child {
  border-bottom: none;
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .dealer-hero-title {
    font-size: 36px;
  }
  .dh-stat {
    padding: 0 18px;
  }
  .dealer-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dealer-main-wrap {
    grid-template-columns: 1fr;
  }
  .dealer-sidebar-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .dealer-contact-box,
  .dealer-products-box {
    margin-bottom: 0;
  }
  .dealer-field-wide-select select {
    max-width: 100%;
  }
}
@media (max-width: 600px) {
  .dealer-hero {
    padding: 40px 16px 36px;
    border-radius: 10px;
    margin-top: 12px;
  }
  .dealer-hero-title {
    font-size: 28px;
  }
  .dealer-hero-sub {
    font-size: 14px;
  }
  .dealer-hero-stats {
    width: 100%;
    justify-content: space-around;
    padding: 14px 4px;
  }
  .dh-stat {
    padding: 0 10px;
  }
  .dh-stat-num {
    font-size: 20px;
  }
  .dealer-hero-trust {
    gap: 12px;
  }
  .dh-trust-item {
    font-size: 12px;
  }
  .dealer-form-box {
    padding: 20px 16px;
  }
  .dealer-field-row {
    grid-template-columns: 1fr;
  }
  .dealer-field-wide-select select {
    max-width: 100%;
  }
  .dealer-benefits-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .dealer-benefit-item {
    padding: 16px 12px;
  }
  .dealer-sidebar-col {
    grid-template-columns: 1fr;
  }
  .dealer-submit-btn {
    width: 100%;
    text-align: center;
  }
}

/* ── End T47 Dealer Register ── */
/* ═══════════════════════════════════════════════════════
   T48 — Installment Page (/tra-gop.html)
   ═══════════════════════════════════════════════════════ */

.inst-hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1a00 60%, #8B1A1A 100%);
  border-radius: 14px;
  margin-bottom: 32px;
  overflow: hidden;
}
.inst-hero-inner {
  padding: 48px 40px 40px;
  text-align: center;
}
.inst-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: .4px;
}
.inst-badge-dot {
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: inst-pulse 1.6s ease-in-out infinite;
}
@keyframes inst-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(1.4); }
}
.inst-hero-title {
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 14px;
}
.inst-title-highlight { color: #f97316; }
.inst-hero-sub {
  color: rgba(255,255,255,.8);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 auto 28px;
  max-width: 520px;
}
.inst-hero-stats {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 16px 24px;
  margin-bottom: 24px;
}
.inst-stat { text-align: center; padding: 0 16px; }
.inst-stat-num {
  display: block;
  color: #f97316;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
}
.inst-stat-label {
  display: block;
  color: rgba(255,255,255,.7);
  font-size: 12px;
  margin-top: 3px;
}
.inst-stat-div { width: 1px; height: 40px; background: rgba(255,255,255,.25); }
.inst-hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.inst-trust-item { color: rgba(255,255,255,.9); font-size: 13px; }

.inst-benefits { margin-bottom: 32px; }
.inst-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.inst-benefit-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  transition: box-shadow .2s;
}
.inst-benefit-item:hover { box-shadow: 0 4px 18px rgba(0,0,0,.08); }
.inst-benefit-icon { font-size: 28px; margin-bottom: 10px; }
.inst-benefit-item h3 { font-size: 14px; font-weight: 700; color: #1f2937; margin: 0 0 6px; }
.inst-benefit-item p { font-size: 13px; color: #6b7280; margin: 0; line-height: 1.5; }

.inst-main-wrap {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  margin-bottom: 48px;
  align-items: start;
}
.inst-form-box {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 32px 28px;
}
.inst-form-title { font-size: 22px; font-weight: 700; color: #1f2937; margin: 0 0 6px; }
.inst-form-note { font-size: 14px; color: #6b7280; margin: 0 0 24px; }

.inst-product-card {
  background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
  border: 2px solid #fca5a5;
  border-radius: 10px;
  margin-bottom: 20px;
}
.inst-product-card-inner { padding: 14px 18px; }
.inst-product-label { font-size: 11px; font-weight: 600; color: #9ca3af; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 4px; }
.inst-product-name { font-size: 16px; font-weight: 700; color: #1f2937; margin-bottom: 4px; }
.inst-product-price { font-size: 18px; font-weight: 700; color: #C62828; }

.inst-field { margin-bottom: 18px; }
.inst-field label { display: block; font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 6px; }
.inst-field label span { color: #C62828; }
.inst-field input,
.inst-field textarea,
.inst-field select {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 14px;
  color: #1f2937;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  font-family: inherit;
}
.inst-field input:focus,
.inst-field textarea:focus,
.inst-field select:focus {
  outline: none;
  border-color: #C62828;
  box-shadow: 0 0 0 3px rgba(198,40,40,.1);
}
.inst-field textarea { resize: vertical; min-height: 80px; }
.inst-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.inst-field-select select {
  height: 46px;
  padding-top: 0;
  padding-bottom: 0;
  appearance: auto;
  -webkit-appearance: auto;
  cursor: pointer;
  line-height: 46px;
}
.inst-err { display: block; font-size: 12px; color: #C62828; margin-top: 4px; min-height: 16px; }

.inst-submit-row { margin-top: 8px; text-align: center; }
.inst-submit-btn {
  background: linear-gradient(135deg, #C62828 0%, #b71c1c 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 40px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .6px;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  min-width: 220px;
}
.inst-submit-btn:hover { opacity: .9; transform: translateY(-1px); }
.inst-submit-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.inst-privacy-note { font-size: 12px; color: #9ca3af; margin: 10px 0 0; }

.inst-thankyou { text-align: center; padding: 40px 20px; }
.inst-ty-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  font-size: 28px;
  line-height: 64px;
  margin: 0 auto 16px;
}
.inst-thankyou h3 { font-size: 20px; font-weight: 700; color: #1f2937; margin: 0 0 8px; }
.inst-thankyou p { color: #6b7280; font-size: 14px; margin: 0; }

.inst-sidebar-col { display: grid; gap: 16px; }
.inst-contact-box,
.inst-products-box,
.inst-steps-box {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
}
.inst-contact-box h3,
.inst-products-box h3,
.inst-steps-box h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f3f4f6;
}
.inst-contact-list { list-style: none; margin: 0 0 14px; padding: 0; }
.inst-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 13px;
  color: #374151;
  border-bottom: 1px solid #f3f4f6;
}
.inst-contact-list li:last-child { border-bottom: none; }
.ic-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.inst-contact-list a { color: #C62828; text-decoration: none; font-weight: 600; }
.inst-hours { font-size: 13px; color: #374151; line-height: 1.7; }
.inst-products-list { list-style: none; margin: 0; padding: 0; }
.inst-products-list li {
  padding: 7px 0 7px 14px;
  font-size: 13px;
  color: #374151;
  border-bottom: 1px solid #f3f4f6;
  position: relative;
}
.inst-products-list li:last-child { border-bottom: none; }
.inst-products-list li::before { content: '\25b8'; position: absolute; left: 0; color: #C62828; font-size: 10px; }
.inst-steps-list { padding-left: 20px; margin: 0; }
.inst-steps-list li { font-size: 13px; color: #374151; padding: 6px 0; line-height: 1.5; border-bottom: 1px solid #f3f4f6; }
.inst-steps-list li:last-child { border-bottom: none; }

@media (max-width: 768px) {
  .inst-hero-inner { padding: 32px 20px 28px; }
  .inst-hero-title { font-size: 26px; }
  .inst-hero-sub { font-size: 13px; }
  .inst-hero-stats { width: 100%; justify-content: space-around; padding: 12px 4px; }
  .inst-stat { padding: 0 8px; }
  .inst-stat-num { font-size: 20px; }
  .inst-hero-trust { gap: 10px; }
  .inst-trust-item { font-size: 12px; }
  .inst-benefits-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .inst-benefit-item { padding: 14px 10px; }
  .inst-main-wrap { grid-template-columns: 1fr; }
  .inst-form-box { padding: 20px 16px; }
  .inst-field-row { grid-template-columns: 1fr; }
  .inst-sidebar-col { grid-template-columns: 1fr; }
  .inst-submit-btn { width: 100%; text-align: center; }
}

.inst-field-readonly { background: #f9fafb; color: #374151; cursor: default; }
.inst-field-hint { display: block; font-size: 12px; color: #6b7280; margin-top: 4px; font-style: italic; }

/* ── End T48 Installment Page ── */



/* ═══════════════════════════════════════════════════════
   T49 — Home Customers Block
   ═══════════════════════════════════════════════════════ */

.home-customers-section {
  background: #f9fafb;
  padding: 52px 0 56px;
  border-top: 1px solid #e5e7eb;
}
.home-customers-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.home-customers-header {
  text-align: center;
  margin-bottom: 36px;
}
.home-customers-title {
  font-size: 28px;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 10px;
  position: relative;
  display: inline-block;
}
.home-customers-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: #C62828;
  border-radius: 2px;
  margin: 8px auto 0;
}
.home-customers-sub {
  font-size: 15px;
  color: #6b7280;
  margin: 0;
}

/* Grid */
/* Owl Carousel handles layout — just ensure no overflow */
.home-customers-carousel { overflow: hidden; }

/* owl-item: flex + lateral padding for card spacing */
.home-customers-carousel .owl-item {
  display: flex;
  padding: 0 8px;
}

/* Card — fixed height is the only reliable equalize method with Owl 1.x */
.hc-card {
  height: 390px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.hc-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.1);
  transform: translateY(-2px);
}

/* Image — flex: 0 0 200px prevents any shrink/grow */
.hc-card-img {
  width: 100%;
  height: 200px;
  flex: 0 0 200px;
  overflow: hidden;
  background: #f3f4f6;
}
.hc-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hc-card-img-placeholder {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #C62828 0%, #b71c1c 100%);
}
.hc-avatar-init {
  font-size: 40px;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  line-height: 1;
}

/* Body */
.hc-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 0;       /* allow flex child to shrink below content size */
  overflow: hidden;
}
/* Intro — hard capped at 3 lines, never grows the card */
.hc-card-intro {
  font-size: 13px;
  color: #374151;
  line-height: 1.6;
  margin: 0;
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: calc(13px * 1.6 * 3); /* 62.4px — hard ceiling */
}
/* Name sits close to description; link handles bottom anchor */
.hc-card-name {
  font-size: 14px;
  font-weight: 700;
  color: #1f2937;
  margin-top: 12px;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hc-card-location {
  font-size: 12px;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hc-card-link {
  display: inline-block;
  font-size: 12px;
  color: #C62828;
  font-weight: 600;
  text-decoration: none;
  margin-top: 6px;
  padding-top: 0;
}
.hc-card-link:hover { text-decoration: underline; }

/* Mobile */
@media (max-width: 1024px) {
  /* home-customers-carousel: responsive handled by owlCarousel itemsCustom */
}
@media (max-width: 768px) {
  .home-customers-section { padding: 36px 0 40px; }
  .home-customers-title { font-size: 22px; }
  .hc-card { height: 355px; }
  .hc-card-img,
  .hc-card-img-placeholder { height: 160px; flex: 0 0 160px; }
  .hc-card-body { padding: 12px; gap: 4px; }
  .hc-card-name { margin-top: 10px; }
  .home-customers-carousel .owl-item { padding: 0 5px; }
}
@media (max-width: 480px) {
}

/* ── End T49 Home Customers Block ── */

/* ============================================================
   S2.1-T01B — Mobile Header Polish
   Scope: search bar, hamburger label, hotline pill
   Mobile-only (≤768px). Zero desktop impact.
   2026-06-11
   ============================================================ */

/* ── PHẦN 1: Search bar mobile — compact cat, wider input, visible button ── */
@media (max-width: 768px) {
  /* Category select: narrow down so input + button get space */
  .site-header .site-search .cat-wrapper {
    max-width: 88px;
    min-width: 0;
    flex-shrink: 0;
  }
  .site-header .site-search .cat-wrapper select,
  .site-header .site-search #cat { min-width: 72px; }

  /* Search button: always visible, guaranteed touch target */
  .site-header .site-search .button-search-pro,
  .site-header .site-search button[type="submit"] {
    min-height: 44px;
    min-width: 44px;
    flex-shrink: 0;
  }

  /* Input: take all remaining space */
  .site-header .site-search .input-search,
  .site-header .site-search input[type="text"],
  .site-header .site-search input#search {
    flex: 1 1 0;
    min-width: 0;
  }
}

/* Extra small ≤390px: tighten even further — keep in sync with existing 390px block */
@media (max-width: 390px) {
  .site-header .site-search .cat-wrapper { max-width: 80px; }
  .site-header .site-search .cat-wrapper select,
  .site-header .site-search #cat { min-width: 64px; }
}

/* ── PHẦN 3: Hotline pill/badge — mobile prominent style ── */
@keyframes hotline-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(198, 40, 40, 0.35); }
  60%  { box-shadow: 0 0 0 6px rgba(198, 40, 40, 0); }
  100% { box-shadow: 0 0 0 0 rgba(198, 40, 40, 0); }
}

@media (max-width: 768px) {
  /* Pill container */
  .site-header .site-hotline {
    background: #fff5f5;
    border: 1.5px solid #ffcdd2;
    border-radius: 22px;
    padding: 5px 10px 5px 8px;
    gap: 6px;
    animation: hotline-pulse 2.8s ease-in-out infinite;
  }

  /* Icon: slightly smaller, red */
  .site-header .hotline-icon.hotline-pulse-icon {
    font-size: 18px;
    color: #C62828;
    line-height: 1;
    flex-shrink: 0;
  }

  /* Show label on mobile */
  .site-header .hotline-label {
    display: block;
    font-size: 10px;
    color: #9E9E9E;
    line-height: 1.2;
  }

  /* Phone number */
  .site-header .hotline-link {
    font-size: 13px;
    font-weight: 700;
    color: #C62828;
    line-height: 1.2;
  }
}

/* ── End S2.1-T01B ── */

/* ============================================================
   S2.1-T01C — Homepage + Product + Cart Polish
   2026-06-11
   ============================================================ */

/* ── PHẦN 1: Video section — show on mobile, 2-column grid ── */
.home-video-section { display: block !important; }

@media (max-width: 767px) {
  .home-video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .home-video-card { border-radius: 6px; overflow: hidden; }
  .home-video-card .home-video-thumb { position: relative; }
  .home-video-card .home-video-thumb img {
    width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block;
  }
  .home-video-card .home-video-info { padding: 6px 4px; }
  .home-video-card .home-video-name {
    font-size: 12px; color: #1A1A1A; font-weight: 600;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; text-decoration: none; line-height: 1.4;
  }
  .home-video-card .play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 36px; height: 36px; background: rgba(0,0,0,0.6); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; pointer-events: none;
  }
  .home-video-card .play::after {
    content: ''; border-style: solid;
    border-width: 7px 0 7px 14px; border-color: transparent transparent transparent #fff;
    margin-left: 3px;
  }
}

/* ── PHẦN 3: Desktop submenu polish (min-width:769px only) ── */
@media (min-width: 769px) {
  .site-header .site-nav-list li > ul {
    border-radius: 0 0 8px 8px;
    border: 1px solid #E0E0E0;
    border-top: 3px solid #C62828;
    min-width: 210px;
    padding: 4px 0;
    box-shadow: 0 6px 20px rgba(0,0,0,0.13);
  }
  .site-header .site-nav-list li > ul li {
    border-bottom: 1px solid #F5F5F5;
  }
  .site-header .site-nav-list li > ul li:last-child { border-bottom: none; }
  .site-header .site-nav-list li > ul li a {
    padding: 11px 18px;
    font-size: 13px;
    font-weight: 500;
    color: #212121;
    border-left: 3px solid transparent;
    transition: background .14s, color .14s, border-color .12s;
  }
  .site-header .site-nav-list li > ul li a:hover {
    background: #FFF5F5;
    color: #C62828;
    border-left-color: #C62828;
    text-decoration: none;
  }
}

/* ── End S2.1-T01C ── */

/* ============================================================
   S2.1-T01C-HOTFIX PHẦN 2: Left category sidebar polish
   Thêm hover left-border, arrow icon, dropdown shadow+rounded
   Sidebar ẩn trên mobile (display:none) — không cần scope
   ============================================================ */

/* Left border on hover — consistent với active state */
.home-cate-sidebar .sm_megamenu_wrapper_vertical_menu .sm_megamenu_menu > li:hover > a {
  border-left: 3px solid #C62828 !important;
  padding-left: 13px !important;
}

/* li relative để dropdown position absolute hoạt động */
.home-cate-sidebar .sm_megamenu_wrapper_vertical_menu .sm_megamenu_menu > li {
  position: relative;
}

/* Dropdown submenu panel */
.home-cate-sidebar .sm_megamenu_wrapper_vertical_menu .sm-megamenu-child {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid #E0E0E0;
  border-radius: 0 8px 8px 8px;
  box-shadow: 4px 6px 20px rgba(0,0,0,0.13);
  z-index: 200;
  padding: 4px 0;
}
.home-cate-sidebar .sm_megamenu_wrapper_vertical_menu .sm_megamenu_menu > li:hover > .sm-megamenu-child {
  display: block;
}

/* Submenu column blocks */
.home-cate-sidebar .sm_megamenu_wrapper_vertical_menu .sm-megamenu-child .sm_megamenu_col_3,
.home-cate-sidebar .sm_megamenu_wrapper_vertical_menu .sm-megamenu-child .sm_megamenu_col_6 {
  display: block;
  float: none;
  width: 100% !important;
}

/* Submenu links */
.home-cate-sidebar .sm_megamenu_wrapper_vertical_menu .sm-megamenu-child a.sm_megamenu_nodrop {
  display: block;
  padding: 9px 16px;
  font-size: 13px;
  color: #212121 !important;
  text-decoration: none;
  border-bottom: 1px solid #F5F5F5;
  white-space: nowrap;
  transition: background 0.12s, color 0.12s;
}
.home-cate-sidebar .sm_megamenu_wrapper_vertical_menu .sm-megamenu-child .sm_megamenu_col_6:last-child a.sm_megamenu_nodrop {
  border-bottom: none;
}
.home-cate-sidebar .sm_megamenu_wrapper_vertical_menu .sm-megamenu-child a.sm_megamenu_nodrop:hover {
  background: #FFEBEE !important;
  color: #C62828 !important;
}

/* ── End S2.1-T01C-HOTFIX ── */


/* ══════════════════════════════════════════════════════════════════════════
   S4-T10E-REBUILD: Product Data Center — Desktop UI
   Primary desktop CSS for .product-data-center-page
   All rules scoped to .product-data-center-page (class on #bdw in template).
   Date: 2026-06-17
   Mobile overrides: static/css/admin-mobile.css @media block
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Page title ── */
.product-data-center-page .head h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1d2741;
    margin: 0 0 20px 0;
    padding-bottom: 14px;
    border-bottom: 2px solid #e8edf5;
    letter-spacing: -0.2px;
    font-family: inherit;
}

/* ── Section cards ── */
.product-data-center-page .sect {
    background: #fff;
    border: 1px solid #dde3ed;
    border-radius: 6px;
    padding: 20px 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(26,39,65,.05);
}
.product-data-center-page .sect h3 {
    font-size: 15px;
    font-weight: 700;
    color: #1d2741;
    margin: 0 0 14px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #edf1f7;
    letter-spacing: 0;
}
.product-data-center-page .sect h4 {
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    margin: 18px 0 8px 0;
}

/* ── Help text ── */
.product-data-center-page .pdc-help {
    font-size: 13px;
    color: #6b7a96;
    margin: 0 0 14px 0;
    line-height: 1.6;
    overflow-wrap: break-word;
    word-break: break-word;
}
.product-data-center-page .pdc-help b {
    color: #374151;
    font-weight: 600;
}
.product-data-center-page .pdc-help code {
    background: #f1f5f9;
    border: 1px solid #dde3ed;
    border-radius: 3px;
    padding: 1px 5px;
    font-size: 12px;
    color: #1d2741;
}

/* ── Buttons — override orange gradient from input.formbutton ──
   Applies to all formbutton types inside PDC. Higher specificity wins.     */
.product-data-center-page input.formbutton,
.product-data-center-page button.formbutton,
.product-data-center-page a.formbutton {
    display: inline-block;
    background: #2563eb;
    background-image: none;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    padding: 7px 18px;
    border: none;
    border-radius: 5px;
    box-shadow: none;
    text-shadow: none;
    text-decoration: none;
    cursor: pointer;
    vertical-align: middle;
    letter-spacing: 0;
    line-height: 1.4;
    height: auto;
}
.product-data-center-page input.formbutton:hover,
.product-data-center-page button.formbutton:hover,
.product-data-center-page a.formbutton:hover {
    background: #1d4ed8;
    background-image: none;
    color: #fff;
    text-decoration: none;
    box-shadow: none;
    border: none;
    padding: 7px 18px;
    font-size: 13px;
    font-family: inherit;
    border-radius: 5px;
    text-shadow: none;
}

/* ── Collapsible detail blocks ── */
.product-data-center-page .pdc-detail {
    margin: 0 0 14px 0;
}
.product-data-center-page .pdc-detail summary {
    font-size: 12px;
    color: #2563eb;
    cursor: pointer;
    user-select: none;
    padding: 3px 0;
    display: inline-block;
    list-style: none;
}
.product-data-center-page .pdc-detail summary::-webkit-details-marker { display: none; }
.product-data-center-page .pdc-detail summary::before { content: '\25B8  '; }
.product-data-center-page details[open] > .pdc-detail summary::before,
.product-data-center-page .pdc-detail[open] > summary::before { content: '\25BE  '; }
.product-data-center-page .pdc-detail summary:hover { color: #1d4ed8; text-decoration: underline; }
.product-data-center-page .pdc-detail ul {
    margin: 8px 0 4px 0;
    padding-left: 20px;
    font-size: 12px;
    color: #6b7a96;
    line-height: 1.7;
}
.product-data-center-page .pdc-detail li { margin-bottom: 5px; }
.product-data-center-page .pdc-detail code {
    background: #f1f5f9;
    border: 1px solid #dde3ed;
    border-radius: 3px;
    padding: 1px 4px;
    font-size: 11px;
    word-break: break-all;
    white-space: normal;
}

/* ── SKU example chips ── */
.product-data-center-page .pdc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 14px 0;
}
.product-data-center-page .pdc-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f8fafc;
    border: 1px solid #dde3ed;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 12px;
    white-space: nowrap;
    color: #374151;
}
.product-data-center-page .pdc-chip code {
    background: none;
    border: none;
    padding: 0;
    font-size: 12px;
    color: #1d2741;
    font-family: monospace;
    font-weight: 600;
}

/* ── Import form ── */
.product-data-center-page .pdc-import-form {
    max-width: 520px;
    margin-top: 4px;
}
.product-data-center-page .pdc-import-form .pdc-field {
    display: block;
    margin-bottom: 10px;
}
.product-data-center-page .pdc-import-form .pdc-label {
    display: inline-block;
    width: 80px;
    font-weight: 600;
    font-size: 13px;
    vertical-align: middle;
    color: #374151;
}
.product-data-center-page .pdc-import-form input[type="file"] {
    display: inline-block;
    vertical-align: middle;
    max-width: calc(100% - 88px);
    font-size: 13px;
}

/* ── Button rows — sections 3, 4, 5 ── */
.product-data-center-page .pdc-btn-row {
    display: block;
    margin: 4px 0 12px 0;
}
.product-data-center-page .pdc-btn-row form {
    display: inline;
    margin: 0;
}
.product-data-center-page .pdc-btn-row .formbutton {
    margin-right: 8px;
    margin-bottom: 4px;
}

/* ── Workbench filter strip ── */
.product-data-center-page .pdc-wb-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    align-items: flex-end;
    margin-bottom: 12px;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #dde3ed;
    border-radius: 5px;
}
.product-data-center-page .pdc-wb-ctrl {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.product-data-center-page .pdc-wb-label {
    font-size: 11px;
    font-weight: 700;
    color: #6b7a96;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.product-data-center-page .pdc-wb-ctrl-check {
    justify-content: flex-end;
    padding-bottom: 2px;
}

/* ── Tables inside PDC — override green .coupons-table th ── */
.product-data-center-page .coupons-table {
    width: 100%;
    margin-top: 10px;
    border: 1px solid #e2e8f0;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 5px;
    overflow: hidden;
}
.product-data-center-page .coupons-table th {
    background: #f1f5f9;
    background-color: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 9px 7px;
    border: none;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
}
.product-data-center-page .coupons-table td {
    font-size: 13px;
    color: #374151;
    padding: 7px 7px;
    border: none;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: top;
}
.product-data-center-page .coupons-table tr:last-child td {
    border-bottom: none;
}
.product-data-center-page .coupons-table .alt td,
.product-data-center-page .coupons-table tr.alt td {
    background-color: #f8fafc;
}
.product-data-center-page .coupons-table a {
    color: #2563eb;
    text-decoration: none;
}
.product-data-center-page .coupons-table a:hover {
    text-decoration: underline;
    color: #1d4ed8;
}
/* ── End S4-T10E-REBUILD ── */


/* ══════════════════════════════════════════════════════════════════════════
   S4-T10F: Admin Table Column Cleanup
   Pages: news/index · media/video · media/index (banner) · setting/shippingmethod
   Each table gets a unique class; table-layout:fixed + % widths via nth-child.
   Desktop primary CSS — per architecture rules (not in admin-mobile.css).
   Date: 2026-06-17
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Shared base: fixed layout + readable cell defaults ── */
.admin-news-table,
.admin-video-table,
.admin-banner-table,
.admin-payment-method-table {
    table-layout: fixed;
    width: 100%;
}
.admin-news-table th,
.admin-video-table th,
.admin-banner-table th,
.admin-payment-method-table th {
    padding: 8px 6px;
    white-space: normal;
    vertical-align: middle;
}
.admin-news-table td,
.admin-video-table td,
.admin-banner-table td,
.admin-payment-method-table td {
    padding: 7px 6px;
    overflow-wrap: break-word;
    word-break: break-word;
    vertical-align: top;
}

/* ── Part A: Quản lý bài viết — manage_news_index.html ──
   Columns: ID | Tiêu đề | Sắp xếp | Chuyên mục | Cập nhật | Hình | Thao tác
   FIX01: title widened 28%→36%, Sắp xếp 8%→7%, Chuyên mục 20%→18%, Hình 8%→6%, Thao tác 13%→10% */
.admin-news-table th:nth-child(1),
.admin-news-table td:nth-child(1) { width: 5%; }
.admin-news-table th:nth-child(2),
.admin-news-table td:nth-child(2) { width: 36%; }
.admin-news-table th:nth-child(3),
.admin-news-table td:nth-child(3) { width: 7%; text-align: center; }
.admin-news-table th:nth-child(4),
.admin-news-table td:nth-child(4) { width: 18%; }
.admin-news-table th:nth-child(5),
.admin-news-table td:nth-child(5) { width: 18%; white-space: nowrap; }
.admin-news-table th:nth-child(6),
.admin-news-table td:nth-child(6) { width: 6%; text-align: center; }
.admin-news-table th:nth-child(7),
.admin-news-table td:nth-child(7) { width: 10%; }
/* Title cell: override shared word-break:break-word; allow natural wrap */
.admin-news-table td:nth-child(2) {
    word-break: normal;
    overflow-wrap: break-word;
    line-height: 1.45;
}

/* ── Part B: Video review — manage_media_video.html ──
   Columns: ID | Tiêu đề | Sắp xếp | Hình | Cập nhật | Thao tác
   FIX01: title widened 28%→36%, Sắp xếp 8%→7%, Hình 18%→14%, Cập nhật 25%→24%, Thao tác 16%→14% */
.admin-video-table th:nth-child(1),
.admin-video-table td:nth-child(1) { width: 5%; }
.admin-video-table th:nth-child(2),
.admin-video-table td:nth-child(2) { width: 36%; }
.admin-video-table th:nth-child(3),
.admin-video-table td:nth-child(3) { width: 7%; text-align: center; }
.admin-video-table th:nth-child(4),
.admin-video-table td:nth-child(4) { width: 14%; }
.admin-video-table th:nth-child(5),
.admin-video-table td:nth-child(5) { width: 24%; white-space: nowrap; }
.admin-video-table th:nth-child(6),
.admin-video-table td:nth-child(6) { width: 14%; }
/* Title: override shared word-break:break-word; allow natural wrap */
.admin-video-table td:nth-child(2) {
    word-break: normal;
    overflow-wrap: break-word;
    line-height: 1.45;
}
/* Thumbnail: override inline style="height:30px" */
.admin-video-table td:nth-child(4) img {
    width: 64px !important;
    height: 42px !important;
    object-fit: cover;
    display: block;
    border-radius: 3px;
}

/* ── Part C: Banner / image list — manage_media_index.html ──
   Columns: ID | Ảnh | TT | Tên | Liên kết | H.thị | Vị trí | Thao tác */
.admin-banner-table th:nth-child(1),
.admin-banner-table td:nth-child(1) { width: 5%; }
.admin-banner-table th:nth-child(2),
.admin-banner-table td:nth-child(2) { width: 9%; }
.admin-banner-table th:nth-child(3),
.admin-banner-table td:nth-child(3) { width: 6%; text-align: center; }
.admin-banner-table th:nth-child(4),
.admin-banner-table td:nth-child(4) { width: 16%; }
.admin-banner-table th:nth-child(5),
.admin-banner-table td:nth-child(5) { width: 34%; word-break: break-all; }
.admin-banner-table th:nth-child(6),
.admin-banner-table td:nth-child(6) { width: 6%; text-align: center; }
.admin-banner-table th:nth-child(7),
.admin-banner-table td:nth-child(7) { width: 14%; }
.admin-banner-table th:nth-child(8),
.admin-banner-table td:nth-child(8) { width: 10%; }
/* Thumbnail: cap at 56×56, override height="30" attribute */
.admin-banner-table td:nth-child(2) img {
    max-width: 56px;
    max-height: 56px;
    width: auto;
    height: auto !important;
    object-fit: contain;
    display: block;
}

/* ── Part D: Payment method — manage_shipping_method.html ──
   Columns: ID | Tên phương thức | Mô tả | Sắp xếp | Hiển thị | Link ảnh | Thao tác */
.admin-payment-method-table th:nth-child(1),
.admin-payment-method-table td:nth-child(1) { width: 5%; }
.admin-payment-method-table th:nth-child(2),
.admin-payment-method-table td:nth-child(2) { width: 18%; }
.admin-payment-method-table th:nth-child(3),
.admin-payment-method-table td:nth-child(3) { width: 38%; }
.admin-payment-method-table th:nth-child(4),
.admin-payment-method-table td:nth-child(4) { width: 8%; text-align: center; }
.admin-payment-method-table th:nth-child(5),
.admin-payment-method-table td:nth-child(5) { width: 8%; text-align: center; }
.admin-payment-method-table th:nth-child(6),
.admin-payment-method-table td:nth-child(6) { width: 13%; word-break: break-all; }
.admin-payment-method-table th:nth-child(7),
.admin-payment-method-table td:nth-child(7) { width: 10%; }
/* Description column: comfortable reading */
.admin-payment-method-table td:nth-child(3) { line-height: 1.45; }

/* ── End S4-T10F ── */


/* ══════════════════════════════════════════════════════════════════════════
   S4-T10F-FIX02: Force News + Video table-layout and title column width
   Problem: title column (nth-child 2) still narrow — HTML width="" attrs
   and/or cascade order prevented the T10F selectors from winning.
   Fix:
     1. HTML width="" attrs removed from <th> in both templates (FIX02)
     2. #content-scoped selectors with !important ensure no override possible
   Scope: admin-news-table + admin-video-table ONLY.
   Banner and payment-method tables NOT touched.
   Date: 2026-06-17
   ══════════════════════════════════════════════════════════════════════════ */

/* ── News table: force fixed layout ── */
#content table.coupons-table.admin-news-table {
    width: 100% !important;
    table-layout: fixed !important;
}
/* News title column: readable width + natural word wrap */
#content table.coupons-table.admin-news-table th:nth-child(2),
#content table.coupons-table.admin-news-table td:nth-child(2) {
    width: 36% !important;
    min-width: 260px;
    word-break: normal !important;
    overflow-wrap: normal !important;
    white-space: normal !important;
}

/* ── Video table: force fixed layout ── */
#content table.coupons-table.admin-video-table {
    width: 100% !important;
    table-layout: fixed !important;
}
/* Video title column: readable width + natural word wrap */
#content table.coupons-table.admin-video-table th:nth-child(2),
#content table.coupons-table.admin-video-table td:nth-child(2) {
    width: 36% !important;
    min-width: 260px;
    word-break: normal !important;
    overflow-wrap: normal !important;
    white-space: normal !important;
}

/* ── End S4-T10F-FIX02 ── */

/* ════════════════════════════════════════════════════════════════
   S4-T11A/B — Technical Spec Autofill Preview (Section 7, PDC)
   Scoped to .product-data-center-page to avoid leaking to other pages.
   V2 (T11B): adds MEDIUM badge, MANUAL_REVIEW badge, READY/MANUAL summary cards.
   ════════════════════════════════════════════════════════════════ */

/* Summary grid */
.product-data-center-page .pdc-spec-summary {
    margin: 12px 0 6px;
}
.product-data-center-page .pdc-spec-summary-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.product-data-center-page .pdc-ss-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f5f7fa;
    border: 1px solid #dde2ea;
    border-radius: 6px;
    padding: 8px 16px;
    min-width: 76px;
    text-align: center;
}
.product-data-center-page .pdc-ss-total {
    background: #e8f0fe;
    border-color: #b3c8f5;
}
.product-data-center-page .pdc-ss-ready {
    background: #dcfce7;
    border-color: #86efac;
}
.product-data-center-page .pdc-ss-manual {
    background: #fff7ed;
    border-color: #fdba74;
}
.product-data-center-page .pdc-ss-review {
    background: #fee2e2;
    border-color: #fca5a5;
}
.product-data-center-page .pdc-ss-num {
    font-size: 22px;
    font-weight: 700;
    color: #1a3a5c;
    line-height: 1.1;
}
.product-data-center-page .pdc-ss-lbl {
    font-size: 10px;
    color: #666;
    margin-top: 3px;
    white-space: nowrap;
}

/* Group tags */
.product-data-center-page .pdc-group-tag {
    display: inline-block;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 3px;
    background: #e9eef6;
    color: #2c4a7a;
    white-space: nowrap;
}
.product-data-center-page .pdc-group-BARBER_CHAIR       { background: #dbeafe; color: #1d4ed8; }
.product-data-center-page .pdc-group-SALON_CHAIR        { background: #ede9fe; color: #5b21b6; }
.product-data-center-page .pdc-group-SHAMPOO_BED        { background: #dcfce7; color: #166534; }
.product-data-center-page .pdc-group-NAIL_FOOT          { background: #fce7f3; color: #9d174d; }
.product-data-center-page .pdc-group-SPA_MASSAGE_TATTOO { background: #fef9c3; color: #713f12; }
.product-data-center-page .pdc-group-OTHER              { background: #f3f4f6; color: #374151; }
.product-data-center-page .pdc-group-REVIEW_REQUIRED    { background: #fee2e2; color: #b91c1c; }
.product-data-center-page .pdc-group-MANUAL_REVIEW      { background: #fff7ed; color: #c2410c; }

/* ── Confidence badges ── */
.product-data-center-page .pdc-badge-high,
.product-data-center-page .pdc-badge-medium,
.product-data-center-page .pdc-badge-low,
.product-data-center-page .pdc-badge-manual {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    letter-spacing: 0.4px;
}
.product-data-center-page .pdc-badge-high   { background: #dcfce7; color: #166534; }
.product-data-center-page .pdc-badge-medium { background: #fef9c3; color: #713f12; }
.product-data-center-page .pdc-badge-low    { background: #fee2e2; color: #b91c1c; }
.product-data-center-page .pdc-badge-manual { background: #fff7ed; color: #9a3412; }

/* ── Status badges ── */
.product-data-center-page .pdc-badge-ready,
.product-data-center-page .pdc-badge-manual-status,
.product-data-center-page .pdc-badge-review {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    letter-spacing: 0.4px;
}
.product-data-center-page .pdc-badge-ready         { background: #e0f2fe; color: #0369a1; }
.product-data-center-page .pdc-badge-manual-status { background: #fff7ed; color: #c2410c; }
.product-data-center-page .pdc-badge-review        { background: #fee2e2; color: #991b1b; }

/* Detail table */
.product-data-center-page .pdc-spec-autofill-table td {
    vertical-align: top;
    line-height: 1.45;
}
.product-data-center-page .pdc-spec-autofill-table td:nth-child(3) {
    word-break: normal;
    overflow-wrap: break-word;
}

/* ── End S4-T11B ── */

/* ── S4-T11C: Dry-run field preview ── */

/* Summary Row 3 — dry-run totals */
.product-data-center-page .pdc-ss-autofill  { background: #dbeafe; border-color: #93c5fd; }
.product-data-center-page .pdc-ss-preserve  { background: #dcfce7; border-color: #86efac; }
.product-data-center-page .pdc-ss-extracted { background: #ede9fe; border-color: #c4b5fd; }

/* Detail toggle button */
.product-data-center-page .pdc-detail-toggle {
    font-size: 11px;
    padding: 2px 8px;
    border: 1px solid #93c5fd;
    border-radius: 4px;
    background: #eff6ff;
    color: #1d4ed8;
    cursor: pointer;
    white-space: nowrap;
}
.product-data-center-page .pdc-detail-toggle:hover {
    background: #dbeafe;
}

/* Expanded detail row */
.product-data-center-page .pdc-detail-row td {
    padding: 10px 14px;
    background: #f8fafc;
    border-top: 1px dashed #cbd5e1;
}

/* Wrapper inside expanded row */
.product-data-center-page .pdc-dr-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Each section (autofill / extracted / preserve) */
.product-data-center-page .pdc-dr-section {
    flex: 1;
    min-width: 200px;
}
.product-data-center-page .pdc-dr-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    color: #475569;
}
.product-data-center-page .pdc-dr-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

/* Individual field badge */
.product-data-center-page .pdc-dr-badge {
    display: inline-block;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 4px;
    line-height: 1.5;
}
.product-data-center-page .pdc-dr-badge-autofill  { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }
.product-data-center-page .pdc-dr-badge-extracted { background: #ede9fe; color: #5b21b6; border: 1px solid #c4b5fd; }
.product-data-center-page .pdc-dr-badge-preserve  { background: #dcfce7; color: #166534; border: 1px solid #86efac; }

/* ── End S4-T11C ── */

/* ── S4-T11C-FIX01: Filter bar, checkboxes, edit link, row highlight ── */

/* Filter / selection bar */
.product-data-center-page .pdc-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin: 12px 0 0;
    padding: 7px 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
}
.product-data-center-page .pdc-filter-lbl {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-right: 3px;
}
.product-data-center-page .pdc-filter-btn {
    font-size: 11px;
    padding: 3px 9px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    background: #fff;
    color: #374151;
    cursor: pointer;
    line-height: 1.5;
}
.product-data-center-page .pdc-filter-btn:hover {
    background: #f1f5f9;
}
.product-data-center-page .pdc-filter-btn.active {
    background: #1d4ed8;
    color: #fff;
    border-color: #1d4ed8;
}
.product-data-center-page .pdc-select-btn {
    margin-left: 8px;
    background: #dcfce7;
    border-color: #86efac;
    color: #166534;
}
.product-data-center-page .pdc-select-btn:hover {
    background: #bbf7d0;
}

/* Action cell */
.product-data-center-page .pdc-action-cell {
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    padding: 4px 6px;
}
.product-data-center-page .pdc-edit-link {
    display: inline-block;
    font-size: 11px;
    color: #2563eb;
    text-decoration: none;
    white-space: nowrap;
}
.product-data-center-page .pdc-edit-link:hover {
    text-decoration: underline;
}

/* Row highlight by status (td selector overrides table-row background) */
.product-data-center-page .pdc-spec-autofill-table tr[data-status="MANUAL_REVIEW"] td {
    background-color: #fffbeb;
}
.product-data-center-page .pdc-spec-autofill-table tr[data-status="REVIEW"] td {
    background-color: #fff1f2;
}

/* Group tag base style */
.product-data-center-page .pdc-group-tag {
    display: inline-block;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    background: #f3f4f6;
    color: #374151;
}

/* ── End S4-T11C-FIX01 ── */

/* ── S4-T11D: OTHER subtype badge, Ghi chú column, CONFLICT confidence badge ── */
.product-data-center-page .pdc-subtype-tag {
    display: inline-block; font-size: 10px; color: #6d28d9;
    background: #ede9fe; padding: 1px 5px; border-radius: 3px; margin-top: 2px;
}
.product-data-center-page .pdc-note-cell {
    text-align: center; white-space: nowrap; vertical-align: middle;
}
.product-data-center-page .pdc-note-badge {
    display: inline-block; font-size: 10px; background: #fef3c7;
    color: #92400e; border: 1px solid #f59e0b; padding: 1px 5px; border-radius: 3px;
}
.product-data-center-page .pdc-badge-conflict {
    display: inline-block; font-size: 10px; background: #fde68a;
    color: #78350f; border: 1px solid #f59e0b; padding: 2px 5px;
    border-radius: 3px; font-weight: 600;
}
/* ── End S4-T11D ── */

/* ── S4-T11E: Apply controls, apply result box, batch table ── */
.product-data-center-page .pdc-apply-controls {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    padding: 8px 12px; margin: 6px 0 4px;
    background: #fff8f0; border: 1px solid #f59e0b; border-radius: 5px;
}
.product-data-center-page .pdc-dry-run-label {
    font-size: 12px; color: #374151; cursor: pointer;
    display: flex; align-items: center; gap: 5px;
}
.product-data-center-page .pdc-apply-btn {
    padding: 5px 16px; font-size: 12px; font-weight: 700;
    background: #b91c1c; color: #fff; border: none; border-radius: 4px;
    cursor: pointer; white-space: nowrap;
}
.product-data-center-page .pdc-apply-btn:hover { background: #991b1b; }
.product-data-center-page .pdc-apply-warning {
    font-size: 11px; color: #92400e; font-style: italic;
}
/* Apply result box */
.product-data-center-page .pdc-apply-result-box {
    border-radius: 5px; padding: 10px 14px; margin-bottom: 8px;
    border: 1px solid #d1d5db;
}
.product-data-center-page .pdc-apply-result-ok    { background: #f0fdf4; border-color: #16a34a; }
.product-data-center-page .pdc-apply-result-dryrun { background: #eff6ff; border-color: #2563eb; }
.product-data-center-page .pdc-apply-result-error  { background: #fef2f2; border-color: #dc2626; }
.product-data-center-page .pdc-ar-title {
    font-weight: 700; font-size: 13px; margin-bottom: 6px;
}
.product-data-center-page .pdc-apply-result-ok    .pdc-ar-title { color: #15803d; }
.product-data-center-page .pdc-apply-result-dryrun .pdc-ar-title { color: #1d4ed8; }
.product-data-center-page .pdc-apply-result-error  .pdc-ar-title { color: #b91c1c; }
.product-data-center-page .pdc-ar-stats {
    display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: #374151;
    margin-bottom: 5px;
}
.product-data-center-page .pdc-ar-fail { color: #b91c1c; font-weight: 700; }
.product-data-center-page .pdc-ar-file {
    font-size: 11px; color: #6b7280; margin-top: 4px;
}
.product-data-center-page .pdc-ar-file code {
    background: #f3f4f6; padding: 1px 4px; border-radius: 3px; font-size: 11px;
}
/* Batch table */
.product-data-center-page .pdc-batch-table {
    width: 100%; margin-top: 8px; font-size: 11px;
    border-collapse: collapse;
}
.product-data-center-page .pdc-batch-table th,
.product-data-center-page .pdc-batch-table td {
    border: 1px solid #e5e7eb; padding: 3px 7px; text-align: center;
}
.product-data-center-page .pdc-batch-table th { background: #f9fafb; font-weight: 600; }
.product-data-center-page .pdc-batch-ok   { background: #f0fdf4; }
.product-data-center-page .pdc-batch-skip { background: #f9fafb; color: #9ca3af; }
.product-data-center-page .pdc-batch-err  { background: #fef2f2; }
.product-data-center-page .pdc-batch-errmsg { color: #b91c1c; font-size: 10px; }
/* ── End S4-T11E ── */

/* ── S4-T11E-FIX01: Apply status badges, summary cells, filter separator ── */
.product-data-center-page .pdc-apply-status-cell {
    text-align: center; vertical-align: middle; white-space: nowrap;
}
.product-data-center-page .pdc-badge-apply-pending {
    display: inline-block; font-size: 10px; font-weight: 700;
    background: #fef9c3; color: #854d0e; border: 1px solid #ca8a04;
    padding: 2px 6px; border-radius: 3px;
}
.product-data-center-page .pdc-badge-apply-completed {
    display: inline-block; font-size: 10px; font-weight: 700;
    background: #dcfce7; color: #15803d; border: 1px solid #16a34a;
    padding: 2px 6px; border-radius: 3px;
}
.product-data-center-page .pdc-badge-apply-skipped {
    display: inline-block; font-size: 10px; font-weight: 700;
    background: #f1f5f9; color: #64748b; border: 1px solid #94a3b8;
    padding: 2px 6px; border-radius: 3px;
}
.product-data-center-page .pdc-badge-apply-review {
    display: inline-block; font-size: 10px; font-weight: 700;
    background: #fee2e2; color: #b91c1c; border: 1px solid #dc2626;
    padding: 2px 6px; border-radius: 3px;
}
/* Row 4 summary cell border tints */
.product-data-center-page .pdc-ss-apply-pending  { border-color: #ca8a04; }
.product-data-center-page .pdc-ss-apply-completed { border-color: #16a34a; }
.product-data-center-page .pdc-ss-apply-skipped  { border-color: #94a3b8; }
.product-data-center-page .pdc-ss-apply-review   { border-color: #dc2626; }
.product-data-center-page .pdc-ss-apply-pending  .pdc-ss-num { color: #854d0e; }
.product-data-center-page .pdc-ss-apply-completed .pdc-ss-num { color: #15803d; }
.product-data-center-page .pdc-ss-apply-skipped  .pdc-ss-num { color: #64748b; }
.product-data-center-page .pdc-ss-apply-review   .pdc-ss-num { color: #b91c1c; }
/* Filter bar separator */
.product-data-center-page .pdc-filter-sep {
    color: #cbd5e1; margin: 0 2px; user-select: none; font-size: 14px;
}
/* ── End S4-T11E-FIX01 ── */

/* ── S4-T11E-FIX02: Manual skip controls, skip/undo buttons ── */
.product-data-center-page .pdc-skip-controls {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    padding: 6px 12px; margin: 4px 0;
    background: #f8fafc; border: 1px solid #94a3b8; border-radius: 5px;
}
.product-data-center-page .pdc-skip-reason-select {
    font-size: 12px; padding: 4px 6px; border: 1px solid #cbd5e1;
    border-radius: 4px; color: #374151;
}
.product-data-center-page .pdc-skip-bulk-btn {
    padding: 5px 14px; font-size: 12px; font-weight: 700;
    background: #64748b; color: #fff; border: none; border-radius: 4px; cursor: pointer;
}
.product-data-center-page .pdc-skip-bulk-btn:hover { background: #475569; }
.product-data-center-page .pdc-select-review-btn { font-size: 11px; }
.product-data-center-page .pdc-skip-note { font-size: 11px; color: #64748b; font-style: italic; }
.product-data-center-page .pdc-skip-btn {
    display: block; margin-bottom: 3px; padding: 3px 10px; font-size: 11px;
    background: #f1f5f9; color: #374151; border: 1px solid #94a3b8;
    border-radius: 3px; cursor: pointer; white-space: nowrap;
}
.product-data-center-page .pdc-skip-btn:hover { background: #e2e8f0; }
.product-data-center-page .pdc-undo-skip-btn {
    display: block; margin-bottom: 3px; padding: 3px 10px; font-size: 11px;
    background: #fef9c3; color: #854d0e; border: 1px solid #ca8a04;
    border-radius: 3px; cursor: pointer; white-space: nowrap;
}
.product-data-center-page .pdc-undo-skip-btn:hover { background: #fef08a; }
/* ── End S4-T11E-FIX02 ── */

/* ── S4-T11F: Dashboard block headings + math note ── */
.product-data-center-page .pdc-block-heading {
    font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    color: #64748b; padding: 2px 8px 3px; margin-bottom: 4px;
    border-left: 3px solid #94a3b8; background: #f8fafc;
    display: inline-block;
}
.product-data-center-page .pdc-block-math-note {
    font-size: 11px; color: #6b7280; font-style: italic;
    padding: 3px 8px; margin-top: 3px; margin-bottom: 4px;
    background: #f9fafb; border: 1px dashed #d1d5db; border-radius: 4px;
    display: inline-block;
}
/* ── End S4-T11F ── */

/* ── S4-T11E-FIX03: Pagination + search + debug line ── */
.product-data-center-page .pdc-search-bar {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    padding: 6px 10px; margin-bottom: 4px;
    background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 5px;
}
.product-data-center-page .pdc-search-input {
    flex: 1; min-width: 200px; max-width: 340px;
    font-size: 12px; padding: 4px 8px;
    border: 1px solid #94a3b8; border-radius: 4px; color: #1f2937;
}
.product-data-center-page .pdc-perpage-lbl { font-size: 12px; color: #475569; white-space: nowrap; }
.product-data-center-page .pdc-perpage-select {
    font-size: 12px; padding: 3px 6px;
    border: 1px solid #94a3b8; border-radius: 4px;
}
.product-data-center-page .pdc-debug-line {
    font-size: 11px; color: #64748b; padding: 4px 10px; margin-bottom: 4px;
    background: #fafafa; border: 1px dashed #cbd5e1; border-radius: 4px;
    line-height: 1.8;
}
.product-data-center-page .pdc-debug-line strong { color: #1e40af; }
.product-data-center-page .pdc-pagination {
    display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
    padding: 8px 10px; margin-top: 8px;
    background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 5px;
}
.product-data-center-page .pdc-page-btn {
    padding: 4px 10px; font-size: 13px; cursor: pointer;
    background: #fff; border: 1px solid #94a3b8; border-radius: 4px; color: #374151;
    line-height: 1;
}
.product-data-center-page .pdc-page-btn:hover:not(:disabled) { background: #e2e8f0; }
.product-data-center-page .pdc-page-btn:disabled { opacity: 0.4; cursor: default; }
.product-data-center-page .pdc-page-info {
    font-size: 12px; color: #374151; padding: 0 6px; white-space: nowrap;
}
.product-data-center-page .pdc-page-jump { font-size: 12px; color: #374151; display: flex; align-items: center; gap: 4px; }
.product-data-center-page .pdc-jump-input {
    width: 52px; font-size: 12px; padding: 3px 5px;
    border: 1px solid #94a3b8; border-radius: 4px; text-align: center;
}
/* ── End S4-T11E-FIX03 ── */

/* ══════════════════════════════════════════════════════════════
   S4-T11G — Human Review Workflow
   ══════════════════════════════════════════════════════════════ */

/* ── Review breakdown bar (TIẾN ĐỘ XỬ LÝ) ── */
.product-data-center-page .pdc-review-breakdown {
    display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
    padding: 6px 10px; margin-top: 6px;
    background: #f0f4fa; border: 1px solid #c7d4e8; border-radius: 5px;
    font-size: 12px;
}
.product-data-center-page .pdc-rbd-lbl  { color: #64748b; font-weight: 600; }
.product-data-center-page .pdc-rbd-sep  { color: #94a3b8; padding: 0 4px; }
.product-data-center-page .pdc-rbd-item { color: #374151; white-space: nowrap; }
.product-data-center-page .pdc-rbd-confirmed { color: #15803d; }
.product-data-center-page .pdc-rbd-overridden { color: #7c3aed; }
.product-data-center-page .pdc-rbd-conflict   { color: #b45309; }
.product-data-center-page .pdc-rbd-low        { color: #dc2626; }
.product-data-center-page .pdc-rbd-nocat      { color: #6b7280; }
.product-data-center-page .pdc-rbd-accessory  { color: #0369a1; }

/* ── HRW Bulk Review Panel ── */
.product-data-center-page .pdc-hrw-bulk-panel {
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
    padding: 8px 12px; margin: 6px 0;
    background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 6px;
    font-size: 13px;
}
.product-data-center-page .pdc-hrw-sel-lbl { font-weight: 600; color: #1e40af; white-space: nowrap; }
.product-data-center-page .pdc-hrw-sep     { color: #94a3b8; }
.product-data-center-page .pdc-hrw-note    { font-size: 11px; color: #6b7280; margin-left: 4px; }
.product-data-center-page .pdc-hrw-btn {
    padding: 5px 12px; font-size: 12px; border-radius: 5px; cursor: pointer;
    border: 1px solid transparent; font-weight: 600;
}
.product-data-center-page .pdc-hrw-confirm-btn {
    background: #15803d; color: #fff; border-color: #166534;
}
.product-data-center-page .pdc-hrw-confirm-btn:hover { background: #166534; }
.product-data-center-page .pdc-hrw-override-btn {
    background: #7c3aed; color: #fff; border-color: #6d28d9;
}
.product-data-center-page .pdc-hrw-override-btn:hover { background: #6d28d9; }
.product-data-center-page .pdc-hrw-undo-btn {
    background: #f3f4f6; color: #374151; border-color: #d1d5db;
}
.product-data-center-page .pdc-hrw-undo-btn:hover { background: #e5e7eb; }
.product-data-center-page .pdc-hrw-group-select {
    font-size: 12px; padding: 4px 8px; border: 1px solid #bfdbfe; border-radius: 5px;
    background: #fff; color: #1e3a5f;
}

/* ── Smart filter buttons ── */
.product-data-center-page .pdc-filter-smart {
    font-style: italic; color: #4b5563; font-size: 11px;
}
.product-data-center-page .pdc-filter-smart.active { background: #dbeafe; color: #1e40af; }

/* ── Per-row action buttons (T11G) ── */
.product-data-center-page .pdc-hrw-confirm-single-btn {
    display: inline-block; padding: 3px 8px; font-size: 11px; cursor: pointer;
    background: #d1fae5; color: #166534; border: 1px solid #6ee7b7; border-radius: 4px;
    font-weight: 600; margin-bottom: 3px;
}
.product-data-center-page .pdc-hrw-confirm-single-btn:hover { background: #a7f3d0; }
.product-data-center-page .pdc-hrw-override-toggle-btn {
    display: inline-block; padding: 3px 8px; font-size: 11px; cursor: pointer;
    background: #ede9fe; color: #6d28d9; border: 1px solid #c4b5fd; border-radius: 4px;
    font-weight: 600; margin-bottom: 3px;
}
.product-data-center-page .pdc-hrw-undo-single-btn {
    display: inline-block; padding: 3px 8px; font-size: 11px; cursor: pointer;
    background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; border-radius: 4px;
    font-weight: 600; margin-bottom: 3px;
}

/* ── HRW group override panel (detail row) ── */
.product-data-center-page .pdc-hrw-override-row td { background: #faf5ff; border-top: 2px dashed #ddd6fe; }
.product-data-center-page .pdc-hrw-override-panel {
    padding: 10px 14px;
}
.product-data-center-page .pdc-hrw-op-title {
    font-weight: 600; font-size: 13px; color: #3730a3; margin-bottom: 8px;
}
.product-data-center-page .pdc-hrw-op-candidates {
    display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px;
}
.product-data-center-page .pdc-hrw-group-radio-label {
    display: inline-flex; align-items: center; gap: 4px; font-size: 12px;
    padding: 4px 10px; background: #f5f3ff; border: 1px solid #c4b5fd; border-radius: 4px;
    cursor: pointer;
}
.product-data-center-page .pdc-hrw-group-radio-label:hover { background: #ede9fe; }
.product-data-center-page .pdc-hrw-score { color: #7c3aed; font-size: 10px; }
.product-data-center-page .pdc-hrw-op-all {
    display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 12px;
}
.product-data-center-page .pdc-hrw-op-select {
    font-size: 12px; padding: 4px 8px; border: 1px solid #c4b5fd; border-radius: 4px; background: #fff;
}
.product-data-center-page .pdc-hrw-override-submit-btn {
    padding: 5px 14px; font-size: 12px; font-weight: 600; cursor: pointer;
    background: #7c3aed; color: #fff; border: 1px solid #6d28d9; border-radius: 5px;
}
.product-data-center-page .pdc-hrw-override-submit-btn:hover { background: #6d28d9; }

/* ── Review reason badges ── */
.product-data-center-page .pdc-reason-badge {
    display: inline-block; font-size: 10px; font-weight: 600; padding: 1px 6px;
    border-radius: 3px; margin-left: 6px; vertical-align: middle;
}
.product-data-center-page .pdc-reason-conflict   { background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; }
.product-data-center-page .pdc-reason-low        { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.product-data-center-page .pdc-reason-nocat      { background: #f3f4f6; color: #374151; border: 1px solid #d1d5db; }
.product-data-center-page .pdc-reason-accessory  { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }
.product-data-center-page .pdc-reason-unknown    { background: #f3f4f6; color: #6b7280; border: 1px solid #e5e7eb; }

/* ── End S4-T11G ── */

/* ── T11G addendum: candidate group quick-pick buttons ── */
.product-data-center-page .pdc-hrw-op-cand-lbl { font-size: 12px; color: #6b7280; font-weight: 600; }
.product-data-center-page .pdc-hrw-cand-btn {
    padding: 3px 10px; font-size: 11px; cursor: pointer;
    background: #f5f3ff; color: #4c1d95; border: 1px solid #c4b5fd; border-radius: 4px;
}
.product-data-center-page .pdc-hrw-cand-btn:hover { background: #ede9fe; }

/* ── T11G Apply Fix: confirmed/overridden apply result badges ── */
.product-data-center-page .pdc-ar-confirmed { color: #166534; font-weight: 600; }
.product-data-center-page .pdc-ar-overridden { color: #7c3aed; font-weight: 600; }

/* ── T11G-FIX01: Override group save + row badges ── */

/* Badge for overridden group in "Nhóm AI / Gán" cell */
.product-data-center-page .pdc-hrw-reassign-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #7c3aed;
    background: #f5f3ff;
    border: 1px solid #c4b5fd;
    border-radius: 4px;
    padding: 1px 5px;
    margin-top: 2px;
}

/* Badge for confirmed group in "Nhóm AI / Gán" cell */
.product-data-center-page .pdc-hrw-ok-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #166534;
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 4px;
    padding: 1px 5px;
    margin-top: 2px;
}

/* Override result box */
.product-data-center-page .pdc-hrw-or-result {
    margin: 6px 0;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 13px;
    border: 1px solid #d1d5db;
}
.product-data-center-page .pdc-hrw-or-ok {
    background: #f0fdf4;
    border-color: #86efac;
    color: #166534;
}
.product-data-center-page .pdc-hrw-or-warn {
    background: #fffbeb;
    border-color: #fcd34d;
    color: #92400e;
}
.product-data-center-page .pdc-hrw-or-warn-msg {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #b45309;
}

/* ── S4-T12 Media Quality Center ───────────────────────────────────────── */
.product-data-center-page .pdc-mdc-summary {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin: 12px 0; padding: 12px 14px;
    background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px;
}
.product-data-center-page .pdc-mdc-stat {
    display: flex; flex-direction: column; align-items: center;
    padding: 6px 12px; background: #fff; border: 1px solid #e2e8f0;
    border-radius: 6px; min-width: 64px;
}
.product-data-center-page .pdc-mdc-sep {
    width: 1px; background: #e2e8f0; border: none; padding: 0; min-width: 1px;
}
.product-data-center-page .pdc-mdc-num {
    font-size: 20px; font-weight: 700; color: #1f2937; line-height: 1.2;
}
.product-data-center-page .pdc-mdc-lbl {
    font-size: 10px; color: #6b7280; margin-top: 2px; text-align: center; white-space: nowrap;
}
.product-data-center-page .pdc-mdc-s-excellent { border-color: #6ee7b7; }
.product-data-center-page .pdc-mdc-s-excellent .pdc-mdc-num { color: #065f46; }
.product-data-center-page .pdc-mdc-s-good      { border-color: #86efac; }
.product-data-center-page .pdc-mdc-s-good      .pdc-mdc-num { color: #166534; }
.product-data-center-page .pdc-mdc-s-needmore  { border-color: #fcd34d; }
.product-data-center-page .pdc-mdc-s-needmore  .pdc-mdc-num { color: #92400e; }
.product-data-center-page .pdc-mdc-s-weak      { border-color: #fca5a5; }
.product-data-center-page .pdc-mdc-s-weak      .pdc-mdc-num { color: #991b1b; }
.product-data-center-page .pdc-mdc-s-veryweak  { border-color: #f87171; }
.product-data-center-page .pdc-mdc-s-veryweak  .pdc-mdc-num { color: #7f1d1d; }
.product-data-center-page .pdc-mdc-s-video     { border-color: #93c5fd; }
.product-data-center-page .pdc-mdc-s-video     .pdc-mdc-num { color: #1e40af; }
.product-data-center-page .pdc-mdc-s-novideo   { border-color: #d1d5db; }
.product-data-center-page .pdc-mdc-s-nothumb   { border-color: #fca5a5; }
.product-data-center-page .pdc-mdc-s-nothumb   .pdc-mdc-num { color: #991b1b; }
.product-data-center-page .pdc-mdc-s-avg       { border-color: #c4b5fd; }
.product-data-center-page .pdc-mdc-s-avg       .pdc-mdc-num { color: #5b21b6; }

.product-data-center-page .pdc-mdc-filter-bar {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
    margin: 8px 0 4px;
}
.product-data-center-page .pdc-mdc-filter-lbl {
    font-size: 12px; font-weight: 600; color: #374151; margin-right: 2px;
}
.product-data-center-page .pdc-mdc-fbtn {
    padding: 3px 10px; font-size: 12px; border-radius: 14px; border: 1px solid #d1d5db;
    background: #f9fafb; color: #374151; cursor: pointer; transition: all .15s;
}
.product-data-center-page .pdc-mdc-fbtn:hover { background: #e5e7eb; border-color: #9ca3af; }
.product-data-center-page .pdc-mdc-fbtn.pdc-mdc-fbtn-active {
    background: #1a3a5c; border-color: #1a3a5c; color: #fff;
}
.product-data-center-page .pdc-mdc-filter-info {
    font-size: 12px; color: #6b7280; margin-bottom: 4px;
}

.product-data-center-page .pdc-mdc-table th {
    background: #f1f5f9; font-size: 12px;
}
.product-data-center-page .pdc-mdc-table td { font-size: 12px; vertical-align: middle; }
.product-data-center-page .pdc-mdc-table tr:hover td { background: #f8fafc; }

.product-data-center-page .pdc-mdc-ok { color: #16a34a; font-size: 14px; font-weight: 700; }
.product-data-center-page .pdc-mdc-miss { color: #dc2626; font-size: 13px; }
.product-data-center-page .pdc-mdc-score-mini { font-size: 10px; color: #9ca3af; }

.product-data-center-page .pdc-mdc-gallery-num { font-weight: 700; font-size: 13px; }
.product-data-center-page .pdc-mdc-ok-num   { color: #16a34a; }
.product-data-center-page .pdc-mdc-mid-num  { color: #d97706; }
.product-data-center-page .pdc-mdc-miss-num { color: #dc2626; }

.product-data-center-page .pdc-mdc-quality-badge {
    font-size: 11px; font-weight: 600; border-radius: 4px; padding: 1px 5px;
}
.product-data-center-page .pdc-mdc-q-good   { background: #dcfce7; color: #166534; }
.product-data-center-page .pdc-mdc-q-medium { background: #fef9c3; color: #854d0e; }
.product-data-center-page .pdc-mdc-q-poor   { background: #fee2e2; color: #991b1b; }
.product-data-center-page .pdc-mdc-q-none   { background: #f3f4f6; color: #6b7280; }

.product-data-center-page .pdc-mdc-score {
    font-size: 14px; font-weight: 700;
}
.product-data-center-page .pdc-mdc-s-EXCELLENT { color: #065f46; }
.product-data-center-page .pdc-mdc-s-GOOD      { color: #166534; }
.product-data-center-page .pdc-mdc-s-NEED_MORE { color: #92400e; }
.product-data-center-page .pdc-mdc-s-WEAK      { color: #991b1b; }
.product-data-center-page .pdc-mdc-s-VERY_WEAK { color: #7f1d1d; }

.product-data-center-page .pdc-mdc-status-badge {
    font-size: 11px; font-weight: 600; border-radius: 4px; padding: 2px 6px;
}
.product-data-center-page .pdc-mdc-sb-EXCELLENT { background: #d1fae5; color: #065f46; }
.product-data-center-page .pdc-mdc-sb-GOOD      { background: #dcfce7; color: #166534; }
.product-data-center-page .pdc-mdc-sb-NEED_MORE { background: #fef9c3; color: #92400e; }
.product-data-center-page .pdc-mdc-sb-WEAK      { background: #fee2e2; color: #991b1b; }
.product-data-center-page .pdc-mdc-sb-VERY_WEAK { background: #fecaca; color: #7f1d1d; }

.product-data-center-page .pdc-mdc-pri {
    font-size: 12px; font-weight: 700; border-radius: 50%; width: 22px; height: 22px;
    display: inline-flex; align-items: center; justify-content: center;
}
.product-data-center-page .pdc-mdc-pri-A { background: #fef2f2; color: #dc2626; border: 1px solid #fca5a5; }
.product-data-center-page .pdc-mdc-pri-B { background: #eff6ff; color: #2563eb; border: 1px solid #93c5fd; }
.product-data-center-page .pdc-mdc-pri-C { background: #f9fafb; color: #6b7280; border: 1px solid #d1d5db; }

.product-data-center-page .pdc-mdc-edit-link {
    font-size: 11px; color: #2563eb; text-decoration: none;
}
.product-data-center-page .pdc-mdc-edit-link:hover { text-decoration: underline; }
/* ── End S4-T12 ─────────────────────────────────────────────────────────── */

/* ── S4-T12A Universal Pagination Engine ───────────────────────────────── */
.product-data-center-page .pdc-nav-sticky {
    position: sticky; top: 0; z-index: 90;
    background: #1a3a5c; padding: 6px 14px;
    display: flex; gap: 6px; flex-wrap: wrap;
    margin: 0 -14px 16px; border-bottom: 2px solid #e8820c;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.product-data-center-page .pdc-nav-link {
    color: #fff; text-decoration: none; font-size: 12px; font-weight: 600;
    padding: 4px 12px; border-radius: 4px; transition: background .15s;
}
.product-data-center-page .pdc-nav-link:hover { background: rgba(255,255,255,.18); }

.product-data-center-page .pdc-srv-pag-bar {
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
    padding: 6px 10px; margin: 8px 0;
    background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 6px;
}
.product-data-center-page .pdc-mdc-pag-bar { margin-top: 10px; }
.product-data-center-page .pdc-srv-pag-info { font-size: 12px; color: #374151; flex: 1 1 auto; }
.product-data-center-page .pdc-srv-pag-btns { display: flex; gap: 3px; }
.product-data-center-page .pdc-srv-btn {
    padding: 3px 9px; border: 1px solid #d1d5db; background: #f9fafb;
    border-radius: 4px; cursor: pointer; font-size: 13px; line-height: 1.4;
    transition: background .12s;
}
.product-data-center-page .pdc-srv-btn:hover:not(:disabled) { background: #e5e7eb; border-color: #9ca3af; }
.product-data-center-page .pdc-srv-btn:disabled { opacity: .45; cursor: default; }
.product-data-center-page .pdc-srv-pag-limit { display: flex; align-items: center; gap: 5px; font-size: 12px; color: #374151; }
.product-data-center-page .pdc-srv-limit-sel { font-size: 12px; padding: 2px 4px; border: 1px solid #d1d5db; border-radius: 4px; }
/* ── End S4-T12A ─────────────────────────────────────────────────────────── */

/* ── S4-T14: Content Quality Center ──────────────────────────────────────── */

/* Summary dashboard */
.product-data-center-page .pdc-cqe-summary {
    display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px;
}
.product-data-center-page .pdc-cqe-stat {
    display: flex; flex-direction: column; align-items: center;
    min-width: 72px; padding: 8px 10px;
    background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px;
}
.product-data-center-page .pdc-cqe-num {
    font-size: 20px; font-weight: 700; line-height: 1.2; color: #1f2937;
}
.product-data-center-page .pdc-cqe-lbl {
    font-size: 10px; color: #6b7280; text-align: center; margin-top: 2px;
}
.product-data-center-page .pdc-cqe-sep { min-width: 1px; padding: 0; background: #e2e8f0; }

/* Grade-colour tiles */
.product-data-center-page .pdc-cqe-s-aplus { border-color: #16a34a; background: #f0fdf4; }
.product-data-center-page .pdc-cqe-s-aplus .pdc-cqe-num { color: #16a34a; }
.product-data-center-page .pdc-cqe-s-a     { border-color: #2563eb; background: #eff6ff; }
.product-data-center-page .pdc-cqe-s-a     .pdc-cqe-num { color: #2563eb; }
.product-data-center-page .pdc-cqe-s-b     { border-color: #0891b2; background: #ecfeff; }
.product-data-center-page .pdc-cqe-s-b     .pdc-cqe-num { color: #0891b2; }
.product-data-center-page .pdc-cqe-s-c     { border-color: #d97706; background: #fffbeb; }
.product-data-center-page .pdc-cqe-s-c     .pdc-cqe-num { color: #d97706; }
.product-data-center-page .pdc-cqe-s-d     { border-color: #ea580c; background: #fff7ed; }
.product-data-center-page .pdc-cqe-s-d     .pdc-cqe-num { color: #ea580c; }
.product-data-center-page .pdc-cqe-s-f     { border-color: #dc2626; background: #fef2f2; }
.product-data-center-page .pdc-cqe-s-f     .pdc-cqe-num { color: #dc2626; }
.product-data-center-page .pdc-cqe-s-avg   { border-color: #7c3aed; background: #f5f3ff; }
.product-data-center-page .pdc-cqe-s-avg   .pdc-cqe-num { color: #7c3aed; }
.product-data-center-page .pdc-cqe-s-warn  { border-color: #f59e0b; background: #fffbeb; }
.product-data-center-page .pdc-cqe-s-warn  .pdc-cqe-num { color: #b45309; }

/* Filter bar */
.product-data-center-page .pdc-cqe-filter-bar {
    display: flex; flex-wrap: wrap; align-items: center; gap: 5px;
    margin: 0 0 10px; padding: 6px 0;
}
.product-data-center-page .pdc-cqe-filter-lbl { font-size: 12px; color: #6b7280; margin-right: 2px; }
.product-data-center-page .pdc-cqe-fbtn {
    padding: 3px 9px; font-size: 12px; border: 1px solid #d1d5db;
    background: #f9fafb; border-radius: 4px; cursor: pointer; transition: background .12s;
}
.product-data-center-page .pdc-cqe-fbtn:hover { background: #e5e7eb; }
.product-data-center-page .pdc-cqe-fbtn-active { background: #1a3a5c; color: #fff; border-color: #1a3a5c; }
/* Grade-tinted filter buttons */
.product-data-center-page .pdc-cqe-fbtn-aplus { border-color: #16a34a; color: #16a34a; }
.product-data-center-page .pdc-cqe-fbtn-aplus.pdc-cqe-fbtn-active { background: #16a34a; color: #fff; }
.product-data-center-page .pdc-cqe-fbtn-a     { border-color: #2563eb; color: #2563eb; }
.product-data-center-page .pdc-cqe-fbtn-a.pdc-cqe-fbtn-active     { background: #2563eb; color: #fff; }
.product-data-center-page .pdc-cqe-fbtn-b     { border-color: #0891b2; color: #0891b2; }
.product-data-center-page .pdc-cqe-fbtn-b.pdc-cqe-fbtn-active     { background: #0891b2; color: #fff; }
.product-data-center-page .pdc-cqe-fbtn-c     { border-color: #d97706; color: #d97706; }
.product-data-center-page .pdc-cqe-fbtn-c.pdc-cqe-fbtn-active     { background: #d97706; color: #fff; }
.product-data-center-page .pdc-cqe-fbtn-d     { border-color: #ea580c; color: #ea580c; }
.product-data-center-page .pdc-cqe-fbtn-d.pdc-cqe-fbtn-active     { background: #ea580c; color: #fff; }
.product-data-center-page .pdc-cqe-fbtn-f     { border-color: #dc2626; color: #dc2626; }
.product-data-center-page .pdc-cqe-fbtn-f.pdc-cqe-fbtn-active     { background: #dc2626; color: #fff; }

/* Table */
.product-data-center-page .pdc-cqe-table-wrap { overflow-x: auto; }
.product-data-center-page .pdc-cqe-table {
    width: 100%; border-collapse: collapse; font-size: 12px;
}
.product-data-center-page .pdc-cqe-table th {
    background: #1a3a5c; color: #fff; padding: 6px 7px;
    white-space: nowrap; font-weight: 600; text-align: center;
    border: 1px solid #15325a;
}
.product-data-center-page .pdc-cqe-table td {
    padding: 4px 7px; border: 1px solid #e5e7eb; vertical-align: middle;
}
.product-data-center-page .pdc-cqe-table tr:nth-child(even) td { background: #f8fafc; }
.product-data-center-page .pdc-cqe-table tr:hover td { background: #f0f9ff; }

.product-data-center-page .pdc-cqe-id  { color: #6b7280; text-align: right; white-space: nowrap; }
.product-data-center-page .pdc-cqe-sku { font-family: monospace; font-size: 11px; white-space: nowrap; }
.product-data-center-page .pdc-cqe-name { min-width: 160px; max-width: 260px; }
.product-data-center-page .pdc-cqe-missing { font-size: 11px; color: #b45309; max-width: 200px; }

/* Status icons */
.product-data-center-page .pdc-cqe-ok   { color: #16a34a; font-weight: 600; }
.product-data-center-page .pdc-cqe-miss { color: #d1d5db; }
.product-data-center-page .pdc-cqe-score-mini { color: #6b7280; font-size: 10px; margin-left: 2px; }
.product-data-center-page .pdc-cqe-score-val  { font-size: 13px; color: #1f2937; }

/* Grade badges */
.product-data-center-page .pdc-cqe-grade {
    display: inline-block; padding: 2px 7px; border-radius: 10px;
    font-size: 11px; font-weight: 700; line-height: 1.5;
    border: 1px solid currentColor;
}
.product-data-center-page .pdc-cqe-grade-A\+ { color: #16a34a; background: #f0fdf4; }
.product-data-center-page .pdc-cqe-grade-A  { color: #2563eb; background: #eff6ff; }
.product-data-center-page .pdc-cqe-grade-B  { color: #0891b2; background: #ecfeff; }
.product-data-center-page .pdc-cqe-grade-C  { color: #d97706; background: #fffbeb; }
.product-data-center-page .pdc-cqe-grade-D  { color: #ea580c; background: #fff7ed; }
.product-data-center-page .pdc-cqe-grade-F  { color: #dc2626; background: #fef2f2; }

/* Edit action link */
.product-data-center-page .pdc-cqe-edit-link {
    font-size: 11px; padding: 2px 7px; border: 1px solid #d1d5db;
    border-radius: 4px; background: #f9fafb; color: #374151;
    text-decoration: none; white-space: nowrap;
}
.product-data-center-page .pdc-cqe-edit-link:hover { background: #1a3a5c; color: #fff; border-color: #1a3a5c; }

/* Pagination bar (reuses pdc-srv-pag-bar, just add spacing) */
.product-data-center-page .pdc-cqe-pag-bar { margin-top: 10px; }

/* ── End S4-T14 ───────────────────────────────────────────────────────────── */

/* ============================================================
   P4-HOTFIX-FIX02 — "Vì Sao Chọn" block in footer context
   Scope: .why-choose-footer-wrap và tất cả con cháu
   Chỉ áp dụng khi block nằm trong footer (catalog/article).
   Không ảnh hưởng homepage (block đó không có wrapper này).
   ============================================================ */

/* Constrain inner content to match Bootstrap .container width (1170px at 1200px+) */
.why-choose-footer-wrap .why-choose-wrap {
  max-width: 1170px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}

/* Tablet 768-991px: tighter gap, keep same max-width */
@media (max-width: 991px) and (min-width: 768px) {
  .why-choose-footer-wrap .why-choose-wrap {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Mobile < 768px: full-width, small horizontal padding */
@media (max-width: 767px) {
  .why-choose-footer-wrap .why-choose-wrap {
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* ── End P4-HOTFIX-FIX02 ──────────────────────────────────────────────────── */

/* ── ADMIN SETTINGS: Why Choose — video column ──────────────────────────── */
.why-choose-video-ratio {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,.10);
  background: #000;
}
.why-choose-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
/* ── End Why Choose video ────────────────────────────────────────────────── */

/* ── Footer social icons ─────────────────────────────────────────────────── */
.footer-social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: rgba(255,255,255,0.10);
  color: #b0b8c4;
  text-decoration: none;
  flex-shrink: 0;
  transition: background .18s, color .18s;
}
.footer-social-link:hover,
.footer-social-link:focus {
  background: rgba(255,255,255,0.22);
  color: #fff;
  text-decoration: none;
  outline: none;
}
.footer-social-link svg { display: block; }
@media (max-width: 767px) {
  .footer-social-icons { gap: 10px; margin-top: 14px; }
  .footer-social-link { width: 38px; height: 38px; }
}
/* ── End footer social icons ─────────────────────────────────────────────── */

/* ============================================================
   SITE-UI-STABILIZATION — Left category flyout hover fix (core, both tenants)
   ROOT CAUSE: theme-french.css:5505 đặt panel `left:268px` (tuyệt đối) trong khi
   sidebar chỉ rộng 260px → panel mở CÁCH cha 1 khoảng trống → rê chuột qua khoảng
   trống đó mất :hover → panel biến mất.
   FIX: (1) ép panel `left:100%` (chạm sát mép phải <li>, hết khoảng trống) — !important
   để thắng theme-french; (2) overlap 1px; (3) hover-bridge vô hình dự phòng;
   (4) z-index vượt banner OWL. Scope chỉ sidebar trái trang chủ.
   ============================================================ */
/* (1) ÉP panel chạm sát cha — thắng theme-french `left:268px` */
.home-cate-sidebar .sm_megamenu_wrapper_vertical_menu .sm_megamenu_menu li:hover > .sm-megamenu-child,
.home-cate-sidebar .sm_megamenu_wrapper_vertical_menu .sm_megamenu_menu li:hover .sm-megamenu-child,
.home-cate-sidebar .sm_megamenu_wrapper_vertical_menu .sm_megamenu_menu li:hover [class*="sm_megamenu_dropdown_"] {
  left: 100% !important;
  top: 0 !important;
  margin-left: -2px !important;       /* overlap 2px → tuyệt đối không hở khe */
  z-index: 9999 !important;           /* trên OWL slider/banner */
}
.home-cate-sidebar .sm_megamenu_wrapper_vertical_menu .sm_megamenu_menu > li > .sm-megamenu-child {
  z-index: 9999 !important;
}
/* (3) bridge vô hình nối <li> với panel để giữ :hover khi cursor băng qua khe */
.home-cate-sidebar .sm_megamenu_wrapper_vertical_menu .sm_megamenu_menu > li > .sm-megamenu-child::before {
  content: "";
  position: absolute;
  top: 0;
  left: -20px;
  width: 22px;
  height: 100%;
  background: transparent;
}
/* giữ panel mở khi đang hover chính panel (belt-and-suspenders) */
.home-cate-sidebar .sm_megamenu_wrapper_vertical_menu .sm_megamenu_menu > li:hover > .sm-megamenu-child,
.home-cate-sidebar .sm_megamenu_wrapper_vertical_menu .sm-megamenu-child:hover {
  display: block !important;
}
/* ── End SITE-UI-STABILIZATION menu fix ── */
