/* ==========================================================================
   KAYA - TRANG CHI TIẾT SẢN PHẨM (SINGLE PRODUCT)
   Tệp tin: /assets/kaya-product.css
   Thương hiệu: KAYA - Thiết kế, sản xuất & thi công nội thất TP.HCM
   Đồng bộ giao diện chuyên nghiệp, tương thích chuẩn Theme Astra & WooCommerce
   ========================================================================== */

/* 1. BIẾN MÀU SẮC & TYPOGRAPHY CHUẨN KAYA */
:root {
  --kaya-orange: #FF9E22;
  --kaya-orange-hover: #e58711;
  --kaya-orange-light: #fff9f0;
  --kaya-red: #d9381e;
  --kaya-ink: #1f1c18;
  --kaya-stone: #e8e3dc;
  --kaya-muted: #787268;
  --kaya-bg-warm: #fbf9f6;
  --kaya-zalo: #0068ff;
  --kaya-zalo-hover: #0054d1;
  --kaya-green: #1e7e34;
  --kaya-green-bg: #eaf6ec;

  /* CẤU HÌNH CỠ CHỮ 2 NÚT (THÊM GIỎ HÀNG & ZALO) HOÀN TOÀN ĐỘC LẬP VỚI ASTRA */
  --kaya-btn-fontsize: 14px;        /* Kích cỡ trên Desktop */
  --kaya-btn-fontsize-mobile: 13.5px; /* Kích cỡ trên Mobile */

  /* DẢI BANNER GIAO LẮP TẬN NHÀ */
  --kaya-delivery-bg: #FF9E22;
  --kaya-delivery-gradient: linear-gradient(135deg, #FFA733 0%, #FF9514 100%);
  --kaya-delivery-text: #ffffff;
  --kaya-delivery-cutout: #FF9514;
}

/* 2. BỐ CỤC CHÍNH ĐỘ RỘNG 1500PX (CHO TRANG CHI TIẾT SẢN PHẨM) */
@media (min-width: 1200px) {
  .single-product .site-content > .ast-container,
  .single-product.ast-no-sidebar .site-content > .ast-container,
  .single-product .ast-container,
  .single-product #primary,
  .single-product .ast-woocommerce-container {
    max-width: 1480px !important; /* + lề 20px của div.product => nội dung 1400px = header & footer */
    width: 100% !important;
  }
}

.woocommerce div.product.ast-article-single,
.woocommerce div.product {
  max-width: 1500px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 24px 20px 60px;
  font-family: inherit;
  color: var(--kaya-ink);
  line-height: 1.65;
  box-sizing: border-box !important;
}

@media (min-width: 922px) {
  .woocommerce div.product div.images {
    width: 50% !important;
    float: left !important;
    margin-bottom: 0 !important;
  }

  .woocommerce div.product div.summary {
    width: 46% !important;
    float: right !important;
    margin-bottom: 0 !important;
  }
}

/* 3. GALLERY ẢNH & BORDER CHÍNH MÀU CAM THƯƠNG HIỆU */
.woocommerce div.product div.images {
  position: relative !important;
}

/* 3.1 BORDER ẢNH CHÍNH LÀ MÀU CAM THƯƠNG HIỆU (CHỈ ÁP DỤNG CHO ẢNH LỚN, ĐỦ 4 CẠNH) */
.woocommerce div.product div.images > .flex-viewport,
.woocommerce div.product .woocommerce-product-gallery > .flex-viewport,
.woocommerce div.product div.images > figure.woocommerce-product-gallery__wrapper,
.woocommerce div.product .woocommerce-product-gallery > figure.woocommerce-product-gallery__wrapper {
  position: relative !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  border: 2.5px solid var(--kaya-orange) !important;
  background: #f7f5f2 !important;
  box-shadow: 0 4px 20px rgba(255, 158, 34, 0.15) !important;
  box-sizing: border-box !important;
}

/* Triệt tiêu border trên wrapper nhiều slide bên trong để không bị trôi/bị cắt mép */
.woocommerce div.product div.images .flex-viewport .woocommerce-product-gallery__wrapper,
.woocommerce div.product div.images .flex-viewport figure.woocommerce-product-gallery__wrapper {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  box-sizing: border-box !important;
}

/* TUYỆT ĐỐI BỎ BORDER CAM BAO PHỦ TOÀN BỘ KHUNG THUMBNAIL NHỎ */
.ast-single-product-thumbnails,
.ast-single-product-thumbnails .flex-viewport,
.woocommerce-product-gallery-thumbnails__wrapper,
.woocommerce div.product div.images .ast-single-product-thumbnails,
.woocommerce div.product div.images .ast-single-product-thumbnails .flex-viewport,
.woocommerce div.product div.images .woocommerce-product-gallery-thumbnails__wrapper {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  outline: none !important;
}

/* Chỉ bo góc cho ảnh lớn của gallery */
.woocommerce div.product div.images .flex-viewport img,
.woocommerce div.product div.images .woocommerce-product-gallery__image img {
  border-radius: 9px !important;
  transition: transform 0.3s ease;
  width: 100%;
  height: auto;
  display: block;
}

/* Huy hiệu ghim góc ảnh (Badges) */
.kaya-gallery-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: none;
}

.kaya-badge {
  display: inline-flex;
  align-items: center;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 4px;
  line-height: 1.2;
}

.kaya-badge-hot { background-color: var(--kaya-orange); color: #ffffff; }
.kaya-badge-sale { background-color: var(--kaya-red); color: #ffffff; }
.kaya-badge-mat { background-color: #111111; color: #ffffff; }

/* 3.2 THUMBNAILS NHỎ: HIỂN THỊ TỐI ĐA 5 ẢNH/HÀNG, ẢNH THỨ 6 TRỞ ĐI ẨN SAU MŨI TÊN */
.ast-single-product-thumbnails,
.woocommerce div.product div.images .flex-control-thumbs {
  position: relative !important;
  margin-top: 14px !important;
  padding: 0 !important;
  width: 100% !important;
}

/* Khung nhìn của slider: Ẩn phần tràn (ảnh thứ 6 trở đi) */
.ast-single-product-thumbnails .flex-viewport,
.woocommerce div.product div.images .ast-single-product-thumbnails .flex-viewport,
.ast-single-product-thumbnails {
  overflow: hidden !important;
  width: 100% !important;
  position: relative !important;
  border-radius: 8px !important;
  padding: 2px 0 !important;
}

/* Dải trượt: 1 HÀNG DUY NHẤT, KHÔNG BAO GIỜ RỚT DÒNG (NO WRAP) */
.ast-single-product-thumbnails .woocommerce-product-gallery-thumbnails__wrapper,
.woocommerce div.product div.images .flex-control-thumbs {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* Mỗi thumbnail: Chiếm đúng 1/5 chiều rộng trừ đi 4 khoảng gap 10px (chuẩn 5 ảnh/hàng) */
.ast-woocommerce-product-gallery__image,
.woocommerce div.product div.images .ast-woocommerce-product-gallery__image,
.woocommerce div.product div.images .flex-control-thumbs li {
  flex: 0 0 calc((100% - 40px) / 5) !important;
  width: calc((100% - 40px) / 5) !important;
  min-width: calc((100% - 40px) / 5) !important;
  max-width: calc((100% - 40px) / 5) !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  border: 1.5px solid var(--kaya-stone, #e8e3dc) !important;
  background-color: transparent !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  aspect-ratio: 1 / 1 !important;
  position: relative !important;
  box-sizing: border-box !important;
  -webkit-mask-image: -webkit-radial-gradient(white, black) !important;
}

/* Ảnh thumbnail: Lấp đầy góc, không bị khoảng trống */
.ast-single-product-thumbnails img,
.woocommerce-product-gallery-thumbnails__wrapper img,
.ast-woocommerce-product-gallery__image img,
.woocommerce div.product div.images .flex-control-thumbs li img,
.woocommerce div.product div.images .ast-woocommerce-product-gallery__image img {
  border-radius: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  outline: none !important;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

/* Triệt tiêu toàn bộ viền đen / dấu chấm mặc định của Astra trong thumbnail */
.ast-woocommerce-product-gallery__image:after,
.ast-woocommerce-product-gallery__image.flex-active-slide:after,
.ast-woocommerce-product-gallery__image:before,
.ast-woocommerce-product-gallery__image.flex-active-slide:before,
.woocommerce-product-gallery__image:after,
.woocommerce-product-gallery__image:before {
  display: none !important;
  content: none !important;
  border: none !important;
  box-shadow: none !important;
}

.ast-woocommerce-product-gallery__image,
.ast-woocommerce-product-gallery__image:focus,
.ast-woocommerce-product-gallery__image.flex-active-slide,
.ast-woocommerce-product-gallery__image a,
.ast-woocommerce-product-gallery__image a:focus,
.ast-woocommerce-product-gallery__image img {
  outline: none !important;
}

/* Thumbnail active: Viền cam nổi bật */
.ast-woocommerce-product-gallery__image.flex-active-slide,
.woocommerce div.product div.images .flex-control-thumbs li.flex-active {
  border: 2.5px solid var(--kaya-orange) !important;
  box-shadow: 0 0 8px rgba(255, 158, 34, 0.45) !important;
  opacity: 1 !important;
}

.ast-woocommerce-product-gallery__image.flex-active-slide img,
.woocommerce div.product div.images .flex-control-thumbs li.flex-active img,
.ast-woocommerce-product-gallery__image:hover img {
  opacity: 1 !important;
}

/* Nút mũi tên điều hướng trượt thumbnail Astra */
.ast-single-product-thumbnails .flex-direction-nav {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ast-single-product-thumbnails .flex-direction-nav .flex-prev,
.ast-single-product-thumbnails .flex-direction-nav .flex-next {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 32px !important;
  height: 32px !important;
  background-color: #ffffff !important;
  border-radius: 50% !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 10 !important;
  opacity: 0.95 !important;
  transition: all 0.2s ease !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  cursor: pointer !important;
}

.ast-single-product-thumbnails .flex-direction-nav .flex-prev:hover,
.ast-single-product-thumbnails .flex-direction-nav .flex-next:hover {
  background-color: var(--kaya-orange) !important;
  color: #ffffff !important;
  opacity: 1 !important;
  box-shadow: 0 4px 14px rgba(255, 158, 34, 0.45) !important;
}

.ast-single-product-thumbnails .flex-direction-nav .flex-prev {
  left: -12px !important;
}

.ast-single-product-thumbnails .flex-direction-nav .flex-next {
  right: -12px !important;
}

.ast-single-product-thumbnails .flex-direction-nav a.flex-disabled {
  opacity: 0 !important;
  pointer-events: none !important;
  cursor: default !important;
}

/* 4. KHU VỰC THÔNG TIN SẢN PHẨM (SUMMARY) */
.woocommerce div.product div.summary {
  display: flex;
  flex-direction: column;
}

/* 4.1 BREADCRUMB & METADATA SẢN PHẨM (SKU, DANH MỤC, THƯƠNG HIỆU) */

/* Breadcrumb định vị trang theo phong cách KAYA: Icon nhà + phân cách » cam */
.woocommerce nav.woocommerce-breadcrumb,
.woocommerce-breadcrumb {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 2px 4px !important;
  margin-bottom: 14px !important;
  color: #666055 !important;
  font-size: 13.5px !important;
  line-height: 1.5 !important;
  font-family: inherit !important;
}

.woocommerce nav.woocommerce-breadcrumb .kaya-crumb-item,
.woocommerce-breadcrumb .kaya-crumb-item {
  display: inline-flex !important;
  align-items: center !important;
}

.woocommerce nav.woocommerce-breadcrumb a,
.woocommerce-breadcrumb a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  color: #666055 !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  transition: color 0.2s ease !important;
}

.woocommerce nav.woocommerce-breadcrumb a:hover,
.woocommerce-breadcrumb a:hover {
  color: var(--kaya-orange, #ff9e22) !important;
}

.kaya-crumb-home {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  flex-shrink: 0;
  vertical-align: -1px;
}

.kaya-crumb-sep {
  color: var(--kaya-orange, #ff9e22) !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  line-height: 1 !important;
  margin: 0 5px !important;
  user-select: none;
}

.kaya-crumb-current {
  font-weight: 700 !important;
  color: #171714 !important;
}

/* Khối metadata sản phẩm: SKU, Danh mục, Thương hiệu dạng thẻ Tag Badge cao cấp */
.woocommerce div.product .product_meta,
.product_meta {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px 10px !important;
  margin-top: 4px !important;
  margin-bottom: 14px !important;
  padding: 0 !important;
  border: none !important;
  font-family: inherit !important;
  font-size: 0.85em !important;
  line-height: 1.4 !important;
}

/* Định dạng từng mục thành thẻ Badge / Chip bo góc mềm mại, sang trọng */
.woocommerce div.product .product_meta > span,
.product_meta > span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 5px 12px !important;
  background-color: #faf8f5 !important;
  border: 1px solid var(--kaya-stone) !important;
  border-radius: 6px !important;
  font-size: inherit !important;
  color: #736d64 !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}

.woocommerce div.product .product_meta > span:hover,
.product_meta > span:hover {
  background-color: #ffffff !important;
  border-color: #d6ccbe !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
  transform: translateY(-1px);
}

/* 1. Thẻ SKU: Icon mã vạch / tag */
.woocommerce div.product .product_meta .sku_wrapper::before,
.product_meta .sku_wrapper::before {
  content: "" !important;
  display: inline-block !important;
  width: 13px !important;
  height: 13px !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23736d64' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'%3E%3C/path%3E%3Cline x1='7' y1='7' x2='7.01' y2='7'%3E%3C/line%3E%3C/svg%3E") no-repeat center center !important;
  background-size: contain !important;
  opacity: 0.85 !important;
  flex-shrink: 0 !important;
}

.woocommerce div.product .product_meta .sku_wrapper .sku,
.product_meta .sku_wrapper .sku {
  color: var(--kaya-ink) !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
}

/* 2. Thẻ Danh mục (Category): Icon thư mục / tag màu cam */
.woocommerce div.product .product_meta .posted_in:nth-of-type(1)::before,
.woocommerce div.product .product_meta .posted_in:has(a[href*="product-category"])::before,
.woocommerce div.product .product_meta .posted_in:has(a[href*="danh-muc"])::before,
.product_meta .posted_in:nth-of-type(1)::before {
  content: "" !important;
  display: inline-block !important;
  width: 13px !important;
  height: 13px !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF9E22' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z'%3E%3C/path%3E%3C/svg%3E") no-repeat center center !important;
  background-size: contain !important;
  flex-shrink: 0 !important;
}

/* 3. Thẻ Thương hiệu (Brand): Icon vương miện */
.woocommerce div.product .product_meta .posted_in:nth-of-type(2)::before,
.woocommerce div.product .product_meta .posted_in:has(a[href*="thuong-hieu"])::before,
.woocommerce div.product .product_meta .posted_in:has(a[href*="brand"])::before,
.product_meta .posted_in:nth-of-type(2)::before {
  content: "" !important;
  display: inline-block !important;
  width: 13px !important;
  height: 13px !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF9E22' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'%3E%3C/polygon%3E%3C/svg%3E") no-repeat center center !important;
  background-size: contain !important;
  flex-shrink: 0 !important;
}

.woocommerce div.product .product_meta a,
.product_meta a {
  color: var(--kaya-ink) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.woocommerce div.product .product_meta a[href*="product-category"],
.woocommerce div.product .product_meta a[href*="danh-muc"],
.product_meta a[href*="product-category"],
.product_meta a[href*="danh-muc"] {
  color: var(--kaya-orange) !important;
}

.woocommerce div.product .product_meta a:hover,
.product_meta a:hover {
  color: var(--kaya-orange-hover) !important;
  text-decoration: underline !important;
}

.kaya-kicker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.kaya-kicker {
  font-family: inherit;
  font-size: 0.8em;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--kaya-orange);
}

.kaya-sku-pill {
  background: #f0ede8;
  color: #59554d;
  font-size: 0.75em;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}

/* Tiêu đề sản phẩm */
.woocommerce div.product .product_title {
  font-weight: 700 !important;
  line-height: 1.28 !important;
  color: var(--kaya-ink) !important;
  margin: 0 0 14px !important;
}

/* 4.3 ĐÁNH GIÁ SAO & SỐ LƯỢNG ĐÁNH GIÁ: CÂN ĐỐI TRÊN CÙNG 1 HÀNG */
.woocommerce div.product .woocommerce-product-rating,
.woocommerce .woocommerce-product-rating,
.woocommerce-product-rating {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  margin-top: 4px !important;
  margin-bottom: 18px !important;
  line-height: 1.2 !important;
  float: none !important;
  clear: both !important;
}

.woocommerce div.product .woocommerce-product-rating .review-rating,
.woocommerce .woocommerce-product-rating .review-rating {
  order: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  float: none !important;
  line-height: 1.2 !important;
}

.woocommerce div.product .woocommerce-product-rating .star-rating,
.woocommerce .woocommerce-product-rating .star-rating,
.woocommerce .star-rating {
  order: 1 !important;
  display: inline-block !important;
  position: relative !important;
  font-family: star, serif !important;
  color: #f59e0b !important;
  font-size: 14px !important;
  letter-spacing: normal !important;
  margin: 0 4px 0 0 !important;
  float: none !important;
  line-height: 1.2 !important;
  width: 5.5em !important;
  height: 1.2em !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
}

.woocommerce .star-rating::before,
.woocommerce .star-rating span::before {
  letter-spacing: normal !important;
}

.woocommerce .star-rating::before {
  color: #ded9d0 !important;
}

.woocommerce .star-rating span {
  color: #f59e0b !important;
}

.woocommerce div.product .woocommerce-product-rating .woocommerce-review-link,
.woocommerce .woocommerce-product-rating .woocommerce-review-link,
.woocommerce-product-rating a.woocommerce-review-link {
  order: 2 !important;
  display: inline-flex !important;
  align-items: center !important;
  color: var(--kaya-muted, #787268) !important;
  text-decoration: none !important;
  font-size: 13.5px !important;
  margin: 0 0 0 4px !important;
  padding: 0 !important;
  white-space: nowrap !important;
  line-height: 1.2 !important;
  width: auto !important;
  float: none !important;
}

.woocommerce div.product .woocommerce-product-rating .woocommerce-review-link:hover {
  color: var(--kaya-orange, #FF9E22) !important;
  text-decoration: underline !important;
}

.kaya-sold-badge {
  order: 3 !important;
  margin-left: auto;
  font-size: 0.8em;
  color: var(--kaya-green);
  background: var(--kaya-green-bg);
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

/* 4.4 ĐỒNG BỘ SIZE VÀ MÀU SẮC CHO TOÀN BỘ GIÁ TIỀN */
.woocommerce div.product .summary p.price,
.woocommerce div.product .summary span.price,
.woocommerce div.product .woocommerce-variation-price .price {
  background: var(--kaya-bg-warm) !important;
  border: 1px solid #eee8df !important;
  border-radius: 8px !important;
  padding: 16px 20px !important;
  display: flex !important;
  align-items: baseline !important;
  gap: 12px !important;
  margin-bottom: 22px !important;
  flex-wrap: wrap !important;
}

.woocommerce div.product .summary p.price,
.woocommerce div.product .summary span.price,
.woocommerce div.product .summary p.price .woocommerce-Price-amount,
.woocommerce div.product p.price .woocommerce-Price-amount bdi,
.woocommerce div.product p.price .woocommerce-Price-currencySymbol,
.woocommerce div.product .summary p.price ins,
.woocommerce div.product p.price ins .woocommerce-Price-amount,
.woocommerce div.product p.price ins .woocommerce-Price-amount bdi,
.woocommerce div.product .woocommerce-variation-price .price,
.woocommerce div.product .woocommerce-variation-price .price .woocommerce-Price-amount,
.woocommerce div.product .woocommerce-variation-price .price .woocommerce-Price-amount bdi,
.woocommerce div.product .woocommerce-variation-price .price ins {
  font-family: inherit !important;
  font-size: clamp(22px, 3vw, 26px) !important;
  font-weight: 700 !important;
  color: var(--kaya-red) !important;
  text-decoration: none !important;
  line-height: 1.2 !important;
}

.woocommerce div.product .summary p.price > span:not(.woocommerce-Price-amount):not(.kaya-saving-tag) {
  font-family: inherit !important;
  font-size: clamp(22px, 3vw, 26px) !important;
  font-weight: 700 !important;
  color: var(--kaya-red) !important;
}

.woocommerce div.product .summary p.price del,
.woocommerce div.product p.price del .woocommerce-Price-amount,
.woocommerce div.product p.price del .woocommerce-Price-amount bdi,
.woocommerce div.product p.price del .woocommerce-Price-currencySymbol,
.woocommerce div.product .woocommerce-variation-price .price del,
.woocommerce div.product .woocommerce-variation-price .price del .woocommerce-Price-amount,
.woocommerce div.product .woocommerce-variation-price .price del .woocommerce-Price-amount bdi,
.woocommerce div.product .woocommerce-variation-price .price del .woocommerce-Price-currencySymbol {
  font-size: clamp(14px, 2vw, 16px) !important;
  color: #999388 !important;
  text-decoration: line-through !important;
  font-weight: 400 !important;
}

.kaya-saving-tag {
  background: #ffebe8;
  color: var(--kaya-red);
  font-size: 0.8em;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

/* Đoạn mô tả ngắn & 3 Gạch đầu dòng tích */
.woocommerce div.product .woocommerce-product-details__short-description {
  line-height: 1.7;
  color: #4b4844;
  margin-bottom: 0 !important;
}

.woocommerce div.product .woocommerce-product-details__short-description p.prod-short-desc {
  margin-bottom: 10px !important;
}

/* Danh sách bullet list trong mô tả ngắn & chi tiết sản phẩm chuyển thành dấu tick cam */
.woocommerce div.product .woocommerce-product-details__short-description ul,
.woocommerce-product-details__short-description ul,
.prod-highlights-list {
  list-style: none !important;
  list-style-type: none !important;
  padding: 0 !important;
  margin: 12px 0 16px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.woocommerce div.product .woocommerce-product-details__short-description > :last-child,
.woocommerce div.product .woocommerce-product-details__short-description ul:last-child,
.woocommerce div.product .woocommerce-product-details__short-description .prod-highlights-list,
.woocommerce div.product .woocommerce-product-details__short-description .prod-highlights-list li:last-child {
  margin-bottom: 0 !important;
}

.woocommerce div.product .woocommerce-product-details__short-description ul li,
.woocommerce-product-details__short-description ul li,
.prod-highlights-list li {
  position: relative !important;
  padding-left: 22px !important;
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  color: #3f3b35 !important;
  list-style: none !important;
  list-style-type: none !important;
}

.woocommerce div.product .woocommerce-product-details__short-description ul li::before,
.woocommerce-product-details__short-description ul li::before,
.prod-highlights-list li::before {
  content: "✔" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  color: var(--kaya-orange, #FF9E22) !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  line-height: 1.55 !important;
}

/* Áp dụng cho danh sách trong tab mô tả chi tiết sản phẩm */
.woocommerce-Tabs-panel--description ul,
.single-product #tab-description ul {
  list-style: none !important;
  list-style-type: none !important;
  padding: 0 !important;
  margin: 12px 0 16px !important;
}

.woocommerce-Tabs-panel--description ul li,
.single-product #tab-description ul li {
  position: relative !important;
  padding-left: 22px !important;
  margin-bottom: 8px !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #3f3b35 !important;
  list-style: none !important;
  list-style-type: none !important;
}

.woocommerce-Tabs-panel--description ul li::before,
.single-product #tab-description ul li::before {
  content: "✔" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  color: var(--kaya-orange, #FF9E22) !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  line-height: 1.6 !important;
}

/* 5. CÁC HÀNG TÙY CHỌN: TIÊU ĐỀ VÀ TÙY CHỌN NẰM CHUNG TRÊN 1 HÀNG */
.woocommerce div.product form.cart .variations {
  width: 100% !important;
  border: none !important;
  margin-bottom: 20px !important;
}

.woocommerce div.product form.cart .variations tbody {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

.woocommerce div.product form.cart .variations tbody tr {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

.woocommerce div.product form.cart .variations th.label {
  display: inline-flex !important;
  align-items: center !important;
  width: 95px !important;
  min-width: 95px !important;
  max-width: 110px !important;
  flex-shrink: 0 !important;
  padding: 0 !important;
  border: none !important;
  text-align: left !important;
}

.woocommerce div.product form.cart .variations th.label label {
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: 700 !important;
  color: var(--kaya-ink) !important;
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

.woocommerce div.product form.cart .variations td.value {
  display: flex !important;
  align-items: center !important;
  flex: 1 !important;
  padding: 0 !important;
  border: none !important;
  width: auto !important;
}

.cfvsw-swatches-container {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.cfvsw-swatches-container .cfvsw-swatches-option {
  width: auto !important;
  min-width: max-content !important;
  max-width: none !important;
  height: auto !important;
  min-height: 40px !important;
  padding: 8px 20px !important;
  border: 1px solid var(--kaya-stone) !important;
  border-radius: 6px !important;
  background: #ffffff !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
}

.cfvsw-swatches-container .cfvsw-swatch-inner {
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: 600 !important;
  color: var(--kaya-ink) !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  text-align: center !important;
  display: inline-block !important;
}

.cfvsw-swatches-container .cfvsw-swatches-option:hover,
.cfvsw-swatches-container .cfvsw-swatches-option.cfvsw-selected-swatch {
  border-color: var(--kaya-orange) !important;
  background-color: var(--kaya-orange-light) !important;
  box-shadow: 0 0 0 1px var(--kaya-orange) !important;
}

.cfvsw-swatches-container .cfvsw-swatches-option.cfvsw-selected-swatch .cfvsw-swatch-inner {
  color: var(--kaya-orange) !important;
  font-weight: 700 !important;
}

.cfvsw-swatches-container[swatches-attr*="mau-sac"] .cfvsw-swatches-option,
.cfvsw-swatches-container .cfvsw-swatches-option {
  border-radius: 6px !important;
}

.woocommerce div.product form.cart .reset_variations {
  display: none !important;
}

/* 6. BỘ CHỌN SỐ LƯỢNG & NÚT THÊM VÀO GIỎ HÀNG CÂN ĐỐI */
.woocommerce div.product form.cart .single_variation_wrap {
  width: 100%;
}

.woocommerce div.product form.cart:not(.variations_form),
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 10px !important;
  align-items: center !important;
  margin-top: 14px !important;
  width: 100% !important;
}

.woocommerce div.product form.cart.variations_form {
  margin-top: 14px !important;
}

/* Bộ chọn số lượng: Kích thước 108px x 48px cân đối */
.woocommerce div.product form.cart .quantity {
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border: 1.5px solid var(--kaya-stone) !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  width: 108px !important;
  min-width: 108px !important;
  max-width: 108px !important;
  box-sizing: border-box !important;
  flex: 0 0 108px !important;
  flex-shrink: 0 !important;
}

.woocommerce div.product form.cart .quantity .ast-qty-placeholder,
.woocommerce div.product form.cart .quantity .minus,
.woocommerce div.product form.cart .quantity .plus {
  width: 34px !important;
  height: 48px !important;
  line-height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  color: var(--kaya-ink) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  border: none !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  transition: background 0.2s ease !important;
}

.woocommerce div.product form.cart .quantity .ast-qty-placeholder:hover,
.woocommerce div.product form.cart .quantity .minus:hover,
.woocommerce div.product form.cart .quantity .plus:hover {
  background: #f5f2ed !important;
  color: var(--kaya-orange) !important;
}

.woocommerce div.product form.cart .quantity input.qty {
  width: 40px !important;
  height: 48px !important;
  line-height: 48px !important;
  border: none !important;
  text-align: center !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  color: var(--kaya-ink) !important;
  background: transparent !important;
  outline: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  -moz-appearance: textfield !important;
}

.woocommerce div.product form.cart .quantity input.qty::-webkit-outer-spin-button,
.woocommerce div.product form.cart .quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

/* Nút Thêm vào giỏ hàng chính */
.woocommerce div.product form.cart .single_add_to_cart_button {
  flex: 1 1 0% !important;
  width: auto !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  background-color: var(--kaya-orange) !important;
  color: #ffffff !important;
  font-family: inherit !important;
  font-size: var(--kaya-btn-fontsize, 14px) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
  padding: 0 14px !important;
  margin: 0 !important;
  border-radius: 6px !important;
  border: none !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
  transition: all 0.25s ease !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button::before {
  content: "" !important;
  display: inline-block !important;
  width: 17px !important;
  height: 17px !important;
  min-width: 17px !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'%3E%3C/circle%3E%3Ccircle cx='20' cy='21' r='1'%3E%3C/circle%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'%3E%3C/path%3E%3C/svg%3E") no-repeat center center !important;
  background-size: contain !important;
  margin-right: 2px !important;
  flex-shrink: 0 !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover {
  background-color: var(--kaya-orange-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 158, 34, 0.35) !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button.disabled,
.woocommerce div.product form.cart .single_add_to_cart_button:disabled {
  opacity: 0.8 !important;
  background-color: var(--kaya-orange) !important;
  color: #ffffff !important;
  cursor: pointer !important;
}

/* Nút Nhắn Zalo Tư Vấn */
.kaya-cart-zalo-btn,
.woocommerce div.product form.cart .kaya-cart-zalo-btn,
.woocommerce div.product form.cart .kaya-btn-zalo {
  flex: 1 1 0% !important;
  width: auto !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  background-color: var(--kaya-zalo, #0068ff) !important;
  color: #ffffff !important;
  font-family: inherit !important;
  font-size: var(--kaya-btn-fontsize, 14px) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  border-radius: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  padding: 0 14px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
  transition: all 0.25s ease !important;
}

.kaya-cart-zalo-btn::before,
.woocommerce div.product form.cart .kaya-cart-zalo-btn::before,
.woocommerce div.product form.cart .kaya-btn-zalo::before {
  content: "" !important;
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M12 2C6.5 2 2 6 2 11c0 2.8 1.4 5.3 3.7 7L4.8 21.3c-.2.7.5 1.3 1.1.9l3.7-1.3c.8.3 1.6.4 2.4.4 5.5 0 10-4 10-9s-4.5-9-10-9z'/%3E%3Cpath fill='%230068ff' d='M8.5 7.5h6.2a.75.75 0 0 1 .75.75v1.2a.75.75 0 0 1-.22.53l-4.4 4.42h3.87a.75.75 0 0 1 .75.75v.85a.75.75 0 0 1-.75.75h-6.2a.75.75 0 0 1-.75-.75v-1.2a.75.75 0 0 1 .22-.53l4.4-4.42H8.5a.75.75 0 0 1-.75-.75v-.85a.75.75 0 0 1 .75-.75z'/%3E%3C/svg%3E") no-repeat center center !important;
  background-size: contain !important;
  margin-right: 2px !important;
  flex-shrink: 0 !important;
}

.kaya-cart-zalo-btn:hover,
.woocommerce div.product form.cart .kaya-cart-zalo-btn:hover,
.woocommerce div.product form.cart .kaya-btn-zalo:hover {
  background-color: var(--kaya-zalo-hover, #0054d1) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 104, 255, 0.35) !important;
}

.kaya-btn-text--full {
  display: inline !important;
}
.kaya-btn-text--short {
  display: none !important;
}

/* 7. HỘP CAM KẾT CHÍNH SÁCH 4 ĐIỂM (TRUST BOX / ASTRA SINGLE PRODUCT EXTRAS) */
.kaya-trust-box,
.woocommerce div.product .ast-single-product-extras,
.ast-single-product-extras {
  background: #ffffff !important;
  border: 1.5px solid var(--kaya-stone, #eee8df) !important;
  border-radius: 12px !important;
  padding: 18px 24px !important;
  margin-top: 24px !important;
  margin-bottom: 24px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.kaya-trust-grid,
.woocommerce div.product .ast-single-product-extras ul,
.ast-single-product-extras ul {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px 28px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.kaya-trust-item,
.woocommerce div.product .ast-single-product-extras ul li,
.ast-single-product-extras ul li,
.ast-single-product-extras li[data-icon="true"] {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  padding-left: 0 !important;
  position: relative !important;
  background: transparent !important;
  border: none !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
}

.ast-single-product-extras ul li .ahfb-svg-iconset svg,
.ast-single-product-extras .ahfb-svg-iconset svg {
  display: none !important;
}

.woocommerce div.product .ast-single-product-extras .ahfb-svg-iconset,
.ast-single-product-extras ul li .ahfb-svg-iconset,
.ast-single-product-extras .ahfb-svg-iconset {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  margin-top: 1px !important;
  padding: 0 !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  line-height: 1 !important;
}

/* 4 Icon cam thương hiệu chuẩn pixel-perfect */
/* 1. Khiên bảo hành (5 năm) */
.ast-single-product-extras ul li:nth-child(1) .ahfb-svg-iconset,
.ast-single-product-extras ul li:first-child .ahfb-svg-iconset {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF9E22' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'%3E%3C/path%3E%3C/svg%3E") !important;
}

/* 2. Xe tải giao lắp (TP.HCM) */
.ast-single-product-extras ul li:nth-child(2) .ahfb-svg-iconset {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF9E22' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='3' width='15' height='13'%3E%3C/rect%3E%3Cpolygon points='16 8 20 8 23 11 23 16 16 16 8'%3E%3C/polygon%3E%3Ccircle cx='5.5' cy='18.5' r='2.5'%3E%3C/circle%3E%3Ccircle cx='18.5' cy='18.5' r='2.5'%3E%3C/circle%3E%3C/svg%3E") !important;
}

/* 3. Chiếc lá cốt gỗ an toàn (Eco Leaf E1) */
.ast-single-product-extras ul li:nth-child(3) .ahfb-svg-iconset {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF9E22' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z'%3E%3C/path%3E%3Cpath d='M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12'%3E%3C/path%3E%3C/svg%3E") !important;
}

/* 4. Đổi trả vòng xoay 15 ngày */
.ast-single-product-extras ul li:nth-child(4) .ahfb-svg-iconset,
.ast-single-product-extras ul li:last-child .ahfb-svg-iconset {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF9E22' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8'%3E%3C/path%3E%3Cpath d='M3 3v5h5'%3E%3C/path%3E%3C/svg%3E") !important;
}

.kaya-trust-item svg {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  flex-shrink: 0 !important;
  stroke: var(--kaya-orange, #FF9E22) !important;
  margin-top: 1px !important;
}

.kaya-extra-content {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  flex: 1 !important;
  min-width: 0 !important;
}

.kaya-extra-title,
.kaya-trust-item h4,
.ast-single-product-extras ul li strong,
.ast-single-product-extras ul li b {
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: 700 !important;
  margin: 0 !important;
  color: var(--kaya-ink, #1f1c18) !important;
  line-height: 1.35 !important;
  display: block !important;
}

.kaya-extra-desc,
.kaya-trust-item p,
.ast-single-product-extras ul li span:not(.ahfb-svg-iconset),
.ast-single-product-extras ul li small {
  font-family: inherit !important;
  font-size: 0.88em !important;
  font-weight: 400 !important;
  color: var(--kaya-muted, #787268) !important;
  margin: 0 !important;
  line-height: 1.35 !important;
  display: block !important;
}

/* 8. RESPONSIVE MOBILE */
@media (max-width: 767px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
  }

  .single-product .site-content > .ast-container,
  .single-product.ast-no-sidebar .site-content > .ast-container,
  .single-product .ast-container,
  .single-product #primary,
  .single-product .ast-woocommerce-container,
  .ast-container,
  .site-content .ast-container,
  #content .ast-container,
  #primary.content-area,
  #main.site-main,
  .woocommerce div.product.ast-article-single,
  .woocommerce div.product,
  .ast-article-single,
  .entry-content {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  .woocommerce div.product div.images,
  .woocommerce div.product div.summary,
  .woocommerce div.product .woocommerce-tabs.wc-tabs-wrapper,
  .woocommerce-tabs.wc-tabs-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  .woocommerce div.product .woocommerce-product-rating,
  .woocommerce .woocommerce-product-rating,
  .woocommerce-product-rating {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    margin-top: 4px !important;
    margin-bottom: 14px !important;
    line-height: 1.2 !important;
    float: none !important;
    clear: both !important;
  }

  .woocommerce div.product .woocommerce-product-rating .review-rating,
  .woocommerce div.product .woocommerce-product-rating .star-rating,
  .woocommerce .star-rating {
    order: 1 !important;
    float: none !important;
    margin: 0 !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
    letter-spacing: normal !important;
    width: 5.5em !important;
    height: 1.2em !important;
    line-height: 1.2 !important;
    overflow: hidden !important;
  }

  .woocommerce div.product .woocommerce-product-rating .woocommerce-review-link,
  .woocommerce-product-rating a.woocommerce-review-link {
    order: 2 !important;
    float: none !important;
    margin: 0 0 0 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    font-size: 13.5px !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
  }

  .woocommerce div.product .woocommerce-product-rating .kaya-sold-badge {
    display: none !important;
  }

  .woocommerce div.product form.cart:not(.variations_form),
  .woocommerce div.product form.cart .woocommerce-variation-add-to-cart {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 10px 8px !important;
    align-items: center !important;
    width: 100% !important;
  }

  .woocommerce div.product form.cart .quantity {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    margin: 0 0 2px 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    box-sizing: border-box !important;
  }

  .woocommerce div.product form.cart .single_add_to_cart_button,
  .kaya-cart-zalo-btn,
  .woocommerce div.product form.cart .kaya-cart-zalo-btn,
  .woocommerce div.product form.cart .kaya-btn-zalo {
    flex: 1 1 calc(50% - 4px) !important;
    max-width: calc(50% - 4px) !important;
    min-width: 0 !important;
    height: 48px !important;
    min-height: 48px !important;
    font-size: var(--kaya-btn-fontsize-mobile, 13.5px) !important;
    padding: 0 8px !important;
    gap: 5px !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    margin: 0 !important;
  }

  .kaya-btn-text--full {
    display: none !important;
  }
  .kaya-btn-text--short {
    display: inline !important;
    font-size: inherit !important;
    white-space: nowrap !important;
    text-transform: none !important;
  }

  .kaya-trust-box,
  .woocommerce div.product .ast-single-product-extras,
  .ast-single-product-extras {
    padding: 12px !important;
    border-radius: 10px !important;
    margin-top: 18px !important;
    margin-bottom: 22px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .kaya-trust-grid,
  .woocommerce div.product .ast-single-product-extras ul,
  .ast-single-product-extras ul {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    width: 100% !important;
  }

  .kaya-trust-item,
  .woocommerce div.product .ast-single-product-extras ul li,
  .ast-single-product-extras ul li,
  .ast-single-product-extras li[data-icon="true"] {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 14px !important;
    background: #fbf9f6 !important;
    border: 1px solid #ebd9c0 !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    font-size: 13.5px !important;
    line-height: 1.45 !important;
  }
}

/* ==========================================================================
   9. KHỐI TABS WOOCOMMERCE: RỘNG 1200PX, ẨN TAB THÔNG TIN BỔ SUNG, STYLE CAPSULE PILL
   ========================================================================== */
.woocommerce div.product .woocommerce-tabs.wc-tabs-wrapper,
.woocommerce div.product .woocommerce-tabs,
.woocommerce-tabs.wc-tabs-wrapper,
.woocommerce-tabs {
  max-width: 1200px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 56px !important;
  padding-top: 40px !important;
  border-top: 1.5px solid var(--kaya-stone, #e8e3dc) !important;
  clear: both !important;
  float: none !important;
  box-sizing: border-box !important;
}

.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel,
.woocommerce div.product .woocommerce-tabs .panel.entry-content,
.woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel {
  max-width: 1200px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.woocommerce div.product .woocommerce-Tabs-panel--description > h2:first-child,
.woocommerce-Tabs-panel--description > h2:first-child {
  display: none !important;
}

.woocommerce-tabs ul.tabs li.additional_information_tab,
.woocommerce div.product .woocommerce-tabs ul.tabs li.additional_information_tab,
.woocommerce-tabs #tab-title-additional_information,
.woocommerce-tabs #tab-additional_information {
  display: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active::after {
  display: none !important;
  content: none !important;
  border: none !important;
  background: none !important;
  height: 0 !important;
  width: 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs,
.woocommerce-tabs ul.tabs {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 6px !important;
  margin: 0 auto 48px !important;
  background: #fbf9f6 !important;
  border: 1.5px solid var(--kaya-stone, #e8e3dc) !important;
  border-radius: 50px !important;
  width: fit-content !important;
  max-width: 100% !important;
  list-style: none !important;
  box-shadow: 0 2px 10px rgba(31, 28, 24, 0.04) !important;
  box-sizing: border-box !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li,
.woocommerce-tabs ul.tabs li {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 40px !important;
  display: inline-flex !important;
  align-items: center !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a,
.woocommerce-tabs ul.tabs li a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 11px 28px !important;
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--kaya-muted, #787268) !important;
  text-decoration: none !important;
  border-radius: 40px !important;
  transition: all 0.25s ease !important;
  white-space: nowrap !important;
  line-height: 1.2 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li:not(.active):hover a,
.woocommerce-tabs ul.tabs li:not(.active):hover a {
  color: var(--kaya-ink, #1f1c18) !important;
  background-color: rgba(31, 28, 24, 0.05) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active,
.woocommerce-tabs ul.tabs li.active {
  background: #ffffff !important;
  box-shadow: 0 4px 14px rgba(31, 28, 24, 0.09) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li.active a {
  color: var(--kaya-orange, #FF9E22) !important;
  font-weight: 700 !important;
}

.kaya-tab-count {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f0ede8 !important;
  color: var(--kaya-muted, #787268) !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  padding: 2px 7px !important;
  border-radius: 12px !important;
  margin-left: 4px !important;
  line-height: 1 !important;
  transition: all 0.25s ease !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active .kaya-tab-count,
.woocommerce-tabs ul.tabs li.active .kaya-tab-count {
  background: var(--kaya-orange-light, #fff9f0) !important;
  color: var(--kaya-orange, #FF9E22) !important;
  border: 1px solid #ffe6cc !important;
}

/* 9.4. TAB ĐÁNH GIÁ (WOOCOMMERCE REVIEWS) */
#tab-reviews {
  max-width: 1200px;
  margin: 0 auto;
}

#tab-reviews #comments {
  margin-bottom: 40px;
}

#tab-reviews .woocommerce-Reviews-title {
  font-family: inherit;
  font-weight: 700;
  color: var(--kaya-ink);
  margin-bottom: 24px;
}

#tab-reviews .commentlist {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 36px !important;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#tab-reviews .commentlist li.comment {
  background: #ffffff !important;
  border: 1.5px solid var(--kaya-stone, #e8e3dc) !important;
  border-radius: 12px !important;
  padding: 20px 24px !important;
  margin: 0 !important;
  box-shadow: 0 2px 8px rgba(31, 28, 24, 0.03) !important;
}

#tab-reviews .commentlist li.comment .star-rating {
  float: right !important;
  color: #f59e0b !important;
}

#tab-reviews .commentlist li.comment .meta {
  font-family: inherit;
  font-weight: 700;
  color: var(--kaya-ink);
  margin-bottom: 8px;
}

#tab-reviews .commentlist li.comment .description {
  color: #55514b;
  line-height: 1.65;
}

#tab-reviews #review_form_wrapper {
  background: #fbf9f6;
  border: 1.5px solid var(--kaya-stone, #e8e3dc);
  border-radius: 12px;
  padding: 28px 32px;
  margin-top: 24px;
}

#tab-reviews #review_form #reply-title {
  font-family: inherit;
  font-weight: 700;
  color: var(--kaya-ink);
  margin-bottom: 16px;
}

#tab-reviews #review_form .comment-form-rating {
  margin-bottom: 16px;
}

#tab-reviews #review_form input[type="text"],
#tab-reviews #review_form input[type="email"],
#tab-reviews #review_form textarea {
  width: 100%;
  border: 1.5px solid var(--kaya-stone, #e8e3dc);
  border-radius: 8px;
  padding: 10px 14px;
  background: #ffffff;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

#tab-reviews #review_form input[type="text"]:focus,
#tab-reviews #review_form input[type="email"]:focus,
#tab-reviews #review_form textarea:focus {
  border-color: var(--kaya-orange);
}

#tab-reviews #review_form input#submit {
  background: var(--kaya-orange) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 12px 28px !important;
  font-family: inherit !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
}

#tab-reviews #review_form input#submit:hover {
  background: var(--kaya-orange-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 158, 34, 0.3) !important;
}

@media (max-width: 600px) {
  .woocommerce div.product .woocommerce-tabs ul.tabs,
  .woocommerce-tabs ul.tabs {
    width: 100% !important;
    border-radius: 12px !important;
    padding: 4px !important;
  }

  .woocommerce div.product .woocommerce-tabs ul.tabs li,
  .woocommerce-tabs ul.tabs li {
    flex: 1 !important;
    justify-content: center !important;
  }

  .woocommerce div.product .woocommerce-tabs ul.tabs li a,
  .woocommerce-tabs ul.tabs li a {
    padding: 9px 14px !important;
    font-size: 14px !important;
    width: 100% !important;
    justify-content: center !important;
  }
}

/* ==========================================================================
   10. NỘI DUNG MÔ TẢ CHI TIẾT SẢN PHẨM (LONG DESCRIPTION)
   ========================================================================== */
.kaya-product-extension,
.woocommerce-Tabs-panel--description .kaya-product-extension {
  max-width: 1200px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 20px;
  box-sizing: border-box !important;
}

.prod-detail-block {
  margin-bottom: 56px;
}

.prod-detail-block:last-child {
  margin-bottom: 0;
}

.prod-block-header {
  text-align: center;
  margin-bottom: 28px;
}

.prod-block-badge {
  display: inline-block;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--kaya-orange);
  background: #fff9f0;
  border: 1px solid #ffe6cc;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.prod-block-title {
  font-family: inherit;
  font-weight: 700;
  color: var(--kaya-ink);
  margin: 0;
}

.tab-lead-box {
  background: var(--kaya-bg-warm, #fbf9f6);
  border-left: 4px solid var(--kaya-orange, #FF9E22);
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 36px;
  color: #4b3519;
  line-height: 1.7;
}

.editorial-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 48px;
}

.editorial-story-grid.reverse {
  direction: rtl;
}

.editorial-story-grid.reverse > * {
  direction: ltr;
}

.story-copy h3 {
  font-family: inherit;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--kaya-ink);
}

.story-copy p {
  color: var(--kaya-muted);
  line-height: 1.75;
  margin: 0 0 14px;
}

.story-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.breakthrough-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.breakthrough-card {
  background: #fbf9f6 !important;
  border: 1px solid #ece5da !important;
  border-radius: 10px !important;
  padding: 20px 22px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  box-sizing: border-box !important;
}

.breakthrough-num {
  font-family: inherit !important;
  font-size: 1.85em !important;
  font-weight: 800 !important;
  color: var(--kaya-orange, #FF9E22) !important;
  line-height: 1 !important;
  margin: 0 0 10px 0 !important;
  padding: 0 !important;
  border: none !important;
}

.breakthrough-card h4 {
  font-family: inherit !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  color: var(--kaya-ink, #222222) !important;
  margin: 0 0 8px 0 !important;
  padding: 0 !important;
  border: none !important;
  border-top: none !important;
  line-height: 1.35 !important;
}

.breakthrough-card p {
  color: var(--kaya-muted, #666666) !important;
  line-height: 1.6 !important;
  font-size: 13.5px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.breakthrough-card p:empty {
  display: none !important;
}

.spec-table-wrap {
  border: 1px solid var(--kaya-stone);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 16px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 !important;
}

.spec-table th,
.spec-table td {
  padding: 14px 18px !important;
  border-bottom: 1px solid var(--kaya-stone) !important;
  text-align: left;
}

.spec-table th {
  background: #f8f6f2 !important;
  font-family: inherit !important;
  font-weight: 700 !important;
  color: var(--kaya-ink) !important;
  width: 30%;
}

.spec-table tr:last-child td,
.spec-table tr:last-child th {
  border-bottom: none !important;
}

.spec-table tr:hover td {
  background: #faf8f5 !important;
}

.safety-guide-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.guide-box {
  background: #ffffff;
  border: 1px solid var(--kaya-stone);
  border-radius: 10px;
  padding: 24px;
}

.guide-box h4 {
  font-family: inherit;
  font-weight: 700;
  color: var(--kaya-ink);
  margin: 0 0 18px 0;
  padding: 0 0 14px 0;
  border-top: none;
  border-bottom: 1px solid #ece5da;
  display: flex;
  align-items: center;
  gap: 8px;
}

.guide-box h4 svg {
  color: var(--kaya-orange);
}

.guide-box ul {
  padding-left: 18px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #4f4c47;
}

.policy-tab-wrap {
  margin-top: 16px;
}

.policy-card-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.policy-block-item {
  background: #fbf9f6;
  border: 1px solid #ebd9c0;
  border-radius: 8px;
  padding: 18px;
}

.policy-block-item h5 {
  font-family: inherit;
  font-weight: 700;
  color: var(--kaya-orange);
  margin: 0 0 6px;
}

.policy-block-item p {
  color: #55514b;
  margin: 0;
  line-height: 1.55;
}

.policy-detail-text {
  background: linear-gradient(135deg, #fdfbf7 0%, #f7f3ec 100%);
  border: 1px solid #ebd9c0;
  border-left: 4px solid var(--kaya-orange);
  border-radius: 12px;
  padding: 24px 28px;
  margin-top: 24px;
  box-shadow: 0 4px 20px rgba(23, 23, 20, 0.04);
}

.policy-detail-text p {
  color: #3d3a36;
  font-size: 14.5px;
  line-height: 1.85;
  margin: 0 0 10px;
  letter-spacing: 0.15px;
}
.policy-detail-text p:last-child {
  margin-bottom: 0;
}

.policy-detail-text strong {
  color: var(--kaya-ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 6px;
}

.policy-pledge-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.policy-pledge-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px dashed #e2d9cd;
  flex-wrap: wrap;
}

.policy-pledge-header p {
  margin: 0 !important;
  display: contents !important;
}
.policy-pledge-header br {
  display: none !important;
}

.policy-pledge-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--kaya-orange);
  background: rgba(255, 158, 34, 0.12);
  padding: 4px 10px;
  border-radius: 4px;
  line-height: 1.2;
  white-space: nowrap;
  flex-shrink: 0;
}

.policy-pledge-title {
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: var(--kaya-ink);
  margin: 0;
  line-height: 1.35;
}

.policy-pledge-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.policy-pledge-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.policy-pledge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF9E22 0%, #FA8C00 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 2px 6px rgba(255, 158, 34, 0.35);
}

.policy-pledge-content {
  flex: 1;
}

.policy-pledge-content strong {
  display: block;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--kaya-ink);
  margin-bottom: 3px;
  line-height: 1.4;
}

.policy-pledge-content span,
.policy-pledge-content p {
  display: block;
  font-size: 14px;
  line-height: 1.7;
  color: #55514b;
  margin: 0;
}

@media (max-width: 680px) {
  .policy-pledge-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 600px) {
  .policy-detail-text {
    padding: 18px 20px;
  }
  .policy-pledge-title {
    font-size: 15px;
  }
  .policy-pledge-item {
    gap: 10px;
  }
}

@media (max-width: 920px) {
  .editorial-story-grid {
    grid-template-columns: 1fr;
  }
  .editorial-story-grid.reverse {
    direction: ltr;
  }
  .breakthrough-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .policy-card-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .safety-guide-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .breakthrough-grid {
    grid-template-columns: 1fr;
  }
  .policy-card-row {
    grid-template-columns: 1fr;
  }
  .spec-table th {
    width: 38%;
  }
}

/* ==========================================================================
   SECTION THIẾT KẾ ĐA CHỨC NĂNG (EDITORIAL 2 CỘT + 4 CARDS)
   ========================================================================== */
.kaya-intro-section {
  padding: 10px 0 36px;
  margin-bottom: 36px;
  border-bottom: 1px solid #e9e5df;
}

.kaya-intro-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1.2fr);
  gap: 60px;
  align-items: start;
  margin-bottom: 34px;
}

.kaya-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #8b5e3c;
  font-weight: 700;
  margin-bottom: 10px;
}

.kaya-intro-title {
  font-size: 34px;
  font-weight: 500;
  line-height: 1.22;
  margin: 0;
  color: #171717;
}

.kaya-intro-body {
  color: #45423e;
  font-size: 14.5px;
  line-height: 1.75;
}

.kaya-intro-body p {
  margin: 0 0 16px;
  color: #45423e;
  line-height: 1.75;
}

.kaya-intro-body p:last-child {
  margin-bottom: 0;
}

.kaya-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.kaya-feature-item {
  border: 1px solid #e9e5df;
  padding: 22px;
  background: #ffffff;
  border-radius: 4px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kaya-feature-item:hover {
  border-color: #d1c9bd;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.kaya-feature-item b {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #171717;
  margin-bottom: 8px;
}

.kaya-feature-item span {
  display: block;
  font-size: 13.5px;
  color: #5c5852;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .kaya-intro-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .kaya-intro-title {
    font-size: 28px;
  }
  .kaya-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .kaya-features-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   KAYA PRODUCT VARIATION SWATCHES (STYLE NÚT BẤM / PILL CHUẨN HIỆN ĐẠI)
   ========================================================================== */
.woocommerce div.product form.variations_form {
  margin: 22px 0 26px !important;
}

.woocommerce div.product table.variations {
  border: none !important;
  width: 100% !important;
  margin: 0 0 20px !important;
  border-collapse: collapse !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

.woocommerce div.product table.variations tbody {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  width: 100% !important;
}

.woocommerce div.product table.variations tr {
  border: none !important;
  background: transparent !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce div.product table.variations th.label,
.woocommerce div.product form.cart .variations th {
  min-width: 130px !important;
  width: 130px !important;
  max-width: 150px !important;
  padding: 0 16px 0 0 !important;
  text-align: left !important;
  border: none !important;
  background: transparent !important;
  vertical-align: middle !important;
  flex-shrink: 0 !important;
}

.woocommerce div.product table.variations th.label label,
.woocommerce div.product form.cart .variations th label {
  font-family: inherit !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #171717 !important;
  margin: 0 !important;
  line-height: 1.4 !important;
  display: block !important;
}

.woocommerce div.product table.variations td.value {
  flex: 1 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  vertical-align: middle !important;
  position: relative !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px !important;
}

.woocommerce div.product form.cart .variations .ast-variation-button-group,
.ast-variation-button-group {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px 12px !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce div.product form.cart .variations .ast-variation-button-group .ast-single-variation,
.ast-variation-button-group .ast-single-variation {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 76px !important;
  height: 42px !important;
  padding: 8px 20px !important;
  margin: 0 !important;
  background: #ffffff !important;
  border: 1px solid #dfdad2 !important;
  border-radius: 8px !important;
  font-family: inherit !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: #171717 !important;
  cursor: pointer !important;
  transition: all 0.18s ease-in-out !important;
  user-select: none !important;
  outline: none !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
}

.woocommerce div.product form.cart .variations .ast-variation-button-group .ast-single-variation:hover:not(.active):not(.disabled),
.ast-variation-button-group .ast-single-variation:hover:not(.active):not(.disabled) {
  border-color: #FF9E22 !important;
  color: #FF9E22 !important;
  background: #fffdfa !important;
}

.woocommerce div.product form.cart .variations .ast-variation-button-group .ast-single-variation.active,
.ast-variation-button-group .ast-single-variation.active {
  border: 2px solid #FF9E22 !important;
  background: #fffdf9 !important;
  color: #171717 !important;
  font-weight: 700 !important;
  box-shadow: 0 0 0 1px rgba(255, 158, 34, 0.25) !important;
}

.woocommerce div.product form.cart .variations .ast-variation-button-group .ast-single-variation.disabled,
.ast-variation-button-group .ast-single-variation.disabled {
  opacity: 0.3 !important;
  cursor: not-allowed !important;
  background: #f8f8f8 !important;
  border-color: #e5e5e5 !important;
  color: #aaa !important;
}

.woocommerce div.product table.variations .reset_variations {
  display: inline-block !important;
  margin-left: 12px !important;
  font-size: 12.5px !important;
  color: #888 !important;
  text-decoration: underline !important;
  cursor: pointer !important;
}
.woocommerce div.product table.variations .reset_variations:hover {
  color: #FF9E22 !important;
}

@media (max-width: 540px) {
  .woocommerce div.product table.variations tbody tr {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
  .woocommerce div.product table.variations th.label,
  .woocommerce div.product form.cart .variations th {
    min-width: 100% !important;
    width: 100% !important;
    padding-bottom: 2px !important;
  }
  .ast-variation-button-group {
    gap: 8px 10px !important;
    width: 100% !important;
  }
  .ast-variation-button-group .ast-single-variation {
    min-width: 68px !important;
    height: 38px !important;
    padding: 6px 14px !important;
    font-size: 13.5px !important;
  }
}

/* DONG BO TYPOGRAPHY */
.woocommerce div.product h1,
.woocommerce div.product h2,
.woocommerce div.product h3,
.woocommerce div.product h4 {
  font-family: inherit;
}

/* ==========================================================================
   PHẦN SẢN PHẨM TƯƠNG TỰ (RELATED PRODUCTS)
   ========================================================================== */
.woocommerce div.product .related.products,
.single-product .related.products {
  margin-top: 56px !important;
  padding-top: 36px !important;
  border-top: 1px solid #ebe5dc !important;
  clear: both !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.woocommerce div.product .related.products > h2,
.woocommerce div.product .related.products h2.ast-related-posts-title,
.single-product .related.products > h2,
.single-product .related.products h2 {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: var(--kaya-ink, #1f1c18) !important;
  margin: 0 0 24px 0 !important;
  line-height: 1.3 !important;
  text-align: left !important;
}

/* Base: Related Products Grid (Dong bo so cot theo Astra Customizer) */
.single-product .related.products ul.products,
.woocommerce div.product .related.products ul.products {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 16px 12px !important;
  max-width: 100% !important;
  margin: 0 0 40px !important;
  padding: 0 !important;
  list-style: none !important;
  box-sizing: border-box !important;
  clear: both !important;
}

/* Tuy chinh so cot theo cau hinh Astra Customizer */
body.rel-up-columns-6 .single-product .related.products ul.products,
body.rel-up-columns-6 .woocommerce div.product .related.products ul.products,
.single-product .related.products ul.products.columns-6,
.woocommerce div.product .related.products ul.products.columns-6 {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 14px 10px !important;
}

body.rel-up-columns-5 .single-product .related.products ul.products,
body.rel-up-columns-5 .woocommerce div.product .related.products ul.products,
.single-product .related.products ul.products.columns-5,
.woocommerce div.product .related.products ul.products.columns-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 16px 12px !important;
}

body.rel-up-columns-4 .single-product .related.products ul.products,
body.rel-up-columns-4 .woocommerce div.product .related.products ul.products,
.single-product .related.products ul.products.columns-4,
.woocommerce div.product .related.products ul.products.columns-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px 16px !important;
}

body.rel-up-columns-3 .single-product .related.products ul.products,
body.rel-up-columns-3 .woocommerce div.product .related.products ul.products,
.single-product .related.products ul.products.columns-3,
.woocommerce div.product .related.products ul.products.columns-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px 20px !important;
}

.woocommerce div.product .related.products ul.products::before,
.woocommerce div.product .related.products ul.products::after,
.single-product .related.products ul.products::before,
.single-product .related.products ul.products::after {
  display: none !important;
}

@media (max-width: 1024px) {
  .single-product .related.products ul.products,
  .woocommerce div.product .related.products ul.products,
  body.rel-up-columns-6 .single-product .related.products ul.products,
  body.rel-up-columns-5 .single-product .related.products ul.products,
  body.rel-up-columns-4 .single-product .related.products ul.products,
  .single-product .related.products ul.products.columns-6,
  .single-product .related.products ul.products.columns-5,
  .single-product .related.products ul.products.columns-4,
  .woocommerce div.product .related.products ul.products.columns-6,
  .woocommerce div.product .related.products ul.products.columns-5,
  .woocommerce div.product .related.products ul.products.columns-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px 12px !important;
  }
}

@media (max-width: 768px) {
  .single-product .related.products ul.products,
  .woocommerce div.product .related.products ul.products,
  body.rel-up-columns-6 .single-product .related.products ul.products,
  body.rel-up-columns-5 .single-product .related.products ul.products,
  body.rel-up-columns-4 .single-product .related.products ul.products,
  .single-product .related.products ul.products.columns-6,
  .single-product .related.products ul.products.columns-5,
  .single-product .related.products ul.products.columns-4,
  .woocommerce div.product .related.products ul.products.columns-6,
  .woocommerce div.product .related.products ul.products.columns-5,
  .woocommerce div.product .related.products ul.products.columns-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px 8px !important;
  }
}

.single-product .related.products ul.products li.product,
.woocommerce div.product .related.products ul.products li.product {
  background: #ffffff !important;
  border: 1px solid #ebe5dc !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease,
              border-color 0.3s ease !important;
  box-sizing: border-box !important;
}

.single-product .related.products ul.products li.product:hover,
.woocommerce div.product .related.products ul.products li.product:hover {
  border-color: #d8d4cd !important;
  transform: translateY(-5px) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
}

.single-product .related.products ul.products li.product .astra-shop-thumbnail-wrap,
.woocommerce div.product .related.products ul.products li.product .astra-shop-thumbnail-wrap {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  background-color: #f7f5f2 !important;
  overflow: hidden !important;
  border-radius: 11px 11px 0 0 !important;
  border-bottom: 1px solid #f2eee8 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.single-product .related.products ul.products li.product .astra-shop-thumbnail-wrap a,
.woocommerce div.product .related.products ul.products li.product .astra-shop-thumbnail-wrap a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  text-decoration: none !important;
  background: transparent !important;
}

.single-product .related.products ul.products li.product .astra-shop-thumbnail-wrap img,
.woocommerce div.product .related.products ul.products li.product .astra-shop-thumbnail-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) !important;
  margin: 0 !important;
  background-color: transparent !important;
}

.single-product .related.products ul.products li.product .astra-shop-thumbnail-wrap img.woocommerce-placeholder,
.woocommerce div.product .related.products ul.products li.product .astra-shop-thumbnail-wrap img.woocommerce-placeholder {
  object-fit: contain !important;
  padding: 18px !important;
  opacity: 0.65 !important;
}

.single-product .related.products ul.products li.product:hover .astra-shop-thumbnail-wrap img:not(.woocommerce-placeholder),
.woocommerce div.product .related.products ul.products li.product:hover .astra-shop-thumbnail-wrap img:not(.woocommerce-placeholder) {
  transform: scale(1.05) !important;
}

.single-product .related.products ul.products li.product .ast-on-card-button,
.woocommerce div.product .related.products ul.products li.product .ast-on-card-button {
  display: none !important;
}

/* ==========================================================================
   SALE BADGE ĐỎ CÓ ICON NGỌN LỬA 🔥 CHO TRANG CHI TIẾT SẢN PHẨM (MAIN PRODUCT)
   Tăng kích thước 100% & nằm trọn vẹn bên trong khung viền border cam
   ========================================================================== */
.single-product div.product > .onsale,
.single-product div.product > .ast-onsale-card,
.woocommerce div.product > .onsale,
.woocommerce div.product > .ast-onsale-card {
  position: absolute !important;
  top: 44px !important;
  left: 40px !important;
  bottom: auto !important;
  right: auto !important;
  margin: 0 !important;
  padding: 7px 15px 7px 12px !important;
  min-height: 0 !important;
  min-width: 0 !important;
  width: auto !important;
  height: auto !important;
  line-height: 1.2 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  font-family: inherit !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  letter-spacing: 0.3px !important;
  text-transform: none !important;
  border-radius: 6px !important;
  background: #c92a2a !important;
  background-color: #c92a2a !important;
  background-image: none !important;
  border: none !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(201, 42, 42, 0.35) !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
  z-index: 12 !important;
  pointer-events: none !important;
}

.single-product div.product div.images > .onsale,
.single-product div.product div.images > .ast-onsale-card,
.single-product .woocommerce-product-gallery > .onsale,
.single-product .woocommerce-product-gallery > .ast-onsale-card,
.woocommerce div.product div.images > .onsale,
.woocommerce div.product div.images > .ast-onsale-card,
.woocommerce div.product .woocommerce-product-gallery > .onsale,
.woocommerce div.product .woocommerce-product-gallery > .ast-onsale-card {
  position: absolute !important;
  top: 20px !important;
  left: 20px !important;
  bottom: auto !important;
  right: auto !important;
  margin: 0 !important;
  padding: 7px 15px 7px 12px !important;
  min-height: 0 !important;
  min-width: 0 !important;
  width: auto !important;
  height: auto !important;
  line-height: 1.2 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  font-family: inherit !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  letter-spacing: 0.3px !important;
  text-transform: none !important;
  border-radius: 6px !important;
  background: #c92a2a !important;
  background-color: #c92a2a !important;
  background-image: none !important;
  border: none !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(201, 42, 42, 0.35) !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
  z-index: 12 !important;
  pointer-events: none !important;
}

/* Icon ngọn lửa to hơn 100% cho sản phẩm chính */
.single-product div.product > .onsale::before,
.single-product div.product > .ast-onsale-card::before,
.woocommerce div.product > .onsale::before,
.woocommerce div.product > .ast-onsale-card::before,
.single-product div.product div.images > .onsale::before,
.single-product div.product div.images > .ast-onsale-card::before,
.single-product .woocommerce-product-gallery > .onsale::before,
.single-product .woocommerce-product-gallery > .ast-onsale-card::before,
.woocommerce div.product div.images > .onsale::before,
.woocommerce div.product div.images > .ast-onsale-card::before,
.woocommerce div.product .woocommerce-product-gallery > .onsale::before,
.woocommerce div.product .woocommerce-product-gallery > .ast-onsale-card::before {
  content: "" !important;
  display: inline-block !important;
  width: 20px !important;
  height: 20px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23ffffff' d='M8 16c3.314 0 6-2.686 6-6 0-2.583-1.574-4.836-3.844-5.698-.387-.147-.803.11-.84.523-.092 1.026-.525 1.954-1.216 2.593-.306.284-.78.232-.996-.118-.328-.53-.448-1.424-.448-2.3 0-1.828.847-3.41 1.756-4.57.29-.37.153-.918-.282-1.096C6.772-.256 5.253.518 4.237 2.122 2.784 4.417 2 7.106 2 10c0 3.314 2.686 6 6 6z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  flex-shrink: 0 !important;
}

@media (max-width: 768px) {
  .single-product div.product > .onsale,
  .single-product div.product > .ast-onsale-card,
  .woocommerce div.product > .onsale,
  .woocommerce div.product > .ast-onsale-card {
    top: 32px !important;
    left: 28px !important;
    padding: 5px 12px 5px 10px !important;
    font-size: 15px !important;
  }
  .single-product div.product div.images > .onsale,
  .single-product div.product div.images > .ast-onsale-card,
  .single-product .woocommerce-product-gallery > .onsale,
  .single-product .woocommerce-product-gallery > .ast-onsale-card {
    top: 14px !important;
    left: 14px !important;
    padding: 5px 12px 5px 10px !important;
    font-size: 15px !important;
  }
  .single-product div.product > .onsale::before,
  .single-product div.product > .ast-onsale-card::before,
  .woocommerce div.product > .onsale::before,
  .woocommerce div.product > .ast-onsale-card::before,
  .single-product div.product div.images > .onsale::before,
  .single-product div.product div.images > .ast-onsale-card::before {
    width: 17px !important;
    height: 17px !important;
  }
}

/* ==========================================================================
   SALE BADGE ĐỎ CÓ ICON NGỌN LỬA 🔥 CHO SẢN PHẨM TƯƠNG TỰ (RELATED PRODUCTS)
   ========================================================================== */
.single-product .related.products ul.products li.product .onsale,
.single-product .related.products ul.products li.product span.onsale,
.single-product .related.products ul.products li.product .ast-onsale-card,
.woocommerce div.product .related.products ul.products li.product .onsale,
.woocommerce div.product .related.products ul.products li.product span.onsale,
.woocommerce div.product .related.products ul.products li.product .ast-onsale-card {
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  bottom: auto !important;
  right: auto !important;
  margin: 0 !important;
  padding: 4px 8px 4px 7px !important;
  min-height: 0 !important;
  min-width: 0 !important;
  width: auto !important;
  height: auto !important;
  line-height: 1.2 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  font-family: inherit !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.2px !important;
  text-transform: none !important;
  border-radius: 4px !important;
  background: #c92a2a !important;
  background-color: #c92a2a !important;
  background-image: none !important;
  border: none !important;
  color: #ffffff !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
  z-index: 5 !important;
  pointer-events: none !important;
}

/* Triệt tiêu thuộc tính hình tròn của Astra cho badge card */
.single-product .related.products ul.products li.product .ast-onsale-card.circle,
.woocommerce div.product .related.products ul.products li.product .ast-onsale-card.circle {
  border-radius: 4px !important;
  width: auto !important;
  height: auto !important;
}

/* ẨN TRIỆT ĐỂ MỌI BADGE TRÙNG LẶP (Astra Addon chèn thêm badge Sale! đè lên badge %) */
.single-product .related.products ul.products li.product .ast-onsale-card ~ .ast-onsale-card,
.single-product .related.products ul.products li.product .onsale ~ .onsale,
.single-product .related.products ul.products li.product .onsale ~ .ast-onsale-card,
.single-product .related.products ul.products li.product .ast-onsale-card ~ .onsale,
.single-product .related.products ul.products li.product .astra-shop-thumbnail-wrap .ast-onsale-card ~ .ast-onsale-card,
.woocommerce div.product .related.products ul.products li.product .ast-onsale-card ~ .ast-onsale-card,
.woocommerce div.product .related.products ul.products li.product .onsale ~ .onsale,
.woocommerce div.product .related.products ul.products li.product .astra-shop-thumbnail-wrap .ast-onsale-card ~ .ast-onsale-card,
.astra-shop-thumbnail-wrap .ast-onsale-card ~ .ast-onsale-card {
  display: none !important;
}

.single-product .related.products ul.products li.product .onsale::before,
.single-product .related.products ul.products li.product span.onsale::before,
.single-product .related.products ul.products li.product .ast-onsale-card::before,
.woocommerce div.product .related.products ul.products li.product .onsale::before,
.woocommerce div.product .related.products ul.products li.product span.onsale::before,
.woocommerce div.product .related.products ul.products li.product .ast-onsale-card::before {
  content: "" !important;
  display: inline-block !important;
  width: 13px !important;
  height: 13px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23ffffff' d='M8 16c3.314 0 6-2.686 6-6 0-2.583-1.574-4.836-3.844-5.698-.387-.147-.803.11-.84.523-.092 1.026-.525 1.954-1.216 2.593-.306.284-.78.232-.996-.118-.328-.53-.448-1.424-.448-2.3 0-1.828.847-3.41 1.756-4.57.29-.37.153-.918-.282-1.096C6.772-.256 5.253.518 4.237 2.122 2.784 4.417 2 7.106 2 10c0 3.314 2.686 6 6 6z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  flex-shrink: 0 !important;
}

.single-product .related.products ul.products li.product .astra-shop-summary-wrap,
.woocommerce div.product .related.products ul.products li.product .astra-shop-summary-wrap {
  padding: 16px 16px 18px !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
  text-align: left !important;
}

@media (max-width: 768px) {
  .single-product .related.products ul.products li.product .astra-shop-summary-wrap,
  .woocommerce div.product .related.products ul.products li.product .astra-shop-summary-wrap {
    padding: 12px 10px 14px !important;
  }
}

.single-product .related.products ul.products li.product .ast-woo-product-category,
.woocommerce div.product .related.products ul.products li.product .ast-woo-product-category {
  display: block !important;
  font-family: inherit !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
  color: var(--kaya-muted, #787268) !important;
  margin: 0 0 5px 0 !important;
  line-height: 1.2 !important;
  transition: color 0.2s ease !important;
}

.single-product .related.products ul.products li.product .ast-woo-product-category:hover,
.woocommerce div.product .related.products ul.products li.product .ast-woo-product-category:hover {
  color: var(--kaya-orange-hover, #e58711) !important;
}

.single-product .related.products ul.products li.product .ast-loop-product__link,
.woocommerce div.product .related.products ul.products li.product .ast-loop-product__link {
  text-decoration: none !important;
  display: block !important;
  margin: 0 0 8px 0 !important;
  padding: 0 !important;
}

.single-product .related.products ul.products li.product .woocommerce-loop-product__title,
.woocommerce div.product .related.products ul.products li.product .woocommerce-loop-product__title {
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: var(--kaya-ink, #1f1c18) !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 40px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  transition: color 0.2s ease !important;
}

.single-product .related.products ul.products li.product:hover .woocommerce-loop-product__title,
.woocommerce div.product .related.products ul.products li.product:hover .woocommerce-loop-product__title {
  color: var(--kaya-orange, #FF9E22) !important;
}

@media (max-width: 768px) {
  .single-product .related.products ul.products li.product .woocommerce-loop-product__title,
  .woocommerce div.product .related.products ul.products li.product .woocommerce-loop-product__title {
    font-size: 13px !important;
    min-height: 35px !important;
  }
}

.single-product .related.products ul.products li.product .price,
.woocommerce div.product .related.products ul.products li.product .price {
  background: transparent !important;
  border: none !important;
  border-top: 1px solid #f2eee8 !important;
  border-radius: 0 !important;
  padding: 8px 0 0 0 !important;
  margin: auto 0 0 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 6px !important;
  width: 100% !important;
  font-family: inherit !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--kaya-red, #d9381e) !important;
}

.single-product .related.products ul.products li.product .price del,
.woocommerce div.product .related.products ul.products li.product .price del,
.single-product .related.products ul.products li.product .price del .woocommerce-Price-amount,
.woocommerce div.product .related.products ul.products li.product .price del .woocommerce-Price-amount {
  color: #9ca3af !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  text-decoration: line-through !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.single-product .related.products ul.products li.product .price ins,
.woocommerce div.product .related.products ul.products li.product .price ins,
.single-product .related.products ul.products li.product .price ins .woocommerce-Price-amount,
.woocommerce div.product .related.products ul.products li.product .price ins .woocommerce-Price-amount,
.single-product .related.products ul.products li.product .price > .woocommerce-Price-amount,
.woocommerce div.product .related.products ul.products li.product .price > .woocommerce-Price-amount,
.single-product .related.products ul.products li.product .price > span:not(.woocommerce-Price-amount):not(.kaya-saving-tag),
.woocommerce div.product .related.products ul.products li.product .price > span:not(.woocommerce-Price-amount):not(.kaya-saving-tag) {
  color: var(--kaya-red, #d9381e) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}

.single-product .related.products ul.products li.product .price .woocommerce-Price-currencySymbol,
.woocommerce div.product .related.products ul.products li.product .price .woocommerce-Price-currencySymbol {
  font-size: 0.9em !important;
  margin-left: 2px !important;
}

@media (max-width: 768px) {
  .single-product .related.products ul.products li.product .price,
  .woocommerce div.product .related.products ul.products li.product .price {
    padding-top: 6px !important;
    gap: 4px !important;
  }
  .single-product .related.products ul.products li.product .price del,
  .woocommerce div.product .related.products ul.products li.product .price del {
    font-size: 11px !important;
  }
  .single-product .related.products ul.products li.product .price ins,
  .woocommerce div.product .related.products ul.products li.product .price ins,
  .single-product .related.products ul.products li.product .price > .woocommerce-Price-amount,
  .woocommerce div.product .related.products ul.products li.product .price > .woocommerce-Price-amount {
    font-size: 14px !important;
  }
}

/* ==========================================================================
   DẢI BANNER GIAO LẮP TẬN NHÀ (DELIVERY & INSTALLATION BADGE)
   ========================================================================== */
.woocommerce ul.products li.product .astra-shop-summary-wrap,
.woocommerce-page ul.products li.product .astra-shop-summary-wrap {
  padding-bottom: 14px !important;
}

.kaya-card-delivery-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 8px 12px 9px !important;
  margin-top: auto !important;
  background: var(--kaya-delivery-gradient, #FF9E22) !important;
  color: var(--kaya-delivery-text, #ffffff) !important;
  border-radius: 0 0 11px 11px !important;
  transition: all 0.25s ease !important;
  user-select: none !important;
  cursor: default !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

.kaya-card-delivery-bar .kaya-delivery-text {
  font-size: clamp(13px, 1.05vw, 14px) !important;
  font-weight: 700 !important;
  font-style: italic !important;
  letter-spacing: 0.25px !important;
  line-height: 1.2 !important;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(180, 80, 0, 0.35) !important;
}

.kaya-card-delivery-bar .kaya-delivery-free {
  font-weight: 900 !important;
  font-style: italic !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  padding: 0 2px !important;
}

.kaya-card-delivery-bar .kaya-delivery-truck {
  flex-shrink: 0 !important;
  color: #ffffff !important;
  vertical-align: middle !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.woocommerce ul.products li.product:hover .kaya-card-delivery-bar .kaya-delivery-truck,
.woocommerce-page ul.products li.product:hover .kaya-card-delivery-bar .kaya-delivery-truck {
  transform: translateX(4px) !important;
}

.woocommerce ul.products li.product:hover .kaya-card-delivery-bar,
.woocommerce-page ul.products li.product:hover .kaya-card-delivery-bar {
  background: linear-gradient(135deg, #FFB042 0%, #FA8C00 100%) !important;
  filter: brightness(1.03) !important;
}

.astra-shop-summary-wrap > .kaya-card-delivery-bar {
  margin-left: -16px !important;
  margin-right: -16px !important;
  margin-bottom: -14px !important;
  margin-top: 12px !important;
  width: calc(100% + 32px) !important;
}

@media (max-width: 480px) {
  .kaya-card-delivery-bar {
    padding: 7px 10px 8px !important;
    gap: 6px !important;
  }
  .kaya-card-delivery-bar .kaya-delivery-text {
    font-size: 12px !important;
  }
  .kaya-card-delivery-bar .kaya-delivery-truck {
    width: 32px !important;
    height: 15px !important;
  }
  .astra-shop-summary-wrap > .kaya-card-delivery-bar {
    margin-left: -12px !important;
    margin-right: -12px !important;
    margin-bottom: -14px !important;
    width: calc(100% + 24px) !important;
  }
}

/* ==========================================================================
   HUY HIỆU QUÀ TẶNG (GIFT BADGE)
   ========================================================================== */
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap .kaya-btd-gift-badge,
.woocommerce-page ul.products li.product .astra-shop-thumbnail-wrap .kaya-btd-gift-badge,
.astra-shop-thumbnail-wrap .kaya-btd-gift-badge,
ul.products li.product .kaya-btd-gift-badge,
.kaya-btd-gift-badge {
  position: absolute !important;
  bottom: 10px !important;
  left: 10px !important;
  top: auto !important;
  right: auto !important;
  margin: 0 !important;
  padding: 4px 9px 4px 7px !important;
  min-height: 0 !important;
  min-width: 0 !important;
  width: auto !important;
  height: auto !important;
  line-height: 1.2 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  font-family: inherit !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
  text-transform: none !important;
  white-space: nowrap !important;
  border-radius: 4px !important;
  background: linear-gradient(135deg, #d9381e 0%, #eb4d2e 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 3px 8px rgba(217, 56, 30, 0.4) !important;
  z-index: 6 !important;
  pointer-events: none !important;
  transition: transform 0.2s ease !important;
}

.kaya-btd-gift-badge .kaya-gift-svg {
  display: inline-block !important;
  flex-shrink: 0 !important;
  fill: #ffffff !important;
  width: 12px !important;
  height: 12px !important;
}

@media (max-width: 768px) {
  .woocommerce ul.products li.product .astra-shop-thumbnail-wrap .kaya-btd-gift-badge,
  .woocommerce-page ul.products li.product .astra-shop-thumbnail-wrap .kaya-btd-gift-badge,
  .astra-shop-thumbnail-wrap .kaya-btd-gift-badge,
  ul.products li.product .kaya-btd-gift-badge,
  .kaya-btd-gift-badge {
    bottom: 8px !important;
    left: 8px !important;
    padding: 3px 7px 3px 5px !important;
    font-size: 10px !important;
    gap: 3.5px !important;
  }
  .kaya-btd-gift-badge .kaya-gift-svg {
    width: 10.5px !important;
    height: 10.5px !important;
  }
}

/* HUY HIỆU QUÀ TẶNG Ở ẢNH CHÍNH TRANG SẢN PHẨM */
.woocommerce-product-gallery__wrapper,
.woocommerce-product-gallery {
  position: relative !important;
}

.woocommerce-product-gallery .kaya-btd-gift-badge,
.woocommerce-product-gallery__wrapper .kaya-btd-gift-badge,
.kaya-btd-gift-badge--single {
  position: absolute !important;
  bottom: 16px !important;
  left: 16px !important;
  top: auto !important;
  right: auto !important;
  margin: 0 !important;
  padding: 6px 12px 6px 10px !important;
  min-height: 0 !important;
  min-width: 0 !important;
  width: auto !important;
  height: auto !important;
  line-height: 1.2 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  font-family: inherit !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
  text-transform: none !important;
  white-space: nowrap !important;
  border-radius: 5px !important;
  background: linear-gradient(135deg, #d9381e 0%, #eb4d2e 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(217, 56, 30, 0.45) !important;
  z-index: 25 !important;
  pointer-events: none !important;
}

.kaya-btd-gift-badge--single .kaya-gift-svg {
  display: inline-block !important;
  flex-shrink: 0 !important;
  fill: #ffffff !important;
  width: 14px !important;
  height: 14px !important;
}

@media (max-width: 768px) {
  .woocommerce-product-gallery .kaya-btd-gift-badge,
  .woocommerce-product-gallery__wrapper .kaya-btd-gift-badge,
  .kaya-btd-gift-badge--single {
    bottom: 12px !important;
    left: 12px !important;
    padding: 5px 9px !important;
    font-size: 11px !important;
    gap: 4px !important;
  }
  .kaya-btd-gift-badge--single .kaya-gift-svg {
    width: 12px !important;
    height: 12px !important;
  }
}

/* ==========================================================================
   KAYA - XỬ LÝ SẢN PHẨM CHƯA CÓ GIÁ CỐ ĐỊNH & MAY ĐO THEO YÊU CẦU
   ========================================================================== */

/* 1. Triệt tiêu khung giá trống nếu không có nội dung */
.single-product div.product p.price:empty,
.woocommerce div.product .summary p.price:empty {
  display: none !important;
}

/* 2. Định dạng chữ "Liên Hệ" khi sản phẩm chưa có giá */
.kaya-price-contact,
.woocommerce div.product .summary p.price .kaya-price-contact,
.woocommerce div.product p.price .kaya-price-contact {
  color: var(--kaya-red, #d9381e) !important;
  font-size: clamp(20px, 2.5vw, 24px) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

/* 3. Khối mô tả đặc tính sản phẩm từ UX Blocks Flatsome */
.kaya-block-desc {
  margin: 12px 0 16px !important;
  padding: 14px 18px !important;
  background: #fbf9f6 !important;
  border-left: 3.5px solid var(--kaya-orange, #FF9E22) !important;
  border-radius: 0 8px 8px 0 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
}

.kaya-block-desc ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.kaya-block-desc ul li {
  position: relative !important;
  padding-left: 22px !important;
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  color: #3f3b35 !important;
}

.kaya-block-desc ul li::before {
  content: "✔" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  color: var(--kaya-orange, #FF9E22) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
}

/* 4. Khối CTA tư vấn & báo giá nhanh cho sản phẩm may đo / chưa có giá online */
.kaya-contact-product-cta {
  margin: 20px 0 24px !important;
  padding: 16px 18px !important;
  background: #fdfaf6 !important;
  border: 1.5px dashed var(--kaya-orange, #FF9E22) !important;
  border-radius: 10px !important;
  box-sizing: border-box !important;
}

.kaya-cpc-notice {
  margin-bottom: 14px !important;
}

.kaya-cpc-badge {
  display: inline-block !important;
  background: var(--kaya-orange, #FF9E22) !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.5px !important;
  padding: 4px 10px !important;
  border-radius: 4px !important;
  margin-bottom: 8px !important;
  text-transform: uppercase !important;
}

.kaya-cpc-notice p {
  margin: 0 !important;
  font-size: 13.5px !important;
  color: #555047 !important;
  line-height: 1.5 !important;
}

.kaya-cpc-buttons {
  display: flex !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

.kaya-cpc-btn {
  flex: 1 1 200px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 12px 18px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: var(--kaya-btn-fontsize, 14px) !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
}

.kaya-cpc-btn-zalo {
  background: #0068ff !important;
  color: #ffffff !important;
  border: 1.5px solid #0054d1 !important;
}

.kaya-cpc-btn-zalo:hover {
  background: #0054d1 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(0, 104, 255, 0.3) !important;
}

.kaya-cpc-btn-zalo img {
  width: 22px !important;
  height: 22px !important;
  display: block !important;
  object-fit: contain !important;
}

.kaya-cpc-btn-phone {
  background: var(--kaya-orange, #FF9E22) !important;
  color: #ffffff !important;
  border: 1.5px solid #e58711 !important;
}

.kaya-cpc-btn-phone:hover {
  background: #e58711 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(255, 158, 34, 0.35) !important;
}

.kaya-cpc-btn-phone svg {
  width: 18px !important;
  height: 18px !important;
  fill: currentColor !important;
  display: block !important;
}

@media (max-width: 600px) {
  .kaya-cpc-buttons {
    flex-direction: column !important;
    gap: 8px !important;
  }
  .kaya-cpc-btn {
    width: 100% !important;
    padding: 11px 14px !important;
    font-size: var(--kaya-btn-fontsize-mobile, 13.5px) !important;
  }
}


/* ==========================================================================
   KHỐI CAM KẾT DỊCH VỤ & CHẤT LƯỢNG (DƯỚI NÚT THÊM VÀO GIỎ / NHẮN ZALO)
   ========================================================================== */
.kaya-product-commitments {
  margin: 20px 0 18px 0;
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid #ebe6df;
  border-radius: 12px;
  box-sizing: border-box;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: all 0.25s ease;
}

.kaya-product-commitments:hover {
  border-color: #ffd8a8;
  box-shadow: 0 4px 14px rgba(255, 158, 34, 0.08);
}

.kaya-product-commitments .kaya-pc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 16px 24px;
  align-items: center;
}

.kaya-product-commitments .kaya-pc-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.kaya-product-commitments .kaya-pc-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FF9E22;
  margin-top: 1px;
}

.kaya-product-commitments .kaya-pc-icon svg {
  width: 22px;
  height: 22px;
  stroke: #FF9E22;
  stroke-width: 2;
  fill: none;
  display: block;
}

.kaya-product-commitments .kaya-pc-content {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.kaya-product-commitments .kaya-pc-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #1f1c18;
  margin-bottom: 2px;
  letter-spacing: -0.1px;
}

.kaya-product-commitments .kaya-pc-sub {
  font-size: 12px;
  font-weight: 400;
  color: #666666;
  line-height: 1.35;
}

/* RESPONSIVE CHO MOBILE */
@media (max-width: 600px) {
  .kaya-product-commitments {
    margin: 0 0 14px 0;
    padding: 12px 14px;
    border-radius: 10px;
  }

  .kaya-product-commitments .kaya-pc-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px 8px;
  }

  .kaya-product-commitments .kaya-pc-item {
    gap: 7px;
  }

  .kaya-product-commitments .kaya-pc-icon {
    width: 20px;
    height: 20px;
    margin-top: 1px;
  }

  .kaya-product-commitments .kaya-pc-icon svg {
    width: 18px;
    height: 18px;
  }

  .kaya-product-commitments .kaya-pc-title {
    font-size: 11.5px;
    line-height: 1.25;
    margin-bottom: 2px;
  }

  .kaya-product-commitments .kaya-pc-sub {
    font-size: 10px;
    line-height: 1.2;
    color: #777777;
  }
}


/* ==========================================================================
   FIX DUPLICATE 16:9 ASPECT-RATIO PADDING ON VIDEO EMBEDS
   ========================================================================== */
.casa-product-extension .wp-has-aspect-ratio .wp-block-embed__wrapper::before,
.kaya-product-extension .wp-has-aspect-ratio .wp-block-embed__wrapper::before,
/* Astra bọc video trong .ast-oembed-container (đã tự giữ 16:9) => bỏ khoảng 16:9 thứ hai của WordPress
   (gây khoảng trắng cao bằng video phía trên video, vd. khối quy trình 900236 / 900233) */
.wp-has-aspect-ratio .wp-block-embed__wrapper:has(> .ast-oembed-container)::before {
  display: none !important;
  content: none !important;
  padding-top: 0 !important;
  height: 0 !important;
}

.casa-product-extension .wp-block-embed,
.kaya-product-extension .wp-block-embed {
  margin: 0 !important;
}

.casa-product-extension .ast-oembed-container,
.kaya-product-extension .ast-oembed-container {
  position: relative !important;
  padding-top: 56.25% !important;
  height: 0 !important;
  overflow: hidden !important;
  width: 100% !important;
}

.casa-product-extension .ast-oembed-container iframe,
.kaya-product-extension .ast-oembed-container iframe {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
}


/* ==========================================================================
   AN TOÀN & YÊU CẦU LẮP ĐẶT (SAFETY & INSTALLATION GUIDE CHUẨN)
   ========================================================================== */
#secSafety .prod-block-badge {
  display: none !important;
}

#secSafety .prod-block-header {
  margin-bottom: 24px !important;
  text-align: center !important;
}

#secSafety .prod-block-title {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  margin: 0 !important;
}

.safety-guide-wrap {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 24px !important;
  margin-top: 16px !important;
}

.guide-box {
  background: #ffffff !important;
  border: 1px solid #e8e4de !important;
  border-radius: 12px !important;
  padding: 24px 28px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02) !important;
  transition: transform 0.25s, box-shadow 0.25s !important;
}

.guide-box:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05) !important;
}

.guide-box h4 {
  font-family: inherit !important;
  font-size: 16.5px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  margin: 0 0 18px 0 !important;
  padding: 0 0 14px 0 !important;
  border: none !important;
  border-top: none !important;
  border-bottom: 1px solid #ece5da !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  line-height: 1.3 !important;
}

.guide-box h4 svg {
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0 !important;
  stroke: var(--kaya-orange, #FF9E22) !important;
  color: var(--kaya-orange, #FF9E22) !important;
  display: inline-block !important;
}

.guide-box ul {
  list-style-type: disc !important;
  padding-left: 20px !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.guide-box ul li {
  font-size: 14px !important;
  line-height: 1.65 !important;
  color: #444444 !important;
}

.guide-box ul li strong {
  color: #1a1a1a !important;
  font-weight: 700 !important;
}

@media (max-width: 768px) {
  .safety-guide-wrap {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .guide-box {
    padding: 20px 22px !important;
  }
}

/* ==========================================================================
   CHỮ DỄ ĐỌC TRÊN ĐIỆN THOẠI (khối cam kết dưới giá, sản phẩm liên quan)
   ========================================================================== */
@media (max-width: 768px) {
  body .kaya-pc-title { font-size: 13px !important; }
  body .kaya-pc-sub { font-size: 12px !important; line-height: 1.45 !important; }
  body .kaya-cpc-badge { font-size: 12px !important; }
  body ul.products li.product .ast-woo-product-category { font-size: 12px !important; }
}
/* ==========================================================================
   LƯỚI ẢNH MÔ TẢ SẢN PHẨM (giống Thư viện ảnh Gutenberg) - inc/product-image-grid.php
   Số cột theo từng sản phẩm (--cols: 2..5); hàng cuối lẻ (--r ảnh) tự giãn kín hàng.
   ========================================================================== */
.kaya-img-grid {
  --cols: 3;
  --gap: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  margin: 14px 0 22px;
}
.kaya-img-grid .kaya-img-grid-item {
  margin: 0 !important;
  flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
  max-width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: #f3efe8;
}
.kaya-img-grid.cols-4 .kaya-img-grid-item,
.kaya-img-grid.cols-5 .kaya-img-grid-item {
  aspect-ratio: 1 / 1;
}
/* Hàng cuối lẻ: chia đều bề ngang cho số ảnh còn lại */
.kaya-img-grid .kaya-img-grid-item.is-last-row {
  flex-basis: calc((100% - (var(--r) - 1) * var(--gap)) / var(--r));
  aspect-ratio: 16 / 10;
}
.kaya-img-grid .kaya-img-grid-item.is-last-row[style*="--r:1"] {
  aspect-ratio: 21 / 9;
}
.kaya-img-grid.cols-4 .kaya-img-grid-item.is-last-row[style*="--r:3"],
.kaya-img-grid.cols-5 .kaya-img-grid-item.is-last-row[style*="--r:3"],
.kaya-img-grid.cols-5 .kaya-img-grid-item.is-last-row[style*="--r:4"] {
  aspect-ratio: 4 / 3;
}
.kaya-img-grid .kaya-img-grid-item a {
  display: block;
  width: 100%;
  height: 100%;
}
.kaya-img-grid .kaya-img-grid-item img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  object-fit: cover;
  border-radius: 0 !important;
  transition: transform 0.35s ease;
}
.kaya-img-grid .kaya-img-grid-item:hover img {
  transform: scale(1.03);
}
/* Điện thoại: luôn 2 cột ảnh vuông, ảnh lẻ cuối cùng rộng hết hàng */
@media (max-width: 600px) {
  .kaya-img-grid {
    --gap: 6px;
  }
  .kaya-img-grid .kaya-img-grid-item,
  .kaya-img-grid .kaya-img-grid-item.is-last-row,
  .kaya-img-grid .kaya-img-grid-item.is-last-row[style*="--r:1"] {
    flex-basis: calc((100% - var(--gap)) / 2);
    aspect-ratio: 1 / 1;
  }
  .kaya-img-grid .kaya-img-grid-item.w2-full,
  .kaya-img-grid .kaya-img-grid-item.is-last-row.w2-full {
    flex-basis: 100%;
    aspect-ratio: 16 / 10;
  }
}
/* Ô VIDEO YOUTUBE trong lưới ảnh mô tả: ảnh bìa + nút ▶, bấm => phát trong khung xem lớn.
   Ảnh bìa có dải đen (video dọc...) => cắt đúng khung hình (--kaya-*) + nền mờ từ chính hình đã cắt */
.kaya-img-grid .kaya-grid-video {
  position: relative;
  background: #111;
}
.kaya-img-grid .kaya-grid-yt {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: pointer;
}
.kaya-img-grid .kaya-grid-video .kaya-yt-crop {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  box-shadow: none;
}
/* Hình thật (đã bỏ dải đen) phủ kín ô giống ảnh thường (object-fit: cover), tính theo kích thước ô */
.kaya-img-grid .kaya-grid-video.is-cropped .kaya-grid-yt {
  container-type: size;
}
.kaya-img-grid .kaya-grid-video.is-cropped .kaya-yt-crop {
  flex: 0 0 auto;
  width: max(100cqw, 100cqh * var(--kaya-ar));
  height: max(100cqh, 100cqw / var(--kaya-ar));
}
.kaya-img-grid .kaya-grid-video .kaya-yt-crop.kaya-yt-blur {
  display: none;
}
.kaya-img-grid .kaya-grid-video.is-cropped .kaya-yt-crop img {
  position: absolute !important;
  left: var(--kaya-ix) !important;
  top: var(--kaya-iy) !important;
  width: var(--kaya-iw) !important;
  height: auto !important;
  object-fit: fill !important;
  cursor: pointer;
}
.kaya-img-grid .kaya-grid-video img {
  cursor: pointer;
}
.kaya-img-grid .kaya-grid-video .kaya-yt-play {
  width: 56px;
  height: 40px;
  margin: -20px 0 0 -28px;
  border-radius: 11px;
}
.kaya-img-grid .kaya-grid-video .kaya-yt-play::after {
  margin: -9px 0 0 -6px;
  border-width: 9px 0 9px 15px;
}
.kaya-img-grid .kaya-grid-yt:hover .kaya-yt-play,
.kaya-img-grid .kaya-grid-yt:focus-visible .kaya-yt-play { transform: scale(1.08); background: #e00000; }
.kaya-img-grid .kaya-grid-yt:focus-visible { outline: 3px solid #f59e0b; outline-offset: -3px; }
@media (max-width: 600px) {
  .kaya-img-grid .kaya-grid-video .kaya-yt-play { width: 44px; height: 31px; margin: -15px 0 0 -22px; border-radius: 9px; }
  .kaya-img-grid .kaya-grid-video .kaya-yt-play::after { margin: -7px 0 0 -4px; border-width: 7px 0 7px 12px; }
}
/* Video trong khung xem lớn */
.kaya-lb-frame {
  display: block;
  width: min(100%, calc((100vh - 140px) * 16 / 9));
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 6px;
  background: #000;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.kaya-lb-frame.is-vertical {
  width: min(100%, calc((100vh - 140px) * 9 / 16));
  aspect-ratio: 9 / 16;
}
.kaya-lb-img[hidden] { display: none; }
/* XEM ẢNH LỚN (lightbox) cho lưới ảnh mô tả */
.kaya-img-grid .kaya-img-grid-item img {
  cursor: zoom-in;
}
.kaya-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000010;
  background: rgba(12, 12, 10, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
}
.kaya-lightbox[hidden] {
  display: none;
}
html.kaya-lb-lock,
html.kaya-lb-lock body {
  overflow: hidden;
}
.kaya-lb-stage {
  margin: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 56px 72px 64px;
  box-sizing: border-box;
}
.kaya-lb-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transition: opacity 0.2s ease;
}
.kaya-lb-img.is-loading {
  opacity: 0.35;
}
.kaya-lb-cap {
  margin-top: 10px;
  color: #d6d1c7;
  font-size: 13.5px;
  text-align: center;
  max-width: 90%;
}
.kaya-lb-close,
.kaya-lb-prev,
.kaya-lb-next {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
  transition: background-color 0.2s ease;
}
.kaya-lb-close:hover,
.kaya-lb-prev:hover,
.kaya-lb-next:hover {
  background: #FF9E22;
}
.kaya-lb-close {
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  font-size: 28px;
}
.kaya-lb-prev,
.kaya-lb-next {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  font-size: 34px;
  padding-bottom: 4px;
}
.kaya-lb-prev {
  left: 14px;
}
.kaya-lb-next {
  right: 14px;
}
.kaya-lb-count {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
@media (max-width: 600px) {
  .kaya-lb-stage {
    padding: 60px 8px 70px;
  }
  .kaya-lb-prev,
  .kaya-lb-next {
    top: auto;
    bottom: 14px;
    transform: none;
    width: 44px;
    height: 44px;
  }
  .kaya-lb-prev {
    left: calc(50% - 60px);
  }
  .kaya-lb-next {
    right: calc(50% - 60px);
  }
}

/* XEM ẢNH KIỂU SHOPEE (chỉ khung ảnh chính) */
.kaya-img-grid .kaya-img-grid-item img,
.woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image {
  cursor: zoom-in;
}
.kaya-gv {
  position: fixed;
  inset: 0;
  z-index: 100000010;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.kaya-gv[hidden] {
  display: none;
}
html.kaya-gv-lock,
html.kaya-gv-lock body {
  overflow: hidden;
}
.kaya-gv-panel {
  position: relative;
  display: flex;
  width: min(1080px, 100%);
  height: min(680px, 100%);
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
}
.kaya-gv-main {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f6f4f0;
}
.kaya-gv-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity 0.2s ease;
}
.kaya-gv-img.is-loading {
  opacity: 0.35;
}
.kaya-gv-prev,
.kaya-gv-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 64px;
  border: none;
  background: rgba(0, 0, 0, 0.28);
  color: #ffffff;
  font-family: inherit;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.kaya-gv-prev { left: 0; border-radius: 0 6px 6px 0; }
.kaya-gv-next { right: 0; border-radius: 6px 0 0 6px; }
.kaya-gv-prev:hover,
.kaya-gv-next:hover {
  background: #FF9E22;
}
.kaya-gv-count {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.55);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
}
.kaya-gv-side {
  width: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  padding: 20px 16px 16px;
  border-left: 1px solid #ece7df;
}
.kaya-gv-title {
  margin: 0 28px 14px 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #1f1c18;
}
.kaya-gv-thumbs {
  flex: 1;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  align-content: start;
}
.kaya-gv-thumb {
  padding: 0;
  aspect-ratio: 1 / 1;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  background: #f3efe8;
  cursor: pointer;
}
.kaya-gv-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.kaya-gv-thumb.is-on {
  border-color: #FF9E22;
}
.kaya-gv-thumb:hover {
  border-color: #ffc27a;
}
.kaya-gv-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #f3efe8;
  color: #1f1c18;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}
.kaya-gv-close:hover {
  background: #FF9E22;
  color: #ffffff;
}
/* Điện thoại: toàn màn hình, dải ảnh nhỏ cuộn ngang ở dưới */
@media (max-width: 768px) {
  .kaya-gv {
    padding: 0;
    background: #000000;
  }
  .kaya-gv-panel {
    width: 100%;
    height: 100%;
    border-radius: 0;
    flex-direction: column;
    background: #000000;
  }
  .kaya-gv-main {
    background: #000000;
  }
  .kaya-gv-prev,
  .kaya-gv-next {
    width: 38px;
    height: 52px;
    font-size: 28px;
  }
  .kaya-gv-count {
    top: 14px;
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
  }
  .kaya-gv-side {
    width: 100%;
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom, 0px));
    border-left: none;
    background: #111111;
  }
  .kaya-gv-title {
    display: none;
  }
  .kaya-gv-thumbs {
    flex: none;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
  }
  .kaya-gv-thumbs::-webkit-scrollbar {
    display: none;
  }
  .kaya-gv-thumb {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
  }
  .kaya-gv-close {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
  }
}
/* ==========================================================================
   VIDEO YOUTUBE ĐẦU KHUNG ẢNH (inc/product-video.php)
   Khung vuông như ảnh sản phẩm; nền = ảnh bìa làm mờ; bấm => phát video.
   ========================================================================== */
.woocommerce-product-gallery .kaya-video-slide {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #111;
  overflow: hidden;
}
.kaya-video-slide .kaya-yt {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #111;
  cursor: pointer;
  overflow: hidden;
}
.kaya-video-slide .kaya-yt[hidden] { display: none; }
.kaya-video-slide .kaya-yt::before {
  content: "";
  position: absolute;
  inset: -40px;
  background: var(--kaya-yt-bg) center / cover no-repeat;
  filter: blur(24px) brightness(.55);
}
/* Khung cắt ảnh bìa: video ngang 16:9 (bỏ dải đen trên/dưới của ảnh 4:3) */
.kaya-yt-crop {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.woocommerce-product-gallery .kaya-yt-crop img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
/* Ảnh bìa có dải đen (video dọc, 4:3...): máy chủ đo khung hình thật và gửi
   --kaya-ar (tỉ lệ khung), --kaya-iw/--kaya-ix/--kaya-iy (phóng + dịch ảnh) */
.kaya-video-slide.is-cropped .kaya-yt-crop {
  aspect-ratio: var(--kaya-ar);
}
.kaya-video-slide.is-vertical .kaya-yt-crop {
  width: auto;
  height: 100%;
}
/* Nền mờ: dùng chính phần hình đã cắt, phóng phủ kín khung (không dùng ảnh gốc có dải đen) */
.kaya-video-slide.is-cropped .kaya-yt::before { display: none; }
.kaya-video-slide.is-cropped .kaya-yt-crop.kaya-yt-blur {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 115%;
  height: auto;
  transform: translate(-50%, -50%);
  filter: blur(24px) brightness(.6);
  box-shadow: none;
}
.kaya-video-slide.is-cropped:not(.is-vertical) .kaya-yt-crop.kaya-yt-blur {
  width: auto;
  height: 115%;
}
/* !important: thắng quy tắc "ảnh trong khung ảnh sản phẩm luôn rộng 100%" ở trên */
.woocommerce-product-gallery .is-cropped .kaya-yt-crop img,
.woocommerce div.product div.images .ast-woocommerce-product-gallery__image.is-cropped .kaya-yt-crop img {
  position: absolute !important;
  left: var(--kaya-ix) !important;
  top: var(--kaya-iy) !important;
  width: var(--kaya-iw) !important;
  max-width: none !important;
  height: auto !important;
  object-fit: fill !important;
}
.kaya-yt-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 50px;
  margin: -25px 0 0 -36px;
  border-radius: 14px;
  background: #ff0000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
  transition: transform .15s ease, background-color .15s ease;
  pointer-events: none;
}
.kaya-yt-play::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -11px 0 0 -7px;
  border-style: solid;
  border-width: 11px 0 11px 19px;
  border-color: transparent transparent transparent #fff;
}
.kaya-yt:hover .kaya-yt-play,
.kaya-yt:focus-visible .kaya-yt-play { transform: scale(1.08); background: #e00000; }
.kaya-yt:focus-visible { outline: 3px solid #f59e0b; outline-offset: -3px; }
.kaya-video-slide .kaya-yt-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}
/* Ảnh nhỏ của video trong dải ảnh nhỏ */
.ast-single-product-thumbnails .kaya-video-thumb {
  position: relative;
  background: #111;
}
.ast-single-product-thumbnails .kaya-video-thumb .kaya-yt-crop {
  aspect-ratio: 1 / 1;
  box-shadow: none;
}
.kaya-video-thumb .kaya-yt-play {
  width: 34px;
  height: 24px;
  margin: -12px 0 0 -17px;
  border-radius: 7px;
}
.kaya-video-thumb .kaya-yt-play::after {
  margin: -6px 0 0 -4px;
  border-width: 6px 0 6px 10px;
}
@media (max-width: 600px) {
  .kaya-yt-play { width: 60px; height: 42px; margin: -21px 0 0 -30px; border-radius: 12px; }
}
/* ==========================================================================
   BREADCRUMB TRANG CHI TIẾT: 1 hàng riêng phía trên ảnh + thông tin
   (inc/woocommerce-custom.php mục 6b). Điện thoại: 1 dòng, vuốt ngang nếu dài.
   ========================================================================== */
/* Cùng khung với div.product (max 1500px, đệm 20px) để thẳng hàng với ảnh + thông tin */
.kaya-product-crumbs {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 20px 20px 0;
  box-sizing: border-box;
}
.woocommerce .kaya-product-crumbs nav.woocommerce-breadcrumb {
  margin: 0 !important;
}
.woocommerce .kaya-product-crumbs + div.product {
  padding-top: 16px;
}
@media (max-width: 767px) {
  .kaya-product-crumbs {
    padding: 12px 5px 0; /* điện thoại: div.product đệm 5px */
  }
  .woocommerce .kaya-product-crumbs + div.product {
    padding-top: 10px;
  }
  .woocommerce .kaya-product-crumbs nav.woocommerce-breadcrumb {
    flex-wrap: nowrap !important;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .woocommerce .kaya-product-crumbs nav.woocommerce-breadcrumb::-webkit-scrollbar {
    display: none;
  }
  .kaya-product-crumbs .kaya-crumb-item,
  .kaya-product-crumbs .kaya-crumb-sep {
    flex-shrink: 0;
  }
}
/* ==========================================================================
   ẢNH ĐÁNH GIÁ (inc/product-review-photos.php)
   ========================================================================== */
.kaya-rv-upload {
  margin: 14px 0 6px;
  padding: 14px;
  border: 1px dashed #e0d6c8;
  border-radius: 10px;
  background: #fffaf3;
}
.kaya-rv-label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}
.kaya-rv-label span {
  font-weight: 400;
  color: #777;
  font-size: 13px;
}
.kaya-rv-upload input[type="file"] {
  max-width: 100%;
  font-size: 14px;
}
.kaya-rv-previews {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.kaya-rv-previews[data-status]::before {
  content: attr(data-status);
  font-size: 13px;
  color: #b26b00;
}
.kaya-rv-prev {
  position: relative;
  width: 76px;
  height: 76px;
}
.kaya-rv-prev img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e6dfd5;
}
.kaya-rv-del {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #222;
  color: #fff;
  font-size: 16px;
  line-height: 26px;
  cursor: pointer;
}
.kaya-rv-max {
  width: 100%;
  margin: 0;
  font-size: 13px;
  color: #777;
}
.kaya-rv-note {
  margin: 8px 0 0;
  font-size: 12.5px;
  color: #777;
}
/* Ô bẫy chống bot: ẩn khỏi người dùng */
.kaya-rv-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* Lưới ảnh dưới mỗi đánh giá */
.kaya-rv-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 4px;
}
.kaya-rv-gallery .kaya-rv-ph {
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #ece5da;
}
.kaya-rv-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform .2s ease;
}
.kaya-rv-gallery .kaya-rv-ph:hover img { transform: scale(1.05); }
@media (max-width: 600px) {
  .kaya-rv-gallery .kaya-rv-ph { width: 80px; height: 80px; }
}
/* ==========================================================================
   KHỐI ĐÁNH GIÁ dưới mô tả + POPUP viết đánh giá (inc/product-reviews-section.php)
   ========================================================================== */
.kaya-reviews {
  max-width: 1460px;
  margin: 28px auto 8px;
  padding: 24px;
  background: #fff;
  border: 1px solid #ece5da;
  border-radius: 14px;
  box-sizing: border-box;
}
.kaya-reviews-title {
  margin: 0 0 18px;
  font-size: 22px;
  line-height: 1.35;
}
.kaya-rv-summary {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 220px;
  gap: 24px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 12px;
  background: #fffaf3;
  border: 1px solid #f3e6d3;
}
.kaya-rv-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.kaya-rv-avg {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  color: #1c1a17;
}
.kaya-rv-avg small {
  font-size: 18px;
  font-weight: 600;
  color: #8a8174;
}
.kaya-rv-score .star-rating { margin: 0 auto; float: none; }
.kaya-rv-empty-stars {
  color: #d9d2c6;
  letter-spacing: 3px;
  font-size: 18px;
}
.kaya-rv-total { font-size: 14px; color: #6b6458; }
.kaya-rv-bars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.kaya-rv-bars li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 14px;
}
.kaya-rv-bar-label span { color: #f5a524; }
.kaya-rv-bar {
  display: block;
  height: 8px;
  border-radius: 8px;
  background: #ece5da;
  overflow: hidden;
}
.kaya-rv-bar > span {
  display: block;
  height: 100%;
  background: #f5a524;
  border-radius: 8px;
}
.kaya-rv-bar-pct { color: #6b6458; text-align: right; }
.kaya-rv-cta { text-align: center; }
.kaya-rv-cta p { margin: 0 0 10px; font-size: 14px; color: #6b6458; }
.kaya-rv-open,
.kaya-rv-open-nojs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 28px;
  border: 0;
  border-radius: 10px;
  background: #ff9e22;
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
}
.kaya-rv-open[hidden], .kaya-rv-open-nojs[hidden] { display: none; }
.kaya-rv-open:hover { background: #f08a00; }

/* Danh sách đánh giá */
.kaya-rv-list { margin-top: 18px; }
.kaya-reviews .woocommerce-Reviews-title {
  font-size: 17px;
  margin: 0 0 12px;
}
.kaya-reviews .commentlist { margin: 0; padding: 0; list-style: none; }
.kaya-reviews .commentlist > li {
  padding: 16px 0;
  border-bottom: 1px solid #f0ebe3;
  margin: 0;
}
.kaya-reviews .woocommerce-noreviews { color: #6b6458; margin: 6px 0 0; }

/* Popup */
html.kaya-rv-lock, html.kaya-rv-lock body { overflow: hidden; }
.kaya-rv-modal {
  position: fixed;
  inset: 0;
  z-index: 100000005;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(20, 18, 15, .55);
}
.kaya-rv-modal[hidden] { display: none; }
.kaya-rv-modal-box {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 22px 24px 24px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
  box-sizing: border-box;
}
.kaya-rv-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f3efe9;
  color: #333;
  font-size: 24px;
  line-height: 40px;
  cursor: pointer;
}
.kaya-rv-modal-title { margin: 0 44px 12px 0; font-size: 20px; }
.kaya-rv-modal-product {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid #f0ebe3;
}
.kaya-rv-modal-product img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #eee;
}
.kaya-rv-modal-product strong { font-size: 15px; line-height: 1.4; }
.kaya-rv-modal #reply-title { display: none; }
.kaya-rv-modal #review_form_wrapper,
.kaya-rv-modal #review_form { margin: 0; padding: 0; border: 0; box-shadow: none; background: none; }
.kaya-rv-modal .comment-form-rating { margin: 8px 0 4px; }
.kaya-rv-modal p.stars a { font-size: 26px; }
.kaya-rv-modal textarea { min-height: 110px; }
.kaya-rv-modal .form-submit input[type="submit"],
.kaya-rv-modal .form-submit button {
  width: 100%;
  min-height: 48px;
  border-radius: 10px;
  background: #ff9e22;
  border: 0;
  color: #fff;
  font-weight: 700;
}

@media (max-width: 921px) {
  .kaya-rv-summary { grid-template-columns: 150px minmax(0, 1fr); }
  .kaya-rv-cta { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .kaya-reviews { padding: 16px 12px; border-radius: 10px; margin-top: 18px; }
  .kaya-reviews-title { font-size: 18px; }
  .kaya-rv-summary { grid-template-columns: 1fr; gap: 14px; padding: 14px; }
  .kaya-rv-open { width: 100%; }
  /* Popup kiểu trượt từ dưới lên trên điện thoại */
  .kaya-rv-modal { align-items: flex-end; padding: 0; }
  .kaya-rv-modal-box {
    max-width: none;
    max-height: 92vh;
    border-radius: 16px 16px 0 0;
    padding: 18px 16px 24px;
  }
}/* Đánh giá: bỏ thụt lề (không còn ảnh đại diện), bố cục gọn kiểu ĐMX */
.kaya-reviews .commentlist .comment_container { display: block; }
.kaya-reviews .commentlist .comment-text {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
.kaya-reviews .commentlist .comment-text .meta {
  margin: 0 0 4px;
  font-size: 13px;
  color: #8a8174;
}
.kaya-reviews .commentlist .woocommerce-review__author {
  font-size: 15px;
  color: #1c1a17;
}
.kaya-reviews .commentlist .review-rating .star-rating {
  float: none;
  margin: 0 0 6px;
  font-size: 13px;
}
.kaya-reviews .commentlist .description p { margin: 0 0 4px; }/* Ảnh khách gửi luôn nằm dưới nội dung đánh giá (theme sắp xếp .comment-text bằng flex + order) */
.kaya-reviews .comment-text .kaya-rv-gallery { order: 10; flex-basis: 100%; width: 100%; }
/* ==========================================================================
   POPUP ĐÁNH GIÁ KIỂU ĐIỆN MÁY XANH: chọn sao trước, sau đó mới hiện các ô
   ========================================================================== */
.kaya-rv-modal-box { max-width: 680px; padding: 0 28px 24px; }
.kaya-rv-modal-title {
  margin: 0 -28px 18px;
  padding: 18px 56px;
  text-align: center;
  font-size: 18px;
  border-bottom: 1px solid #eee7dd;
}
.kaya-rv-close { top: 9px; right: 12px; background: transparent; font-size: 30px; color: #444; }
.kaya-rv-close:hover { background: #f3efe9; }
.kaya-rv-modal-product {
  flex-direction: column;
  justify-content: center;
  text-align: center;
  border: 0;
  padding: 0;
  margin: 0 0 14px;
}
.kaya-rv-modal-product img { width: 110px; height: 110px; object-fit: contain; border: 0; }
.kaya-rv-modal-product strong { font-size: 18px; }

/* Sao */
.kaya-rv-rating { margin: 0 0 6px !important; }
.kaya-rv-rating select#rating,
.kaya-rv-rating p.stars { display: none !important; }
.kaya-stars { display: flex; justify-content: center; gap: 18px; }
.kaya-star {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 56px;
  padding: 4px 0;
  border: 0;
  background: none !important;
  box-shadow: none !important;
  cursor: pointer;
  color: #6b6458;
}
.kaya-star svg { fill: #ddd6cb; transition: transform .12s ease, fill .12s ease; }
.kaya-star.is-on svg { fill: #ffa41b; }
.kaya-star:hover svg { transform: scale(1.1); }
.kaya-star span { font-size: 14px; line-height: 1.2; }
.kaya-star.is-current span { color: #ff8a00; font-weight: 700; }
.kaya-star:focus-visible { outline: 2px solid #ff9e22; outline-offset: 2px; border-radius: 8px; }

/* Các ô còn lại: ẩn cho tới khi chọn sao */
.kaya-rv-modal #review_form_wrapper .kaya-rv-more { display: none; } /* chỉ ẩn khi form nằm trong popup (có JS) */
.kaya-rv-modal #review_form_wrapper.is-rated .kaya-rv-more { display: block; }
.kaya-rv-modal #review_form_wrapper.is-rated .kaya-rv-person, .kaya-rv-person { display: grid; }
.kaya-rv-modal .comment-form-comment { margin: 14px 0 10px; }
.kaya-rv-modal textarea#comment {
  width: 100%;
  min-height: 110px;
  padding: 12px 14px;
  border: 1px solid #e3ddd3;
  border-radius: 12px;
  font-size: 15px;
  box-sizing: border-box;
}
.kaya-rv-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px 16px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.kaya-rv-check {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.45;
  cursor: pointer;
}
.kaya-rv-check input { width: 18px; height: 18px; margin: 1px 0 0; flex-shrink: 0; }
.kaya-rv-photo-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d97a00;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.kaya-rv-photo-link small { font-weight: 400; color: #6b6458; font-size: 13px; }
.kaya-rv-photo-link:hover span { text-decoration: underline; }
.kaya-rv-file {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}
.kaya-rv-person {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 14px 0 10px;
}
.kaya-rv-person p { margin: 0; }
.kaya-rv-person input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid #e3ddd3;
  border-radius: 10px;
  font-size: 15px;
  box-sizing: border-box;
}
.kaya-rv-person input.is-invalid { border-color: #e5484d; }
.kaya-rv-consent { margin: 0 0 14px; }
.kaya-rv-consent a { color: #d97a00; }
.kaya-rv-modal .form-submit { margin: 0; }
.kaya-rv-modal .form-submit input[type="submit"] {
  width: 100%;
  min-height: 50px;
  border-radius: 12px;
  font-size: 16px;
}
.kaya-rv-modal .form-submit input[type="submit"]:disabled {
  background: #ffd9a8 !important;
  cursor: not-allowed;
}
.kaya-rv-foot { margin: 10px 0 0; text-align: center; font-size: 13px; color: #8a8174; }
.kaya-rv-modal #review_form_wrapper.is-rated .kaya-rv-foot { display: block; }

@media (max-width: 600px) {
  .kaya-rv-modal-box { padding: 0 16px 20px; }
  .kaya-rv-modal-title { margin: 0 -16px 14px; }
  .kaya-stars { gap: 4px; justify-content: space-between; }
  .kaya-star { min-width: 0; flex: 1; }
  .kaya-star svg { width: 34px; height: 34px; }
  .kaya-star span { font-size: 12.5px; }
  .kaya-rv-person { grid-template-columns: 1fr; }
  .kaya-rv-modal-product img { width: 90px; height: 90px; }
  .kaya-rv-modal-product strong { font-size: 16px; }
}
/* "Sẽ giới thiệu" trong danh sách đánh giá */
.kaya-rv-source {
  order: 9;
  flex-basis: 100%;
  margin: 4px 0 0;
  font-size: 12px;
  color: #0068ff;
}
.kaya-rv-recommend {
  order: 9;
  flex-basis: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0 0;
  font-size: 13px;
  color: #2e9e5b;
}/* Dòng ghi chú + ô lưu thông tin trong popup đánh giá */
.kaya-rv-notes {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 12px 0 0;
  padding: 9px 12px;
  border-radius: 10px;
  background: #f1f8f3;
  border: 1px solid #d6ecdd;
  font-size: 13.5px;
  line-height: 1.45;
  color: #4a453d;
}
.kaya-rv-notes strong { color: #1f7a45; font-weight: 700; }
.kaya-rv-lock { flex-shrink: 0; margin-top: 1px; color: #1f7a45; }
.kaya-rv-notes .required, .kaya-rv-consent .required { color: #e5484d; }
.kaya-rv-modal .comment-form-cookies-consent { margin: -6px 0 14px; }
.kaya-rv-modal .comment-form-cookies-consent .kaya-rv-check { font-size: 13.5px; color: #4a453d; }
/* ==========================================================================
   LANDING BÁN HÀNG TRONG MÔ TẢ SẢN PHẨM (.kaya-lp-*)
   Nội dung viết trong ô Mô tả (HTML có class sẵn), CSS ở đây. Mẫu đầu: GT013.
   ========================================================================== */
.woocommerce-Tabs-panel--description .kaya-lp-sec {
  margin: 0 0 44px;
  color: #3f3b35;
  font-size: 15px;
  line-height: 1.65;
}
.woocommerce-Tabs-panel--description .kaya-lp-sec > p { margin: 0 0 14px; }
.woocommerce-Tabs-panel--description .kaya-lp-sec h2 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--kaya-ink, #1f1c18);
}
.woocommerce-Tabs-panel--description .kaya-lp-sec h3 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--kaya-ink, #1f1c18);
}

/* Mở đầu */
.woocommerce-Tabs-panel--description .kaya-lp-hero {
  padding: 30px 32px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff7ec 0%, #faf8f5 60%);
  border: 1px solid #f3e4cc;
}
.woocommerce-Tabs-panel--description .kaya-lp-kicker {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #d97e06;
}
.woocommerce-Tabs-panel--description .kaya-lp-hero h2 { font-size: 28px; max-width: 760px; }
.woocommerce-Tabs-panel--description .kaya-lp-lead { max-width: 760px; font-size: 16px; }
.woocommerce-Tabs-panel--description .kaya-lp-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 24px;
}
.woocommerce-Tabs-panel--description .kaya-lp-stat {
  padding: 14px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--kaya-stone, #e8e3dc);
  text-align: center;
  line-height: 1.35;
}
.woocommerce-Tabs-panel--description .kaya-lp-stat strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--kaya-orange, #FF9E22);
}
.woocommerce-Tabs-panel--description .kaya-lp-stat span { font-size: 13.5px; color: #5b554c; }
.woocommerce-Tabs-panel--description .kaya-lp-stat p { margin: 0; }

/* Nút */
.woocommerce-Tabs-panel--description .kaya-lp-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}
.woocommerce-Tabs-panel--description a.kaya-lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: var(--kaya-orange, #FF9E22);
  transition: background .2s ease, transform .2s ease;
}
.woocommerce-Tabs-panel--description a.kaya-lp-btn:hover { background: var(--kaya-orange-hover, #e58711); color: #fff; transform: translateY(-1px); }
.woocommerce-Tabs-panel--description a.kaya-lp-btn--zalo { background: #0068ff; }
.woocommerce-Tabs-panel--description a.kaya-lp-btn--zalo:hover { background: #0057d6; }
.woocommerce-Tabs-panel--description a.kaya-lp-btn--call { background: #fff; color: var(--kaya-ink, #1f1c18); }
.woocommerce-Tabs-panel--description a.kaya-lp-btn--call:hover { background: #fff3e2; color: var(--kaya-ink, #1f1c18); }

/* Thẻ lợi ích */
.woocommerce-Tabs-panel--description .kaya-lp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
  counter-reset: kaya-lp;
}
.woocommerce-Tabs-panel--description .kaya-lp-card {
  position: relative;
  padding: 20px 20px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--kaya-stone, #e8e3dc);
  counter-increment: kaya-lp;
}
.woocommerce-Tabs-panel--description .kaya-lp-card::before {
  content: counter(kaya-lp, decimal-leading-zero);
  display: flex; /* số luôn nằm 1 dòng riêng, kể cả thẻ không có tiêu đề h3 */
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: #fff3e2;
  color: #d97e06;
  font-weight: 800;
  font-size: 14px;
}
.woocommerce-Tabs-panel--description .kaya-lp-card p { margin: 0; font-size: 14.5px; }

/* Màu sắc */
.woocommerce-Tabs-panel--description .kaya-lp-colors {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.woocommerce-Tabs-panel--description .kaya-lp-color { margin: 0; text-align: center; }
.woocommerce-Tabs-panel--description .kaya-lp-color p { margin: 0; }
.woocommerce-Tabs-panel--description .kaya-lp-color img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--kaya-stone, #e8e3dc);
}
.woocommerce-Tabs-panel--description .kaya-lp-color figcaption {
  margin-top: 8px;
  font-weight: 700;
  font-size: 15px;
  color: var(--kaya-ink, #1f1c18);
}

/* Bảng thông số */
.woocommerce-Tabs-panel--description table.kaya-lp-specs {
  width: 100%;
  margin: 14px 0 0;
  border: 1px solid var(--kaya-stone, #e8e3dc);
  border-radius: 12px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  font-size: 14.5px;
}
.woocommerce-Tabs-panel--description table.kaya-lp-specs th,
.woocommerce-Tabs-panel--description table.kaya-lp-specs td {
  padding: 11px 16px;
  border: 0;
  border-top: 1px solid var(--kaya-stone, #e8e3dc);
  text-align: left;
  vertical-align: top;
}
.woocommerce-Tabs-panel--description table.kaya-lp-specs tr:first-child th,
.woocommerce-Tabs-panel--description table.kaya-lp-specs tr:first-child td { border-top: 0; }
.woocommerce-Tabs-panel--description table.kaya-lp-specs th {
  width: 34%;
  background: #faf8f5;
  font-weight: 600;
  color: #5b554c;
}
.woocommerce-Tabs-panel--description table.kaya-lp-specs td { background: #fff; color: var(--kaya-ink, #1f1c18); }

/* Lưu ý an toàn */
.woocommerce-Tabs-panel--description .kaya-lp-note {
  margin-top: 22px;
  padding: 16px 20px;
  border-radius: 12px;
  background: #fffaf0;
  border: 1px solid #f6dfb5;
  border-left: 4px solid var(--kaya-orange, #FF9E22);
}
.woocommerce-Tabs-panel--description .kaya-lp-note ul { margin-bottom: 0 !important; }

/* Hỏi đáp */
.woocommerce-Tabs-panel--description .kaya-lp-faq details {
  margin: 0 0 10px;
  border: 1px solid var(--kaya-stone, #e8e3dc);
  border-radius: 12px;
  background: #fff;
}
.woocommerce-Tabs-panel--description .kaya-lp-faq summary {
  position: relative;
  padding: 14px 48px 14px 18px;
  font-weight: 700;
  font-size: 15px;
  color: var(--kaya-ink, #1f1c18);
  cursor: pointer;
  list-style: none;
}
.woocommerce-Tabs-panel--description .kaya-lp-faq summary::-webkit-details-marker { display: none; }
.woocommerce-Tabs-panel--description .kaya-lp-faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: #d97e06;
}
.woocommerce-Tabs-panel--description .kaya-lp-faq details[open] summary::after { content: "\2212"; }
.woocommerce-Tabs-panel--description .kaya-lp-faq details p { margin: 0; padding: 0 18px 16px; }

/* Lời mời cuối */
.woocommerce-Tabs-panel--description .kaya-lp-final {
  padding: 30px 32px;
  border-radius: 16px;
  background: var(--kaya-ink, #1f1c18);
  color: #e9e4dc;
}
.woocommerce-Tabs-panel--description .kaya-lp-final h2 { color: #fff; }

@media (max-width: 921px) {
  .woocommerce-Tabs-panel--description .kaya-lp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .woocommerce-Tabs-panel--description .kaya-lp-sec { margin-bottom: 34px; }
  .woocommerce-Tabs-panel--description .kaya-lp-sec h2 { font-size: 21px; }
  .woocommerce-Tabs-panel--description .kaya-lp-hero,
  .woocommerce-Tabs-panel--description .kaya-lp-final { padding: 22px 18px; }
  .woocommerce-Tabs-panel--description .kaya-lp-hero h2 { font-size: 23px; }
  .woocommerce-Tabs-panel--description .kaya-lp-stats,
  .woocommerce-Tabs-panel--description .kaya-lp-colors { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .woocommerce-Tabs-panel--description .kaya-lp-grid { grid-template-columns: 1fr; gap: 12px; }
  .woocommerce-Tabs-panel--description .kaya-lp-cta a.kaya-lp-btn { flex: 1 1 100%; }
  .woocommerce-Tabs-panel--description table.kaya-lp-specs th,
  .woocommerce-Tabs-panel--description table.kaya-lp-specs td { padding: 10px 12px; font-size: 14px; }
}

/* ==========================================================================
   THƯỜNG MUA CÙNG (inc/product-bundle.php) – dưới nút Thêm vào giỏ / Zalo
   ========================================================================== */
.kaya-fbt {
  flex-basis: 100%;
  width: 100%;
  margin: 18px 0 4px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #ebe6df;
  border-radius: 12px;
  box-sizing: border-box;
}
.kaya-fbt [hidden] { display: none !important; }
.kaya-fbt .kaya-fbt-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: #1f1c18;
}
.kaya-fbt .kaya-fbt-list {
  list-style: none !important;
  margin: 0;
  padding: 0;
}
.kaya-fbt .kaya-fbt-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 0;
  border-top: 1px dashed #ebe6df;
}
.kaya-fbt .kaya-fbt-item::before { content: none !important; }
.kaya-fbt .kaya-fbt-item--main { border-top: 0; padding-top: 2px; }
.kaya-fbt .kaya-fbt-check {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: #ff9e22;
  cursor: pointer;
}
.kaya-fbt .kaya-fbt-tick {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: #ff9e22 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 15px no-repeat;
  opacity: .55;
}
.kaya-fbt .kaya-fbt-thumb {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #faf8f5;
  cursor: pointer;
}
.kaya-fbt .kaya-fbt-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.kaya-fbt .kaya-fbt-info {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}
.kaya-fbt .kaya-fbt-name {
  font-size: 14px;
  font-weight: 600;
  color: #1f1c18;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.kaya-fbt a.kaya-fbt-name:hover { color: #ff9e22; }
.kaya-fbt .kaya-fbt-sub { font-size: 12px; color: #888; }
.kaya-fbt .kaya-fbt-price {
  font-size: 14px;
  font-weight: 700;
  color: #e65100;
}
.kaya-fbt .kaya-fbt-price--main { flex: 0 0 auto; white-space: nowrap; }
.kaya-fbt .kaya-fbt-qty {
  flex: 0 0 58px;
  width: 58px;
  height: 36px;
  min-height: 36px;
  margin: 0;
  padding: 0 6px;
  font-size: 14px;
  border: 1px solid #ddd5ca;
  border-radius: 8px;
  background-color: #fff;
}
.kaya-fbt .kaya-fbt-item:not(.is-checked):not(.kaya-fbt-item--main) .kaya-fbt-thumb,
.kaya-fbt .kaya-fbt-item:not(.is-checked):not(.kaya-fbt-item--main) .kaya-fbt-info { opacity: .75; }
.kaya-fbt .kaya-fbt-foot {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid #ebe6df;
}
.kaya-fbt .kaya-fbt-total {
  margin: 0;
  font-size: 15px;
  color: #1f1c18;
}
.kaya-fbt .kaya-fbt-sum { font-size: 18px; color: #e65100; }
.kaya-fbt .kaya-fbt-count { font-size: 13px; color: #888; }
.kaya-fbt .kaya-fbt-btn {
  display: block;
  width: 100%;
  min-height: 46px;
  margin: 10px 0 0;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: #ff9e22;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
.kaya-fbt .kaya-fbt-btn:hover { background: #f08a00; }
.kaya-fbt .kaya-fbt-hint {
  margin: 8px 0 0;
  font-size: 12.5px;
  color: #888;
}
@media (max-width: 600px) {
  .kaya-fbt { padding: 12px; }
  .kaya-fbt .kaya-fbt-item { gap: 8px; }
  .kaya-fbt .kaya-fbt-thumb { flex-basis: 48px; width: 48px; height: 48px; }
  .kaya-fbt .kaya-fbt-name { font-size: 13.5px; }
}

/* ==========================================================================
   BỐ CỤC LAI ĐMX + KAYA (inc/product-hybrid-layout.php) – chỉ SP có landing
   ========================================================================== */
/* Vùng 2: dải 4 điểm chính */
.kaya-pd-keys { clear: both; margin: 6px 0 30px; }
.kaya-pd-keys .kaya-lp-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid #f3e4cc;
  border-radius: 14px;
  background: #fffaf3;
  overflow: hidden;
}
.kaya-pd-keys .kaya-lp-stat {
  padding: 16px 12px;
  text-align: center;
  line-height: 1.35;
  border-left: 1px solid #f3e4cc;
}
.kaya-pd-keys .kaya-lp-stat:first-child { border-left: 0; }
.kaya-pd-keys .kaya-lp-stat p { margin: 0; }
.kaya-pd-keys .kaya-lp-stat strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: #e58711;
}
.kaya-pd-keys .kaya-lp-stat span { font-size: 13.5px; color: #5b554c; }

/* Link "Xem thông số kỹ thuật" dưới giá */
.kaya-pd-specs-link { margin: 4px 0 12px; font-size: 14px; }
.kaya-pd-specs-link a { color: #d97e06; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.kaya-pd-specs-link a::after { content: " \2193"; }

/* Bảng thông số toàn chiều ngang, 2 nửa */
.kaya-pd-specs { clear: both; margin: 0 0 34px; scroll-margin-top: 100px; }
.kaya-pd-specs h2 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
  color: #1f1c18;
}
.kaya-pd-specs-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 20px;
}
.kaya-pd-specs table.kaya-pd-specs-table {
  width: 100%;
  margin: 0;
  border: 1px solid #ebe6df;
  border-radius: 12px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  font-size: 14.5px;
  line-height: 1.45;
  align-self: start;
}
.kaya-pd-specs table.kaya-pd-specs-table th,
.kaya-pd-specs table.kaya-pd-specs-table td {
  padding: 10px 14px;
  border: 0;
  border-top: 1px solid #ebe6df;
  text-align: left;
  vertical-align: top;
}
.kaya-pd-specs table.kaya-pd-specs-table tr:first-child th,
.kaya-pd-specs table.kaya-pd-specs-table tr:first-child td { border-top: 0; }
.kaya-pd-specs table.kaya-pd-specs-table th { width: 38%; background: #faf8f5; font-weight: 600; color: #5b554c; }
.kaya-pd-specs table.kaya-pd-specs-table td { background: #fff; color: #1f1c18; }
.kaya-pd-specs .kaya-pd-specs-more { display: none; }

/* Landing toàn chiều ngang: thu gọn + nút Xem thêm */
.kaya-pd-more.is-collapsed {
  max-height: 380px;
  overflow: hidden;
  position: relative;
}
.kaya-pd-more.is-collapsed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  background: linear-gradient(rgba(255, 255, 255, 0), #fff 85%);
  pointer-events: none;
}
.kaya-pd-toggle-wrap { margin: 10px 0 36px; text-align: center; }
.kaya-pd-toggle-wrap .kaya-pd-toggle,
.kaya-pd-specs .kaya-pd-specs-more {
  min-height: 46px;
  padding: 0 30px;
  font-size: 15px;
  font-weight: 700;
  color: #d97e06;
  background: #fff;
  border: 1px solid #ff9e22;
  border-radius: 999px;
  cursor: pointer;
}
.kaya-pd-toggle-wrap .kaya-pd-toggle:hover,
.kaya-pd-specs .kaya-pd-specs-more:hover { background: #fff3e2; color: #d97e06; }
.kaya-pd-toggle-wrap .kaya-pd-toggle::after,
.kaya-pd-specs .kaya-pd-specs-more::after { content: " \25BE"; }
.kaya-pd-toggle-wrap .kaya-pd-toggle[aria-expanded="true"]::after,
.kaya-pd-specs .kaya-pd-specs-more[aria-expanded="true"]::after { content: " \25B4"; }

/* Vùng 5: lời mời cuối (dưới Đánh giá) */
.kaya-pd-final { clear: both; margin: 10px 0 40px; }
.kaya-pd-final .kaya-lp-final {
  padding: 30px 32px;
  border-radius: 16px;
  background: #1f1c18;
  color: #e9e4dc;
  font-size: 15px;
  line-height: 1.65;
}
.kaya-pd-final h2 { margin: 0 0 10px; font-size: 24px; line-height: 1.3; color: #fff; }
.kaya-pd-final p { margin: 0 0 14px; }
.kaya-pd-final .kaya-lp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.kaya-pd-final a.kaya-lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: #ff9e22;
}
.kaya-pd-final a.kaya-lp-btn--zalo { background: #0068ff; }
.kaya-pd-final a.kaya-lp-btn--call { background: #fff; color: #1f1c18; }

@media (max-width: 921px) {
  .kaya-pd-specs-cols { grid-template-columns: minmax(0, 1fr); }
  .kaya-pd-specs table.kaya-pd-specs-table--2 { margin-top: -1px; }
  .kaya-pd-specs table.kaya-pd-specs-table--2:not(.is-open) { display: none; }
  .kaya-pd-specs .kaya-pd-specs-more { display: block; width: 100%; margin-top: 10px; }
}
@media (max-width: 600px) {
  .kaya-pd-keys .kaya-lp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kaya-pd-keys .kaya-lp-stat:nth-child(3) { border-left: 0; }
  .kaya-pd-keys .kaya-lp-stat:nth-child(n+3) { border-top: 1px solid #f3e4cc; }
  .kaya-pd-keys .kaya-lp-stat { padding: 12px 8px; }
  .kaya-pd-keys .kaya-lp-stat strong { font-size: 19px; }
  .kaya-pd-final .kaya-lp-final { padding: 22px 18px; }
  .kaya-pd-final h2 { font-size: 21px; }
  .kaya-pd-final a.kaya-lp-btn { flex: 1 1 100%; }
  .kaya-pd-toggle-wrap .kaya-pd-toggle { width: 100%; }
}

/* Bố cục lai: SP có landing => khu Mô tả rộng bằng body (bỏ giới hạn 1200px của mục 9), đoạn chữ dài giữ ~860px cho dễ đọc */
body.kaya-has-landing.woocommerce div.product .woocommerce-tabs.wc-tabs-wrapper,
body.kaya-has-landing.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel {
  max-width: none !important;
  width: 100% !important;
}
body.kaya-has-landing .woocommerce-Tabs-panel--description .kaya-lp-sec > p,
body.kaya-has-landing .woocommerce-Tabs-panel--description .kaya-lp-sec > ul { max-width: 860px; }

/* ==========================================================================
   BỐ CỤC THƯỜNG (inc/product-layout-thuong.php): bài viết trái + thông số phải
   ========================================================================== */
body.kaya-has-2col.woocommerce div.product .woocommerce-tabs.wc-tabs-wrapper,
body.kaya-has-2col.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel {
  max-width: none !important;
  width: 100% !important;
}
.kaya-th-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  grid-template-areas: "main aside";
  column-gap: 40px;
  align-items: start;
}
.kaya-th-main { grid-area: main; min-width: 0; }
.kaya-th-aside { grid-area: aside; min-width: 0; scroll-margin-top: 100px; }
@media (min-width: 922px) {
  .kaya-th-aside { position: sticky; top: var(--kaya-th-sticky-top, 100px); }
}
.kaya-th-article.is-collapsed {
  max-height: 700px;
  overflow: hidden;
  position: relative;
}
.kaya-th-article.is-collapsed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  background: linear-gradient(rgba(255, 255, 255, 0), #fff 85%);
  pointer-events: none;
}
.kaya-th-specs {
  padding: 16px 16px 14px;
  background: #fff;
  border: 1px solid #ebe6df;
  border-radius: 14px;
}
.kaya-th-specs h2 {
  margin: 0 0 10px !important;
  font-size: 18px !important;
  line-height: 1.3;
  font-weight: 700;
  color: #1f1c18;
}
.woocommerce div.product .kaya-th-specs table.shop_attributes {
  width: 100%;
  margin: 0;
  border: 1px solid #ebe6df;
  border-radius: 10px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.45;
}
.woocommerce div.product .kaya-th-specs table.shop_attributes th,
.woocommerce div.product .kaya-th-specs table.shop_attributes td {
  padding: 8px 12px;
  border: 0;
  border-top: 1px solid #ebe6df;
  text-align: left;
  vertical-align: top;
  font-style: normal;
}
.woocommerce div.product .kaya-th-specs table.shop_attributes tr:first-child th,
.woocommerce div.product .kaya-th-specs table.shop_attributes tr:first-child td { border-top: 0; }
.woocommerce div.product .kaya-th-specs table.shop_attributes th { width: 40%; background: #faf8f5; font-weight: 600; color: #5b554c; }
.woocommerce div.product .kaya-th-specs table.shop_attributes td { background: #fff; color: #1f1c18; }
.woocommerce div.product .kaya-th-specs table.shop_attributes td p { margin: 0; padding: 0; }
.woocommerce div.product .kaya-th-specs table.shop_attributes td a { color: inherit; text-decoration: none; }
.kaya-th-specs .kaya-th-specs-more { display: none; }
.kaya-th-buy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
  padding: 14px 16px 16px;
  background: #fffaf3;
  border: 1px solid #f3e4cc;
  border-radius: 14px;
}
.kaya-th-price {
  grid-column: 1 / -1;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  color: #e65100;
}
.kaya-th-price del { font-size: 14px; font-weight: 400; color: #999; }
.kaya-th-price ins { text-decoration: none; }
.kaya-th-aside a.kaya-th-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 4px 8px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.25;
  text-align: center;
  font-weight: 700;
  color: #fff;
  background: #ff9e22;
  text-decoration: none;
}
.kaya-th-aside a.kaya-th-btn:hover { background: #e58711; color: #fff; }
.kaya-th-aside a.kaya-th-btn--zalo { background: #0068ff; }
.kaya-th-aside a.kaya-th-btn--zalo:hover { background: #0057d6; }
@media (max-width: 921px) {
  .kaya-th-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "aside" "main";
  }
  .kaya-th-aside { margin-bottom: 30px; }
  .kaya-th-specs.is-short:not(.is-open) table.shop_attributes tr:nth-child(n+7) { display: none; }
  .kaya-th-specs .kaya-th-specs-more {
    display: block;
    width: 100%;
    min-height: 44px;
    margin-top: 10px;
    font-size: 15px;
    font-weight: 700;
    color: #d97e06;
    background: #fff;
    border: 1px solid #ff9e22;
    border-radius: 999px;
    cursor: pointer;
  }
}

/* ==========================================================================
   THANH MUA DÍNH ĐÁY (inc/product-buy-bar.php)
   ========================================================================== */
.kaya-bbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100000000;
  background: #fff;
  border-top: 1px solid #ececec;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform 0.25s ease, visibility 0s linear 0.25s;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.kaya-bbar.is-on {
  transform: none;
  visibility: visible;
  transition: transform 0.25s ease;
}
.kaya-bbar-in {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.kaya-bbar-img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 6px;
  flex: 0 0 52px;
}
.kaya-bbar-info {
  flex: 1 1 auto;
  min-width: 0;
}
.kaya-bbar-name {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: #222;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kaya-bbar-opt {
  margin: 2px 0 0;
  font-size: 13px;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kaya-bbar-opt:empty {
  display: none;
}
.kaya-bbar-total {
  flex: 0 0 auto;
  text-align: right;
  line-height: 1.25;
}
.kaya-bbar-label {
  display: block;
  font-size: 13px;
  color: #666;
}
.kaya-bbar-sum,
.kaya-bbar-sum .amount {
  font-size: 18px;
  font-weight: 700;
  color: #e53935;
}
.kaya-bbar-zalo,
.kaya-bbar-add {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: 0;
}
.kaya-bbar-zalo {
  background: #0068ff;
  color: #fff !important;
}
.kaya-bbar-zalo:hover {
  background: #0057d6;
}
.kaya-bbar-add {
  background: var(--kaya-orange, #ff9e22);
  color: #fff;
  min-width: 170px;
}
.kaya-bbar-add:hover {
  background: var(--kaya-orange-hover, #f08c00);
}
/* Chỗ chọn màu/cỡ nháy viền khi khách bấm mua mà chưa chọn */
.kaya-bbar-need {
  outline: 2px solid #e53935;
  outline-offset: 6px;
  border-radius: 6px;
  transition: outline-color 0.3s;
}
/* Đẩy nút nổi Zalo/Messenger, nút lên đầu trang lên trên thanh */
body.kaya-bbar-on .kaya-sticky-right {
  bottom: 155px !important;
}
body.kaya-bbar-on #ast-scroll-top {
  bottom: 102px !important;
}
body.kaya-has-bbar {
  padding-bottom: 76px;
}
@media (max-width: 768px) {
  .kaya-bbar-in {
    padding: 8px 12px;
    gap: 8px;
  }
  .kaya-bbar-img,
  .kaya-bbar-name {
    display: none;
  }
  .kaya-bbar-info {
    order: 1;
    flex: 1 1 auto;
  }
  .kaya-bbar-total {
    order: 0;
    text-align: left;
    flex: 0 1 auto;
  }
  .kaya-bbar-info {
    display: none;
  }
  .kaya-bbar-total {
    flex: 1 1 auto;
  }
  .kaya-bbar-label {
    font-size: 12px;
  }
  .kaya-bbar-sum,
  .kaya-bbar-sum .amount {
    font-size: 16px;
  }
  .kaya-bbar-zalo,
  .kaya-bbar-add {
    order: 2;
    height: 44px;
    padding: 0 12px;
    font-size: 14px;
  }
  .kaya-bbar-add {
    min-width: 0;
  }
  /* Thanh mua che thanh liên hệ 4 nút lúc đang hiện */
  body.kaya-bbar-on .kaya-mobile-bottom-bar {
    visibility: hidden !important;
  }
  body.kaya-has-bbar {
    padding-bottom: 64px !important;
  }
}

/* ==========================================================================
   KHUNG MUA GỌN (inc/product-buybox.php) - body.kaya-bb
   ========================================================================== */
.kaya-bb-stock {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin: 4px 0 14px !important;
  font-size: 14px;
}
.kaya-bb-in,
.kaya-bb-out {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
}
.kaya-bb-in {
  background: #e8f5e9;
  color: #2e7d32;
}
.kaya-bb-in::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #43a047;
}
.kaya-bb-out {
  background: #fdecea;
  color: #c62828;
}
.kaya-bb-showroom {
  color: #0068ff !important;
  text-decoration: none !important;
  font-weight: 500;
}
.kaya-bb-showroom::after {
  content: " ›";
}
.kaya-bb-showroom:hover {
  text-decoration: underline !important;
}
/* Khung giá */
.kaya-pbox {
  margin: 4px 0 16px;
  padding: 14px 18px;
  background: #fff6ec;
  border: 1px solid #ffd9ad;
  border-radius: 12px;
}
.kaya-pbox p {
  margin: 0 !important;
}
.kaya-pbox-now,
.kaya-pbox-now .amount {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  color: #e53935;
}
.kaya-pbox-from {
  font-size: 16px;
  font-weight: 600;
  color: #555;
}
.kaya-pbox-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px !important;
  font-size: 14px;
}
.kaya-pbox-sub:empty {
  display: none;
}
.kaya-pbox-reg,
.kaya-pbox-reg .amount {
  color: #888;
  font-weight: 400;
}
.kaya-pbox-off {
  padding: 1px 8px;
  border-radius: 6px;
  background: #fde4e1;
  color: #d32f2f;
  font-weight: 600;
  font-size: 13px;
}
.kaya-pbox-hint {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #777;
}
/* Giá biến thể của Woo trùng với khung giá => ẩn */
body.kaya-bb .woocommerce-variation-price {
  display: none !important;
}
/* Khung Đặc điểm nổi bật */
.kaya-hl-card {
  margin: 24px 0 0;
  border: 1px solid #ececec;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.kaya-hl-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid #ececec;
}
.kaya-hl-head h2 {
  margin: 0 !important;
  font-size: 18px !important;
  line-height: 1.3 !important;
}
.kaya-hl-head a {
  flex: 0 0 auto;
  color: #0068ff !important;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
}
.kaya-hl-head a::after {
  content: " ›";
}
.kaya-hl-body ul,
.kaya-hl-body ol {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.kaya-hl-body li,
.kaya-hl-body > p {
  margin: 0 !important;
  padding: 10px 18px !important;
  font-size: 15px;
  line-height: 1.55;
  color: #333;
}
.kaya-hl-body li::before {
  display: none !important;
}
.kaya-hl-body li:nth-child(odd),
.kaya-hl-body > p:nth-child(odd) {
  background: #f6f6f6;
}
/* Máy tính: .kaya-bb-top lưới 2 cột (trái = ảnh + Đặc điểm nổi bật, phải = khung mua); cột ngắn hơn bám khi cuộn (JS), chỉ trong .kaya-bb-top */
.kaya-bb-top {
  margin-bottom: 0;
}
@media (min-width: 922px) {
  .kaya-bb-top {
    display: grid;
    grid-template-columns: minmax(0, 50fr) minmax(0, 46fr);
    column-gap: 4%;
    align-items: start;
  }
  .kaya-bb-top > .kaya-bb-left,
  body.kaya-bb .kaya-bb-top > .summary {
    min-width: 0;
  }
  body.kaya-bb div.product .kaya-bb-top > div.summary {
    width: auto !important;
    float: none !important;
  }
  body.kaya-bb div.product .kaya-bb-left > div.images {
    width: 100% !important;
    float: none !important;
  }
  .kaya-bb-top > .is-sticky {
    position: sticky;
    top: var(--kaya-bb-top, 90px);
  }
}
/* Điện thoại / máy tính bảng: 1 cột; Đặc điểm nổi bật xuống sau khung mua */
@media (max-width: 921px) {
  .kaya-bb-top {
    display: flex;
    flex-direction: column;
  }
  .kaya-bb-left {
    display: contents;
  }
  .kaya-bb-left > * {
    order: 1;
  }
  body.kaya-bb div.product .kaya-bb-top > div.summary {
    order: 2;
    margin-bottom: 0 !important;
  }
  .kaya-bb-left > .kaya-hl-card {
    order: 3;
    margin: 16px 0 24px;
  }
}
/* KHUNG MUA GỌN: hàng nút = [số lượng][giỏ (icon)][Mua ngay], hàng dưới = Zalo "Tư vấn và xem hình thực tế" */
body.kaya-bb .kaya-bb-top form.cart .woocommerce-variation-add-to-cart,
body.kaya-bb .kaya-bb-top form.cart:not(.variations_form) {
  flex-wrap: wrap !important;
  row-gap: 10px !important;
}
body.kaya-bb div.product .kaya-bb-top form.cart .single_add_to_cart_button {
  flex: 0 0 52px !important;
  width: 52px !important;
  min-width: 52px !important;
  padding: 0 !important;
  gap: 0 !important;
  background-color: #fff !important;
  border: 1.5px solid var(--kaya-orange) !important;
}
body.kaya-bb .kaya-bb-top form.cart .single_add_to_cart_button > span {
  display: none !important;
}
body.kaya-bb .kaya-bb-top form.cart .single_add_to_cart_button::before {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  margin: 0 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff9e22' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'/%3E%3C/svg%3E") !important;
}
body.kaya-bb div.product .kaya-bb-top form.cart .single_add_to_cart_button:hover {
  background-color: #fff6ec !important;
}
.kaya-bb-buynow {
  flex: 1 1 0% !important;
  order: 3;
  height: 48px;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: #e53935 !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  cursor: pointer;
}
.kaya-bb-buynow:hover {
  background: #c62828 !important;
}
body.kaya-bb .kaya-bb-top form.cart .kaya-bb-zalo {
  order: 4;
  flex: 1 0 100% !important;
}
body.kaya-bb .kaya-bb-top form.cart .kaya-fbt,
body.kaya-bb .kaya-bb-top form.cart .kaya-product-commitments {
  order: 5;
  flex: 1 0 100%;
}
.kaya-bb-top {
  margin-bottom: 32px;
}
/* Thanh mua dính đáy: nút giỏ icon + Mua ngay */
.kaya-bbar-add {
  min-width: 48px;
  width: 48px;
  padding: 0 !important;
  background: #fff !important;
  color: var(--kaya-orange, #ff9e22) !important;
  border: 1.5px solid var(--kaya-orange, #ff9e22) !important;
}
.kaya-bbar-add:hover {
  background: #fff6ec !important;
}
.kaya-bbar-buy {
  flex: 0 0 auto;
  height: 48px;
  padding: 0 26px;
  border: 0;
  border-radius: 8px;
  background: #e53935;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.kaya-bbar-buy:hover {
  background: #c62828;
}
@media (max-width: 768px) {
  .kaya-bbar-add {
    width: 44px;
    min-width: 44px;
    height: 44px;
  }
  .kaya-bbar-buy {
    height: 44px;
    padding: 0 14px;
    font-size: 14px;
  }
}

/* KHUNG MUA GỌN - điện thoại: hàng 1 [số lượng][giỏ][Mua ngay], hàng 2 Zalo rộng hết (ghi đè CSS điện thoại cũ) */
body.kaya-bb div.product .kaya-bb-top form.cart .kaya-bb-zalo {
  order: 4 !important;
  flex: 1 0 100% !important;
  max-width: 100% !important;
}
body.kaya-bb div.product .kaya-bb-top form.cart .kaya-bb-buynow {
  white-space: nowrap;
}
@media (max-width: 921px) {
  body.kaya-bb div.product .kaya-bb-top form.cart .quantity {
    flex: 0 0 108px !important;
    width: 108px !important;
    max-width: 108px !important;
  }
  body.kaya-bb div.product .kaya-bb-top form.cart .kaya-bb-zalo .kaya-btn-text--full {
    display: inline !important;
  }
  body.kaya-bb div.product .kaya-bb-top form.cart .kaya-bb-zalo .kaya-btn-text--short {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .kaya-bbar-zalo { order: 2; }
  .kaya-bbar-add { order: 3; }
  .kaya-bbar-buy { order: 4; }
}

/* Breadcrumb: bỏ chữ "Trang chủ", chỉ giữ icon nhà (chữ vẫn còn cho trình đọc màn hình) */
.kaya-crumb-home + span {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

/* KHUNG MUA GỌN - máy tính: cả khối nút 1 hàng [số lượng][giỏ][Mua ngay][Tư vấn và xem hình thực tế]; bớt khoảng trống dưới nút */
@media (min-width: 922px) {
  body.kaya-bb div.product .kaya-bb-top form.cart .woocommerce-variation-add-to-cart,
  body.kaya-bb div.product .kaya-bb-top form.cart:not(.variations_form) {
    flex-wrap: nowrap !important;
    gap: 8px !important;
  }
  body.kaya-bb div.product .kaya-bb-top form.cart .kaya-bb-buynow {
    flex: 1 1 0% !important;
    min-width: 0;
    padding: 0 10px !important;
    font-size: 15px !important;
  }
  body.kaya-bb div.product .kaya-bb-top form.cart .kaya-bb-zalo {
    flex: 1.7 1 0% !important;
    min-width: 0;
    max-width: none !important;
    padding: 0 10px !important;
    font-size: 13px !important;
    gap: 6px !important;
  }
}
body.kaya-bb div.product .kaya-bb-top form.cart {
  margin-bottom: 16px !important;
}
body.kaya-bb .kaya-bb-top .kaya-product-commitments {
  margin-top: 0 !important;
}
@media (max-width: 921px) {
  body.kaya-bb div.product .kaya-bb-top form.cart .woocommerce-variation-add-to-cart,
  body.kaya-bb div.product .kaya-bb-top form.cart:not(.variations_form) {
    gap: 8px !important;
  }
  body.kaya-bb div.product .kaya-bb-top form.cart .kaya-bb-buynow {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    padding: 0 8px !important;
    font-size: 15px !important;
  }
  body.kaya-bb div.product .kaya-bb-top form.cart .kaya-bb-zalo {
    flex: 0 0 100% !important;
    width: 100% !important;
  }
}

/* THANH MUA DÍNH ĐÁY - điện thoại kiểu Điện Máy Chợ Lớn: hàng 1 "Tạm tính: X", hàng 2 [giỏ][Mua ngay][Tư vấn] */
@media (max-width: 768px) {
  .kaya-bbar-in {
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 12px 10px;
  }
  .kaya-bbar-total {
    order: 0;
    flex: 1 0 100%;
    display: flex;
    align-items: baseline;
    gap: 6px;
    text-align: left;
  }
  .kaya-bbar-label {
    display: inline;
    font-size: 14px;
    color: #333;
  }
  .kaya-bbar-label::after {
    content: ":";
  }
  .kaya-bbar-sum,
  .kaya-bbar-sum .amount {
    font-size: 16px;
    color: #1a1a1a;
  }
  .kaya-bbar-add {
    order: 1;
    flex: 0 0 52px;
    width: 52px;
    height: 46px;
    border-radius: 8px;
  }
  .kaya-bbar-buy {
    order: 2;
    flex: 1 1 0%;
    height: 46px;
    padding: 0 8px;
    font-size: 15px;
  }
  .kaya-bbar-zalo {
    order: 3;
    flex: 1 1 0%;
    height: 46px;
    padding: 0 8px;
    font-size: 15px;
  }
  body.kaya-has-bbar {
    padding-bottom: 112px !important;
  }
}

/* THANH MUA DÍNH ĐÁY: nút sổ chi tiết giá (kiểu Điện Máy Chợ Lớn), giá Tạm tính màu đỏ */
.kaya-bbar-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-left: 2px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #555;
  cursor: pointer;
  vertical-align: middle;
}
.kaya-bbar-more:hover {
  background: #f2f2f2;
}
.kaya-bbar-more svg {
  transition: transform 0.2s;
}
.kaya-bbar.is-detail .kaya-bbar-more svg {
  transform: rotate(180deg);
}
.kaya-bbar-stock {
  display: none;
}
.kaya-bbar-detail {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px 4px;
  border-bottom: 1px dashed #e2e2e2;
}
.kaya-bbar-detail[hidden],
.kaya-bbar-row[hidden],
.kaya-bbar-note[hidden] {
  display: none !important;
}
.kaya-bbar-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 6px !important;
  font-size: 14px;
  color: #444;
}
.kaya-bbar-row span:last-child {
  font-weight: 600;
  color: #222;
}
.kaya-bbar-row--save span:last-child {
  color: #0068ff;
}
.kaya-bbar-note {
  margin: 0 0 6px !important;
  font-size: 13px;
  color: #777;
}
.kaya-bbar-sum,
.kaya-bbar-sum .amount {
  color: #e53935 !important;
}
@media (max-width: 768px) {
  .kaya-bbar-detail {
    padding: 10px 12px 4px;
  }
  .kaya-bbar-total {
    align-items: center;
  }
  .kaya-bbar-stock {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    padding: 2px 10px;
    border-radius: 999px;
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 12px;
    font-weight: 600;
  }
  .kaya-bbar-stock::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #43a047;
  }
}

/* Nút sổ chi tiết giá: không để theme Astra đổi màu khi bấm/rê chuột (gây mờ) */
.kaya-bbar .kaya-bbar-more,
.kaya-bbar .kaya-bbar-more:hover,
.kaya-bbar .kaya-bbar-more:focus,
.kaya-bbar .kaya-bbar-more:active {
  background: transparent !important;
  color: #333 !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none;
}
.kaya-bbar .kaya-bbar-more:focus-visible {
  outline: 2px solid #0068ff;
  outline-offset: 1px;
}
.kaya-bbar .kaya-bbar-more svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.4;
}

/* KHUNG MUA GỌN: ô chọn Màu sắc / Kích thước kiểu TGDĐ - ĐMCL (nhãn nhỏ bên trái, ô gọn, chấm màu gỗ) */
body.kaya-bb div.product .kaya-bb-top table.variations,
body.kaya-bb div.product .kaya-bb-top table.variations tbody {
  display: block !important;
  width: 100% !important;
  margin: 0 0 6px !important;
  border: 0 !important;
}
body.kaya-bb div.product .kaya-bb-top table.variations tr {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
}
body.kaya-bb div.product .kaya-bb-top table.variations th.label {
  flex: 0 0 82px !important;
  width: 82px !important;
  padding: 9px 0 0 !important;
  margin: 0 !important;
  text-align: left !important;
  border: 0 !important;
  background: none !important;
}
body.kaya-bb div.product .kaya-bb-top table.variations th.label label {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #555 !important;
  line-height: 1.3 !important;
}
body.kaya-bb div.product .kaya-bb-top table.variations td.value {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  text-align: left !important;
}
body.kaya-bb div.product .kaya-bb-top .ast-variation-button-group {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  margin: 0 !important;
}
body.kaya-bb div.product .kaya-bb-top table.variations .ast-variation-button-group .ast-single-variation {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  height: 36px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 12px !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  color: #333 !important;
  background: #fff !important;
  border: 1px solid #dcdcdc !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
body.kaya-bb div.product .kaya-bb-top table.variations .ast-variation-button-group .ast-single-variation:hover {
  border-color: #b5b5b5 !important;
}
body.kaya-bb div.product .kaya-bb-top table.variations .ast-variation-button-group .ast-single-variation.active {
  color: #d35400 !important;
  background: #fff6ec !important;
  border-color: var(--kaya-orange, #ff9e22) !important;
  box-shadow: inset 0 0 0 1px var(--kaya-orange, #ff9e22) !important;
}
body.kaya-bb div.product .kaya-bb-top table.variations .ast-variation-button-group .ast-single-variation.disabled,
body.kaya-bb div.product .kaya-bb-top table.variations .ast-variation-button-group .ast-single-variation.ast-variation-disabled {
  opacity: 0.45 !important;
  text-decoration: line-through;
}
/* Chấm màu gỗ trước tên màu */
body.kaya-bb div.product .kaya-bb-top table.variations .ast-variation-button-group .ast-single-variation[class*="variation-nau"]::before,
body.kaya-bb div.product .kaya-bb-top table.variations .ast-variation-button-group .ast-single-variation[class*="variation-trang"]::before,
body.kaya-bb div.product .kaya-bb-top table.variations .ast-variation-button-group .ast-single-variation[class*="variation-tu-nhien"]::before,
body.kaya-bb div.product .kaya-bb-top table.variations .ast-variation-button-group .ast-single-variation[class*="variation-vang"]::before,
body.kaya-bb div.product .kaya-bb-top table.variations .ast-variation-button-group .ast-single-variation[class*="variation-den"]::before,
body.kaya-bb div.product .kaya-bb-top table.variations .ast-variation-button-group .ast-single-variation[class*="variation-xam"]::before,
body.kaya-bb div.product .kaya-bb-top table.variations .ast-variation-button-group .ast-single-variation[class*="variation-ghi"]::before {
  content: "";
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
}
body.kaya-bb div.product .kaya-bb-top table.variations .ast-variation-button-group .ast-single-variation[class*="variation-nau"]::before { background: #6b4226; }
body.kaya-bb div.product .kaya-bb-top table.variations .ast-variation-button-group .ast-single-variation[class*="variation-trang"]::before { background: #f7f5ef; }
body.kaya-bb div.product .kaya-bb-top table.variations .ast-variation-button-group .ast-single-variation[class*="variation-tu-nhien"]::before { background: #dcb98a; }
body.kaya-bb div.product .kaya-bb-top table.variations .ast-variation-button-group .ast-single-variation[class*="variation-vang"]::before { background: #e7b84a; }
body.kaya-bb div.product .kaya-bb-top table.variations .ast-variation-button-group .ast-single-variation[class*="variation-den"]::before { background: #2b2b2b; }
body.kaya-bb div.product .kaya-bb-top table.variations .ast-variation-button-group .ast-single-variation[class*="variation-xam"]::before,
body.kaya-bb div.product .kaya-bb-top table.variations .ast-variation-button-group .ast-single-variation[class*="variation-ghi"]::before { background: #9e9e9e; }
body.kaya-bb div.product .kaya-bb-top table.variations .reset_variations {
  display: inline-block;
  margin: 8px 0 0 !important;
  font-size: 13px !important;
}
@media (max-width: 921px) {
  body.kaya-bb div.product .kaya-bb-top table.variations tr {
    flex-direction: column !important;
    gap: 6px !important;
  }
  body.kaya-bb div.product .kaya-bb-top table.variations th.label {
    flex: none !important;
    width: auto !important;
    padding: 0 !important;
  }
}

/* KHUNG MUA GỌN: nhịp khoảng cách đều 16px giữa các khối (còn hàng, ô chọn, giá, nút, cam kết) */
body.kaya-bb div.product .kaya-bb-top .summary .product_title {
  margin-bottom: 8px !important;
}
body.kaya-bb .kaya-bb-top .kaya-bb-stock {
  margin: 0 0 16px !important;
}
body.kaya-bb div.product .kaya-bb-top table.variations {
  margin: 0 0 16px !important;
}
body.kaya-bb div.product .kaya-bb-top table.variations tr:last-child {
  margin-bottom: 0 !important;
}
body.kaya-bb div.product .kaya-bb-top table.variations .reset_variations[style*="hidden"] {
  display: none !important;
}
body.kaya-bb div.product .kaya-bb-top table.variations .reset_variations {
  margin: 6px 0 0 !important;
}
body.kaya-bb div.product .kaya-bb-top .woocommerce-variation.single_variation {
  margin: 0 !important;
}
body.kaya-bb div.product .kaya-bb-top .kaya-pbox {
  margin: 0 0 16px !important;
}
body.kaya-bb div.product .kaya-bb-top form.cart .woocommerce-variation-add-to-cart {
  margin-top: 0 !important;
}
body.kaya-bb div.product .kaya-bb-top form.cart {
  margin-bottom: 16px !important;
}
/* Điện thoại: 4 màu vừa 1 hàng (ô co giãn đều), bỏ ô số lượng, 3 nút 1 hàng */
@media (max-width: 921px) {
  body.kaya-bb div.product .kaya-bb-top table.variations .ast-variation-button-group {
    gap: 6px !important;
  }
  body.kaya-bb div.product .kaya-bb-top table.variations .ast-variation-button-group .ast-single-variation {
    flex: 1 1 auto !important;
    justify-content: center !important;
    padding: 0 8px !important;
    gap: 5px !important;
    font-size: 13px !important;
  }
  body.kaya-bb div.product .kaya-bb-top table.variations .ast-variation-button-group .ast-single-variation::before {
    flex-basis: 12px !important;
    width: 12px !important;
    height: 12px !important;
  }
  body.kaya-bb div.product .kaya-bb-top form.cart .quantity {
    display: none !important;
  }
  body.kaya-bb div.product .kaya-bb-top form.cart .woocommerce-variation-add-to-cart,
  body.kaya-bb div.product .kaya-bb-top form.cart:not(.variations_form) {
    flex-wrap: nowrap !important;
    gap: 8px !important;
  }
  body.kaya-bb div.product .kaya-bb-top form.cart .single_add_to_cart_button {
    flex: 0 0 48px !important;
    width: 48px !important;
    min-width: 48px !important;
  }
  body.kaya-bb div.product .kaya-bb-top form.cart .kaya-bb-buynow {
    flex: 1 1 0% !important;
    font-size: 14px !important;
  }
  body.kaya-bb div.product .kaya-bb-top form.cart .kaya-bb-zalo {
    flex: 1.25 1 0% !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 8px !important;
    gap: 5px !important;
    font-size: 12.5px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    text-align: center !important;
  }
}

/* THANH MỤC DÍNH ĐẦU TRANG (kiểu Điện Máy Xanh) */
.kaya-secnav {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 9990;
  background: #fff;
  border-bottom: 1px solid #eee;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transform: translateY(-120%);
  visibility: hidden;
  transition: transform 0.2s ease, visibility 0s linear 0.2s;
}
.kaya-secnav.is-on {
  transform: none;
  visibility: visible;
  transition: transform 0.2s ease;
}
.kaya-secnav-in {
  display: flex;
  gap: 4px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  overflow-x: auto;
  scrollbar-width: none;
}
.kaya-secnav-in::-webkit-scrollbar {
  display: none;
}
.kaya-secnav a {
  flex: 0 0 auto;
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 500;
  color: #333 !important;
  text-decoration: none !important;
  white-space: nowrap;
}
.kaya-secnav a:hover {
  color: #0068ff !important;
}
.kaya-secnav a.is-active {
  color: #0068ff !important;
}
.kaya-secnav a.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: #0068ff;
}
@media (max-width: 768px) {
  .kaya-secnav-in {
    padding: 0 8px;
    gap: 0;
  }
  .kaya-secnav a {
    height: 42px;
    padding: 0 12px;
    font-size: 14px;
  }
  .kaya-secnav a.is-active::after {
    left: 12px;
    right: 12px;
  }
}

/* KHUNG MUA GỌN - máy tính: dải ảnh nhỏ 7 ảnh/hàng, sát ảnh lớn hơn (JS initThumbnailSlider cũng dùng 7) */
@media (min-width: 769px) {
  body.kaya-bb div.product .kaya-bb-left div.images > .flex-viewport {
    margin-bottom: 0 !important;
  }
  body.kaya-bb div.product .kaya-bb-left div.images .ast-single-product-thumbnails {
    margin-top: 8px !important;
  }
  body.kaya-bb div.product .kaya-bb-left div.images .woocommerce-product-gallery-thumbnails__wrapper,
  body.kaya-bb div.product .kaya-bb-left div.images .flex-control-thumbs {
    gap: 8px !important;
  }
  body.kaya-bb div.product .kaya-bb-left div.images .ast-woocommerce-product-gallery__image,
  body.kaya-bb div.product .kaya-bb-left div.images .flex-control-thumbs li {
    flex: 0 0 calc((100% - 48px) / 7) !important;
    width: calc((100% - 48px) / 7) !important;
    min-width: calc((100% - 48px) / 7) !important;
    max-width: calc((100% - 48px) / 7) !important;
  }
}

/* Đặc điểm nổi bật: bullet ✔ cam + chữ đồng bộ với bài viết (Arimo 15px, cao dòng 1.65, màu #3f3b35) */
.kaya-hl-card .kaya-hl-body li,
.kaya-hl-card .kaya-hl-body > p {
  position: relative;
  font-family: inherit !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
  color: #3f3b35 !important;
}
.kaya-hl-card .kaya-hl-body li {
  padding: 9px 18px 9px 42px !important;
}
.kaya-hl-card .kaya-hl-body li::before {
  content: "\2714" !important;
  display: block !important;
  position: absolute !important;
  left: 20px !important;
  top: 9px !important;
  color: var(--kaya-orange, #ff9e22) !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  line-height: 24.75px !important;
}
@media (max-width: 768px) {
  .kaya-hl-card .kaya-hl-body li {
    padding: 9px 14px 9px 38px !important;
  }
  .kaya-hl-card .kaya-hl-body li::before {
    left: 16px !important;
  }
}

/* ĐỒNG BỘ CỠ CHỮ TRANG SẢN PHẨM (landing + thông số + Đặc điểm nổi bật):
   thân bài 15px / dòng 1.65; tiêu đề H2 mục 22px, H2 đầu landing 26px; H3 / H4 17px; nhãn nhỏ 13px */
body.kaya-has-landing #tab-description p,
body.kaya-has-landing #tab-description li,
body.kaya-has-landing #tab-description .kaya-lp-card p,
body.kaya-has-landing #tab-description .kaya-lp-lead,
body.kaya-has-landing .kaya-pd-final p,
body.kaya-bb .kaya-hl-card .kaya-hl-body li {
  font-size: 15px !important;
  line-height: 1.65 !important;
}
body.kaya-has-landing #tab-description p.kaya-lp-kicker {
  font-size: 13px !important;
}
body.kaya-has-landing #tab-description h2,
body.kaya-has-landing .kaya-pd-specs h2,
body.kaya-has-landing .kaya-pd-final h2 {
  font-size: 22px !important;
  line-height: 1.3 !important;
}
body.kaya-has-landing #tab-description .kaya-lp-hero h2 {
  font-size: 26px !important;
}
body.kaya-has-landing #tab-description h3,
body.kaya-has-landing #tab-description h4 {
  font-size: 17px !important;
  line-height: 1.4 !important;
}
body.kaya-has-landing .kaya-pd-specs-table th,
body.kaya-has-landing .kaya-pd-specs-table td {
  font-size: 15px !important;
  line-height: 1.5 !important;
}
@media (max-width: 768px) {
  body.kaya-has-landing #tab-description h2,
  body.kaya-has-landing .kaya-pd-specs h2,
  body.kaya-has-landing .kaya-pd-final h2 {
    font-size: 20px !important;
  }
  body.kaya-has-landing #tab-description .kaya-lp-hero h2 {
    font-size: 23px !important;
  }
}

/* Đặc điểm nổi bật: hàng gọn hơn để tiết kiệm diện tích */
.kaya-hl-card .kaya-hl-head {
  padding: 11px 18px !important;
}
body.kaya-bb .kaya-hl-card .kaya-hl-body li,
.kaya-hl-card .kaya-hl-body li {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  line-height: 1.55 !important;
}
.kaya-hl-card .kaya-hl-body li::before {
  top: 6px !important;
  line-height: 23.25px !important;
}

/* 4 cam kết: chữ lớn hơn cho đồng bộ cả trang (tiêu đề 15px như thân bài, dòng phụ 13.5px) */
.kaya-product-commitments .kaya-pc-title {
  font-size: 15px !important;
  line-height: 1.4 !important;
}
.kaya-product-commitments .kaya-pc-sub {
  font-size: 13.5px !important;
  line-height: 1.45 !important;
  margin-top: 2px !important;
}
.kaya-product-commitments .kaya-pc-icon,
.kaya-product-commitments .kaya-pc-icon svg {
  width: 28px !important;
  height: 28px !important;
}
@media (max-width: 768px) {
  .kaya-product-commitments .kaya-pc-title {
    font-size: 14px !important;
  }
  .kaya-product-commitments .kaya-pc-sub {
    font-size: 12.5px !important;
  }
  .kaya-product-commitments .kaya-pc-icon,
  .kaya-product-commitments .kaya-pc-icon svg {
    width: 24px !important;
    height: 24px !important;
  }
}

/* 4 cam kết - điện thoại: 1 cột, mỗi cam kết 1 hàng cho dễ đọc */
@media (max-width: 768px) {
  .kaya-product-commitments .kaya-pc-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .kaya-product-commitments .kaya-pc-title {
    font-size: 15px !important;
  }
  .kaya-product-commitments .kaya-pc-sub {
    font-size: 13.5px !important;
  }
}
