/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/* === FONT === */
@font-face {
  font-family: 'kids-icons';
  src: url('inc/fonts/Kids-Icons.woff2') format('woff2'), url('inc/fonts/Kids-Icons.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: auto;
}

/* === HIỆU ỨNG HOVER ẢNH (shine) === */
.phongvt-img-hover-effect,
.xc-img-effect {
  position: relative;
  display: inline-block;
  overflow: hidden;
}
.phongvt-img-hover-effect::after,
.xc-img-effect::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  z-index: 1;
}
.phongvt-img-hover-effect:hover::after,
.xc-img-effect:hover::after {
  animation: shine 0.8s ease;
}
@keyframes shine { 100% { left: 125%; } }

/* === GLOBAL - PRODUCT BOX === */
.product-small.box {
  border: 1px solid #ef608c29 !important;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.3s ease;
  border-radius: 16px !important;
  position: relative;
}
.product-small.box:hover { box-shadow: 0 4px 12px rgba(255,77,166,0.3); }
.product-small a,
.product-small a:hover { text-decoration: none !important; }
.product-small .box-text { padding: 10px 15px !important; min-height: 130px; position: relative; }
.product-small.box .product-title a {
  font-size: 14px;
  color: #0a0a0a;
  font-weight: 600;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.4;
}
.product-small .product-title { margin-bottom: 10px; }
.product-small .product-title a:hover { color: var(--primary-color); text-decoration: underline; }
.product-small.box .price { display: flex; margin-top: 20px; }
.product-small .price ins { order: 0; }
.product-small .price del { margin-left: 7px; order: 1; }
.product-small .price ins bdi,
.product-small .price span.amount { font-size: 14px; color: var(--primary-color); }
.product-small .price del bdi,
.product-small .price { font-size: 14px; color: #828287; }
.product-small .box-image .image-cover { border-radius: 8px; }
.product-small.box .box-image { border-radius: 8px; }
.product-small .pwb-brand-shortcode a {
  background: linear-gradient(145deg, #fff5f8, #ffe4ec);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  color: #ff5b87;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(255, 91, 135, 0.15);
  transition: all 0.25s ease;
  text-transform: uppercase;
}
.product-small .pwb-brand-shortcode a:hover {
  background: linear-gradient(145deg, #ff5b87, #ff2f6a);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(255, 91, 135, 0.3);
}
.product-small .pwb-brand-shortcode { margin-bottom: 4px; }
.badge-container { margin: 10px; left: auto; right: 0; }
.badge-container .badge-inner {
  font-size: 12px;
  font-weight: normal;
  background-image: url(/wp-content/uploads/2023/09/sale.svg);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  background-color: transparent !important;
}
.product-small .add-to-cart-button { position: absolute; right: 8px; bottom: 8px; }
.product-small .star-rating:before,
.product-small .star-rating { font-size: 14px; }
.price-wrapper .price del { order: 2; text-decoration: none; }
.badge-container { margin: 10px; left: auto; right: 0; }
.add-to-cart-button a { position: relative; margin: 0 !important; padding: 0; border: 0 !important; border-radius: 100%; }
.add-to-cart-button a:before {
  content: '';
  margin: 0;
  display: block;
  width: 35px;
  height: 35px;
  border-radius: 99%;
  background-image: url(/wp-content/uploads/2023/09/cart.png);
  background-size: 20px;
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: center;
  background-color: var(--primary-color);
  border: none;
}
.row.equalize-box .col:hover .product-small .product-title a { color: var(--primary-color); }
.is-divider { display: none; }
form { margin-bottom: 0; }
.flickity-page-dots .dot { height: 10px; width: 10px; border: 1px solid #111; }
.flickity-page-dots .dot.is-selected {
  background-color: #d8b362 !important;
  opacity: 1 !important;
  border: 1px solid #d8b362 !important;
}

/* === HEADER - SEARCH === */
.searchform-wrapper input {
  color: #B8B8B8;
  font-size: 14px;
  height: 40px;
  border-radius: 20px 0 0 20px;
  box-shadow: none;
}
.searchform .button.icon {
  margin: 0;
  height: 36px;
  width: 50px;
  border-radius: 0 20px 20px 0;
}
.header-nav li.html.custom.html_topbar_right { display: block; padding-top: 5px; margin-left: 4px; width: fit-content; }
.header-nav li.header-search-form input { height: 36px; font-size: 13px; }
.header-nav .header-search-ex { gap: 10px; padding-top: 4px; }
.header-nav .header-search-ex a { color: #6c757d; font-size: 12px; }
.header-main .flex-col.hide-for-medium.flex-left { margin-left: 80px; }
.header-main .flex-col.hide-for-medium.flex-right { width: 40%; }
.header-nav li.header-search-form { width: 360px; }
.header-main .flex-col.hide-for-medium.flex-right li.html.custom.html_topbar_left>.flex { gap: 24px; }
.header-main .flex-col.hide-for-medium.flex-right li.html.custom.html_topbar_left>.flex .flex { gap: 10px; align-items: center; }
.header-main .flex-col.hide-for-medium.flex-right li.html.custom.html_topbar_left>.flex .flex img { width: 26px; }
.header-main .flex-col.hide-for-medium.flex-right li.html.custom.html_topbar_left>.flex .flex p { font-size: 12px; }
.header-main .flex-col.hide-for-medium.flex-right li.html.custom.html_topbar_left>.flex .flex span { font-weight: 600; font-size: 14px; }

/* === HEADER - CUSTOM HOTLINE === */
.xc-custom-hotline {
  display: flex;
  gap: 20px;
  align-items: center;
}
.xc-hotline-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.xc-hotline-item i {
  font-size: 20px;
  color: var(--primary-color);
}
.xc-hotline-item div {
  line-height: 1.3;
}
.xc-hotline-item p {
  margin: 0;
  font-size: 12px;
  color: #666;
  font-weight: 400;
}
.xc-hotline-item span {
  font-size: 16px;
  font-weight: 700;
  color: #0a0a0a;
}

/* === HEADER - ACCOUNT / CART === */
.header-nav>li.account-item>a span:before { content: 'Tài khoản'; font-size: 12px; font-weight: 400; color: #0a0a0a; }
.nav-dropdown-has-arrow li.has-dropdown:before { display: none; }
.header-nav-main li a span { font-size: 14px; font-weight: 600; max-width: 75px; line-height: 1.2; color: #0a0a0a; }
.header-nav-main>li>a { display: flex; align-items: center; }
.header-main .account-item>a:before {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 36px;
  color: #ef608c;
  content: '\e911';
  font-family: 'kids-icons';
}
.header-main .cart-item a span { order: 2; }
.header-main .cart-item i.icon-shopping-bag { order: 1; margin: 0; }
.header-main .cart-item { margin: 0; }
.header-main .cart-item>a {
  gap: 10px;
  position: relative;
  border: 1px solid;
  border-radius: 12px;
  padding: 8px 32px 8px 10px;
}

/* === HEADER BOTTOM - NAV === */
.nav-spacing-xlarge>li { margin: 0 20px; }
.header-bottom-nav li a { font-size: 14px; }
.stuck .header-bottom-nav.nav-left { top: 4px; }
.header-bottom-nav.nav-left { top: 4px; }
.header-bottom .flex-col.flex-left { max-width: 280px; }
.home .header-bottom-nav.nav-left { position: absolute; top: 8px; }
.flex-col.hide-for-medium.flex-center { padding-left: 40px; }

/* === VERTICAL MENU === */
.header-vertical-menu__opener { background-color: #fff; border-radius: 10px 10px 0 0; color: #333 !important; }
#menu-danh-muc-san-pham { border: 1px solid #ececec; border-radius: 0 0 10px 10px; }
.menu-danh-muc-san-pham-container ul { border: 1px solid #ececec; }
.header-vertical-menu__title { font-size: 14px; }
.header-vertical-menu__fly-out.has-shadow { box-shadow: 2px 4px 10px rgba(0,0,0,.15); border-radius: 0 0 10px 10px; }
.header-vertical-menu__fly-out .nav-vertical-fly-out>li.menu-item>a { font-weight: 500; font-size: 14px; padding: 7.7px 15px; }
.nav-vertical-fly-out>li,
.nav-vertical-fly-out>li+li { border-bottom: 1px dashed #ececec; }
.nav-vertical-fly-out>li:last-child { border-bottom: none !important; }
.nav-dropdown-default { padding: 0; border-radius: 0 10px 10px 0; border: 1px solid #d59c28; border-left: none; }
.nav-dropdown>li>a { font-size: 14px; color: #025e58; padding: 11px 0; }
.header-wrapper .nav-dropdown li { margin-left: 0; margin-bottom: 0; }
.nav-dropdown.nav-dropdown-default>li>a { border-bottom: 1px dashed #ececec; }
.header-vertical-menu__opener .icon-angle-down { display: none; }
.nav:hover>li:not(:hover)>a:before { opacity: 1; }

/* === SECTION: SLIDER BANNER (.xc-sliders) === */
.xc-sliders { padding-top: 10px !important; padding-bottom: 10px !important; }
.xc-sliders .col { padding-bottom: 4px; }
.xc-sliders .row>.col:first-child { flex-basis: 21.5%; max-width: 21.5%; }
.xc-sliders .row>.col.large-6 { flex-basis: 55.5%; max-width: 55.5%; padding: 0; }
.xc-sliders .row>.col.large-6 img { border-radius: 8px; }
.xc-sliders .row>.col:last-child { flex-basis: 23%; max-width: 23%; }
.xc-sliders .row>.col:last-child .img { margin-bottom: 2px; border-radius: 8px; overflow: hidden; }
.xc-sliders .row>.col:last-child .img .img-inner { padding-top: 67.5% !important; }

/* === SECTION: BANNERS (.xc-banners) === */
.xc-banners img { border-radius: 10px; }
.img-border-12,
.img-border-12 .img-inner { border-radius: 12px; overflow: hidden; }

/* === SECTION TITLE (.xc-section-title) === */
h2.xc-section-title {
  text-transform: none;
  border-bottom: none;
  margin-bottom: 0;
  margin-right: 15px;
  padding-bottom: 0;
  font-size: 24px;
  letter-spacing: 0;
  color: #ef608c;
}

/* === SECTION: FEATURE CATEGORIES (.xc-feature-categories) === */
.xc-feature-categories .large-2 { flex-basis: 10% !important; max-width: 10% !important; padding-left: 5px !important; padding-right: 5px !important; }
.xc-feature-categories__box { transition: all 0.3s ease; }
.xc-feature-categories__box:hover { transform: translateY(-3px); }
.xc-feature-categories__box .icon-box-img img { transition: all linear 0.3s; padding-top: 0; border-radius: 99%; box-shadow: 2px 2px 4px #00000026; }
.xc-feature-categories__box:hover .icon-box-img img { transform: scale(1); transition: all linear 0.3s; }
.xc-feature-categories__box .icon-box-center .icon-box-img { margin-bottom: 7px; }
.xc-feature-categories__box .icon-box-text h3 { font-size: 14px; font-weight: 600; color: #0a0a0a; }
.xc-feature-categories__box:hover .icon-box-text h3 { color: var(--primary-color); }

/* === SECTION: FLASH SALE (.xc-flash-sale) === */
.xc-flash-sale .xc-section-title {
  margin-bottom: 4px;
  font-size: 26px;
}
.xc-flash-sale p:not(.t-black) { font-size: 15px; color: #fff; margin-bottom: 0; }
.xc-flash-sale .ux-timer > span {
  border: 1px solid #ef608c;
  border-radius: 100%;
  color: #ef608c !important;
  width: 46px;
  height: 46px;
  display: inline-block;
  margin: 0 4px 8px;
  padding: 10px;
  font-size: 18px;
  background-color: #fff;
}
.xc-flash-sale .ux-timer > span strong { text-transform: inherit; font-weight: 500; font-size: 10px; opacity: 1; color: #ef608c; }
/* Flash sale - row trắng */
.xc-flash-sale_row-white-bg-radius {
  background: white;
  border-radius: 8px;
  padding: 16px 6px 0;
  align-items: center;
}
/* Flash sale - menu ngang */
.xc-flash-sale .xc-flash-sale__menu.stack.stack-col {
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  gap: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  max-width: 100%;
}
.xc-flash-sale .xc-flash-sale__menu::-webkit-scrollbar { display: none; }
.xc-flash-sale .xc-flash-sale__menu .ux-menu-link__text { color: #ef608c; font-size: 14px; white-space: nowrap; }
.xc-flash-sale .xc-flash-sale__menu .ux-menu-link__link { padding: 4px 12px; margin-left: 0; }
.xc-flash-sale .xc-flash-sale__menu .ux-menu-link:first-child .ux-menu-link__link { padding-left: 0; }
.xc-flash-sale .xc-flash-sale__menu .ux-menu-link__link:hover .ux-menu-link__text { color: #c9788e; }
.xc-flash-sale .xc-flash-sale__menu .ux-menu-link { flex-shrink: 0; }
/* Flash sale - product */
.xc-flash-sale .product-small.box { background: #fff; border: 1px solid #ef608c29 !important; border-radius: 16px !important; overflow: hidden; }
.xc-flash-sale .product-small.box:hover { box-shadow: 0 4px 12px rgba(255,77,166,0.3); }
.xc-flash-sale .product-small .box-image { border-radius: 8px; overflow: hidden; }
.xc-flash-sale .pwb-brand-shortcode a { text-transform: uppercase; font-size: 10px; color: #8E8E93; border: 1px solid #ffcad8; margin-bottom: 6px; display: inline-block; }
.xc-flash-sale .product-title a {
  font-size: 14px; color: #0a0a0a; font-weight: 600;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden; line-height: 1.4; min-height: 2.8em;
}
.xc-flash-sale .large-columns-5 .col { padding: 0 6px 12px; }

/* === SECTION: PRODUCT TABS (.tab-sua-cong-thuc, .tab-cac-loai-bim) === */
.tab-sua-cong-thuc,
.tab-cac-loai-bim {
  position: relative;
}
.tab-sua-cong-thuc > h4,
.tab-cac-loai-bim > h4 {
  font-size: 22px;
  font-weight: 700;
  color: #333;
}
.tab-sua-cong-thuc > h4::before {
  content: '🍼';
  margin-right: 8px;
}
.tab-cac-loai-bim > h4::before {
  content: '👶';
  margin-right: 8px;
}
.tab-sua-cong-thuc .nav,
.tab-cac-loai-bim .nav {
  position: absolute;
  top: -2px;
  right: 0;
  justify-content: flex-end;
  border: none;
}
.tab-sua-cong-thuc .nav li,
.tab-cac-loai-bim .nav li {
  border: none !important;
  margin: 0 3px;
}
.tab-sua-cong-thuc .nav li a,
.tab-cac-loai-bim .nav li a {
  background: #eee;
  color: #0a0a0a;
  padding: 8px 20px;
  border-radius: 25px;
  border: none !important;
  font-size: 13px;
  text-transform: none;
}
.tab-sua-cong-thuc .nav li a:after,
.tab-sua-cong-thuc .nav li a:before,
.tab-cac-loai-bim .nav li a:after,
.tab-cac-loai-bim .nav li a:before {
  display: none !important;
}
.tab-sua-cong-thuc .nav .active a,
.tab-cac-loai-bim .nav .active a {
  background: var(--primary-color);
  color: #fff;
}

/* === SECTION: VOUCHER (.xc-voucher) === */
.xc-voucher-card {
  border-radius: 0 6px 6px 0;
  box-shadow: -3px 5px 14px #00000033;
  padding: 10px;
  position: relative;
}
.xc-voucher-card:before {
  content: "";
  width: 13px;
  height: 100%;
  background-image: url(/wp-content/uploads/2023/09/img223.png);
  background-repeat: repeat-y;
  position: absolute;
  left: -8px;
  background-size: cover;
  top: 0;
}
.xc-voucher-card .icon-box-text { padding-left: 10px; }
.xc-voucher-card h4 {
  font-size: 14px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 0;
}
.xc-voucher-card p {
  margin-bottom: 0;
  font-size: 12px;
  color: #555555;
  font-weight: 500;
}
.xc-voucher-card button {
  margin-bottom: 0;
  font-size: 11px;
  font-weight: bold;
  text-transform: none;
  letter-spacing: 0;
  background: var(--primary-color);
  border-radius: 20px;
  color: white;
  margin-top: 5px;
  border: none;
  padding: 5px 15px;
  cursor: pointer;
}
.xc-voucher-card .dieu-kien-ma {
  position: absolute;
  right: 10px;
  bottom: 10px;
}
.xc-voucher-card .dieu-kien-ma {
  color: #007AFF;
  text-decoration: underline;
  font-size: 12px;
}

/* === SECTION: BLOG (.xc-blog) === */
.xc-blog .blog-title {
  text-align: center;
  margin-bottom: 15px;
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
}
.xc-blog .blog-title::after {
  content: "";
  display: table;
  clear: both;
  background: url(/wp-content/uploads/2023/09/title-divide.png);
  width: 100%;
  height: 29px;
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: bottom;
  padding-top: 0;
}
.xc-blogs__blog .box-blog-post .box-image .image-cover {
  border-radius: 8px;
  overflow: hidden;
}
.xc-blogs__blog .post-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 16px;
  color: #0a0a0a;
  line-height: 1.4;
  min-height: 2.8em;
}
.xc-blogs__blog .post-title a {
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}
.xc-blogs__blog .post-item:hover .post-title a { color: var(--primary-color); }
.xc-blogs__blog .post-item a:hover { color: #444444; }
.xc-blogs__blog .from_the_blog_excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 14px;
  line-height: 20px;
  min-height: 40px;
}
.xc-blogs__blog .post-item { padding-bottom: 0; }

/* === SEARCH SUBMIT === */
.searchform .ux-search-submit { background-color: var(--primary-color) !important; color: #fff !important; }

/* === FOOTER MENU === */
.xc-footer__menu .ux-menu-link__link:hover .ux-menu-link__text { color: var(--primary-color); }

/* === SINGLE PRODUCT META ROW === */
.bi-meta-row {
  display: flex;
  gap: 10px 20px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}
.bi-meta-row div { display: flex; align-items: center; gap: 5px; }
.bi-meta-row strong { color: #333; }
.bi-meta-row a { color: var(--primary-color); }

/* === SINGLE PRODUCT VOUCHER === */
.xc-single-voucher { padding-top: 0 !important; padding-bottom: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
.xc-single-voucher .row { padding-left: 0; padding-right: 0; }
.xc-single-voucher .col { padding-bottom: 10px !important; }

/* === SINGLE PRODUCT LAYOUT === */
@media screen and (min-width: 850px) {
  .product-info.col-divided { border-right: none; padding-right: 15px; }
}
.ux-buy-now-button { display: block; width: 100%; margin-left: 0 !important; margin-top: 10px; }

/* === BREADCRUMB === */
.woocommerce-breadcrumb { text-transform: none !important; font-size: 12px; color: #888; }
.woocommerce-breadcrumb a { color: #888; }
.woocommerce-breadcrumb a:hover { color: var(--primary-color); }

/* === PRODUCT TABS (single product) === */
.product-footer .woocommerce-tabs { border-top: 0; padding-top: 0; }
.woocommerce-tabs a {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-left-color: #ef608c29 !important;
  border-right-color: #ef608c29 !important;
}
.woocommerce-tabs .tab-panels {
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  border-color: #ef608c29;
}

/* === PRODUCT CONTENT === */
.single-product .panel.entry-content {
  overflow: hidden;
  padding-top: 0;
  position: relative;
  color: black;
  font-size: 15px;
  padding-bottom: 25px;
}
.entry-content h2 { color: black; font-size: 20px; }
.entry-content h3 { color: black; font-size: 19px; }
.entry-content h4 { color: black; font-size: 18px; }
.entry-content h5 { color: black; font-size: 18px; }
.entry-content h3, .entry-content h4, .entry-content ul { margin: 0 0 13px 0; }
.single-product .entry-content h3,
.single-product .entry-content h4 { margin-left: 0; }
.single-product .entry-content ul { margin-left: 0; }

/* === PRODUCT CONTENT IMAGES === */
.panel.entry-content img {
  max-width: 800px;
  border-radius: 12px;
  height: auto;
}

/* === READ MORE (devvn_readmore_flatsome) === */
.single-product .panel.entry-content { position: relative; }
.devvn_readmore_flatsome { position: relative; text-align: center; margin-top: -60px; padding-bottom: 10px; z-index: 10; }
.devvn_readmore_flatsome a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 9px 22px;
  border-radius: 30px;
  background: #ff5b87;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 5px 12px rgba(255,91,135,0.3);
  transition: all 0.25s ease;
}
.devvn_readmore_flatsome a:hover { transform: translateY(-1px); background: #ff2f6a; }
.devvn_readmore_flatsome a:before { content: "⬇"; font-size: 13px; }
.devvn_readmore_flatsome_less a:before { content: "⬆"; }

/* === BI-SP-ROW LAYOUT (description + sidebar) === */
.bi-sp-row {
  display: grid;
  grid-template-columns: 9fr 3fr;
  gap: 24px;
  align-items: start;
  margin-top: 20px;
}
@media (max-width: 1024px) {
  .bi-sp-row { grid-template-columns: 1fr !important; display: block !important; }
  .bi-sp-col-left { width: 100% !important; }
  .bi-sp-col-right { display: none !important; }
}

/* === SIDEBAR PRODUCT CARDS === */
.bi-sp-col-right .product-small.box { display: flex; height: 100%; }
.bi-sp-col-right .product-small.box .box-image { flex-basis: 36%; height: 150px; }
.bi-sp-col-right .product-small.box .box-text { flex-basis: 64%; height: 150px; min-height: unset; padding: 6px 8px 6px 0 !important; }
.bi-sp-col-right .product-small.box .box-image img { aspect-ratio: 1/1; height: 150px; border-radius: 16px !important; padding: 8px; }
.bi-sp-col-right .product-small.box .add-to-cart-button { display: none; }
.bi-sp-col-right .product-small.box .price-wrapper { padding-top: 0; }
.bi-sp-col-right .badge-container { left: 0; width: 34px; }
.bi-sp-col-right .badge.badge-square { height: 34px !important; width: 34px !important; }
.bi-sp-col-right .badge.badge-square .on-sale { font-size: 10px; }
.bi-sp-col-right .product-small.col .col-inner { height: 155px; }
.bi-sp-col-right .product-small .price del bdi { font-size: 11px; }
.bi-sp-col-right .product-small .pwb-brand-shortcode a { border: 1px solid #ffcad8; margin-bottom: 6px; }

/* === SINGLE PRODUCT TITLE === */
.single-product .product-title { color: #ef608c; }

/* === VARIATION SWATCHES === */
.ux-swatch--label {
  border: 2px solid #eee !important;
  border-radius: 25px !important;
  padding: 6px 16px !important;
  transition: all 0.25s ease;
}
.ux-swatch--label:hover,
.ux-swatch--label[aria-checked="true"] {
  border-color: var(--primary-color) !important;
  background: rgba(239, 96, 140, 0.08);
  color: var(--primary-color);
}

/* === REVIEWS & COMMENTS === */
.related h3, .woocommerce #reviews #comments h2 {
  margin-top: 0; font-size: 24px; font-weight: 700;
  line-height: 35px; letter-spacing: 0; color: black; text-transform: none;
}
.product-section { margin-bottom: 20px; border-top: 0; }
div#reviews.woocommerce-Reviews, .devvn_prod_cmt { max-width: 100%; }
div#reviews.woocommerce-Reviews { border-bottom: none; margin-bottom: 0 !important; }
#comments a.btn-reviews-now { background-color: var(--primary-color); color: #fff; border-radius: 30px; text-transform: none; font-weight: 600; }
span.devvn_num_reviews { color: #414141; font-size: 14px; }
button#devvn_cmt_submit { background: var(--primary-color); border-radius: 20px; color: white; text-transform: none; font-weight: 600; }

@media only screen and (max-width: 48em) {
  .bi-sp-col-left .tabs a { border: 0; padding: 0 0 10px; font-size: 18px; }
  .bi-sp-col-right .product-small.box { flex-wrap: wrap; }
  .bi-sp-col-right .product-small.box .box-image { flex-basis: 100%; }
  .bi-sp-col-right .product-small.box .box-text { flex-basis: 100%; padding: 0 10px 10px !important; height: 120px !important; }
  .bi-sp-col-right .product-small.col .col-inner { height: auto; }
  .bi-sp-col-right .product-small.box .box-image img { height: auto; }
  .related h3, .woocommerce #reviews #comments h2 { font-size: 20px; }
  .entry-content h3 { font-size: 18px; }
  .entry-content h4 { font-size: 17px; }
  .related h3 { padding-bottom: 0; margin-bottom: 10px; }
  .woocommerce #reviews #comments h2 { line-height: 22px; }
}


/* === RESPONSIVE === */
@media only screen and (max-width: 48em) {
  h2.xc-section-title { font-size: 20px; }
  .panel.entry-content img { max-width: 90% !important; }

  .header-main .cart-item a {
    font-size: 14px; font-weight: 600; letter-spacing: 0;
    height: 40px; border-radius: 0 !important; background: white !important;
    line-height: 40px; padding: 0; border: none; color: #ef608c;
  }
  .header-main { box-shadow: 2px 2px 20px #00000017; }

  .xc-feature-categories .large-2 { flex-basis: 20% !important; max-width: 20% !important; padding: 0 2px 4px; }
  .xc-feature-categories__box .icon-box-text h3 { line-height: 15px; font-size: 12px; }

  .xc-flash-sale .xc-section-title { font-size: 20px; }
  .xc-flash-sale .large-columns-5 .col { padding: 0 5px 10px; }

  .tab-sua-cong-thuc .nav,
  .tab-cac-loai-bim .nav {
    position: unset;
    justify-content: start;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 0;
  }
  .tab-sua-cong-thuc .nav::-webkit-scrollbar,
  .tab-cac-loai-bim .nav::-webkit-scrollbar { display: none; }
  .tab-sua-cong-thuc .nav li,
  .tab-cac-loai-bim .nav li { flex-shrink: 0; white-space: nowrap; }

  .xc-voucher-card .icon-box-text { padding-left: 0; }
  .xc-voucher-card .dieu-kien-ma { position: inherit; margin-top: 10px; }
  .xc-voucher-card .icon-box-img { margin-bottom: 10px; }
  .xc-voucher .col { padding-bottom: 20px !important; }

  .product-small .add-to-cart-button { right: 10px; bottom: 10px !important; }
  .product-small .box-text { padding: 10px !important; }
  .searchform .button.icon { width: 50px; }
}

/* === SINGLE POST - REMOVE ROW DIVIDER BORDER === */
.single-post .row-divided > .col + .col:not(.large-12) {
  border-left: none;
}

/* === FIX HEADER BOTTOM NAV (all pages except home) === */
body:not(.home) #wide-nav .header-bottom-nav.nav-left {
  flex-wrap: nowrap;
  max-width: none;
}
body:not(.home) #wide-nav .flex-col.hide-for-medium.flex-left {
  max-width: none;
  display: flex;
  align-items: center;
}
body:not(.home) #wide-nav .header-bottom-nav > li {
  white-space: nowrap;
}

/* === SINGLE POST - ARTICLE IMAGES BORDER RADIUS === */
.single-post .entry-content.single-page img {
  border-radius: 12px;
}

/* === MENU ITEMS INLINE (all pages except home) === */
body:not(.home) .header-bottom-nav.nav-left {
  position: relative;
  top: 4px;
}

/* === SIDEBAR - RECENT POSTS CIRCLE IMAGES === */
.widget.flatsome_recent_posts .badge.post-date {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
}
.widget.flatsome_recent_posts .badge-inner.bg-fill {
  border-radius: 50%;
  background-size: cover !important;
  background-position: center !important;
}

/* === SIDEBAR WIDGET STYLING (match original) === */
#secondary span.widget-title {
  font-weight: bold;
  font-size: 24px;
  text-transform: none;
  letter-spacing: 0;
  color: black;
  display: block;
  margin-bottom: 15px;
}
#secondary .widget .is-divider {
  display: none;
}
#secondary ul.menu > li + li {
  border-top: 1px dashed #ececec;
}
#secondary ul.menu > li a {
  background: url(/wp-content/uploads/chevrons-right.svg);
  background-repeat: no-repeat;
  background-size: 12px;
  background-position-y: center;
  padding-left: 18px;
  font-size: 15px;
  color: #0a0a0a;
}
#secondary ul.menu > li a:hover {
  text-decoration: underline;
  color: var(--primary-color);
}
#secondary ul.menu > li:before {
  display: none;
}
#secondary .widget:where(:not(.widget_shopping_cart)) a {
  color: #555;
}
#secondary .widget:where(:not(.widget_shopping_cart)) a:hover {
  color: #ef608c;
}
/* Recent entries widget (text-only list) */
#secondary .widget_recent_entries ul li {
  list-style: none;
  margin-left: 0;
}
#secondary .widget_recent_entries ul li + li {
  border-top: 1px solid #ececec;
}
#secondary .widget_recent_entries ul li a {
  display: inline-block;
  padding: 6px 0;
  font-size: 14px;
  color: #555;
}
#secondary .widget_recent_entries ul li a:hover {
  color: var(--primary-color);
}

/* === CATEGORY ARCHIVE PAGE === */
/* Title aligned left */
.blog-archive .archive-page-header .text-center {
  text-align: left !important;
}
.blog-archive .archive-page-header .page-title {
  text-transform: none;
  font-size: 24px;
  font-weight: 700;
  color: #333;
}
/* Remove row divider border */
.blog-archive .row-divided > .col + .col:not(.large-12) {
  border-left: none;
}
/* Blog post image border-radius */
.blog-archive .box-blog-post .box-image .image-cover {
  border-radius: 8px;
  overflow: hidden;
}
/* Post title: always 2 lines */
.blog-archive .box-blog-post .post-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: 2.6em;
  line-height: 1.3;
}
.blog-archive .box-blog-post .post-title a {
  font-size: 16px;
  color: #0a0a0a;
  font-weight: 600;
}
.blog-archive .box-blog-post .post-title a:hover {
  color: var(--primary-color);
}
/* Excerpt: always 2 lines */
.blog-archive .from_the_blog_excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.5;
  min-height: 2.8em;
  color: #666;
}

/* === FILTER WIDGETS === */
.xc-filter-widget {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.xc-filter-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
  transition: color 0.2s;
  margin-bottom: 0;
  line-height: 1;
}
.xc-filter-checkbox:last-child {
  border-bottom: none;
}
.xc-filter-checkbox:hover {
  color: var(--primary-color);
}
.xc-filter-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  accent-color: var(--primary-color);
  cursor: pointer;
  flex-shrink: 0;
  vertical-align: middle;
}
.xc-filter-checkbox span {
  line-height: 1.3;
  vertical-align: middle;
}
/* Scrollable lists for brand/category */
.xc-filter-brand,
.xc-filter-category {
  max-height: 280px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #ddd #f5f5f5;
}
.xc-filter-brand::-webkit-scrollbar,
.xc-filter-category::-webkit-scrollbar {
  width: 4px;
}
.xc-filter-brand::-webkit-scrollbar-thumb,
.xc-filter-category::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}
