/* ==========================================================================
   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;
  --kaya-head-font: "Quicksand", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --kaya-body-font: "Arimo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* 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: 1500px !important;
    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-family: var(--kaya-head-font) !important;
  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;
}

.prod-highlights-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.woocommerce div.product .woocommerce-product-details__short-description > :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;
}

.prod-highlights-list li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  font-size: inherit !important;
  color: var(--kaya-ink) !important;
  line-height: 1.5;
}

.prod-highlights-list li::before {
  content: "✔";
  color: var(--kaya-orange);
  font-weight: 700;
  font-size: 1em;
  flex-shrink: 0;
  margin-top: 1px;
}

/* 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;
  border: 1px solid #ece5da;
  border-radius: 10px;
  padding: 22px;
}

.breakthrough-num {
  font-family: inherit;
  font-size: 1.8em;
  font-weight: 800;
  color: var(--kaya-orange);
  margin-bottom: 8px;
}

.breakthrough-card h4 {
  font-family: inherit;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--kaya-ink);
}

.breakthrough-card p {
  color: var(--kaya-muted);
  line-height: 1.6;
  margin: 0;
}

.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 14px;
  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-family: var(--kaya-head-font) !important;
  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-family: var(--kaya-head-font);
  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;
  }
}

/* ĐỒNG BỘ TYPOGRAPHY */
.woocommerce div.product h1,
.woocommerce div.product h2,
.woocommerce div.product h3,
.woocommerce div.product h4,
.woocommerce div.product h5,
.woocommerce div.product h6,
.woocommerce div.product .product_title,
.kaya-intro-title,
.prod-block-title,
.breakthrough-card h4,
.guide-box h4,
.policy-block-item h5,
.policy-pledge-title,
.kaya-feature-item b,
.ast-variation-button-group .ast-single-variation {
  font-family: var(--kaya-head-font) !important;
}

.woocommerce div.product,
.woocommerce div.product p,
.woocommerce div.product li,
.kaya-intro-body,
.kaya-intro-body p,
.kaya-feature-item span {
  font-family: var(--kaya-body-font);
}

/* ==========================================================================
   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-family: var(--kaya-head-font, "Quicksand", sans-serif) !important;
  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;
}

.single-product .related.products ul.products,
.woocommerce div.product .related.products ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 24px 20px !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;
}

.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 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px 14px !important;
  }
}

@media (max-width: 768px) {
  .single-product .related.products ul.products,
  .woocommerce div.product .related.products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px 10px !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 🔥 */
.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;
}

.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-family: var(--kaya-head-font, "Quicksand", sans-serif) !important;
  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-family: var(--kaya-head-font, "Quicksand", -apple-system, sans-serif) !important;
  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-family: var(--kaya-head-font, "Quicksand", -apple-system, sans-serif) !important;
  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;
  }
}

