/*
Theme Name: Trường Sinh Storefront Child
Theme URI: https://demo.vuvanxuan.com/
Description: Child theme Trường Sinh tối ưu cho Flatsome và WooCommerce.
Author: Trường Sinh
Template: flatsome
Version: 1.3.0
*/

/* 1. Thiết lập biến màu và font toàn cục theo nhận diện Trường Sinh Group */
:root {
  --cq-primary-blue: #cf363f; /* Đỏ Trường Sinh chuẩn */
  --cq-primary-red: #cf363f;  /* Đỏ Trường Sinh chuẩn */
  --cq-search-red: #b82029;   /* Đỏ đậm Trường Sinh */
  --cq-orange: #ff6b35;       /* Cam điểm nhấn Trường Sinh */
  --cq-yellow: #f59e0b;       /* Vàng hổ phách Trường Sinh */
  --cq-text: #222222;
  --cq-muted: #777777;
  --cq-border: #e5e5e5;
  --cq-bg-gray: #f5f5f5;
  --cq-white: #ffffff;
  --cq-radius-sm: 4px;
  --cq-radius: 8px;
  --cq-radius-lg: 12px;
  --cq-shadow-card: 0 1px 6px rgba(0, 0, 0, 0.12);
  --cq-shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.15);
  --cq-font: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, input, select, textarea, button, .heading-font, .nav, .price, .product-title, .title-wrapper a, .name a, .cq-section-title, .cq-cat-name, .cq-top-text, .cq-usp-text, .cq-action-text, .cq-tab-btn, .button, strong, b {
  font-family: var(--cq-font) !important;
}

body {
  font-family: var(--cq-font) !important;
  font-size: 14px;
  color: var(--cq-text);
  background-color: var(--cq-bg-gray);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

/* Giữ hiển thị header-wrapper nhưng vô hiệu hóa hoàn toàn thuộc tính fixed/stuck */
.header-wrapper,
.header-wrapper.stuck {
  display: block !important;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  box-shadow: none !important;
}

#header.has-sticky,
#header {
  min-height: auto !important;
  height: auto !important;
  position: relative !important;
}

/* Ẩn lớp phủ màu nền mặc định của Flatsome để tránh che mờ header */
.header-bg-container,
.header-bg-image,
.header-bg-color {
  display: none !important;
}

#header {
  background: transparent !important;
}

.cq-header-top,
.cq-header-mid,
.cq-header-bottom {
  position: relative;
  z-index: 10;
}

/* Đảm bảo dropdown danh mục menu không bao giờ bị cố định trôi lơ lửng khi scroll */
.header-wrapper.stuck .cq-mega-menu-dropdown,
.stuck .cq-mega-menu-dropdown {
  display: none !important;
}
.header-wrapper.stuck .cq-mega-menu-wrapper:hover .cq-mega-menu-dropdown,
.stuck .cq-mega-menu-wrapper:hover .cq-mega-menu-dropdown {
  display: block !important;
}

/* Ẩn footer mặc định của Flatsome */
#footer .footer-widgets,
#footer .absolute-footer {
  display: none !important;
}

/* Ẩn hoàn toàn nút Back to top mặc định của Flatsome để tránh đè nút Cường Quốc */
#top-link,
.back-to-top,
button#top-link {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Container chuẩn 1220px */
.cq-container {
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}

/* ==========================================================================
   2. HEADER TẦNG 1 (TOPBAR)
   ========================================================================== */
.cq-header-top {
  background-color: #b82029; /* Đỏ đô thương hiệu Trường Sinh */
  color: #ffffff !important;
  font-size: 12.5px;
  line-height: 36px;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.15);
}
.cq-header-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cq-header-top-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.cq-top-svg {
  display: inline-flex;
  vertical-align: middle;
  fill: currentColor;
  flex-shrink: 0;
}
.cq-top-item {
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 500;
  transition: color 0.2s ease;
}
.cq-top-item:hover {
  color: var(--cq-yellow) !important;
}
.cq-pill-showroom {
  background: linear-gradient(90deg, #fc6401 11.63%, #fed501 42.44%, #fc6401 73.26%);
  background-size: 200% auto;
  animation: cq-gradient 2s infinite linear;
  padding: 3px 14px;
  border-radius: 14px;
  font-weight: 600;
  color: #ffffff !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}
.cq-pill-showroom:hover {
  transform: scale(1.04);
}
.cq-header-top-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cq-top-auth {
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.cq-top-auth:hover {
  color: var(--cq-yellow) !important;
}
.cq-sep {
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   3. HEADER TẦNG 2 (MID)
   ========================================================================== */
.cq-header-mid {
  background-color: #ffffff;
  border-bottom: 1px solid #f0f0f0;
  padding: 12px 0;
}
.cq-header-mid-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cq-logo-wrapper {
  flex-shrink: 0;
  width: 290px;
}
.cq-logo-link {
  display: block;
  text-decoration: none;
}
.tsg-brand-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.tsg-brand-logo-img {
  width: 72px;
  height: auto;
  max-width: 72px;
  max-height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}
.tsg-brand-text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
}
.tsg-brand-main-name {
  font-family: var(--cq-font);
  font-size: 21px;
  font-weight: 900;
  color: var(--cq-primary-red);
  letter-spacing: 0.5px;
  white-space: nowrap;
  text-transform: uppercase;
}
.tsg-brand-tagline {
  font-family: var(--cq-font);
  font-size: 9px;
  font-weight: 700;
  color: #444444;
  letter-spacing: 0.2px;
  white-space: nowrap;
  text-transform: uppercase;
  margin-top: 2px;
}
.cq-logo-img {
  max-height: 56px;
  width: auto;
  display: block;
}
.cq-logo-picture {
  display: block;
}
.cq-logo-text {
  font-size: 24px;
  font-weight: 900;
  color: var(--cq-primary-red);
  letter-spacing: -0.5px;
}

/* Mobile nav toggle button */
.cq-mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-right: 10px;
}
.cq-mobile-nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--cq-primary-red);
  border-radius: 2px;
}

/* Form Search */
.cq-header-search {
  flex-grow: 1;
  max-width: 580px;
}
.cq-search-form {
  display: flex;
  align-items: center;
  height: 44px;
  background: #ffffff;
  border: 2px solid var(--cq-search-red);
  border-radius: var(--cq-radius);
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}
.cq-search-category-select {
  width: 150px;
  height: 100%;
  background: #f8f9fa;
  border-right: 1px solid #eee;
}
.cq-search-category-select select {
  width: 100%;
  height: 100% !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  padding-left: 10px;
  outline: none;
  box-shadow: none !important;
}
.cq-search-input-wrap {
  flex-grow: 1;
  display: flex;
  height: 100%;
  position: relative;
}
.cq-search-field {
  width: 100%;
  height: 100% !important;
  margin: 0 !important;
  border: none !important;
  padding: 0 12px !important;
  font-size: 14px;
  outline: none !important;
  box-shadow: none !important;
}
.cq-search-submit {
  width: 54px;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  background-color: var(--cq-primary-red) !important;
  border: none;
  border-radius: 0;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.cq-search-submit:hover {
  background-color: #b71c1c !important;
}
.cq-search-submit .cq-svg-search {
  stroke: #ffffff !important;
  width: 22px;
  height: 22px;
}
.cq-search-suggestions {
  display: flex;
  gap: 8px;
  margin-top: 6px;
  font-size: 12px;
  flex-wrap: wrap;
}
.cq-search-suggestions a {
  color: #4a5568;
  background-color: #f1f5f9;
  padding: 2px 10px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 11.5px;
  transition: all 0.2s ease;
}
.cq-search-suggestions a:hover {
  background-color: #e0f2fe;
  color: var(--cq-primary-blue);
}

/* Actions Right (Hotline + Cart) */
.cq-header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.cq-action-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--cq-text);
}
.cq-action-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #f0f7fd;
  color: var(--cq-primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.2s ease;
}
.cq-action-item:hover .cq-action-icon-circle {
  transform: scale(1.05);
  background-color: #e2f1fc;
}
.cq-action-text {
  display: flex;
  flex-direction: column;
}
.cq-action-label {
  font-size: 12px;
  color: var(--cq-muted);
}
.cq-action-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--cq-primary-red);
}
.cq-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--cq-primary-red);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

/* ==========================================================================
   4. HEADER TẦNG 3 (NAVIGATION & MEGA MENU)
   ========================================================================== */
.cq-header-bottom {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e5e5;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 100;
}
.cq-header-bottom-inner {
  display: flex;
  align-items: center;
}
.cq-mega-menu-wrapper {
  position: relative;
  width: 260px;
  flex-shrink: 0;
}
.cq-mega-menu-title {
  background-color: var(--cq-primary-red);
  color: #ffffff;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 6px 6px 0 0;
}
.cq-menu-icon {
  display: flex;
  align-items: center;
}
.cq-menu-text {
  flex-grow: 1;
  margin-left: 10px;
}
.cq-menu-arrow {
  display: flex;
  align-items: center;
}

/* Dropdown styling */
.cq-mega-menu-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border: 1px solid #e0e0e0;
  border-top: none;
  z-index: 999;
}
.cq-mega-menu-wrapper.is-sub-page .cq-mega-menu-dropdown {
  display: none;
}
.cq-mega-menu-wrapper.is-sub-page .cq-mega-menu-dropdown.is-open,
.cq-mega-menu-wrapper.is-sub-page:hover .cq-mega-menu-dropdown {
  display: block;
}

.cq-mega-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cq-mega-menu-list > li {
  margin-bottom: 0 !important;
}
.cq-mega-item {
  border-bottom: 1px solid #f4f4f4;
  position: relative;
  height: 46px;
}
.cq-mega-item:last-child {
  border-bottom: none;
}
.cq-mega-link {
  display: flex;
  align-items: center;
  padding: 0 14px;
  height: 100%;
  color: #333333;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
  box-sizing: border-box;
}
.cq-cat-svg-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--cq-primary-blue);
  margin-right: 10px;
  flex-shrink: 0;
  transition: color 0.2s ease;
}
.cq-cat-name {
  flex-grow: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cq-item-arrow {
  color: #999999;
  font-size: 16px;
  margin-left: 6px;
}
.cq-mega-item:hover {
  background-color: #f7f9fc;
}
.cq-mega-item:hover > .cq-mega-link {
  color: var(--cq-primary-blue);
  font-weight: 600;
}
.cq-mega-item:hover .cq-cat-svg-icon {
  color: var(--cq-primary-red);
}

/* Sub-panel flyout */
.cq-sub-mega-panel {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  width: 650px;
  min-height: 0;
  background: #ffffff;
  box-shadow: 4px 6px 20px rgba(0, 0, 0, 0.12);
  border: 1px solid #e0e0e0;
  border-left: none;
  padding: 18px 20px;
  box-sizing: border-box;
  z-index: 1000;
  gap: 20px;
}
.cq-mega-item:hover .cq-sub-mega-panel {
  display: flex !important;
}
.cq-sub-panel-left {
  flex: 1 1 60%;
}
.cq-sub-panel-right {
  flex: 0 0 200px;
  border-left: 1px solid #f0f0f0;
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cq-sub-panel-title a {
  font-size: 15px;
  font-weight: 700;
  color: var(--cq-primary-red);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 12px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--cq-primary-red);
}
.cq-sub-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 10px;
}
.cq-sub-link {
  color: #333333;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.cq-sub-link:hover {
  background-color: #f0f7fd;
  color: var(--cq-primary-blue);
  transform: translateX(4px);
}
.cq-sub-chevron {
  color: #999999;
  transition: transform 0.2s, color 0.2s;
  flex-shrink: 0;
}
.cq-sub-link:hover .cq-sub-chevron {
  color: var(--cq-primary-blue);
  transform: translateX(2px);
}
.cq-sub-promo-box {
  background: #fdfaf7;
  border: 1px dashed #fbd38d;
  border-radius: 8px;
  padding: 14px;
}
.cq-promo-badge {
  font-size: 10px;
  font-weight: 800;
  color: #c05621;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.cq-promo-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 10px;
  line-height: 1.35;
}
.cq-promo-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
  font-size: 11.5px;
  color: #4a5568;
  line-height: 1.7;
}
.cq-promo-call {
  font-size: 11.5px;
  color: #718096;
  border-top: 1px solid #feebc8;
  padding-top: 8px;
}
.cq-promo-call strong {
  color: var(--cq-primary-red);
  font-size: 13px;
}

/* Header USPs */
.cq-header-usps {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: 16px;
  flex-wrap: nowrap;
  min-width: 0;
}
.cq-usp-svg {
  display: inline-flex;
  vertical-align: middle;
  margin-right: 6px;
  flex-shrink: 0;
}
.cq-usp-item {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  white-space: nowrap;
  text-decoration: none;
  color: #333333;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 46px;
  transition: color 0.2s ease;
}
.cq-usp-item:hover {
  color: var(--cq-primary-red);
}
.cq-usp-home .cq-usp-svg {
  color: var(--cq-primary-red);
}
.cq-usp-sale {
  color: var(--cq-primary-red);
}
.cq-usp-sale .cq-usp-svg {
  color: var(--cq-primary-red);
}

/* ==========================================================================
   5. TRANG CHỦ (HERO & SECTIONS)
   ========================================================================== */
.cq-hero-section {
  display: grid;
  grid-template-columns: 260px 1fr 280px;
  gap: 12px;
  margin-top: 10px;
  margin-bottom: 16px;
}
.cq-hero-section > p {
  display: none !important;
}
.cq-section > p {
  display: none !important;
}
.cq-hero-sidebar-placeholder {
  min-height: 456px;
}
.cq-hero-main-slider {
  border-radius: var(--cq-radius-lg);
  overflow: hidden;
  box-shadow: var(--cq-shadow-card);
  height: 456px;
}
.cq-hero-main-slider br,
.cq-hero-side-banners br {
  display: none !important;
}
.cq-hero-main-slider p,
.cq-hero-side-banners p {
  margin: 0 !important;
  padding: 0 !important;
}
.cq-hero-main-slider a {
  display: block !important;
  line-height: 0 !important;
  font-size: 0 !important;
}
.cq-hero-main-slider img {
  width: 100% !important;
  height: 456px !important;
  object-fit: cover !important;
  display: block !important;
}
.cq-hero-side-banners {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 456px;
}
.cq-hero-side-banners a {
  border-radius: var(--cq-radius);
  overflow: hidden;
  box-shadow: var(--cq-shadow-card);
  display: block !important;
  height: 222px !important;
  line-height: 0 !important;
  font-size: 0 !important;
}
.cq-hero-side-banners img {
  width: 100% !important;
  height: 222px !important;
  object-fit: cover !important;
  display: block !important;
}

/* Dải 3 banner quảng cáo ngang đặc trưng Cường Quốc */
.cq-promo-trio-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 15px;
  margin-bottom: 22px;
}
.cq-promo-trio-row > br,
.cq-promo-trio-row > p {
  display: none !important;
}
.cq-promo-trio-item {
  border-radius: var(--cq-radius);
  overflow: hidden;
  box-shadow: var(--cq-shadow-card);
  display: block;
  background: #ffffff;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.cq-promo-trio-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.cq-promo-trio-item img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
}

/* Section chung */
.cq-section {
  background-color: #ffffff;
  border-radius: var(--cq-radius-lg);
  padding: 18px 20px;
  margin-bottom: 25px;
  box-shadow: var(--cq-shadow-card);
}
.cq-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 12px;
  margin-bottom: 18px;
}
.cq-section-title {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  color: var(--cq-primary-red);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cq-section-tabs {
  display: flex;
  gap: 10px;
}
.cq-tab-btn {
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 12.5px;
  font-weight: 600;
  background-color: #f1f3f5;
  color: #555;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
}
.cq-tab-btn.active, .cq-tab-btn:hover {
  background-color: var(--cq-primary-red);
  color: #ffffff;
}
.cq-view-all-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--cq-primary-blue);
  text-decoration: none;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  margin-left: auto;
}
.cq-view-all-link:hover {
  text-decoration: underline;
  color: var(--cq-primary-red);
}

/* Brands Carousel / Grid (10 thương hiệu hàng đầu) */
.cq-brands-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 10px;
  align-items: center;
}
.cq-brand-item {
  border: 1px solid #eeeeee;
  border-radius: var(--cq-radius);
  padding: 6px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  transition: all 0.25s ease;
  height: 60px;
}
.cq-brand-item:hover {
  box-shadow: var(--cq-shadow-card);
  border-color: var(--cq-primary-blue);
  transform: translateY(-2px);
}
.cq-brand-item img {
  max-height: 40px;
  max-width: 100%;
  object-fit: contain;
}

/* ==========================================================================
   6. PRODUCT CARD CHUẨN (WOOCOMMERCE GRID)
   ========================================================================== */
ul.products li.product {
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: var(--cq-radius);
  padding: 10px;
  box-sizing: border-box;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
ul.products li.product:hover {
  box-shadow: var(--cq-shadow-hover);
  border-color: #d0e4f5;
  transform: translateY(-2px);
}
ul.products li.product .woocommerce-loop-product__link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--cq-text);
}
ul.products li.product img {
  height: 190px !important;
  width: 100% !important;
  object-fit: contain !important;
  margin-bottom: 10px !important;
}
ul.products li.product .woocommerce-loop-product__title {
  font-size: 13.5px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  height: 38px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 8px !important;
  color: #222222 !important;
}
ul.products li.product:hover .woocommerce-loop-product__title {
  color: var(--cq-primary-blue) !important;
}
ul.products li.product .price {
  color: var(--cq-primary-red) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  margin-bottom: 8px !important;
  display: block;
}
ul.products li.product .price del {
  color: #999999 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  margin-right: 6px;
}
ul.products li.product .price ins {
  text-decoration: none !important;
}
ul.products li.product .button.add_to_cart_button {
  background-color: #f0f7fd !important;
  color: var(--cq-primary-blue) !important;
  border: 1px solid #cce5f8 !important;
  border-radius: 20px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 6px 12px !important;
  text-transform: uppercase !important;
  margin-top: 5px !important;
  width: 100% !important;
  text-align: center !important;
  transition: all 0.2s ease !important;
}
ul.products li.product .button.add_to_cart_button:hover {
  background-color: var(--cq-primary-blue) !important;
  color: #ffffff !important;
}

/* Sale Badge Cường Quốc chuẩn (-X%) */
.badge-container,
.callout.badge {
  z-index: 5 !important;
}
.badge-container .badge-inner,
.callout.badge .badge-inner,
.onsale,
.cq-sale-badge {
  background-color: var(--cq-primary-red) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  border-radius: 4px !important;
  padding: 3px 8px !important;
  box-shadow: 0 2px 4px rgba(218, 37, 28, 0.3) !important;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

/* Product Card Flatsome shortcodes [ux_products] */
.product-small {
  border: 1px solid #eeeeee !important;
  border-radius: var(--cq-radius) !important;
  background: #ffffff !important;
  padding: 10px !important;
  box-sizing: border-box !important;
  transition: all 0.25s ease !important;
}
.product-small:hover {
  border-color: #d0e4f5 !important;
  box-shadow: var(--cq-shadow-hover) !important;
  transform: translateY(-2px) !important;
}
.product-small .box-image {
  margin-bottom: 8px !important;
}
.product-small .box-image img {
  object-fit: contain !important;
  height: 180px !important;
  width: 100% !important;
}
.product-small .box-text {
  padding: 6px 2px 2px !important;
}
.product-small .title-wrapper a,
.product-small .name a {
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #222222 !important;
  line-height: 1.35 !important;
  height: 38px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}
.product-small:hover .title-wrapper a,
.product-small:hover .name a {
  color: var(--cq-primary-blue) !important;
}
.product-small .price-wrapper .price,
.product-small .price {
  color: var(--cq-primary-red) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}
.product-small .price-wrapper del,
.product-small .price del {
  color: #999999 !important;
  font-size: 12.5px !important;
  font-weight: 400 !important;
  margin-right: 5px !important;
}

/* ==========================================================================
   6.5. KHỐI TIN TỨC & BÀI VIẾT (CHUẨN CƯỜNG QUỐC)
   ========================================================================== */
.post-item .col-inner {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

.box-blog-post {
  background: #ffffff !important;
  border-radius: var(--cq-radius) !important;
  overflow: hidden !important;
  border: 1px solid #eeeeee !important;
  box-shadow: var(--cq-shadow-card) !important;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  flex: 1 !important;
}

.box-blog-post .box-text-inner {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  flex: 1 !important;
}

.box-blog-post:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12) !important;
  border-color: #d0e4f7 !important;
}

.box-blog-post .box-image {
  width: 100% !important;
  display: block !important;
  position: relative !important;
  overflow: hidden !important;
  background: #f4f4f4 !important;
}

.box-blog-post .box-image .image-cover {
  width: 100% !important;
  padding-top: 58% !important;
  position: relative !important;
  display: block !important;
}

.box-blog-post .box-image .image-cover img,
.box-blog-post .box-image img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.box-blog-post .box-text {
  padding: 14px 16px 16px !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  text-align: left !important;
}

.box-blog-post .cat-label,
.box-blog-post .tag-label {
  background-color: var(--cq-primary-red) !important;
  color: #ffffff !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  padding: 3px 8px !important;
  border-radius: 3px !important;
  margin-bottom: 6px !important;
  display: inline-block !important;
  opacity: 1 !important;
  align-self: flex-start !important;
}

.box-blog-post .post-meta,
.box-blog-post .post-date-text {
  font-size: 11.5px !important;
  color: #888888 !important;
  margin-bottom: 6px !important;
  font-weight: 400 !important;
  display: block !important;
}

.box-blog-post .is-divider {
  display: none !important;
}

.box-blog-post .post-title,
.box-blog-post h5 {
  font-size: 14.5px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  margin: 2px 0 6px 0 !important;
  color: #222222 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 40px !important;
  height: auto !important;
}

.box-blog-post .post-title a,
.box-blog-post h5 a {
  color: #222222 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.box-blog-post:hover .post-title a,
.box-blog-post:hover h5 a {
  color: var(--cq-primary-blue) !important;
}

.box-blog-post p.from_the_blog_excerpt,
.box-blog-post .from_the_blog_excerpt.show-on-hover,
.box-blog-post .post-summary {
  display: -webkit-box !important;
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  max-height: none !important;
  font-size: 13px !important;
  color: #666666 !important;
  line-height: 1.55 !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  margin: 6px 0 12px 0 !important;
  flex: 1 !important;
}

.box-blog-post .show-for-medium + a,
.box-blog-post a.button.is-link {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--cq-primary-blue) !important;
  text-decoration: none !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  margin-top: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.box-blog-post:hover a.button.is-link {
  color: var(--cq-primary-red) !important;
}

/* Trang chuyên mục tin tức /tin-tuc/ */
.blog-archive .post {
  background: #ffffff;
  border-radius: var(--cq-radius);
  border: 1px solid #eeeeee;
  box-shadow: var(--cq-shadow-card);
  padding: 20px;
  margin-bottom: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.blog-archive .post:hover {
  transform: translateY(-2px);
  box-shadow: var(--cq-shadow-hover);
  border-color: #d0e4f5;
}
.blog-archive .post .entry-title a {
  color: #222222;
  font-size: 20px;
  font-weight: 700;
  transition: color 0.2s ease;
}
.blog-archive .post:hover .entry-title a {
  color: var(--cq-primary-blue);
}
.blog-archive .post .entry-image img {
  border-radius: 6px;
  max-height: 320px;
  width: 100%;
  object-fit: cover;
}

/* ==========================================================================
   7. SINGLE PRODUCT PAGE (CHUẨN CƯỜNG QUỐC)
   ========================================================================== */
.cq-product-detail-page {
  padding-top: 15px;
  padding-bottom: 40px;
}

/* Breadcrumbs */
.cq-product-breadcrumbs {
  margin-bottom: 15px;
}
.cq-breadcrumbs {
  font-size: 13px;
  color: #666666;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.cq-breadcrumbs a {
  color: #555555;
  text-decoration: none;
  transition: color 0.2s;
}
.cq-breadcrumbs a:hover {
  color: var(--cq-primary-blue);
}
.cq-bc-sep {
  color: #999999;
  font-size: 14px;
}

/* KHU VỰC TRÊN CÙNG: 3 CỘT (430px | 1fr | 290px) */
.cq-product-top-row {
  display: grid;
  grid-template-columns: 430px 1fr 290px;
  gap: 20px;
  align-items: start;
  margin-bottom: 25px;
}

/* CỘT 1: GALLERY */
.cq-col-gallery {
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: var(--cq-radius);
  padding: 16px;
  box-shadow: var(--cq-shadow-card);
}
.cq-gallery-wrapper {
  position: relative;
}
.cq-gallery-wrapper .woocommerce-product-gallery {
  margin-bottom: 0 !important;
}
.cq-gallery-wrapper .woocommerce-product-gallery__image img {
  border-radius: 6px;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.cq-gallery-wrapper .flex-control-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding: 0;
  list-style: none;
}
.cq-gallery-wrapper .flex-control-thumbs li {
  width: 68px;
  height: 68px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s;
}
.cq-gallery-wrapper .flex-control-thumbs li img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cq-gallery-wrapper .flex-control-thumbs li img.flex-active,
.cq-gallery-wrapper .flex-control-thumbs li:hover {
  border-color: var(--cq-primary-blue);
}

.cq-gallery-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}
.cq-gb-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  padding: 6px 8px;
  border-radius: 4px;
  border: 1px solid #edf2f7;
}
.cq-gb-item .icon {
  font-size: 16px;
}
.cq-gb-item div {
  display: flex;
  flex-direction: column;
}
.cq-gb-item strong {
  font-size: 11.5px;
  color: #222;
  line-height: 1.2;
}
.cq-gb-item span {
  font-size: 10px;
  color: #777;
  line-height: 1.2;
}

/* CỘT 2: INFO & FORM */
.cq-col-info {
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: var(--cq-radius);
  padding: 20px 22px;
  box-shadow: var(--cq-shadow-card);
}
.cq-single-title {
  font-size: 21px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: #222222 !important;
  margin: 0 0 10px 0 !important;
}
.cq-single-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px dashed #e5e5e5;
  font-size: 12.5px;
}
.cq-meta-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #555;
}
.cq-meta-sep {
  color: #ddd;
}
.cq-brand-name {
  color: var(--cq-primary-blue);
}
.cq-status-stock {
  color: #10b981;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.cq-dot-green {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
}
.cq-meta-rating {
  display: flex;
  align-items: center;
  gap: 4px;
}
.cq-stars {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 1px;
}
.cq-rating-text {
  color: #777;
  font-size: 12px;
}

/* Box Giá */
.cq-single-price-box {
  background: #fdf5f5;
  border: 1px solid #f8dede;
  border-radius: var(--cq-radius);
  padding: 12px 16px;
  margin-bottom: 16px;
}
.cq-price-main {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.cq-current-price {
  font-size: 26px;
  font-weight: 800;
  color: var(--cq-primary-red);
}
.cq-regular-price del {
  font-size: 15px;
  color: #888888;
  font-weight: 400;
}
.cq-saving-badge {
  background: var(--cq-primary-red);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}
.cq-price-note {
  font-size: 12px;
  color: #666666;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Box Quà Tặng & Khuyến Mại */
.cq-promotion-box {
  border: 1px dashed #da251c;
  background: #fffbfa;
  border-radius: var(--cq-radius);
  padding: 12px 14px;
  margin-bottom: 18px;
}
.cq-promo-header {
  color: var(--cq-primary-red);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cq-promo-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 12.5px;
}
.cq-promo-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 5px;
  color: #333333;
  line-height: 1.45;
}
.cq-promo-list li span {
  position: absolute;
  left: 0;
  color: var(--cq-primary-red);
  font-weight: 700;
}

/* Form Mua Hàng */
.cq-single-purchase-form form.cart {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 14px !important;
}
.cq-single-purchase-form .quantity {
  margin: 0 !important;
  display: inline-flex !important;
}
.cq-single-purchase-form .single_add_to_cart_button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 42px !important;
  background: var(--cq-primary-blue) !important;
  color: #ffffff !important;
  border-radius: var(--cq-radius) !important;
  padding: 0 18px !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  border: none !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
  margin: 0 !important;
}
.cq-single-purchase-form .single_add_to_cart_button:hover {
  background: #0077b5 !important;
}

/* Nút MUA NGAY 2 tầng */
.cq-btn-buynow {
  width: 100% !important;
  background: linear-gradient(135deg, #da251c 0%, #b81c14 100%) !important;
  color: #ffffff !important;
  border-radius: var(--cq-radius) !important;
  padding: 10px 14px !important;
  text-align: center !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(218, 37, 28, 0.35) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}
.cq-btn-buynow:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(218, 37, 28, 0.45) !important;
}
.cq-bn-text {
  font-size: 17px !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
  line-height: 1.2 !important;
}
.cq-bn-sub {
  font-size: 11.5px !important;
  font-weight: 400 !important;
  opacity: 0.9 !important;
  margin-top: 2px !important;
}

.cq-action-sub-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}
.cq-btn-zalo-quote {
  background: #0084ff;
  color: #ffffff !important;
  border-radius: 6px;
  padding: 9px 12px;
  font-weight: 700;
  font-size: 12.5px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none !important;
  transition: opacity 0.2s;
}
.cq-btn-zalo-quote:hover {
  opacity: 0.92;
}
.cq-btn-hotline-call {
  background: #fc6401;
  color: #ffffff !important;
  border-radius: 6px;
  padding: 9px 12px;
  font-weight: 700;
  font-size: 12.5px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none !important;
  transition: opacity 0.2s;
}
.cq-btn-hotline-call:hover {
  opacity: 0.92;
}

/* CỘT 3: SIDEBAR CHÍNH SÁCH & SHOWROOM */
.cq-col-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cq-policy-card {
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: var(--cq-radius);
  padding: 12px 14px;
  box-shadow: var(--cq-shadow-card);
}
.cq-pc-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--cq-primary-blue);
  border-bottom: 2px solid #eef4fa;
  padding-bottom: 8px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.cq-pc-content {
  font-size: 12px;
  color: #333333;
}
.cq-pc-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
  line-height: 1.45;
}
.cq-pc-item .star {
  color: #f59e0b;
  font-size: 13px;
}
.cq-phone-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.cq-pr-icon {
  font-size: 16px;
}
.cq-pr-label {
  font-size: 11px;
  color: #777;
  line-height: 1.2;
}
.cq-pr-number {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--cq-primary-red);
  text-decoration: none;
}
.cq-pr-number:hover {
  text-decoration: underline;
}
.cq-sr-item {
  font-size: 12px;
  margin-bottom: 6px;
  line-height: 1.4;
  color: #444;
}
.cq-sr-item .dot {
  color: var(--cq-primary-red);
}
.cq-sr-note {
  font-size: 11px;
  color: #10b981;
  font-weight: 600;
  margin-top: 6px;
}

/* KHU VỰC DƯỚI: 2 CỘT (MÔ TẢ 70% | THÔNG SỐ 30%) */
.cq-product-bottom-row {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
  margin-bottom: 30px;
}

.cq-desc-card,
.cq-reviews-card,
.cq-specs-card {
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: var(--cq-radius);
  overflow: hidden;
  box-shadow: var(--cq-shadow-card);
  margin-bottom: 24px;
}
.cq-card-head {
  background: #f7f9fb;
  border-bottom: 1px solid #eeeeee;
  padding: 12px 18px;
}
.cq-head-title {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #222222 !important;
  text-transform: uppercase !important;
  margin: 0 !important;
  letter-spacing: 0.3px !important;
}
.cq-card-body {
  padding: 18px 20px;
  font-size: 14px;
  line-height: 1.7;
  color: #333333;
}
.cq-card-body.p-0 {
  padding: 0 !important;
}
.cq-content-typography h3 {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--cq-primary-blue) !important;
  margin: 16px 0 8px 0 !important;
}
.cq-content-typography p {
  margin-bottom: 12px;
}
.cq-content-typography ul {
  padding-left: 20px;
  margin-bottom: 14px;
}
.cq-content-typography li {
  margin-bottom: 6px;
}

/* Bảng Thông số kỹ thuật */
.cq-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin: 0;
}
.cq-specs-table tr:nth-child(even) {
  background: #f9fbfd;
}
.cq-specs-table td {
  padding: 9px 14px;
  border-bottom: 1px solid #f0f0f0;
  line-height: 1.4;
}
.cq-specs-table td:first-child {
  color: #666666;
  width: 44%;
  font-weight: 500;
}
.cq-specs-table td:last-child {
  color: #222222;
  font-weight: 600;
  width: 56%;
}

/* Banner hỗ trợ dự án chân thông số */
.cq-sidebar-banner {
  background: linear-gradient(135deg, #0072bc 0%, #005085 100%);
  color: #ffffff;
  border-radius: var(--cq-radius);
  padding: 18px 16px;
  text-align: center;
  box-shadow: var(--cq-shadow-card);
}
.cq-sb-badge {
  display: inline-block;
  background: #fed501;
  color: #000;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.cq-sb-title {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 6px;
}
.cq-sidebar-banner p {
  font-size: 12px;
  opacity: 0.9;
  margin-bottom: 12px;
  line-height: 1.4;
}
.cq-sb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--cq-primary-red);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: 6px;
  text-decoration: none !important;
  transition: transform 0.2s;
}
.cq-sb-btn:hover {
  transform: translateY(-2px);
}

/* Đánh giá & Nhận xét */
.cq-rating-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f8fafc;
  padding: 14px 18px;
  border-radius: 6px;
  border: 1px solid #edf2f7;
  margin-bottom: 18px;
}
.cq-rs-score {
  font-size: 32px;
  font-weight: 800;
  color: var(--cq-primary-red);
  line-height: 1;
}
.cq-rs-score span {
  font-size: 16px;
  color: #888;
  font-weight: 400;
}
.cq-rs-stars {
  color: #f59e0b;
  font-size: 18px;
  letter-spacing: 2px;
}
.cq-rs-count {
  font-size: 12.5px;
  color: #555;
  border-left: 1px solid #e0e0e0;
  padding-left: 14px;
}
.cq-rev-item {
  padding: 14px 0;
  border-bottom: 1px solid #f0f0f0;
}
.cq-rev-item:last-child {
  border-bottom: none;
}
.cq-rev-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 4px;
}
.cq-rev-author .verified {
  color: #10b981;
  font-size: 11.5px;
  font-weight: 600;
}
.cq-rev-date {
  font-size: 11.5px;
  color: #999;
  margin-left: auto;
}
.cq-rev-stars {
  color: #f59e0b;
  font-size: 12px;
  margin-bottom: 6px;
}
.cq-rev-comment {
  font-size: 13.5px;
  color: #444;
  line-height: 1.5;
}

/* Khối Sản phẩm tương tự */
.cq-related-products-section {
  margin-top: 15px;
  margin-bottom: 30px;
}

/* RESPONSIVE SINGLE PRODUCT */
@media (max-width: 1200px) {
  .cq-product-top-row {
    grid-template-columns: 380px 1fr 260px;
    gap: 16px;
  }
}
@media (max-width: 992px) {
  .cq-product-top-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .cq-product-bottom-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .cq-col-sidebar {
    order: 3;
  }
}

/* ==========================================================================
   8. ARCHIVE / CATEGORY / SEARCH PAGE
   ========================================================================== */
.archive .shop-container,
.search .shop-container {
  padding-top: 20px;
}
.woocommerce-products-header {
  background: #ffffff;
  padding: 15px 20px;
  border-radius: var(--cq-radius);
  margin-bottom: 20px;
  box-shadow: var(--cq-shadow-card);
}
.woocommerce-products-header__title.page-title {
  display: block !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  color: var(--cq-primary-red) !important;
  text-transform: uppercase;
  margin: 0;
}
.woocommerce-result-count {
  font-size: 13px;
  color: #666;
}
.woocommerce-ordering select {
  border-radius: var(--cq-radius) !important;
  border: 1px solid #ccc !important;
  font-size: 13px;
}

/* ==========================================================================
   9. CART & CHECKOUT PAGE
   ========================================================================== */
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
  background: #ffffff;
  padding: 25px;
  border-radius: var(--cq-radius-lg);
  box-shadow: var(--cq-shadow-card);
  margin-top: 20px;
  margin-bottom: 30px;
}
.woocommerce-cart table.cart th,
.woocommerce-checkout #order_review_heading {
  font-weight: 700;
  color: var(--cq-primary-blue);
}
.woocommerce-checkout #place_order {
  background-color: var(--cq-primary-red) !important;
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  border-radius: var(--cq-radius) !important;
  padding: 14px 28px !important;
}

/* ==========================================================================
   10. FOOTER & NÚT LIÊN HỆ
   ========================================================================== */
.cq-footer-policies {
  background-color: #ffffff;
  border-top: 3px solid var(--cq-primary-blue);
  border-bottom: 1px solid #eeeeee;
  padding: 25px 0;
  margin-top: 40px;
}
.cq-policies-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cq-policy-item {
  display: flex;
  align-items: center;
  gap: 15px;
}
.cq-policy-icon {
  font-size: 32px;
  color: var(--cq-primary-blue);
  flex-shrink: 0;
}
.cq-policy-title {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: #222;
}
.cq-policy-desc {
  font-size: 12px;
  color: #777;
  margin: 0;
}

.cq-footer-main {
  background-color: #ffffff;
  padding: 35px 0 25px 0;
  border-bottom: 1px solid #e0e0e0;
}
.cq-footer-heading {
  font-size: 16px;
  font-weight: 800;
  color: var(--cq-primary-red);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.cq-showrooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}
.cq-showroom-card {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: var(--cq-radius);
  padding: 15px;
}
.cq-showroom-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--cq-primary-blue);
  margin: 0 0 6px 0;
}
.cq-showroom-addr, .cq-showroom-contact {
  font-size: 12.5px;
  margin: 0 0 4px 0;
  color: #555;
}
.cq-showroom-contact a {
  color: var(--cq-primary-red);
  font-weight: 700;
  text-decoration: none;
}

.cq-footer-columns {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.1fr 1.1fr;
  gap: 30px;
}
.cq-col-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #222;
  margin-bottom: 15px;
  text-transform: uppercase;
}
.cq-col-desc, .cq-company-meta {
  font-size: 12.5px;
  line-height: 1.7;
  color: #666;
}
.cq-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cq-footer-list li {
  margin-bottom: 8px;
}
.cq-footer-list a {
  color: #555;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s ease;
}
.cq-footer-list a:hover {
  color: var(--cq-primary-blue);
  padding-left: 3px;
}

.cq-newsletter-form {
  display: flex;
  margin-top: 10px;
  margin-bottom: 15px;
}
.cq-newsletter-form input {
  height: 38px !important;
  margin: 0 !important;
  border: 1px solid #ccc !important;
  border-radius: 4px 0 0 4px !important;
  padding: 0 10px !important;
  font-size: 12px;
}
.cq-newsletter-form button {
  height: 38px;
  background-color: var(--cq-primary-red);
  color: #ffffff;
  border: none;
  border-radius: 0 4px 4px 0;
  padding: 0 15px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.cq-payment-methods {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cq-pay-tag {
  background: #eee;
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 11px;
  color: #555;
}

.cq-footer-bottom {
  background-color: #2b2b2b;
  color: #aaaaaa;
  padding: 15px 0;
  font-size: 12px;
}
.cq-footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cq-copyright {
  margin: 0;
}
.cq-powered {
  margin: 0;
}

/* Floating Contact & Back to top */
.cq-floating-contact {
  position: fixed;
  bottom: 25px;
  right: 15px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cq-float-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.cq-float-btn:hover {
  transform: scale(1.1);
}
.cq-float-zalo {
  background: #0088cc;
  font-weight: 800;
  font-size: 12px;
}
.cq-float-phone {
  background: #da251c;
  font-size: 18px;
  animation: cq-pulse-wave 2s infinite !important;
}
.cq-float-phone:hover svg {
  animation: cq-phone-ring 0.6s infinite;
}
.cq-float-zalo {
  background: #0088cc;
  font-weight: 800;
  font-size: 12px;
  animation: cq-zalo-bounce 3s ease-in-out infinite;
}
.cq-float-top {
  background: #444444;
  font-size: 14px;
  display: none;
  transition: all 0.25s ease;
}
.cq-float-top.is-visible {
  display: flex;
}
.cq-float-top:hover {
  background: var(--cq-primary-red);
  transform: translateY(-3px);
}

/* ==========================================================================
   ANIMATIONS & MICRO-INTERACTIONS CHUẨN WEB MẪU CƯỜNG QUỐC
   ========================================================================== */
@keyframes cq-gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes cq-phone-ring {
  0%, 100% { transform: rotate(0deg); }
  10%, 30%, 50% { transform: rotate(-14deg); }
  20%, 40% { transform: rotate(14deg); }
  60% { transform: rotate(0deg); }
}

@keyframes cq-pulse-wave {
  0% { box-shadow: 0 0 0 0 rgba(218, 37, 28, 0.7); }
  70% { box-shadow: 0 0 0 14px rgba(218, 37, 28, 0); }
  100% { box-shadow: 0 0 0 0 rgba(218, 37, 28, 0); }
}

@keyframes cq-zalo-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes cq-badge-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@keyframes cq-bump {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* Hotline phone ring effect on hover */
.cq-action-phone:hover .cq-action-icon-circle svg,
.cq-header-top-left a[href^="tel:"]:hover .cq-top-svg {
  animation: cq-phone-ring 0.8s ease-in-out infinite;
}

/* Product card hover zoom and elevation */
.product-small,
ul.products li.product {
  transition: all 0.28s ease !important;
}
.product-small:hover,
ul.products li.product:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
  border-color: #0093dd !important;
}
/* Tắt hoàn toàn hiệu ứng hover zoom/phóng to ảnh trên toàn website */
img,
.box-image img,
.product-small img,
.product-small .box-image img,
.product-small:hover .box-image img,
ul.products li.product img,
ul.products li.product:hover img,
.cq-hero-main-slider img,
.cq-hero-main-slider:hover img,
.cq-hero-side-banners img,
.cq-hero-side-banners a:hover img,
.cq-promo-trio-item img,
.cq-promo-trio-item:hover img,
.box-blog-post img,
.box-blog-post .box-image img,
.box-blog-post:hover .box-image img,
.woocommerce-product-gallery__image img,
.woocommerce-product-gallery__image:hover img,
.has-hover:hover .box-image img,
.image-zoom:hover img,
.image-hover-zoom:hover img,
.image-cover:hover img,
.box:hover .box-image img,
.box-image:hover img {
  transform: none !important;
  transition: none !important;
}

.product-small:hover .cq-sale-badge,
ul.products li.product:hover .cq-sale-badge {
  animation: cq-badge-pulse 1.2s infinite;
}

/* Mega menu item arrow transition */
.cq-item-arrow {
  transition: transform 0.2s ease, color 0.2s ease !important;
}
.cq-mega-item:hover .cq-item-arrow {
  transform: translateX(3px) !important;
  color: var(--cq-primary-blue) !important;
}
.cq-sub-bullet {
  transition: transform 0.2s ease, color 0.2s ease !important;
}
.cq-sub-link:hover .cq-sub-bullet {
  transform: translateX(2px) !important;
  color: var(--cq-primary-red) !important;
}

/* Search bar focus glow */
.cq-search-form {
  transition: all 0.25s ease !important;
}
.cq-search-form:focus-within {
  border-color: var(--cq-primary-blue) !important;
  box-shadow: 0 0 0 3px rgba(0, 147, 221, 0.2) !important;
}

/* Brand items hover elevation */
.cq-brand-item {
  transition: all 0.25s ease !important;
}
.cq-brand-item:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 16px rgba(0, 147, 221, 0.15) !important;
  border-color: var(--cq-primary-blue) !important;
}

/* Flash sale tabs transition */
.cq-tab-btn {
  transition: all 0.2s ease !important;
}
.cq-tab-btn:hover,
.cq-tab-btn.active {
  transform: translateY(-1px) !important;
  box-shadow: 0 3px 8px rgba(218, 37, 28, 0.35) !important;
}

/* Cart count bump animation */
.cq-cart-count.bump {
  animation: cq-bump 0.3s ease-in-out;
}

/* ==========================================================================
   MOBILE OFF-CANVAS DRAWER MENU & BOTTOM NAVIGATION (CHUẨN CƯỜNG QUỐC)
   ========================================================================== */
.cq-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.cq-drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.cq-mobile-drawer {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: #ffffff;
  z-index: 99999;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.25);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.cq-mobile-drawer.is-open {
  left: 0 !important;
}
body.cq-drawer-active {
  overflow: hidden !important;
}
.cq-drawer-header {
  background: var(--cq-primary-blue);
  color: #ffffff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.cq-drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.cq-drawer-close {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}
.cq-drawer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex-grow: 1;
}
.cq-drawer-item {
  border-bottom: 1px solid #f0f0f0;
}
.cq-drawer-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cq-drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #333333;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  flex-grow: 1;
}
.cq-drawer-icon {
  color: var(--cq-primary-blue);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.cq-accordion-toggle {
  background: transparent;
  border: none;
  color: #888888;
  font-size: 11px;
  padding: 12px 16px;
  cursor: pointer;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cq-accordion-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}
.cq-accordion-arrow.is-open {
  transform: rotate(180deg);
  color: var(--cq-primary-red);
}
.cq-drawer-sub {
  display: none;
  list-style: none;
  padding: 6px 0 8px 38px;
  margin: 0;
  background: #f8fafc;
  border-top: 1px solid #edf2f7;
}
.cq-drawer-sub-item {
  margin-bottom: 4px;
}
.cq-drawer-sub-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  color: #4a5568;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}
.cq-drawer-sub-bullet {
  color: var(--cq-primary-blue);
  font-size: 11px;
}
.cq-drawer-quick-nav {
  padding: 16px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cq-drawer-qlink {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #333333;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.cq-drawer-qlink-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  color: var(--cq-primary-red);
  background: #fff7f7;
  font-size: 14px;
  line-height: 1;
  flex: 0 0 22px;
}
.cq-drawer-qlink-sale {
  color: var(--cq-primary-red);
}
.cq-drawer-hotline {
  color: var(--cq-primary-red);
  border-top: 1px dashed #cbd5e0;
  padding-top: 10px;
  margin-top: 4px;
}
.cq-drawer-bottom-bar {
  position: sticky;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  padding: 10px 14px;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  box-sizing: border-box;
}
.cq-drawer-call-btn {
  display: block;
  background: var(--cq-primary-red);
  color: #ffffff !important;
  text-align: center;
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(218, 37, 28, 0.3);
  transition: background-color 0.2s;
}
.cq-drawer-call-btn:hover {
  background-color: #b71c1c;
}

/* Sticky Bottom Navigation Bar */
.cq-bottom-nav {
  display: none;
}

/* ==========================================================================
   11. RESPONSIVE HEADER, MENU, LOGO VÀ SLIDER
   ========================================================================== */
/* ==========================================================================
   12. TỐI ƯU RESPONSIVE HEADER, MENU, LOGO VÀ SLIDER
   Các quy tắc cuối file chủ động ghi đè breakpoint cũ để giữ tương thích.
   ========================================================================== */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

.cq-logo-link,
.cq-mobile-nav-toggle,
.cq-action-item,
.cq-search-submit,
.cq-drawer-close,
.cq-accordion-toggle,
.cq-bnav-item {
  -webkit-tap-highlight-color: transparent;
}

.cq-mobile-nav-toggle:focus-visible,
.cq-action-item:focus-visible,
.cq-search-submit:focus-visible,
.cq-drawer-close:focus-visible,
.cq-accordion-toggle:focus-visible,
.cq-bnav-item:focus-visible,
.cq-drawer-link:focus-visible,
.cq-drawer-sub-link:focus-visible {
  outline: 3px solid rgba(207, 54, 63, 0.32) !important;
  outline-offset: 2px !important;
}

.cq-drawer-overlay {
  pointer-events: none;
}

.cq-drawer-overlay.is-open {
  pointer-events: auto;
}

.cq-hero-main-slider .flickity-page-dots {
  bottom: 12px !important;
}

.cq-hero-main-slider .flickity-page-dots .dot {
  width: 9px !important;
  height: 9px !important;
  margin: 0 4px !important;
  border: 2px solid #ffffff !important;
  background: rgba(255, 255, 255, 0.55) !important;
  opacity: 1 !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.28) !important;
}

.cq-hero-main-slider .flickity-page-dots .dot.is-selected {
  width: 24px !important;
  border-radius: 999px !important;
  background: var(--cq-primary-red) !important;
}

@media (min-width: 992px) and (max-width: 1219px) {
  .cq-header-top-left .cq-hide-mobile,
  .cq-hide-tablet {
    display: none !important;
  }

  .cq-logo-wrapper {
    width: 245px;
  }

  .tsg-brand-logo-img {
    width: 58px;
    height: auto;
    max-width: none;
  }

  .tsg-brand-main-name {
    font-size: 19px;
  }

  .tsg-brand-tagline {
    font-size: 8px;
  }

  .cq-header-mid-inner {
    gap: 14px;
  }

  .cq-header-search {
    min-width: 0;
  }

  .cq-search-category-select {
    width: 125px;
  }

  .cq-header-actions {
    gap: 12px;
  }

  .cq-action-item {
    gap: 7px;
  }

  .cq-action-label {
    display: none;
  }

  .cq-header-usps {
    gap: 13px;
    margin-left: 15px;
    flex-wrap: nowrap;
    min-width: 0;
  }

  .cq-usp-item {
    font-size: 11.5px;
    white-space: nowrap;
  }

  .cq-hero-section {
    grid-template-columns: 260px minmax(0, 1fr) !important;
    align-items: start !important;
  }

  .cq-hero-side-banners,
  .cq-floating-contact {
    display: none !important;
  }

  .cq-hero-main-slider {
    width: 100% !important;
    max-width: 769px !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 626 / 456 !important;
    margin: 0 auto !important;
    background: #eee6dd !important;
  }

  .cq-hero-main-slider .slider-wrapper,
  .cq-hero-main-slider .flickity-viewport {
    width: 100% !important;
    min-height: 0 !important;
  }

  .cq-hero-main-slider img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 626 / 456 !important;
    object-fit: contain !important;
    object-position: center !important;
  }
}

@media (max-width: 991px) {
  .cq-header-top,
  .cq-header-bottom {
    display: none !important;
  }

  .cq-header-mid {
    padding: 10px 0 9px !important;
    border-bottom: 1px solid #e7e7e7 !important;
    background: #ffffff !important;
  }

  .cq-header-mid-inner {
    display: grid !important;
    grid-template-columns: 100px minmax(0, 1fr) 100px !important;
    grid-template-areas:
      "menu logo actions"
      "search search search" !important;
    align-items: center !important;
    column-gap: 8px !important;
    row-gap: 8px !important;
    width: 100% !important;
    height: auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .cq-mobile-nav-toggle {
    grid-area: menu;
    display: flex !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    margin: 0 !important;
    padding: 12px 9px !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: #fff1f2 !important;
    box-shadow: none !important;
  }

  .cq-mobile-nav-toggle span {
    display: block !important;
    width: 100% !important;
    height: 3px !important;
    background: var(--cq-primary-red) !important;
    border-radius: 3px !important;
  }

  .cq-logo-wrapper {
    grid-area: logo;
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .cq-logo-link,
  .tsg-brand-wrap {
    display: flex !important;
    align-items: center !important;
    min-width: 0 !important;
  }

  .tsg-brand-wrap {
    gap: 7px !important;
  }

  .tsg-brand-logo-img {
    display: block !important;
    width: 64px !important;
    height: auto !important;
    max-width: 64px !important;
    max-height: 42px !important;
    object-fit: contain !important;
    flex: 0 0 auto !important;
  }

  .tsg-brand-text-block {
    display: flex !important;
    min-width: 0 !important;
  }

  .tsg-brand-main-name {
    font-size: 18px !important;
    line-height: 1.05 !important;
    letter-spacing: 0.2px !important;
  }

  .tsg-brand-tagline {
    max-width: 250px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 8px !important;
  }

  .cq-header-actions {
    grid-area: actions;
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    margin: 0 !important;
    min-width: 0 !important;
  }

  .cq-action-item {
    display: flex !important;
    gap: 0 !important;
  }

  .cq-action-item .cq-action-text {
    display: none !important;
  }

  .cq-action-icon-circle {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    border-radius: 50% !important;
    background: #fff1f2 !important;
    color: var(--cq-primary-red) !important;
  }

  .cq-action-icon-circle svg {
    width: 20px !important;
    height: 20px !important;
  }

  .cq-action-icon-circle .cq-cart-count {
    top: -3px !important;
    right: -3px !important;
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
    padding: 0 !important;
    font-size: 10px !important;
    line-height: 18px !important;
  }

  .cq-header-search {
    grid-area: search;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .cq-search-form {
    width: 100% !important;
    height: 42px !important;
    padding: 2px 2px 2px 15px !important;
    border: 1.5px solid var(--cq-primary-red) !important;
    border-radius: 999px !important;
    box-shadow: none !important;
  }

  .cq-search-category-select {
    display: none !important;
  }

  .cq-search-input-wrap {
    width: 100% !important;
    min-width: 0 !important;
  }

  .cq-search-field {
    min-width: 0 !important;
    padding: 0 10px 0 0 !important;
    font-size: 14px !important;
    background: transparent !important;
  }

  .cq-search-field::placeholder {
    color: #707070 !important;
    opacity: 1 !important;
  }

  .cq-search-submit {
    width: 48px !important;
    min-width: 48px !important;
    height: 36px !important;
    border-radius: 999px !important;
  }

  .cq-search-suggestions {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 7px !important;
    margin: 7px 0 0 !important;
    padding: 0 2px 3px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    overscroll-behavior-inline: contain !important;
    scroll-snap-type: inline proximity !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
    scrollbar-width: none !important;
  }

  .cq-search-suggestions::-webkit-scrollbar {
    display: none !important;
  }

  .cq-search-suggestions a {
    min-height: 32px !important;
    padding: 6px 12px !important;
    flex: 0 0 auto !important;
    scroll-snap-align: start !important;
  }

  .cq-hero-section {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    height: auto !important;
    min-height: 0 !important;
    gap: 0 !important;
    margin-top: 12px !important;
    margin-bottom: 14px !important;
  }

  .cq-hero-sidebar-placeholder,
  .cq-hero-side-banners {
    display: none !important;
  }

  .cq-hero-main-slider {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    margin: 0 auto !important;
    border-radius: 10px !important;
    background: #eee6dd !important;
  }

  .cq-hero-main-slider .slider-wrapper {
    height: auto !important;
    min-height: 0 !important;
  }

  .cq-hero-main-slider img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 626 / 456;
    object-fit: contain !important;
    object-position: center !important;
    margin: 0 !important;
    border-radius: 10px !important;
    background: #eee6dd !important;
  }

  .cq-hero-main-slider .flickity-prev-next-button {
    display: none !important;
  }

  .cq-promo-trio-row {
    display: flex !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    overscroll-behavior-inline: contain !important;
    scroll-snap-type: inline mandatory !important;
    scrollbar-width: none !important;
    padding: 2px 2px 9px !important;
    margin-top: 2px !important;
    margin-bottom: 16px !important;
  }

  .cq-promo-trio-row::-webkit-scrollbar {
    display: none !important;
  }

  .cq-promo-trio-item {
    flex: 0 0 calc(50% - 6px) !important;
    min-width: 330px !important;
    scroll-snap-align: start !important;
  }

  .cq-promo-trio-item img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 836 / 430 !important;
    object-fit: contain !important;
  }

  .cq-section {
    padding: 16px !important;
    margin-bottom: 18px !important;
  }

  .cq-section-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 10px 12px !important;
    align-items: center !important;
  }

  .cq-section-title {
    min-width: 0 !important;
    font-size: 17px !important;
  }

  .cq-section-tabs {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    order: initial !important;
    width: 100% !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
    scrollbar-width: none !important;
  }

  .cq-section-tabs::-webkit-scrollbar {
    display: none !important;
  }

  .cq-view-all-link {
    grid-column: 2 !important;
    grid-row: 1 !important;
    margin-left: 0 !important;
  }

  .cq-brands-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }

  .cq-policies-grid,
  .cq-footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .cq-showrooms-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .cq-floating-contact {
    display: none !important;
  }

  .cq-mobile-drawer {
    left: -100vw !important;
    width: min(380px, 90vw) !important;
    max-width: 90vw !important;
    visibility: hidden !important;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s !important;
    transform: translateX(0) !important;
  }

  .cq-mobile-drawer.is-open {
    left: -100vw !important;
    visibility: visible !important;
    transform: translateX(100vw) !important;
  }

  .cq-drawer-header {
    min-height: 60px !important;
    padding: 8px 12px 8px 16px !important;
  }

  .cq-drawer-close,
  .cq-accordion-toggle {
    margin: 0 !important;
    line-height: 1 !important;
  }

  .cq-drawer-link,
  .cq-accordion-toggle,
  .cq-drawer-sub-link,
  .cq-drawer-qlink,
  .cq-drawer-close {
    min-height: 44px !important;
  }

  .cq-drawer-close {
    width: 44px !important;
    height: 44px !important;
    margin-left: auto !important;
    padding: 0 !important;
  }

  .cq-accordion-toggle {
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    flex: 0 0 44px !important;
  }

  .cq-drawer-link {
    padding: 10px 14px !important;
  }

  .cq-mobile-drawer {
    scrollbar-width: thin !important;
    scrollbar-color: rgba(100, 116, 139, 0.35) transparent !important;
  }

  .cq-mobile-drawer::-webkit-scrollbar {
    width: 4px !important;
  }

  .cq-mobile-drawer::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, 0.35) !important;
    border-radius: 999px !important;
  }

  .cq-product-top-row,
  .cq-product-bottom-row {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .cq-bottom-nav {
    display: grid !important;
    position: fixed !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 9997 !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    width: 100% !important;
    height: calc(58px + env(safe-area-inset-bottom, 0px)) !important;
    margin: 0 !important;
    padding: 3px 4px env(safe-area-inset-bottom, 0px) !important;
    background: #ffffff !important;
    border-top: 1px solid #e7e7e7 !important;
    box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.12) !important;
  }

  .cq-bnav-item {
    display: flex !important;
    min-width: 0 !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 5px 2px 4px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: #616161 !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    line-height: 1.1 !important;
    text-decoration: none !important;
    text-transform: none !important;
  }

  .cq-bnav-item svg {
    width: 20px !important;
    height: 20px !important;
    flex: 0 0 auto !important;
  }

  .cq-bnav-item.active,
  .cq-bnav-item[aria-expanded="true"] {
    color: var(--cq-primary-red) !important;
    background: #fff1f2 !important;
  }

  .cq-bnav-cart-icon {
    position: relative !important;
    display: flex !important;
  }
}

.cq-cart-count[data-count="0"] {
  display: none !important;
}

@media (max-width: 600px) {
  .cq-container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .cq-header-mid {
    padding: 6px 0 !important;
  }

  .cq-header-mid-inner {
    grid-template-columns: 85px minmax(0, 1fr) 85px !important;
    column-gap: 4px !important;
    row-gap: 6px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .cq-mobile-nav-toggle {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    padding: 11px 8px !important;
    justify-self: center !important;
  }

  .cq-logo-wrapper {
    justify-self: center !important;
    max-width: 100% !important;
  }

  .cq-logo-link {
    max-width: 100% !important;
  }

  .tsg-brand-wrap {
    justify-content: center !important;
    gap: 4px !important;
  }

  .tsg-brand-logo-img {
    width: 44px !important;
    max-width: 44px !important;
    max-height: 24px !important;
  }

  .tsg-brand-text-block {
    display: block !important;
  }

  .tsg-brand-main-name {
    display: block !important;
    font-size: 14px !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
  }

  .tsg-brand-tagline {
    display: none !important;
  }

  .cq-header-actions {
    width: 85px !important;
    justify-content: flex-end !important;
    gap: 5px !important;
  }

  .cq-action-icon-circle {
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
  }

  .cq-action-icon-circle svg {
    width: 18px !important;
    height: 18px !important;
  }

  .cq-search-form {
    height: 38px !important;
    margin: 0 !important;
    padding-left: 13px !important;
  }

  .cq-search-submit {
    width: 44px !important;
    min-width: 44px !important;
    height: 32px !important;
  }

  .cq-search-submit .cq-svg-search {
    width: 18px !important;
    height: 18px !important;
  }

  .cq-search-suggestions {
    display: none !important;
  }

  .cq-hero-section {
    margin-top: 10px !important;
    margin-bottom: 12px !important;
  }

  .cq-hero-main-slider,
  .cq-hero-main-slider img {
    border-radius: 8px !important;
  }

  .cq-promo-trio-row {
    overflow-x: auto !important;
    gap: 10px !important;
    padding-bottom: 8px !important;
  }

  .cq-promo-trio-item {
    min-width: min(82vw, 330px) !important;
    flex-basis: min(82vw, 330px) !important;
  }

  .cq-section {
    padding: 13px 10px !important;
    border-radius: 8px !important;
  }

  .cq-section-header {
    gap: 8px 10px !important;
  }

  .cq-section-title {
    font-size: 14.5px !important;
    line-height: 1.3 !important;
  }

  .cq-view-all-link {
    font-size: 11.5px !important;
  }

  .cq-section-tabs {
    padding-right: 26px !important;
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 24px), transparent 100%) !important;
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 24px), transparent 100%) !important;
  }

  .cq-section-tabs:focus-within {
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }

  .cq-tab-btn {
    min-height: 34px !important;
    padding: 7px 12px !important;
  }

  .cq-brands-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .cq-policies-grid,
  .cq-showrooms-grid,
  .cq-footer-columns {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .cq-mobile-drawer {
    width: min(320px, 88vw) !important;
    max-width: 88vw !important;
  }
}

@media (max-width: 350px) {
  .cq-header-mid-inner {
    grid-template-columns: 81px minmax(0, 1fr) 81px !important;
    column-gap: 3px !important;
  }

  .tsg-brand-logo-img {
    width: 36px !important;
    max-width: 36px !important;
    max-height: 20px !important;
  }

  .tsg-brand-main-name {
    font-size: 12.5px !important;
  }

  .cq-header-actions {
    width: 81px !important;
    gap: 3px !important;
  }

  .cq-action-icon-circle {
    width: 39px !important;
    min-width: 39px !important;
    height: 39px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
