/* ============================================================
   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;}



.paginator{padding:10px 0 10px;white-space:nowrap;text-align:center;font-size:12px;}

.paginator li{display:inline;margin:0 1px;*vertical-align:middle;}

.paginator li.current{*height:24px;margin:0 6px;font-weight:bold;*line-height:24px;}

.paginator li a{*display:inline-block;*height:22px;padding:3px 6px 4px;*padding:0 6px;border:1px solid #bbb;text-decoration:none;*line-height:22px;*position:relative;}

.paginator li a:hover{*height:24px;padding:4px 7px 5px;*padding:0 7px;border:none;*line-height:24px;background:#00ADB2;color:#fff;text-decoration:none;}

.paginator li a.nolink{color:#ccc;cursor:default;}

.paginator li a.nolink:hover{background:transparent;*height:22px;padding:3px 6px 4px;*padding:0 6px;border:1px solid #ccc;*line-height:22px;}



/* sysmsg */

.sysmsgw{clear:both;padding:8px 0 10px 37px;color:#000;font-size:14px;margin-top:10px;}

.sysmsg{margin:auto;padding-left:30px;}

.sysmsg .close{float:right;margin-top:-15px;padding-right:16px;margin-right:20px;background:url(i/bg-sysmsg-close.gif) 100% 50% no-repeat;font-size:12px;cursor:pointer;}

#sysmsg-error{border:1px solid #d01e5e;background:#ffdcd7;color:#d01e5e;}

#sysmsg-success{border-top:2px solid #690;border-bottom:2px solid #690;background:#EDFEDA;color:#690;}

#sysmsg-error .sysmsg{background:url(i/bg-sysmsg-error.gif) no-repeat 0 0;}

#sysmsg-success .sysmsg{background:url(i/bg-sysmsg-success.gif) no-repeat 0 0;}

#sysmsg-tip{position:relative;top:-5px;left:8px;width:948px;font-size:14px;}

#sysmsg-tip .sysmsg-tip-top{background:url(i/bg-sysmsg-tip.gif) no-repeat 0 0;height:12px;overflow:hidden;}

#sysmsg-tip .sysmsg-tip-content{background:#FBFBC5;padding:0 30px 0 30px;border-left:1px solid #89B4D7;border-right:1px solid #89B4D7;}

#sysmsg-tip .sysmsg-tip-bottom{background:url(i/bg-sysmsg-tip.gif) no-repeat 0 -13px;height:12px;overflow:hidden;font-size:12px;}

#sysmsg-tip .sysmsg-tip-close{display:none;position:absolute;top:12px;right:20px;padding-right:16px;background:url(i/bg-sysmsg-close.gif) 100% 50% no-repeat;font-size:12px;color:#699701;cursor:pointer;}

#sysmsg-tip .deal-close{position:relative;z-index:1;}

#sysmsg-tip .deal-close .focus{position:absolute;z-index:2;top:-12px;left:-31px;width:200px;height:60px;padding:10px 35px;background:url(i/bg-sysmsg-tip-focus.gif) no-repeat 0 0;font-weight:bold;}

#sysmsg-tip .deal-close .body{height:30px;padding-left:190px;}

#sysmsg-tip .deal-close .subscribe-succ{display:block;padding-top:5px;}

#sysmsg-tip .deal-close td{line-height:1;*line-height:1.2;vertical-align:middle;padding-top:1px;}

#sysmsg-tip .deal-close .f-text{width:216px;color:#333;}

#sysmsg-tip .deal-close .commit{width:51px;height:28px;background:url(i/button-subscribe-b.gif) no-repeat 0 0;text-indent:-999em;border:none;}

.sysmsg-tip-deal-close{margin-bottom:15px;}

#sysmsg-guide{position:relative;z-index:1;zoom:1;top:-10px;left:0;margin:0 0 10px 8px;dpadding-top:25px;width:951px;height:156px;background:url(i/bg-newbie-guide.gif) no-repeat 0 0;}

#sysmsg-guide .link{padding-top:25px;}

#sysmsg-guide .link a{display:block;width:950px;height:110px;}

#sysmsg-guide .close{display:block;position:absolute;top:2px;*top:1px;_top:2px;right:14px;height:20px;line-height:20px;*padding-top:2px;_padding-top:0;padding-right:20px;background:url(i/bg-newbie-close.gif) no-repeat center right;font-size:12px;color:#666;}

/* end sysmsg */



body.bg-alt{background:#A3DCEF url(i/bg-deal.jpg) repeat;}

body.newbie{background:#A3DCEF}



#hdw{height:150px;background:url(i/top_menu.gif) repeat-x left bottom; z-index:10;

box-shadow:0 2px 4px #888888;

}

#bdw{min-height:500px;_height:500px;}

#hdw .logimg{

    position: absolute;

    top: 123px;

    height: 42px;

    right: 0;

    width: 605px;

}

.f-input-top {

    border: 1px solid #1B94C1;

    font-size: 12px;

    padding: 1px;

	color:#CCCCCC;

	height:24px;

}

#ftw{

	border-top:7px solid #B6E383;



}

#hd{position:relative;z-index:2;width:1200px;margin:0 auto;}

#hd .subscribe {

    background: url("i/bg-subcribe-line.gif") no-repeat scroll 0 0 transparent;

    height: 75px;

    position: absolute;

    right: 0;

    top: 25px;

    width: 320px;

}

#hd .subscribe .text {

    color: #999999;

    font-size: 14px;

    padding: 0 0 5px 5px;

}

#hd .subscribe .f-text-top {

    border-color: #1B94C1;

    border-style: solid;

    border-width: 1px;

    color: #999999;

    float: left;

    font-size: 14px;

    height: 17px;

    padding: 3px 4px;

    width: 140px;

}

#hd .subscribe .commit {

    background: url("images/button-header-subscribe.gif") no-repeat scroll 0 0 transparent;

    border: 0 solid #FFFFFF;

    cursor: pointer;

    float: left;

    height: 20px;

    margin-left: 15px;

    text-indent: -999em;

    width: 67px;

}

#hd .nav {



	position: absolute;



	padding-left: 0px;



	top: 105px;



	left: 0px



}



#hd .vcoupon{position:absolute;top:0;right:0;width:480px;height:23px;padding:4px 20px 0;/*background:#515151;*/text-align:right;color:#000;font-size:12px;}

#hd .vcoupon a{color:#000;}

#hd .nav li {



	float: left



}



#hd .nav li.current a{background:transparent; color:#FA6D18;text-decoration:none;}

#hd .nav li.current{

	height:47px;

	text-decoration:none;

}

#hd .nav li.current a:hover{

	text-decoration:underline;

}

#hd .nav a {

    background_: url(i/line.png) no-repeat right 12px;

    color: #626262;

    float: left;

    font-size: 16px;

	font-weight:bold;

    height: 44px;

    line-height: 44px;

    padding: 0 10px;

    text-decoration: none;

}

 #hd .nav a.current {

	color:FA6D18;



	text-decoration:none;



}



#hd .nav a:hover, #hd .nav a.hover{text-decoration:underline;}

#hd .nav .today{padding:0 22px 0 23px;color:#FA6D18;}



#hd .anav{position:absolute;top:108px;left:0;padding-left:5px; width:1000px; height:30px;}

#hd .anav li.current a{background:transparent; color:#FA6D18;text-decoration:none;}

#hd .anav li{float:left; padding-top:3px;}

#hd .anav a{float:left;height:39px;line-height:39px;color:#626262;padding:0px 10px;font-size:16px;font-weight:bold;}

#hd .anav a:hover, #hd .anav a.hover{color:#FA6D18;text-decoration:none;}

#hd .anav .today{padding:0 22px 0 23px;color:#FA6D18;}

#hd .cityline {

float: left;

width: 1px;

display: block;

height: 80px;

background: url(i/divline.jpg);

margin-top: 3px;

margin-left: 6px;

margin-right: 6px;

position: absolute;

top: 15px;

left: 260px;

}



#hd .logins{position:absolute;top:105px;right:0;height:42px}

#hd .logins ul.links{float:right;background:url(i/bg_login.jpg) no-repeat 0 0; height:78px; width:350px;}

#hd .logins li{float:left;}

#hd .logins .refer{float:right;width:160px;height:42px;font-size:12px;}

#hd .logins .refer a{display:block;margin-top:0;width:130px;height:42px;line-height:42px;padding-left:20px;color:#9ff;background:url(i/icon-gift.gif) no-repeat 0 14px;*background-position:0 13px;_background-position:0 14px;}

#hd .logins .line{float:right;background:url(i/bg-logins-line.gif) no-repeat 0 50%;width:115px;height:42px;}

#hd .logins .islogin{width:2px;}

#hd .logins .links a{color:#626262;font-size:14px;}

#hd .logins .username{padding-top:10px; padding-left:15px;text-align:left;font-family:Helvetica,arial,sans-serif;color:#333;}

#hd .logins .login{ width:120px;}

#hd .logins .signup{ width:80px;}

#hd .logins .account{width:120px; text-align:left}

#hd .logins .account a{outline:0;}

#hd .logins .login .fb_button .fb_button_medium .fb_button_text{font-sixe:11px}

#hd .logins .logout,#hd .logins .login{text-align:center;}

#hd .logins a {



	line-height: 42px;

        display: block;

        height: 42px;

 		color:#626262;

		font-size:16px;

        font-weight: bold;

        text-decoration: none;

}

#hd .logins .links a:hover,#hd .logins a.hover,#hd .logins a:hover {/*background:#63c5c8;font-weight:bold;*/text-decoration:underline;}

/* 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 */

#hd .guides{position:absolute;left:320px;top:26px;z-index:4;width:170px;}

#hd .city{float:left;height:30px;line-height:25px;

	background:url(i/choiceCity.png) no-repeat left top;

	width:169px;

	padding:3px;

	margin-top:3px;

}

#hd .city h2{text-align:left;width:140px;

	line-height:30px;

	font-weight:normal;

	float:left;

}

.btnImg {

	height:30px;

	width:20px;

}

#hd .change{float:left;width:200px;padding:3px 8px;*padding-top:5px;_padding-top:3px;color:#000;font-size:12px;cursor:pointer;text-align:left}

#hd .city-list{ display:none;clear:both;float:left;background:#DDEDCC; border:#DDD 1px solid; z-index:100;border-top:none; border-bottom:none;width:166px;}

#hd .city-list ul{float:left;padding-bottom:5px; width:166px; z-index:100;}

#hd .city-list li{float:left;font-size:12px;border-bottom:1px dashed #CCCCCC; white-space:nowrap;width:166px;}

#hd .city-list li a{display:block;padding:7px;text-align:left;color:#000;text-decoration:none}

#hd .city-list li a:hover{background:#CBDBB8;}

#hd .city-list li.current a{background:#transparent;color:#399; font-weight:bold}

#hd .city-list li.current a:hover{color:#399;}

#hd .city-list .other{clear:both;border-top:1px dashed #CCCCCC;padding-top:5px;font-size:11px;zoom:1;}

#hd .city-list .other a{float:right;width:80px;padding:2px 5px;color:#399;}

#hd .city-list .other a:hover{background:#transparent;color:#000;;text-decoration:none;}

#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}

.doitac {

    

}

.doitac2 {

    color: #15A900;

    font-size: 18px;

    font-weight: bold;

    text-align: left;

	text-decoration:underline;

}

.doitac-main {

    padding: 10px;

}

.doitac-l {

    float: left;

    width: 200px;

}

.doitac-r {

    float: left;

    padding-left: 10px;

}

#miibeian{color:#ddd;}

dd#bd{position:relative;z-index:1;width:980px;margin:0 auto;padding:30px 0 65px;}

#bd{position:relative;z-index:1;}



#content{float:left;width:100%;padding:0;}

#content.mainwide{
}





.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;}

.dashboard{position:relative;bottom:-2px;z-index:2;_display:inline;margin-left:25px;zoom:1;}

.dashboard ul{float:left;_display:inline;}

.dashboard li{float:left;_display:inline;margin-right:4px;font-size:12px;

	background:#FFF;

	border:2px solid #76A045;

	border-radius:7px 7px 0px 0px;

	height:15px;

	padding:7px 10px;

}

.dashboard li a{

	font-weight:bold;

	}

.dashboard li span{float:left}

.dashboard li.current{

	border-bottom-color:#FFF;

}

.dashboard li.current a{background-position:0 0; color:#f76d18; }

.dashboard li.current span{background-position:-161px -100px;}

/* Edit by Kent - 05-11-2011 */

.coupons-table1{ border-bottom: 1px solid #CCCCCC;

    border-left: 1px solid #CCCCCC;

    border-right: 1px solid #CCCCCC;

    margin: 10px;

    table-layout: fixed;

    width: 920px;}

.coupons-table1 th{background-color:#ecffd8;border:1px solid #ccc;}

.coupons-table1 td, .coupons-table1 th{padding:5px;}

.coupons-table1 .last{white-space:nowrap;}

.coupons-table1 .last form{text-align:center;}

.coupons-table1 .last form p{margin-top:4px;}

.coupons-table1 .last .f-input{width:90px;float:none;margin-bottom:4px;}

.coupons-table1 .alt td{background-color:#f1f3f5;}

.coupons-table1 .alts td{background-color:#E4EEF3;}

.coupons-table1 a.deal-title{color:#626061;}

.coupons-table1 a.deal-title:hover{color:#626061;}

.coupons-table1 .op{font-size:14px; color:gray;}

.coupons-table1 .f-textarea{width:300px;height:100px;}

.coupons-table1 td.author {font-size:12px; color:gray;}

	/* End Edit by Kent - 05-11-2011 */

	

.coupons-table{margin-top:10px;width:100%;border-left:1px solid #ccc;border-right:1px solid #ccc;border-bottom:1px solid #ccc;}

.coupons-table th{background-color:#ecffd8;border:1px solid #ccc;}

.coupons-table td, .coupons-table th{padding:5px;}

/*.coupons-table td{}*/

.coupons-table .last{white-space:nowrap;}

.coupons-table .last form{text-align:center;}

.coupons-table .last form p{margin-top:4px;}

.coupons-table .last .f-input{width:90px;float:none;margin-bottom:4px;}

.coupons-table .alt td{background-color:#f1f3f5;}

.coupons-table .alts td{background-color:#E4EEF3;}

.coupons-table a.deal-title{color:#626061;}

.coupons-table a.deal-title:hover{color:#626061;}

.coupons-table .op{font-size:14px; color:gray;}

.coupons-table .f-textarea{width:300px;height:100px;}

.coupons-table td.author {font-size:12px; color:gray;}



#dialog .coupons-table td, #dialog .coupons-table th{padding:2px;}



.sendsms-failure{color:#c00;}

/* content */

.deals-table{margin:10px 10px 30px;}

.deals-table td,.deals-table th{padding:10px;border:1px solid #fff;}

.deals-table th{text-align:right;vertical-align:top;}

.bizs-table th{text-align:right;vertical-align:top;}

#content .head{padding:10px;}

#content .head h2{display:inline;padding-left:0px;font-size:1.5em;color:#08c}

#content .head .headtip{margin-left:20px;font-size:16px;font-weight:bold;}

#content div.success{height:50px;padding-left:100px;padding-top:10px;background:url(i/bg-pay-return-success.gif) no-repeat 25px -5px;}

#content div.error{height:60px;padding-left:150px;padding-top:38px;background:url(i/bg-pay-return-error.gif) no-repeat 125px 25px;}

#content div.success h2,#content div.error h2{font-size:28px;font-family:Arial, Helvetica, sans-serif;}

#content .title{padding:0 10px;}

#content .title h3{display:inline;padding-left:10px;font-size:1.5em;}

#content .sect{}

#content .sect1{width:940px;padding:0px 0px 0px 0px;}

#content.mainwide .sect{}

#content .field{float:left;*float:none;_display:inline;clear:both;width:650px;padding-bottom:5px;margin:0;}

#content.mainwide .field{float:left;*float:none;_display:inline;clear:both;width:892px;padding-bottom:5px;margin:0}

#content .field label{float:left;padding-right:5px; padding-left:5px;width:120px; white-space:nowrap;height:30px;line-height:30px;font-size:12px;text-align:right;color:#333;}

#content .field .f-input{float:left;width:300px;margin:3px 0 0;}

#content .field .f-input-small{float:left;width:150px;margin:3px 0 0;}

#content.mainwide .field .f-input{float:left;width:700px;margin:3px 0 0;}

.field input.number{float:left;width:88px;margin:3px 15px 0 0;}

.field input.numberd{float:left;width:180px;margin:3px 15px 0 0;}

.field input.date{float:left;width:80px;margin:3px 15px 0 0;}

#content #deal-buy-box .f-input{width:350px;}

#content .field .f-textarea{float:left;width:320px;height:120px;margin:3px 0 0;}

#content.mainwide .field .f-textarea{float:left;width:700px;height:160px;margin:3px 0 0;}



#forum #content .field .f-input{width:480px;}

#forum #content .field .f-textarea{width:480px; height:120px; }

#forum #content .avatar {border:1px #ccc solid;background:#fff;padding:2px;}

#forum #content div.author {background-color:#EAEAEA;padding:2px 5px; }

#forum #content .topic-content {padding:5px 5px;}

#forum #content .topic-reply .topic-content {}

#forum .consult-form{padding:35px 55px 15px;width:auto;}

#forum .consult-form .commit{margin-top:10px;}

#forum .consult-form .f-textarea{width:480px;height:100px;}

#forum .consult-form .succ{display:none;padding:10px 0;}



#content .field .f-check{float:left;margin-top:3px;*margin-top:0;}

#content .readonly{color:#666;background:#f1f1f1;}

#content .hint{clear:left;float:left;margin-left:130px;font-size:12px;color:#989898; font-style:italic; width:300px}

#content.mainwide .hint{clear:left;float:left;width:560px;margin-left:130px;font-size:12px;color:#989898;font-style:italic}

#content .act{clear:left;padding:0 10px 0;margin-left:110px;}

#content .act .button{width:158px;height:33px;padding-left:0;cursor:pointer;}

#content .notice-title{font-size:16px;}

#content .notice{padding:10px;}

#content .notice-special{margin:10px;padding:10px;border:1px dashed #ccc;background:#f1f1f1;}

#content .wholetip h3{padding:5px 10px;font-size:16px;font-weight:bold}

#content .inputtip{float:left;margin-left:10px;margin-top:5px;font-size:12px;color:#666;}

#content .city_list a{ margin-right: 12px; }



#content .head{position:relative;}

#content .filter{position:absolute;top:25px;right:10px;}

#content .filter li{float:left;margin:0 5px 0 0;font-size:12px;}

#content .filter a{padding:3px 1px;}

#content .filter .current a{padding:3px 7px;background:#00ADB2;color:#fff;-moz-border-radius:2px;-webkit-border-radius:2px;}

/* 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;}

}




/*dialog*/

#dialog{position:absolute;z-index:9999;border:4px solid #CCC;display:none;}

/*end*/



/*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; } 



/* paybank */

#paybank{ margin-left: 16px; }

#paybank p{ width: 180px; height:20px; float:left ; margin:15px 0px 10px 0px;}

#paybank p input{ float:left; margin-top: 15px; }

#paybank p label{ float:left; height:25px; margin-top:15px; padding-left:150px; }

#paybank p .cmb{ background:url(i/icon_zsyh_s.gif) no-repeat 10px 0px; }

#paybank p .icbc{ background:url(i/icon_zggsyh_s.gif) no-repeat 10px 0px; }

#paybank p .ccb{ background:url(i/icon_ccb_s.gif) no-repeat 10px 0px; } 

#paybank p .abc{ background:url(i/icon_abc_s.gif) no-repeat 10px 0px; }

#paybank p .spdb{ background:url(i/icon_spdb_s.gif) no-repeat 10px 0px; }

#paybank p .bofc{ background:url(i/icon_bofc_s.gif) no-repeat 10px 0px; }

#paybank p .citic{ background:url(i/icon_itic_s.gif) no-repeat 10px 0px;}

#paybank p .cib{ background:url(i/icon_cib_s.gif) no-repeat 10px 0px; }

#paybank p .gdb{ background:url(i/icon_gdb_s.gif) no-repeat 10px 0px; }

#paybank p .sdb{ background:url(i/icon_sdb_s.gif) no-repeat 10px 0px; }

#paybank p .cebb{ background:url(i/icon_cebb_s.gif) no-repeat 10px 0px; }

#paybank p .bob{ background:url(i/icon_bob_s.gif) no-repeat 10px 0px; }

#paybank p .pingan{ background:url(i/icon_pingan_s.gif) no-repeat 10px 0px; }

#paybank p .cmbc{ background:url(i/icon_cmbc_s.gif) no-repeat 10px 0px; }

#paybank p .comm{ background:url(i/icon_comm_s.gif) no-repeat 10px 0px; }

/* End */



/* side_team */

#sidebar .today-deal h2{padding-bottom:6px;}

#sidebar .today-deal h4{padding-bottom:8px;}

#sidebar .today-deal .info{background:transparent;}

#sidebar .today-deal .total{padding:8px 10px 0;font-weight:bold;}

#sidebar .today-deal .old{text-decoration:line-through;}

#sidebar .today-deal .price{padding:8px 10px;color:#666;}

#sidebar .today-deal .price strong{display:-moz-inline-stack;display:inline-block;vertical-align:top;*margin-top:-1px;height:20px;color:#000;}

#sidebar .today-deal .count,#sidebar .today-deal strong.discount{color:#c33;}

#sidebar .today-deal .buy{padding:5px 8px 0;}

#sidebar .today-deal .buy img{display:block;}

/* side_team EDN */



/*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;
}
.coupons-table .bgadd td{
	background:#FFC;
}

.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;
}
.multiselectable { width:600px; display:block; overflow: hidden; }
.multiselectable select, .multiselectable div { width: 250px !important; float:left; }
.multiselectable div * { display: block; margin: 0 auto; }
.multiselectable div { display: inline; }
.multiselectable .m-selectable-controls { margin-top: 3em; width: 50px !important; }
.multiselectable .m-selectable-controls button { margin-top: 1em; }
.frmselect form{margin:0}
.frmselect input.formbutton{margin-top:-10px}
.frmselect .left{float:left; width:200px;}
.frmselect .right{float:right; width:500px;}
#content .field label.nhanlbl{width:70px}
.nhanfrm .field input.number2{margin-right:0; float:left; width:188px}
.nhanfrm .rowli{float:left; padding:5px; border:1px solid #CCC; margin-bottom:10px;padding-top: 15px;}
.nhanfrm .rowli:hover{border-color:#666}	
#dialog .close{font-size:12px;color:red; opacity:1}
#dialog h3{font-size: 16px;
    line-height: normal;
}

/* ============================================================
   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.            */

/* Hamburger button — desktop: hidden */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 8px;
  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 span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) 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;
  }

  /* Sub-menu: flatten inline (no hover on touch) */
  .site-header .site-nav-list > li > ul {
    display: block !important;
    position: static;
    background: rgba(0,0,0,0.18);
  }
  .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: flex row, chiều cao do banner quyết định ── */
.home-hero-wrap {
  display: flex;
  align-items: stretch;
  margin-bottom: 20px;
}

/* ── Sidebar danh mục: 260px cố định, cao = banner ── */
.home-hero-wrap .home-cate-sidebar {
  width: 260px !important;
  flex: 0 0 260px !important;
  float: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  background: #fff;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  border: 1px solid #E0E0E0;
  border-right: none;
}

/* ── Slider banner: chiếm phần còn lại ── */
.home-hero-wrap .home-slider-col {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  width: auto !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: fill chiều cao sidebar ── */
.home-cate-sidebar .sm_megamenu_wrapper_vertical_menu {
  border: none !important;
  padding: 4px 0 !important;
  margin-bottom: 0 !important;
  background: #fff;
  flex: 1 1 auto;
  overflow: visible !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ả ▼" — hiện khi danh mục tràn ── */
.home-cate-see-more {
  display: none;
  width: 100%;
  text-align: center;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #C62828;
  background: #FFEBEE;
  border: none;
  border-top: 1px solid #E0E0E0;
  cursor: pointer;
  transition: background 0.15s;
  flex-shrink: 0;
  line-height: 1.4;
}
.home-cate-see-more:hover {
  background: #FFCDD2;
  color: #B71C1C;
}

/* ── Cột slider ── */
.home-slider-col .yt-slideshow {
  margin-bottom: 0;
}
.home-slider-col .margin-sl-image {
  margin: 0;
  overflow: hidden;
  background: #fff;
}

/* Ảnh slider: height cố định để cân đối với sidebar, không phụ thuộc tỷ lệ ảnh upload */
.home-slider-col .sm_imageslider .item img {
  width: 100%;
  height: 560px;
  min-height: 540px;
  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;
}

/* ── Responsive: tablet 768–991px ── */
@media (max-width: 991px) and (min-width: 768px) {
  .home-hero-wrap .home-cate-sidebar {
    width: 230px !important;
    flex: 0 0 230px !important;
  }
  .home-slider-col .sm_imageslider .item img {
    height: 440px;
    min-height: 420px;
  }
}

/* ── 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;
    flex: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .home-slider-col .sm_imageslider .item img {
    max-height: 220px;
    object-fit: cover;
  }
}

/* ============================================================
   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 ── */

/* ============================================================
   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: 5 equal columns */
  .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: 500;
    gap: 3px;
    transition: color .15s;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
  }

  .bottom-nav-item:hover,
  .bottom-nav-item:active,
  .bottom-nav-item.is-active {
    color: #C62828;
    text-decoration: none;
  }

  /* 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 bởi nav */
  body {
    padding-bottom: 60px;
  }
}

/* ── End T34 ── */

/* ============================================================
   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: 240px;
  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: 160px;
    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 ── */

