@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//chongset247.com/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.0.6") format("woff2");
	font-display:swap;
}

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//chongset247.com/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//chongset247.com/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//chongset247.com/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//chongset247.com/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//chongset247.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//chongset247.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//chongset247.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//chongset247.com/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-text-font: "Open Sans", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #777777;
	--wd-text-font-size: 14px;
	--wd-title-font: "Open Sans", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 500;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Open Sans", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Open Sans", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Open Sans", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 500;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Open Sans", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-primary-color: rgb(22,72,105);
	--wd-alternative-color: rgb(38,163,68);
	--wd-link-color: rgb(28,28,28);
	--wd-link-color-hover: rgb(0,0,0);
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(221,51,51);
	--btn-accented-bgcolor-hover: rgb(38,163,68);
	--wd-form-brd-width: 2px;
	--notices-success-bg: rgb(237,42,13);
	--notices-success-color: #fff;
	--notices-warning-bg: #f9aa1a;
	--notices-warning-color: #fff;
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: url(https://chongset247.com/wp-content/uploads/2021/08/promo-popup.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	--wd-popup-width: 800px;
}
.woodmart-woocommerce-layered-nav .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title {
	background-color: rgb(20,45,145);
	background-image: url(https://chongset247.com/wp-content/uploads/2021/08/page-title-shop.jpg);
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 0px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 0px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-default-box-shadow-active: none;
--btn-default-bottom: 0px;
--btn-accented-bottom-active: -1px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
--btn-accented-box-shadow-hover: inset 0 -2px 0 rgba(0, 0, 0, .15);
--wd-brd-radius: 0px;
}

@media (min-width: 1239px) {
.platform-Windows .wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}

@media (min-width: 1222px) {
html:not(.platform-Windows) .wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


::-webkit-scrollbar {
    width: 8px;
    background-color: #f5f5f5;
}
::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 6px rgb(0 0 0 / 30%);
    background: #339059;
}
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgb(0 0 0 / 30%);
    background-color: #f5f5f5;
}

/* Caption dưới ảnh */
.wp-caption-text {
  text-align: center !important;
  margin-top: 8px !important;
  color: #555 !important;
  display: block !important;
  width: 100% !important;
}

/* Ảnh trong mô tả/short description: luôn co giãn đầy đủ */
@media (max-width: 768px) {
  .woocommerce-Tabs-panel--description img,
  .woocommerce-product-details__short-description img,
  .entry-content img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .entry-content img[style*="width"],
  .entry-content img[style*="height"],
  .woocommerce-Tabs-panel--description img[style*="width"],
  .woocommerce-Tabs-panel--description img[style*="height"] {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }

  .entry-content .wp-block-image,
  .entry-content figure,
  .woocommerce-Tabs-panel--description .wp-block-image,
  .woocommerce-Tabs-panel--description figure,
  .wp-caption {
    width: 100% !important;
    height: auto !important;
    overflow: hidden;
  }

  .entry-content table img,
  .woocommerce-Tabs-panel--description table img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    display: block !important;
  }
}

/* Biến font */
:root {
  --wd-text-font: "Inter", "Arial", sans-serif;
  --wd-text-font-weight: 400;
  --wd-text-font-size: 15px;
  --wd-text-color: #333333;
  --wd-text-line-height: 1.7;

  --wd-title-font: "Poppins", "Arial", sans-serif;
  --wd-title-font-weight: 600;
  --wd-title-color: #222222;

  --wd-entities-title-font: "Poppins", "Arial", sans-serif;
  --wd-entities-title-font-weight: 500;
  --wd-entities-title-color: #2a2a2a;
  --wd-entities-title-color-hover: rgba(42,42,42,0.75);

  --wd-header-el-font: "Poppins", "Arial", sans-serif;
  --wd-header-el-font-weight: 600;
  --wd-header-el-font-size: 14px;
  --wd-header-el-transform: none;
}

/* Ngày 12/11 */
/* ==== Tổng thể sản phẩm: nền trắng ==== */
.products .product-grid-item {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: none;
  transition: all 0.2s ease;
  padding: 0;
}

/* ==== Phần chứa ảnh sản phẩm ==== */
.products .product-grid-item .product-element-top {
  background-color: #f7f7f7;
  padding: 1px;
  border-bottom: 1px solid #f1f1f1;
}

/* ==== Ảnh căn giữa và không nền trắng cứng ==== */
.products .product-grid-item .product-element-top img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  background: transparent !important;
}

/* ==== Phần dưới: tiêu đề, danh mục, giá ==== */
.products .product-grid-item .product-element-bottom {
  background-color: #ffffff;
  padding: 15px 12px;
}

/* ==== Tiêu đề và giá: căn chỉnh gọn gàng ==== */
.products .product-grid-item .wd-product-title {
  font-size: 15px;
  font-weight: 500;
  color: #222;
  line-height: 1.4;
  min-height: 44px;
}

.products .product-grid-item .price {
  color: #e4281f;
  font-weight: 600;
}

/* ==== Hiệu ứng hover nhẹ ==== */
.products .product-grid-item:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

/* MAIN IMAGE: bo góc + viền mảnh, không đổi nền/padding */
.single-product .woocommerce-product-gallery,
.single-product .wd-gallery {
  border: 1px solid #e6e9ef;
  border-radius: 16px;
  overflow: hidden;
}

/* Ảnh bên trong không thêm khung nữa */
.single-product .woocommerce-product-gallery__image,
.single-product .wd-gallery .woocommerce-product-gallery__image {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

/* THUMBNAILS */
.single-product .flex-control-thumbs li,
.single-product .wd-thumbs li {
  border: 1px solid #e6e9ef;
  border-radius: 10px;
  overflow: hidden;
}

/* Thumbnail đang chọn */
.single-product .flex-control-thumbs li.flex-active,
.single-product .wd-thumbs li.flex-active {
  border-color: #c9ced8;
}

/* THÊM ĐƯỜNG VIỀN DƯỚI MENU Ở TRANG CHỦ */
.header-main,
.whb-header .whb-general-header-inner {
  border-bottom: 1px solid #e9e9e9 !important;
}

.whb-header .whb-general-header-inner,
.header-main {
  position: relative;
}

.whb-header .whb-general-header-inner::after,
.header-main::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -1px;
  width: 100vw;
  height: 1px;
  background: #e9e9e9;
  pointer-events: none;
  z-index: 5;
}

.header-bottom {
  border-bottom: none !important;
  box-shadow: none !important;
}

.whb-sticked .whb-general-header-inner::after {
  background: #e9e9e9;
}

/* =========================
   SINGLE POST
========================= */

/* Ẩn ảnh đại diện tự chèn ở đầu bài */
.single-post .post-image,
.single-post .post-image img,
.single-post .entry-header .post-image,
.single-post .post-thumb,
.single-post .post-thumb img,
.single-post .entry-header .attachment-full,
.single-post .entry-header .attachment-large,
.single-post .post-image-wrapper,
.single-post .entry-header .wp-post-image,
.single-post .wd-post-header,
.single-post .post-img-wrapp,
.single-post img.wp-post-image {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Thu nhỏ tiêu đề bài viết ở trang Blog masonry */
.blog-design-masonry .post-title {
  font-size: 17px;
}

/* Căn trái tiêu đề bài chi tiết */
.single-post .entry-title,
.single-post h1.entry-title {
  text-align: left !important;
  max-width: 900px;
  margin: 0 auto 10px !important;
  line-height: 1.4;
  font-weight: 700;
}

/* Meta: tác giả, ngày */
.single-post .post-meta,
.single-post .entry-meta {
  text-align: right !important;
  max-width: 900px;
  margin: 0 auto 20px !important;
}

/* Category */
.single-post .wd-post-cat,
.single-post .post-categories {
  text-align: left !important;
  max-width: 900px;
  margin: 0 auto 10px !important;
}

/* Giới hạn chiều rộng phần bài chi tiết, không đụng toàn site */
.single-post .post-single-page {
  max-width: 900px;
  margin: 0 auto;
}

/* Khoảng cách header bài viết */
.single-post header.entry-header {
  margin-bottom: 20px;
}

/* =========================
   BLOG ARCHIVE SAFE FIX
========================= */

/* Căn trái nội dung card blog */
.blog .wd-post-content,
.archive .wd-post-content,
.blog .items-wrapper,
.archive .items-wrapper {
  text-align: left !important;
}

/* Tiêu đề card blog */
.blog .post-title,
.archive .post-title,
.blog .entry-title,
.archive .entry-title,
.blog .wd-entities-title,
.archive .wd-entities-title,
.blog .wd-post-title,
.archive .wd-post-title {
  text-align: left !important;
  line-height: 1.45 !important;
  margin-bottom: 12px !important;
}

/* Link tiêu đề: giới hạn 3 dòng, không đụng layout card */
.blog .post-title a,
.archive .post-title a,
.blog .entry-title a,
.archive .entry-title a,
.blog .wd-entities-title a,
.archive .wd-entities-title a,
.blog .wd-post-title a,
.archive .wd-post-title a {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  overflow: hidden !important;
  text-align: left !important;
}

/* Chỉ clamp phần excerpt thật sự */
.blog .post-excerpt,
.archive .post-excerpt,
.blog .wd-post-excerpt,
.archive .wd-post-excerpt,
.blog .entry-content,
.archive .entry-content {
  text-align: left !important;
  line-height: 1.7 !important;
  color: #555 !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 4 !important;
  overflow: hidden !important;
  margin-bottom: 14px !important;
}

/* Nút chi tiết căn trái */
.blog .wd-post-btn,
.archive .wd-post-btn,
.blog .more-link,
.archive .more-link,
.blog .read-more-section,
.archive .read-more-section,
.blog a.btn-read-more,
.archive a.btn-read-more {
  text-align: left !important;
  justify-content: flex-start !important;
}

/* Reset an toàn để tránh rule cũ còn sót làm vỡ layout */
.blog .wd-post,
.archive .wd-post,
.blog article.post,
.archive article.post,
.blog .posts-wrapper,
.archive .posts-wrapper,
.blog .wd-blog-holder,
.archive .wd-blog-holder,
.blog .wd-posts,
.archive .wd-posts {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

/* ===== FIX BLOG ARCHIVE ĐÈ LÊN FOOTER ===== */

/* Wrapper blog phải cao đúng theo nội dung */
.blog .main-page-wrapper,
.archive .main-page-wrapper,
.blog .site-content,
.archive .site-content,
.blog .content-layout-wrapper,
.archive .content-layout-wrapper,
.blog .wd-content-area,
.archive .wd-content-area,
.blog .wd-blog-holder,
.archive .wd-blog-holder,
.blog .posts-wrapper,
.archive .posts-wrapper {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    position: relative !important;
}

/* Mỗi card bài viết không được chèn lấn */
.blog .wd-post,
.archive .wd-post,
.blog article.post,
.archive article.post {
    position: relative !important;
    z-index: 2;
    float: none;
}

/* Footer phải nằm dưới và không bị che */
footer,
.site-footer,
.footer-container,
.whb-footer,
.copyrights-wrapper {
    position: relative !important;
    z-index: 1 !important;
    clear: both !important;
}

/* Nếu blog holder bị plugin/theme set chiều cao cứng thì bỏ */
.blog .wd-blog-holder,
.archive .wd-blog-holder {
    style: unset;
}@media (max-width: 576px) {
	.arcu-widget.arcu-message{
 bottom: 70px !important;
}

/* Giữ cụm nút checkout trên 1 hàng ở MOBILE */
@media (max-width: 768px) {
  .single-product form.cart {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px; /* khoảng cách nút */
  }

  /* Ô số lượng */
  .single-product form.cart .quantity {
    order: 1;
    flex: 0 0 auto;
    min-width: 92px;
  }

  /* Nút Thêm vào giỏ */
  .single-product form.cart .single_add_to_cart_button {
    order: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    width: auto !important;
    flex: 1 1 auto;
    padding: 10px 12px;
  }

  /* Nút Mua ngay – tên class tùy plugin, gom nhiều khả năng */
  .single-product form.cart .wd-buy-now-btn,
  .single-product form.cart .button.buy-now,
  .single-product form.cart .buy_now_button,
  .single-product form.cart .wd-buy-now .button {
    order: 3;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    width: auto !important;
    flex: 0 0 auto;
    padding: 10px 12px;
  }

  /* Ẩn các <br> bắt buộc xuống dòng (nếu theme chèn) */
  .single-product form.cart br { display: none !important; }
}


}

