/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/
/* Màu CWT (single product, link) */
/**
 * Heading Now Trial (trial): glyph 0–9 thường lỗi → ô vuông (tofu).
 * - File .ttf heading chỉ áp unicode-range KHÔNG gồm U+0030–U+0039.
 * - Cùng font-family, thêm @font-face riêng: 0–9 lấy từ UTM Avo.
 */
/* Local fonts — Heading (không gồm chữ số) */
@font-face {
  font-family: 'Heading Now Trial';
  src: url('assets/fonts/HeadingNowTrial-63Book.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-002F, U+003A-02FF, U+0300-036F, U+1E00-1EFF, U+2000-206F, U+20A0-20CF;
}
@font-face {
  font-family: 'Heading Now Trial';
  src: url('assets/fonts/HeadingNowTrial-63BookItalic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0020-002F, U+003A-02FF, U+0300-036F, U+1E00-1EFF, U+2000-206F, U+20A0-20CF;
}
@font-face {
  font-family: 'Heading Now Trial';
  src: url('assets/fonts/HeadingNowTrial-67Extrabold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-002F, U+003A-02FF, U+0300-036F, U+1E00-1EFF, U+2000-206F, U+20A0-20CF;
}
@font-face {
  font-family: 'Heading Now Trial';
  src: url('assets/fonts/HeadingNowTrial-67ExtraboldItalic.ttf') format('truetype');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0020-002F, U+003A-02FF, U+0300-036F, U+1E00-1EFF, U+2000-206F, U+20A0-20CF;
}
/* Chữ số 0–9 khi dùng font-family "Heading Now Trial" → UTM Avo */
@font-face {
  font-family: 'Heading Now Trial';
  src: url('assets/fonts/UTM Avo.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0030-0039;
}
@font-face {
  font-family: 'Heading Now Trial';
  src: url('assets/fonts/UTM AvoItalic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0030-0039;
}
@font-face {
  font-family: 'Heading Now Trial';
  src: url('assets/fonts/UTM AvoBold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0030-0039;
}
@font-face {
  font-family: 'Heading Now Trial';
  src: url('assets/fonts/UTM AvoBold_Italic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0030-0039;
}
@font-face {
  font-family: 'Heading Now Trial';
  src: url('assets/fonts/UTM AvoBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0030-0039;
}
@font-face {
  font-family: 'Heading Now Trial';
  src: url('assets/fonts/UTM AvoBold_Italic.ttf') format('truetype');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0030-0039;
}
/* Local fonts — body */
@font-face {
  font-family: 'UTM Avo';
  src: url('assets/fonts/UTM Avo.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'UTM Avo';
  src: url('assets/fonts/UTM AvoItalic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'UTM Avo';
  src: url('assets/fonts/UTM AvoBold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'UTM Avo';
  src: url('assets/fonts/UTM AvoBold_Italic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
/* --- Chế độ sáng / tối (CSS variables — dùng trong theme-toggle) --- */
/* Gradient chữ: text-colors.css — màu chữ thường: :root / html[data-theme] bên dưới */
:root {
  --cwt-bg: #ffffff;
  --cwt-bg-alt: #f5f5f5;
  --cwt-text: #000000;
  --cwt-heading-text: var(--cwt-text);
  --cwt-text-muted: #666666;
  --cwt-border: rgba(0, 0, 0, 0.08);
  --cwt-bg-gradient: linear-gradient(180deg, #c4d2ed 0%, #f8f8f8 100%);
  --cwt-header-link: #707070;
  --cwt-header-height: 60px;
  /* đồng bộ #header.has-sticky .header-main */
}
html[data-theme='dark'] {
  --cwt-bg: #141414;
  --cwt-bg-alt: #1c1c1c;
  --cwt-text: #ffffff;
  --cwt-heading-text: var(--cwt-text);
  --cwt-text-muted: #a3a3a3;
  --cwt-border: rgba(255, 255, 255, 0.1);
  --cwt-bg-gradient: linear-gradient(180deg, #000000 0%, #000000 100%);
  --cwt-header-link: #c4c4c4;
  color-scheme: dark;
}
.bg-gradient {
  background: var(--cwt-bg-gradient);
}
/* Mặc định: HeadingNowTrial-63Book.ttf (@font-heading, weight 400) */
body {
  font-family: 'Heading Now Trial', sans-serif;
  font-weight: 400;
  font-style: normal;
  background-color: var(--cwt-bg);
  color: var(--cwt-text);
  transition: background-color 0.2s ease, color 0.2s ease;
}
h1,
h2,
h3,
h4,
h5,
h6,
.heading-font,
.off-canvas-center .nav-sidebar.nav-vertical > li > a {
  font-family: 'Heading Now Trial', 'UTM Avo', sans-serif !important;
  font-variant-numeric: lining-nums;
  font-feature-settings: 'lnum' 1, 'kern' 1;
  font-weight: 600;
}
/* Heading Now Trial + fallback UTM Avo (trial hay lỗi / kerning số) */
.fheading-now,
.fheading-now * {
  font-family: 'Heading Now Trial', 'UTM Avo', sans-serif !important;
  font-variant-numeric: lining-nums;
  font-feature-settings: 'lnum' 1, 'kern' 1;
}
/* Giá & số tiền WooCommerce trong block heading: luôn dùng UTM Avo */
.fheading-now .woocommerce-Price-amount,
.fheading-now .woocommerce-Price-currencySymbol,
.fheading-now .amount {
  font-family: 'UTM Avo', sans-serif !important;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1, 'lnum' 1;
}
.favo *,
.favo {
  font-family: 'UTM Avo', sans-serif !important;
}
.fspeedy *,
.fspeedy {
  font-family: 'UTM Speedy', sans-serif !important;
}
#wrapper,
#main,
#main .page-wrapper {
  background-color: #f8f8f8 !important;
  color: var(--cwt-text);
}
#header {
  background-color: #f8f8f8 !important;
}
.dark-menu-bg {
  display: none !important;
}
.display-dark {
  display: none !important;
}
html[data-theme='dark'] .mfp-content,
html[data-theme='dark'] #header {
  background-color: #000 !important;
}
html[data-theme='dark'] .banner-white h3 *,
html[data-theme='dark'] .from_the_blog_excerpt {
  color: #000;
}
html[data-theme='dark'] .mega-row-full.dark-menu-bg {
  display: block !important;
}
html[data-theme='dark'] .mega-row-full.light-menu-bg {
  display: none !important;
}
html[data-theme='dark'] .cwt-btn-row .cwt-installment-wrap a,
html[data-theme='dark'] .cwt-btn-row > .cwt-btn-secondary,
html[data-theme='dark'] .cwt-btn-row > button.cwt-btn-secondary {
  background: #1a2853 !important;
  color: #fff !important;
}
html[data-theme='dark'] .display-light {
  display: none !important;
}
html[data-theme='dark'] .display-dark {
  display: block !important;
}
body.home #header {
  background-color: transparent !important;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:focus,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-page-ancestor > a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
  border-radius: 2rem !important;
  padding: 1.2rem;
  color: #707070 !important;
  font-family: 'Heading Now Trial', 'UTM Avo', sans-serif !important;
  font-weight: 600;
  height: auto;
  line-height: 1;
  font-size: 12.5px;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-toggle-on > a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:focus,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-page-ancestor > a.mega-menu-link {
  background: #fff;
}
/* Giao diện tối — mega menu: chữ trắng; toggle/hover/current — nền trong, viền trắng */
html[data-theme='dark'] #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover,
html[data-theme='dark'] #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:focus,
html[data-theme='dark'] #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link,
html[data-theme='dark'] #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link,
html[data-theme='dark'] #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-page-ancestor > a.mega-menu-link,
html[data-theme='dark'] #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
  color: #ffffff !important;
  border: 1px solid transparent;
}
html[data-theme='dark'] #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-toggle-on > a.mega-menu-link,
html[data-theme='dark'] #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover,
html[data-theme='dark'] #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:focus,
html[data-theme='dark'] #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link,
html[data-theme='dark'] #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link,
html[data-theme='dark'] #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-page-ancestor > a.mega-menu-link {
  background: transparent !important;
  border: 1px solid #ffffff !important;
}
/* Giao diện tối — panel mega đang mở: nền đen */
html[data-theme='dark'] #header:has(.mega-menu-item.mega-toggle-on) .header-nav #mega-menu-primary > .mega-menu-item > .mega-sub-menu,
html[data-theme='dark'] #header:has(.mega-menu-item.mega-toggle-on) .header-wrapper.stuck .header-nav #mega-menu-primary > .mega-menu-item > .mega-sub-menu {
  background-color: #000000 !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5) !important;
}
#footer .ux-menu-link a {
  color: #000 !important;
}
html[data-theme='dark'] .mega-menu .mega-sub-menu .mega-menu-row .mega-menu-item .mega-block-title {
  color: #d3d3d3 !important;
  margin-bottom: 0.5rem !important;
}
html[data-theme='dark'] .mega-menu .mega-sub-menu .mega-menu-row .mega-menu-item .menu li a,
html[data-theme='dark'] .mega-menu .mega-sub-menu .product-categories li a {
  color: #fff !important;
}
html[data-theme='dark'] .nav-right li a {
  color: #ffffff !important;
}
html[data-theme='dark'] .box-item .text p {
  color: #142177 !important;
}
html[data-theme='dark'] .box-item .text p b {
  color: #142177 !important;
}
html[data-theme='dark'] .gradient-white .banner-layers::after {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #00000094 100%);
}
html[data-theme='dark'] #footer [id^='section_'] {
  background-color: #575757 !important;
}
html[data-theme='dark'] body #wrapper,
html[data-theme='dark'] body #main,
html[data-theme='dark'] body #main .page-wrapper {
  background-color: #000000 !important;
}
html[data-theme='dark'] .shop-container .cwt-pc-card {
  background-color: #1e1e1e;
}
html[data-theme='dark'] #footer .ux-menu-link a {
  color: #fff !important;
}
html[data-theme='dark'] a {
  color: #fff;
}
html[data-theme='dark'] .banner-page-child .banner-inner .banner-layers .fill {
  background-color: #00000073;
}
html[data-theme='dark'] span.amount,
html[data-theme='dark'] table.variations label {
  color: #a3a3a3 !important;
}
html[data-theme='dark'] .woocommerce-checkout form label,
html[data-theme='dark'] .woocommerce-checkout .breadcrumbs * {
  color: #fff;
}
html[data-theme='dark'] .shop_table .cart_item td.product-name {
  color: #fff;
}
.shipping__table--multiple {
  padding-top: 15px;
}
#mega-menu-wrap-primary {
  width: 100%;
}
.header-nav {
  position: static !important;
}
.header-nav #mega-menu-wrap-primary {
  position: static;
}
.header-nav #mega-menu-wrap-primary #mega-menu-primary {
  position: static;
  text-align: center;
}
/* Mega menu mở (.mega-toggle-on): nền header #f8f8f8 — ghi đè home transparent */
#header:has(.mega-menu-item.mega-toggle-on) {
  background-color: #f8f8f8 !important;
}
#header:has(.mega-menu-item.mega-toggle-on) .header-nav {
  position: static;
}
#header:has(.mega-menu-item.mega-toggle-on) .header-nav #mega-menu-primary > .mega-menu-item > .mega-sub-menu {
  background-color: #f8f8f8 !important;
  box-shadow: 0px 12px 12px -6px #ccc;
}
/* Mega mở + cuộn (.header-wrapper.stuck): bỏ nền #f8f8f8 — header & panel trong suốt */
#header:has(.mega-menu-item.mega-toggle-on):has(.header-wrapper.stuck) {
  background-color: transparent !important;
}
#header:has(.mega-menu-item.mega-toggle-on) .header-wrapper.stuck .header-nav #mega-menu-primary > .mega-menu-item > .mega-sub-menu {
  box-shadow: none !important;
}
.mega-menu .mega-sub-menu:after {
  content: '' !important;
  display: block !important;
  clear: both !important;
}
.mega-menu .mega-sub-menu ul.menu > li + li {
  border-top: none !important;
}
.mega-menu .mega-sub-menu .mega-menu-row {
  padding: 3rem 0 2rem !important;
  max-width: 1170px !important;
  margin: 0 auto !important;
  float: none !important;
}
.mega-menu .mega-sub-menu .mega-menu-row.row-full {
  max-width: 100% !important;
  padding-top: 0 !important;
}
.mega-menu .mega-sub-menu .mega-menu-row.row-full img {
  width: 100% !important;
  max-height: 300px;
  object-fit: cover;
}
.mega-menu .mega-sub-menu .mega-menu-row .mega-menu-item {
  padding: 0 !important;
}
.mega-menu .mega-sub-menu .mega-menu-row .mega-menu-item .mega-block-title {
  color: #707070 !important;
  margin-bottom: 1rem !important;
  text-transform: unset !important;
  font-size: 14px !important;
}
.mega-menu .mega-sub-menu .mega-menu-row .mega-menu-item .menu li a {
  font-weight: bold;
  font-family: 'Heading Now Trial', 'UTM Avo', sans-serif !important;
  color: #000000 !important;
}
.mega-menu .mega-sub-menu .product-categories li a {
  font-weight: bold;
  font-family: 'Heading Now Trial', 'UTM Avo', sans-serif !important;
  color: #000000 !important;
  font-size: 18px;
}
.nav-right .account-item a {
  background: #1a2853;
}
.nav-right .account-item a:hover {
  background: #1a2853 !important;
}
.nav-right .account-item a:hover span {
  color: #fff;
}
.nav-right .account-item a span {
  color: #fff;
}
.nav-right .account-item .nav-dropdown {
  background: #d1d2d7;
  padding: 0px;
  border: none;
}
.nav-right .account-item .nav-dropdown li a {
  background: #d1d2d7;
  font-size: 13px;
  border-bottom: 1px solid #bbbbbb;
}
.nav-right .account-item .nav-dropdown li a:hover {
  background: #c0c1c2 !important;
}
html[data-theme='dark'] #header:has(.mega-menu-item.mega-toggle-on),
html[data-theme='dark'] #header:has(.mega-menu-item.mega-toggle-on):has(.header-wrapper.stuck) {
  background-color: #000 !important;
}
html[data-theme='dark'] #header:has(.mega-menu-item.mega-toggle-on) li.mega-menu-item > a.mega-menu-link,
html[data-theme='dark'] #header:has(.mega-menu-item.mega-toggle-on):has(.header-wrapper.stuck) li.mega-menu-item > a.mega-menu-link {
  color: #fff !important;
}
html[data-theme='dark'] .nav-right .account-item .nav-dropdown {
  background: #000000;
  padding: 0px;
  border: none;
}
html[data-theme='dark'] .nav-right .account-item .nav-dropdown li a {
  background: #000000;
  border-bottom: 1px solid #162245;
}
html[data-theme='dark'] .nav-right .account-item .nav-dropdown li a:hover {
  background: #111111 !important;
}
.base-color-text {
  color: var(--cwt-text) !important;
}
/* Chế độ tối: id dạng text-* (text block trong UX Builder / HTML) — chữ trắng, kể cả con */
html[data-theme='dark'] [id^='text-'],
html[data-theme='dark'] [id^='text-'] * {
  color: #ffffff !important;
}
/* Chế độ tối: section_* — nền trắng; chữ text-* bên trong đen (ghi đè quy tắc trên) */
html[data-theme='dark'] [id^='section_'] {
  background-color: #000000 !important;
}
html[data-theme='dark'] [id^='section_'].light {
  background-color: #373737 !important;
}
html[data-theme='dark'] [id^='section_'].light a.secondary {
  background: #fff !important;
}
html[data-theme='dark'] [id^='section_'].light [id^='text-'] * {
  color: #ffffff;
}
html[data-theme='dark'] [id^='section_'].light [id^='text-'] * a {
  color: #006dde;
}
html[data-theme='dark'] [id^='section_'].white-bg {
  background-color: #fff !important;
}
html[data-theme='dark'] [id^='section_'].white-bg [id^='text-'] * {
  color: #000000 !important;
}
html[data-theme='dark'] [id^='section_'] .section-box-item .box-item p * {
  color: var(--cwt-pc-title) !important;
}
#main #content {
  background-color: var(--cwt-bg);
}
html[data-theme='dark'] [id^='section_'] [id^='text-'] a,
html[data-theme='dark'] [id^='section_'] [id^='text-'] a * {
  color: #006dde;
}
h1 {
  font-size: clamp(1.75rem, 5.15vw, 3rem);
}
h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}
h3 {
  font-size: clamp(1.35rem, 3.2vw, 2rem);
}
h4 {
  font-size: clamp(1.2rem, 2.55vw, 1.65rem);
}
h5 {
  font-size: clamp(1.1rem, 1.9vw, 1.35rem);
}
h6 {
  font-size: clamp(1rem, 1.45vw, 1.15rem);
  font-weight: 700;
}
/*************** ADD CUSTOM CSS HERE.   ***************/
/* rem tương đương 12.5px / 23px khi root 16px */
.header-main .nav > li > a {
  font-family: 'Heading Now Trial', sans-serif;
  font-weight: 800;
  font-size: 0.78125rem;
  color: var(--cwt-header-link);
  text-transform: unset;
  padding: 1.2rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 2rem;
  line-height: 1 !important;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.header-main .nav > li > a:hover {
  background: var(--cwt-bg-alt);
  color: var(--cwt-text);
}
.header-main .nav > li.current-menu-item > a {
  background: var(--cwt-bg-alt);
  color: var(--cwt-text);
}
#header .header-wrapper .header-bottom {
  background-color: #e8e8e8;
  color: #1a2853;
  font-size: 0.9rem;
  font-family: 'Heading Now Trial', 'UTM Avo', sans-serif !important;
  opacity: 0;
  height: 0px;
  min-height: 0px;
  transition: all 0.3s;
}
#header .header-wrapper .header-bottom .header-bottom-nav {
  justify-content: center;
}
#header .header-wrapper .header-bottom a {
  color: #006dde;
}
#header .header-wrapper .header-bottom .flex-col {
  width: 100%;
}
#header .header-wrapper.stuck .header-bottom {
  opacity: 1;
  height: auto;
  min-height: 55px;
  transition: all 0.3s;
}
/* Dark: chữ trắng; viền trắng chỉ khi là menu item hiện tại */
html[data-theme='dark'] .header-main .nav > li > a {
  color: #0a0a0a;
}
html[data-theme='dark'] .header-main .nav > li > a:hover {
  color: #ffffff;
}
html[data-theme='dark'] .header-main .nav > li.current-menu-item > a {
  color: #ffffff;
  border-color: #ffffff;
}
html[data-theme='dark'] .header-main .nav.mobile-nav > li > a {
  color: #fff;
}
html[data-theme='dark'] .header-main .nav.mobile-nav .cart-item {
  display: none;
}
/* Logo header: light — .header-logo-dark | dark — .header_logo / .header-logo */
.header-logo-dark {
  display: none !important;
}
html[data-theme='light'] .header_logo,
html[data-theme='light'] .header-logo {
  display: none !important;
}
html[data-theme='light'] .header-logo-dark {
  display: inline-flex !important;
  align-items: center;
}
html[data-theme='dark'] .header_logo,
html[data-theme='dark'] .header-logo {
  display: inline-flex !important;
  align-items: center;
}
html[data-theme='dark'] .header-logo-dark {
  display: none !important;
}
html[data-theme='dark'] #header .header-wrapper .header-bottom {
  background-color: #373737;
  color: #ffffff;
}
/* Ảnh theo theme: sáng — .img-black | tối — .img-white */
.img-white {
  display: none !important;
}
html[data-theme='dark'] .img-black {
  display: none !important;
}
html[data-theme='dark'] .img-white {
  display: inline-block !important;
}
/* Nút chuyển theme — pill + thumb (night.png = sáng, night.svg = tối) */
.cwt-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  line-height: 0;
  vertical-align: middle;
}
.cwt-theme-toggle:focus-visible {
  outline: 2px solid var(--cwt-text-muted);
  outline-offset: 3px;
  border-radius: 999px;
}
.cwt-theme-toggle__track {
  position: relative;
  display: block;
  width: 100px;
  height: 45px;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--cwt-border);
}
.cwt-theme-toggle__layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s ease;
  background-repeat: no-repeat;
  width: 50%;
  background-position: center;
  background-size: 50%;
}
.cwt-theme-toggle__layer--light {
  background-image: url('assets/images/night.png');
  z-index: 8;
  opacity: 1;
}
.cwt-theme-toggle__layer--dark {
  background-image: url('assets/images/night.svg');
  z-index: 8;
  right: 0px;
  left: auto;
}
/* Tối: icon SVG thường nhỏ, cho kiểu "contain" và lệch phải nhẹ */
html[data-theme='dark'] .cwt-theme-toggle__layer--dark {
  opacity: 1;
}
html[data-theme='dark'] .cwt-theme-toggle__track {
  background: #000000;
  border: 1px solid #ffffff;
}
html[data-theme='light'] .cwt-theme-toggle__track {
  background: #ffffff;
}
.cwt-theme-toggle__thumb {
  position: absolute;
  top: 0.125rem;
  bottom: 0.125rem;
  left: 0.125rem;
  width: calc(50% - 0.1875rem);
  border-radius: 999px;
  background: #5a6a8a;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
  pointer-events: none;
}
html[data-theme='dark'] .cwt-theme-toggle__thumb {
  left: calc(50% + 0.0625rem);
  background: linear-gradient(180deg, #c4d2ed, #f8f8f8f8);
}
@media (prefers-reduced-motion: reduce) {
  .cwt-theme-toggle__layer,
  .cwt-theme-toggle__thumb {
    transition-duration: 0.01ms;
  }
  body,
  #wrapper,
  #main,
  #main .page-wrapper {
    transition-duration: 0.01ms !important;
  }
}
html[data-theme='dark'] {
  /* Trang sản phẩm CWT — tối */
}
html[data-theme='dark'] .single-product .product-container .product-main {
  background-color: var(--cwt-bg-alt);
}
html[data-theme='dark'] .single-product .cwt-col-left .product-images,
html[data-theme='dark'] .single-product .cwt-col-left .woocommerce-product-gallery,
html[data-theme='dark'] .single-product .product-gallery .product-images,
html[data-theme='dark'] .single-product .product-gallery .woocommerce-product-gallery {
  background: linear-gradient(180deg, #2a2a2a 0%, #1f1f1f 100%);
}
html[data-theme='dark'] .single-product .cwt-price-label {
  color: var(--cwt-text-muted);
}
html[data-theme='dark'] .single-product .cwt-sale-badge {
  color: var(--cwt-text-muted);
}
html[data-theme='dark'] .single-product .cwt-price-amounts del .woocommerce-Price-amount::after {
  color: var(--cwt-text);
}
html[data-theme='dark'] .single-product .price ins,
html[data-theme='dark'] .single-product .cwt-box-heading {
  color: var(--cwt-text);
}
html[data-theme='dark'] .single-product .cwt-product-long-description,
html[data-theme='dark'] .single-product .product-short-description {
  color: var(--cwt-text-muted);
}
html[data-theme='dark'] .cwt-reference-link {
  color: #9eb4e8;
}
html[data-theme='dark'] .cwt-reference-link:hover {
  color: #c5d4f5;
}
html[data-theme='dark'] .cwt-btn-secondary {
  color: var(--cwt-text) !important;
  border-color: var(--cwt-text) !important;
}
html[data-theme='dark'] .cwt-btn-secondary:hover {
  background: var(--cwt-text) !important;
  color: var(--cwt-bg) !important;
}
html[data-theme='dark'] .cwt-installment-note {
  color: var(--cwt-text-muted);
}
/* ============================================================
   CWT — Single Product
   ============================================================ */
.single-product {
  /* Giá trong vùng CWT (.cwt-price-amounts) tách độ đậm ở block bên dưới */
  /* Khối giá: Giá chỉ + dòng giá + badge % (layout như mockup) */
}
.single-product .is-divider {
  display: none;
}
.single-product .woocommerce-Price-amount {
  opacity: 1;
  font-size: 1.05rem;
}
.single-product .product-page-price {
  font-family: 'Heading Now Trial', 'UTM Avo', sans-serif !important;
  font-weight: bold;
  font-size: 1.05rem;
  color: var(--cwt-text);
  line-height: 1;
  margin-right: 0;
  opacity: 1;
}
.single-product .product-container .product-main {
  background-color: var(--cwt-bg-alt);
  padding-top: 1rem;
  padding-bottom: 1.5rem;
}
.single-product .cwt-col-left.product-gallery,
.single-product .product-gallery.col {
  padding: 0.75rem;
}
.single-product .cwt-col-left .product-images,
.single-product .cwt-col-left .woocommerce-product-gallery,
.single-product .product-gallery .product-images,
.single-product .product-gallery .woocommerce-product-gallery {
  background: #e8e8e8;
  border-radius: 28px;
  padding: 1.25rem;
  box-sizing: border-box;
}
.single-product .product-info.entry-summary.cwt-col-right,
.single-product .product-info.entry-summary {
  position: relative;
}
.single-product .cwt-product-two-col {
  align-items: flex-start;
}
.single-product h1,
.single-product h2,
.single-product h3,
.single-product h4,
.single-product h5,
.single-product h6,
.single-product .heading-font {
  color: var(--cwt-heading-text);
}
.single-product .product-info {
  color: var(--cwt-text);
  font-family: 'Heading Now Trial', 'UTM Avo', sans-serif !important;
  font-size: 1.2rem;
}
.single-product .product-info .cwt-product-long-description {
  max-height: 400px;
  overflow: auto;
  color: var(--cwt-text);
  font-size: 1rem;
}
.single-product .product-info .cwt-product-long-description h3 {
  font-size: 1rem;
  color: var(--cwt-heading-text);
}
.single-product .product-info .cwt-product-long-description div p {
  margin-bottom: 0.6rem;
}
.single-product .product_title {
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  font-family: 'Heading Now Trial', 'UTM Avo', sans-serif !important;
  color: var(--cwt-heading-text);
}
.single-product .price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}
.single-product .cwt-price-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  width: 100%;
}
.single-product .cwt-price-row1 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
  line-height: 1.35;
  margin-bottom: 0.2rem;
  font-weight: 600;
}
.single-product .cwt-price-label {
  color: var(--cwt-heading-text);
  display: inline;
}
.single-product .cwt-price-amounts {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  border-top: none;
  gap: 0;
  font-size: 1rem;
  /* Mũi tên sau giá gốc — đặt trên .woocommerce-Price-amount để không bị gạch ngang */
}
.single-product .cwt-price-amounts del {
  text-decoration: line-through;
  font-weight: 400;
  color: var(--cwt-text);
  opacity: 0.85;
}
.single-product .cwt-price-amounts ins {
  text-decoration: none;
  font-weight: 600;
  color: var(--cwt-heading-text);
  background: none;
}
.single-product .cwt-price-amounts del .woocommerce-Price-amount {
  font-weight: 400;
  font-size: 1.05rem;
}
.single-product .cwt-price-amounts del .woocommerce-Price-amount::after {
  content: '→';
  text-decoration: none;
  display: inline;
  margin: 0 0.35rem;
  font-weight: 400;
  color: var(--cwt-text);
  opacity: 1;
}
.single-product .cwt-price-amounts ins .woocommerce-Price-amount {
  font-weight: 600;
  font-size: 1.05rem;
}
.single-product .price ins {
  text-decoration: none;
  font-weight: 600;
  color: var(--cwt-heading-text);
}
.single-product .price ins .woocommerce-Price-amount {
  font-size: 1.05rem;
}
.single-product .cwt-sale-badge {
  display: block;
  background: transparent;
  color: #666;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  padding: 0;
  margin: 0.15rem 0 0;
}
.single-product .cwt-box-heading {
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-top: 1.2rem;
  margin-bottom: 0.4rem;
  color: #111;
}
.single-product .cwt-product-long-description {
  font-size: 0.875rem;
  line-height: 1.75;
  color: #333;
  margin-bottom: 1.25rem;
}
.single-product .cwt-product-long-description p:last-child {
  margin-bottom: 0;
}
.single-product .cwt-product-long-description li {
  list-style: none;
}
.single-product .product-short-description {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 1.4rem;
}
.single-product .product-short-description ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.single-product .product-short-description ul li {
  padding: 0.18rem 0;
}
.single-product .product-short-description ul li::before {
  content: '';
}
.single-product .price-wrapper {
  border-bottom: 1px solid #3f3f3f;
  margin-bottom: 15px;
  padding-bottom: 10px;
}
.cwt-reference-link {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 0.75rem;
  color: #1a2853;
  text-decoration: underline;
  line-height: 1.4;
}
.cwt-reference-link:hover {
  color: #0d1a38;
}
/* ============================================================
   CWT — Action Buttons
   ============================================================ */
.cwt-product-actions {
  display: flex;
  gap: 1rem;
}
.cwt-product-actions .cwt-btn-buy-now {
  margin-right: 0;
  width: auto;
}
.cwt-btn-buy-now {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #1a2853 !important;
  color: #fff !important;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  border: 2px solid #1a2853 !important;
  border-radius: 50px !important;
  padding: 1rem 1.5rem !important;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  line-height: 1 !important;
}
.cwt-btn-buy-now:hover {
  background: #0d1a38 !important;
  border-color: #0d1a38 !important;
  color: #fff !important;
}
.cwt-btn-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.cwt-btn-row .cwt-cart-form {
  flex: 1;
  margin: 0;
}
.cwt-btn-row > .cwt-btn-secondary,
.cwt-btn-row > button.cwt-btn-secondary {
  width: auto;
  font-size: 0.8em;
  line-height: 1;
  color: #0e0e0e !important;
}
.cwt-btn-row {
  /* Cùng kiểu với link trả góp: hai dòng chữ, nền trong, flex cột */
}
.cwt-btn-row .cwt-installment-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}
.cwt-btn-row .cwt-installment-wrap a {
  background: none !important;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  color: #0e0e0e !important;
  background-color: transparent !important;
  line-height: 1;
  padding: 1rem 1rem !important;
  gap: 0.2rem;
  font-weight: 600;
  margin-right: 0px;
}
.cwt-btn-row .single_add_to_cart_button {
  background: none !important;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  color: #0e0e0e !important;
  background-color: transparent !important;
  line-height: 1;
  padding: 0.5rem 1rem !important;
  gap: 0.2rem;
  font-weight: 600;
  margin-right: 0px;
  height: 54px;
}
.cwt-btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: transparent !important;
  color: #111 !important;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  border: 2px solid #111 !important;
  border-radius: 50px !important;
  padding: 0.75rem 1rem !important;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  height: 78px;
}
.cwt-installment-note {
  display: block;
  font-size: 0.7rem;
  text-align: center;
  line-height: 1.3;
  font-size: 0.8rem;
  text-transform: none;
}
.cwt-cart-form .quantity {
  display: none !important;
}
/* Popup — liên hệ khi sản phẩm không có giá (CF7) */
body.cwt-contact-modal-open {
  overflow: hidden;
}
.cwt-price-contact-modal {
  position: fixed;
  inset: 0;
  z-index: 100050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}
.cwt-price-contact-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  cursor: pointer;
}
.cwt-price-contact-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 32rem;
  max-height: min(90vh, 40rem);
  overflow: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  color: #111;
}
html[data-theme='dark'] .cwt-price-contact-modal__dialog {
  background: #1a1a1a;
  color: #eee;
}
.cwt-price-contact-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1rem 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
html[data-theme='dark'] .cwt-price-contact-modal__header {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
.cwt-price-contact-modal__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}
.cwt-price-contact-modal__close {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  color: inherit;
  padding: 0 0.25rem;
  opacity: 0.75;
}
.cwt-price-contact-modal__close:hover {
  opacity: 1;
}
.cwt-price-contact-modal__body {
  padding: 1rem 1rem 1.25rem;
}
.cwt-price-contact-modal__body .wpcf7 {
  margin: 0;
}
/* ============================================================
   CWT — Responsive
   ============================================================ */
.banner-inner {
  overflow: hidden;
}
.banner-inner .banner-layers {
  position: static;
}
.banner h1 {
  font-size: 5.5em;
}
.letter-space-lg {
  letter-spacing: 1rem;
}
/* Hero — bút trái (UX Block: class section-1-pen left-pen trên img/div) */
.section-1-pen {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  max-width: 100%;
  height: auto;
}
.section-1-pen.left-pen {
  bottom: 2%;
  left: 0;
  top: auto;
  width: clamp(11rem, 34vw, 26.25rem);
  transform-origin: 42% 90%;
  transform: translateX(-40%) rotate(-27deg) !important;
}
.section-1-pen.right-pen {
  right: 0;
  bottom: 50%;
  left: auto;
  top: auto;
  transform-origin: 35% 90%;
  transform: translateX(44%) rotate(-27deg) !important;
}
/* ============================================================
   Flatsome — header fixed + section đầu (hero) kéo lên dưới header
   Chỉnh --cwt-header-height trong :root nếu khác chiều cao thực tế.
   ============================================================ */
/* Chỉ trang chủ: header sticky = fixed */
body.home #header.has-sticky {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  width: 100%;
}
/* Thanh admin WP (desktop 32px) */
body.logged-in.home #header.has-sticky {
  top: 32px;
}
/* Thanh admin WP — mobile (≈782px breakpoint của WP) */
@media screen and (max-width: 782px) {
  body.logged-in.home #header.has-sticky {
    top: 46px;
  }
}
#header.has-sticky .stuck .header-main {
  height: 60px !important;
  background: #ffffffe6;
}
/* Chế độ tối: không áp chiều cao/nền sáng cho sticky bar */
html[data-theme='dark'] #header.has-sticky .stuck .header-main {
  height: auto !important;
  min-height: 0 !important;
  background: #000000a3 !important;
}
/* Nút Flatsome — sáng: màu primary theme; tối: nền trắng */
a.button {
  background-color: var(--fs-color-primary) !important;
  color: #fff !important;
  border-color: var(--fs-color-primary) !important;
  padding: 0.2rem 2rem !important;
  font-family: 'Heading Now Trial', sans-serif !important;
}
a.button.secondary {
  background: #003fff21 !important;
  border-color: transparent !important;
  color: #1a2853 !important;
  font-weight: 800 !important;
}
/* Nút nền #f1f6ff, chữ màu primary — ghi đè cả .button.primary (Flatsome) */
a.button.btn-white,
a.button.primary.btn-white,
.button.btn-white,
.button.primary.btn-white,
.btn-white {
  background-color: #f1f6ff !important;
  color: var(--fs-color-primary) !important;
}
a.button.btn-white span,
a.button.primary.btn-white span,
.button.btn-white span,
.button.primary.btn-white span,
.btn-white span {
  color: var(--fs-color-primary) !important;
}
a.button.btn-white:hover,
a.button.primary.btn-white:hover,
.button.btn-white:hover,
.button.primary.btn-white:hover {
  background-color: #f1f6ff !important;
  color: var(--fs-color-primary) !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
}
html[data-theme='dark'] a.button.btn-white:hover,
html[data-theme='dark'] a.button.primary.btn-white:hover,
html[data-theme='dark'] .button.primary.btn-white:hover {
  background-color: #f1f6ff !important;
  color: var(--fs-color-primary) !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
}
/* Utility — max-width */
.mw-600 {
  max-width: 30vw;
}
/* Utility — position */
.static {
  position: static !important;
}
.relative {
  position: relative !important;
}
.absolute {
  position: absolute !important;
}
.fixed {
  position: fixed !important;
}
.sticky {
  position: sticky !important;
}
/* Utility — height */
.h-100 {
  height: 100%;
}
/* Utility — grid (dùng: class="grid grid-cols-5") */
/* Tham chiếu: .grid.grid-cols-5 .section-content */
.grid.grid-cols-5 .section-content {
  gap: 3rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  display: grid !important;
  min-width: 0;
  /* ô grid: tránh nội dung làm vỡ cột */
}
/*
 * margin-bottom: dùng rem (không dùng em).
 * rem = theo cỡ chữ gốc (html) → lề đồng bộ, dễ responsive (chỉnh font-size gốc là scale spacing).
 * em = theo font phần tử → lồng nhau dễ bị nhân kép, khó kiểm soát layout.
 * Scale: mb-n = n × 0.25rem (mb-1 ≈ 4px, mb-10 ≈ 40px khi root 16px).
 */
.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-5 {
  margin-bottom: 1.25rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-7 {
  margin-bottom: 1.75rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.mb-9 {
  margin-bottom: 2.25rem;
}
.mb-10 {
  margin-bottom: 2.5rem;
}
.pl-0 {
  padding-left: 0px;
}
.pr-0 {
  padding-right: 0px;
}
.text-dive a {
  color: #006dde;
}
/* Section box item — cột full chiều cao, box nền trắng bo góc, nội dung căn giữa */
.section-box-item .box-item,
.section-box-item .box-item .col,
.section-box-item .box-item .col-inner {
  height: 100%;
  padding-bottom: 0;
}
.section-box-item .box-item .col-inner {
  background: #fff;
  border-radius: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 0.5rem;
}
.box-item .box-image img {
  object-fit: contain;
  aspect-ratio: 1 / 1;
}
/* Tương đương Tailwind: aspect-[9/45] object-contain w-full */
.img-pen-box img {
  aspect-ratio: 9 / 40;
  object-fit: contain;
  width: 100%;
}
.row .col,
.row .columns,
.row .gallery-item {
  padding-bottom: 0;
}
div .button,
div button,
div fieldset,
div input,
div select,
div textarea {
  margin-bottom: 0;
}
a.button.is-xsmall {
  padding: 0.05rem 1rem !important;
}
.rounded-img img {
  border-radius: 1.4rem;
}
.box-image .img-inner img {
  border-radius: 1.4rem;
}
.pt-0 .col-inner {
  padding-top: 0 !important;
}
.pb-0 .col-inner {
  padding-bottom: 0 !important;
}
/* --- CWT Product Showcase (shortcode / UX Builder) --- */
.cwt-product-showcase {
  --cwt-pc-radius: 16px;
  --cwt-pc-card-bg: #ffffff;
  --cwt-pc-title: #0f172a;
  --cwt-pc-muted: var(--cwt-text-muted);
  --cwt-pc-btn-outline: rgba(0, 0, 0, 0.2);
  --cwt-pc-cta-bg: #0f172a;
  --cwt-pc-cta-color: #ffffff;
}
html[data-theme='dark'] .cwt-product-showcase {
  --cwt-pc-card-bg: #1e1e1e;
  --cwt-pc-title: #f8fafc;
  --cwt-pc-btn-outline: rgba(255, 255, 255, 0.28);
  --cwt-pc-cta-bg: #f1f5f9;
  --cwt-pc-cta-color: #0f172a;
}
.cwt-product-showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem;
}
.cwt-product-showcase--cols-1 .cwt-product-showcase__grid {
  grid-template-columns: 1fr;
}
.cwt-product-showcase--cols-2 .cwt-product-showcase__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cwt-product-showcase--cols-3 .cwt-product-showcase__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cwt-product-showcase--cols-4 .cwt-product-showcase__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 849px) {
  .cwt-product-showcase--cols-3 .cwt-product-showcase__grid,
  .cwt-product-showcase--cols-4 .cwt-product-showcase__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 549px) {
  .cwt-product-showcase__grid {
    grid-template-columns: 1fr !important;
  }
}
.cwt-pc-card {
  background: var(--cwt-pc-card-bg);
  border-radius: var(--cwt-pc-radius);
  box-shadow: 0 1px 13px rgba(0, 0, 0, 0.04);
  padding: 1.25rem 1.25rem 0;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  position: relative;
  justify-content: space-between;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.cwt-pc-card .cwt-pc-card-inner {
  aspect-ratio: 1.133;
  position: relative;
}
.cwt-pc-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.cwt-pc-card__top {
  gap: 0.75rem;
  margin-bottom: 0;
  top: 0px;
  left: 0px;
  width: 100%;
  padding: 1.2rem 0 1.2rem;
  z-index: 2;
}
.cwt-pc-card__title {
  margin: 0 0 0;
  font-size: 1.2rem;
  letter-spacing: -1px;
  font-weight: 600;
  line-height: 1.25;
  color: #1a2853;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
html[data-theme='dark'] .cwt-pc-card__title {
  color: #ffffff;
}
html[data-theme='dark'] .cwt-pc-card__btn-price {
  color: #ffffff !important;
}
html[data-theme='dark'] .cwt-pc-card__btn-more {
  color: #fff !important;
}
.cwt-pc-card__sub {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--cwt-pc-muted);
}
.cwt-pc-card__btn-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  background: #1a2853;
  color: var(--cwt-pc-cta-color) !important;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none !important;
  line-height: 1.2;
  margin-bottom: 0;
  margin-top: 0;
  white-space: nowrap;
}
.cwt-pc-card__btn-more:hover {
  opacity: 0.92;
  color: var(--cwt-pc-cta-color) !important;
}
.shop-container .cwt-pc-card__btn-more {
  color: #fff !important;
}
.cwt-pc-card__btn-price {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--cwt-pc-btn-outline);
  color: #1a2853 !important;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none !important;
  line-height: 1.2;
  white-space: nowrap;
}
.cwt-pc-card__btn-price:hover {
  border-color: var(--cwt-text-muted);
}
.cwt-pc-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
  margin-bottom: 0.3rem;
}
.cwt-pc-swatches__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.38);
  box-sizing: border-box;
  margin-left: 0px !important;
}
html[data-theme='dark'] .cwt-pc-swatches__dot {
  border-color: rgba(255, 255, 255, 0.2);
}
.cwt-pc-card__media {
  display: block;
  margin: 0.5rem -1.25rem 0;
  text-align: center;
  line-height: 0;
  overflow: hidden;
  border-radius: 0 0 var(--cwt-pc-radius) var(--cwt-pc-radius);
}
.cwt-pc-card__media img {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
}
.cwt-pc-card__media:hover {
  opacity: 0.96;
}
.cwt-pc-card.top-right .cwt-pc-card__media img {
  width: 118%;
  height: 118%;
  top: auto;
  object-fit: contain;
  bottom: 0;
  max-width: unset;
}
.cwt-pc-card.left-bottom .cwt-pc-card__media img {
  width: 108%;
  height: 115%;
  top: 0;
  object-fit: cover;
  bottom: 0;
  max-width: unset;
  left: auto;
  right: 0;
  object-position: right;
}
.cwt-pc-card__img-el {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  width: 100%;
}
/* --- CWT Product Slider (ảnh trên — chữ dưới, ux_slider) --- */
.cwt-product-slider {
  --cwt-pc-radius: 16px;
  --cwt-pc-card-bg: #ffffff;
  --cwt-pc-title: #0f172a;
  --cwt-pc-muted: var(--cwt-text-muted);
  --cwt-pc-media-bg: #f1f5f9;
}
html[data-theme='dark'] .cwt-product-slider {
  --cwt-pc-card-bg: #1e1e1e;
  --cwt-pc-title: #f8fafc;
  --cwt-pc-media-bg: #2a2a2a;
}
.cwt-product-slider .flickity-slider > .col {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  box-sizing: border-box;
}
.cwt-pc-slider-card {
  background: var(--cwt-pc-card-bg);
  border-radius: var(--cwt-pc-radius);
  box-shadow: 0 1px 13px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: left;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.cwt-pc-slider-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.cwt-pc-slider-card__media {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--cwt-pc-media-bg);
  line-height: 0;
  overflow: hidden;
}
.cwt-pc-slider-card__media:hover {
  opacity: 0.97;
}
.cwt-pc-slider-card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  vertical-align: bottom;
}
.cwt-pc-slider-card__body {
  padding: 1rem 1.1rem 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.cwt-pc-slider-card__title {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--cwt-pc-title);
}
.cwt-pc-slider-card__excerpt {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--cwt-pc-muted);
}
div.col-inner .button.mr-2 {
  margin-right: 2rem !important;
}
div.col-inner .button.mr-3 {
  margin-right: 3rem !important;
}
div.col-inner .button.mr-4 {
  margin-right: 4rem !important;
}
div.col-inner .button.mr-5 {
  margin-right: 5rem !important;
}
.product-info .social-icons {
  display: none;
}
#mega-menu-wrap-primary {
  background: none !important;
}
.woocommerce-variation-add-to-cart {
  gap: 0.2em !important;
}
.woocommerce-breadcrumb {
  display: none !important;
}
.woocommerce-variation-price {
  padding-top: 0px !important;
  padding-bottom: 0px !important;
  border-top: none !important;
}
.woocommerce-variation-price .price {
  margin-bottom: 10px !important;
  margin-top: 0px !important;
  padding-top: 0px;
  display: flex;
  flex-direction: row;
}
.gradient-white {
  padding-bottom: 0px !important;
}
.gradient-white .banner-layers {
  position: relative;
}
.gradient-white .banner-layers::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #ffffff94 100%);
  z-index: 2;
}
.gradient-white .banner {
  padding-top: 52% !important;
}
.gradient-white .banner-bg img {
  object-fit: contain;
  object-position: bottom center;
}
.gradient-white .text-box.banner-layer {
  position: relative;
  z-index: 3;
}
.flickity-button {
  background-color: #e6e6e6 !important;
  box-shadow: 0px 1px 2px 0px #000 !important;
  border: 1px solid #e6e6e6 !important;
  width: 36px !important;
  height: 36px;
  border-radius: 100%;
}
.flickity-button .flickity-button-icon {
  width: 26px;
  border: none !important;
  padding: 6px !important;
}
.flickity-button .flickity-button-icon path {
  fill: #afafaf !important;
}
html {
  font-size: 4px;
}
@media (min-width: 1367px) {
  html {
    font-size: 16px;
  }
}
@media (max-width: 1366px) {
  html {
    font-size: 14px;
  }
}
@media (max-width: 1199px) {
  .column-responsive .row .col {
    flex-basis: 50%;
    max-width: 50%;
    margin-bottom: 2rem;
  }
  .column-responsive .row .col .col-inner {
    padding: 2rem;
  }
  .row-col-1-4 .large-1 {
    flex-basis: 20%;
    max-width: 20%;
  }
  .row-col-1-4 .large-11 {
    flex-basis: 80%;
    max-width: 80%;
  }
  .row-col-1-4 .row.h-100 {
    height: auto;
  }
  .grid.grid-cols-5 .section-content {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .grid.grid-cols-5 .section-content > * {
    min-width: 0;
  }
  .grid.grid-cols-5 .section-content > *:nth-child(1),
  .grid.grid-cols-5 .section-content > *:nth-child(2) {
    grid-column: span 2;
    grid-row: 1;
  }
  .grid.grid-cols-5 .section-content > *:nth-child(3),
  .grid.grid-cols-5 .section-content > *:nth-child(4),
  .grid.grid-cols-5 .section-content > *:nth-child(5) {
    grid-column: span 2;
    grid-row: 2;
  }
}
@media (max-width: 1024px) {
  .mw-600 {
    max-width: 60vw;
  }
  html {
    font-size: 12px;
  }
}
.tabbed-content .nav li {
  margin-right: 0px;
}
.tabbed-content .nav li a {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0.6rem 0.8rem;
}
.tabbed-content .nav li a::before {
  top: auto;
  bottom: 0;
}
.tabbed-content .tab-panels {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 2rem;
}
.el-wrap-text-banner {
  z-index: 2;
}
.header-inner #logo img {
  max-width: 220px;
  height: auto;
}
@media screen and (max-width: 1199px) {
  .header-inner #logo {
    width: auto;
  }
  .header-inner #logo img {
    max-width: 170px;
  }
}
@media screen and (max-width: 1090px) {
  .header-inner .hide-for-medium {
    display: none !important;
  }
  .header-inner .show-for-medium {
    display: block !important;
    flex: 1 1 0;
    order: 1;
  }
  .header-inner #logo {
    order: 2 !important;
  }
  .header-inner.medium-logo-center .flex-right {
    order: 3 !important;
  }
  .mobile-sidebar #mega-menu-wrap-primary #mega-menu-primary li > .mega-sub-menu li .mega-sub-menu {
    padding-left: 0px !important;
    padding-top: 0px !important;
  }
}
@media screen and (min-width: 1091px) {
  .header-inner .show-for-medium {
    display: none !important;
  }
}
@media screen and (max-width: 1024px) {
  .mega-menu .mega-sub-menu .mega-menu-row {
    padding: 3rem 2rem 2rem !important;
  }
}
@media (min-width: 480px) and (max-width: 849px) {
  .large-columns-3 > .col {
    flex-basis: 50% !important;
  }
}
@media (max-width: 849px) {
  .mfp-wrap {
    z-index: 9999999 !important;
  }
  .mfp-wrap .mega-menu-wrap .mega-menu-toggle {
    display: none !important;
  }
  .mfp-wrap .mega-menu-wrap .mega-menu .row-full {
    display: none !important;
  }
  .mfp-wrap .mega-menu-wrap .mega-menu .mega-sub-menu .mega-menu-row {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .mfp-wrap .mega-menu-wrap .mega-menu .mega-sub-menu .mega-menu-row .mega-menu-item .mega-block-title {
    margin-bottom: 0px !important;
  }
  .mfp-wrap .mega-menu-wrap .mega-menu {
    visibility: visible !important;
    position: static !important;
    height: auto !important;
    background: none !important;
  }
  .mfp-wrap .mega-menu-wrap .mega-menu .mega-sub-menu {
    margin-bottom: 10px !important;
  }
  .mfp-wrap .mega-menu-wrap .mega-menu .mega-sub-menu li a {
    font-size: 14px;
    padding: 0;
  }
  .mfp-wrap .mega-menu-primary {
    display: block !important;
    height: auto !important;
    position: static !important;
    background: none !important;
    visibility: visible !important;
  }
  #masthead.header-main {
    height: auto;
  }
}
.home-slider-col-5 .section-content {
  padding-left: 2rem;
  padding-right: 2rem;
}
@media (max-width: 767px) {
  .grid.grid-cols-5 .section-content {
    gap: 1rem;
  }
  .home-slider-col-5 .section-content {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .home-slider-col-5 .section-content .box-text {
    padding-bottom: 0px;
  }
}
@media (max-width: 541px) {
  .mobile-pt-0 .col > .col-inner {
    padding-top: 0px !important;
    padding-bottom: 1rem !important;
  }
}
@media (max-width: 480px) {
  .banner h1 {
    font-size: 2em !important;
    margin-bottom: 1rem !important;
  }
  .home-slider .left-pen {
    bottom: 24% !important;
  }
  .column-responsive .row .col {
    padding-left: 5px;
    padding-right: 5px;
  }
  .column-responsive .row .col .col-inner {
    padding: 1rem;
  }
  .row-col-1-4 > .col {
    padding-left: 5px;
    padding-right: 5px;
  }
}
.mobile-sidebar #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item {
  display: list-item;
}
.mobile-sidebar #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item a.mega-menu-link {
  display: block !important;
}
.mobile-sidebar .header-social-icons,
.mobile-sidebar .header-newsletter-item,
.mobile-sidebar .account-item {
  display: none;
}
.mobile-sidebar #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item {
  display: block !important;
}
.mobile-sidebar #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item a {
  display: inline-block !important;
}
.mobile-sidebar #mega-menu-wrap-primary #mega-menu-primary > li.mega-toggle-on {
  position: static !important;
}
.mobile-sidebar #mega-menu-wrap-primary #mega-menu-primary > li.mega-toggle-on .mega-sub-menu {
  position: static !important;
}
.mobile-sidebar #mega-menu-wrap-primary #mega-menu-primary li > .mega-sub-menu {
  background-color: transparent !important;
  margin-bottom: 0 !important;
}
.mobile-sidebar #mega-menu-wrap-primary #mega-menu-primary li > .mega-sub-menu li {
  width: auto !important;
  float: none !important;
}
.mobile-sidebar #mega-menu-wrap-primary #mega-menu-primary li > .mega-sub-menu li.mega-menu-row .mega-sub-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
}
.mobile-sidebar #mega-menu-wrap-primary #mega-menu-primary li > .mega-sub-menu li .mega-sub-menu {
  position: static !important;
  display: flex !important;
  flex-direction: column !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.mobile-sidebar .nav-sidebar .html_topbar_right {
  display: none !important;
}
.mobile-sidebar .sidebar-menu .sidebar-menu-top-content {
  padding: 0 1.2rem;
}
.w-img-auto img {
  width: auto !important;
}
#footer a {
  color: #006dde;
}
.footer-logo img {
  max-height: 31px;
  width: auto !important;
}
.woocommerce-privacy-policy-text {
  display: none;
}
.header-nav .return-to-shop a {
  font-size: 12px;
}
.header-nav li a .header-account-title {
  width: 6ch;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  text-transform: capitalize;
}
