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

/*************** ADD CUSTOM CSS HERE.   ***************/
.bordertron img{
	border-radius:7px;
	box-shadow: 0px 0px 0px 0px black;
}
.bordertron{
	border-radius:7px;
	box-shadow: 5px 5px 5px 0px #dedede;
}
.hinhtron{
	border-radius: 10px;
}
.absolute-footer{
	display: none;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner.button {
    background: #face26;
}

/* === POST CARD STYLING === */
.post-item .box.box-blog-post {
  background: #ffffff;
  border-radius: 16px !important;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10), 0 1px 6px rgba(0, 0, 0, 0.06) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.post-item .box.box-blog-post:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.10) !important;
}

.post-item .box-image {
  overflow: hidden;
  border-radius: 16px 16px 0 0 !important;
}

.post-item .box-image img {
  transition: transform 0.4s ease !important;
  width: 100% !important;
  object-fit: cover !important;
}

.post-item .box.box-blog-post:hover .box-image img {
  transform: scale(1.06) !important;
}

.post-item .box-text {
  padding: 16px 20px 20px !important;
  background: #ffffff;
}

.post-item .post-title {
  font-size: 1rem !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  color: #1a3c1a !important;
  margin-bottom: 8px !important;
}

.post-item .post-title a {
  color: #1a3c1a !important;
  text-decoration: none !important;
}

.post-item .post-title a:hover {
  color: #4a9b4a !important;
}

.post-item .is-divider {
  background: linear-gradient(90deg, #4a9b4a, #a8d5a2) !important;
  height: 2px !important;
  border-radius: 2px !important;
  margin: 8px auto !important;
  opacity: 0.7 !important;
}

.post-item .from_the_blog_excerpt {
  color: #555 !important;
  font-size: 0.88rem !important;
  line-height: 1.6 !important;
}

.post-item {
  padding: 10px !important;
}

/* === PRODUCT CARD STYLING === */
.product-small.box {
  background: #ffffff !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.09), 0 1px 5px rgba(0, 0, 0, 0.05) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  border: 1px solid rgba(0, 0, 0, 0.07) !important;
}

.product-small.box:hover {
  transform: translateY(-7px) !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.16), 0 4px 14px rgba(0, 0, 0, 0.10) !important;
}

/* Bo góc ảnh trên */
.product-small.box .box-image {
  border-radius: 16px 16px 0 0 !important;
  overflow: hidden !important;
}

/* Zoom ảnh khi hover */
.product-small.box .box-image img {
  transition: transform 0.45s ease !important;
  width: 100% !important;
  object-fit: contain; !important;
}

.product-small.box:hover .box-image img {
  transform: scale(1.07) !important;
}

/* Text area */
.product-small.box .box-text {
  padding: 12px 16px 18px !important;
  background: #ffffff !important;
}

/* Tên danh mục */
.product-small.box .product-cat {
  color: #4a9b4a !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  margin-bottom: 4px !important;
}

/* Tên sản phẩm */
.product-small.box .product-title {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: #1a3c1a !important;
  line-height: 1.4 !important;
  margin-bottom: 6px !important;
}

.product-small.box .product-title a {
  color: #1a3c1a !important;
  text-decoration: none !important;
}

.product-small.box .product-title a:hover {
  color: #4a9b4a !important;
}

/* Giá tiền */
.product-small.box .price-wrapper {
  margin-top: 6px !important;
}

.product-small.box .price .woocommerce-Price-amount {
  color: #e05c2a !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
}

/* Giá gốc gạch ngang */
.product-small.box .price del .woocommerce-Price-amount {
  color: #999 !important;
  font-size: 0.82rem !important;
  font-weight: 400 !important;
}

/* Badge: Giảm giá, Mới, HOT */
.product-small.box .badge,
.product-small.box .onsale,
.product-small.box .badge-new,
.product-small.box .badge-hot {
  border-radius: 50px !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  padding: 4px 10px !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important;
}

/* Nút Xem nhanh */
.product-small.box .quick-view {
  background: rgba(26, 60, 26, 0.85) !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-size: 0.8rem !important;
  padding: 6px 14px !important;
  transition: background 0.2s ease !important;
}

.product-small.box .quick-view:hover {
  background: #4a9b4a !important;
}

/* Khoảng cách giữa các card */
.products .product {
  padding: 10px !important;
}

/* ===== PRODUCT DETAIL PAGE ===== */

/* Wrapper tổng */
.product-container {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 32px rgba(0,0,0,0.09), 0 2px 8px rgba(0,0,0,0.05);
  padding: 32px 28px;
  margin-bottom: 32px;
  border: 1px solid rgba(0,0,0,0.06);
}

/* ===== GALLERY ===== */
.product-images {
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.10) !important;
  background: #f8f8f8 !important;
}

.product-images .woocommerce-product-gallery__image img {
  border-radius: 16px !important;
  transition: transform 0.4s ease !important;
}

.product-images:hover .woocommerce-product-gallery__image.is-selected img {
  transform: scale(1.02) !important;
}

/* Thumbnails */
.product-thumbnails .slide a {
  border-radius: 8px !important;
  overflow: hidden !important;
  display: block !important;
  border: 2px solid transparent !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.product-thumbnails .slide.is-nav-selected a,
.product-thumbnails .slide a:hover {
  border-color: #4a9b4a !important;
  box-shadow: 0 2px 8px rgba(74,155,74,0.25) !important;
}

/* ===== PRODUCT INFO ===== */
.product-main {
  padding-left: 12px !important;
}

/* Tên sản phẩm */
.product-main h1.product_title {
  font-size: 1.7rem !important;
  font-weight: 800 !important;
  color: #1a3c1a !important;
  line-height: 1.3 !important;
  margin-bottom: 8px !important;
}

/* Divider xanh dưới tên */
.product-main .is-divider {
  background: linear-gradient(90deg, #4a9b4a, #a8d5a2) !important;
  height: 3px !important;
  border-radius: 3px !important;
  width: 60px !important;
  margin: 10px 0 14px 0 !important;
}

/* Sao đánh giá */
.product-main .star-rating span::before {
  color: #f5a623 !important;
}

/* Giá */
.product-main p.price {
  font-size: 1.8rem !important;
  font-weight: 800 !important;
  color: #e05c2a !important;
  margin: 14px 0 !important;
}

.product-main .product-page-price del .woocommerce-Price-amount {
  color: #aaa !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
}

/* Mô tả ngắn */
.product-short-description {
  background: #f7faf7 !important;
  border-left: 4px solid #4a9b4a !important;
  border-radius: 0 10px 10px 0 !important;
  padding: 12px 16px !important;
  margin: 14px 0 !important;
  color: #444 !important;
  font-size: 0.92rem !important;
  line-height: 1.7 !important;
}

/* Hết hàng */
.product-main .stock.out-of-stock {
  background: #fff0ee !important;
  color: #c0392b !important;
  border: 1px solid #f5c6c0 !important;
  border-radius: 8px !important;
  padding: 8px 14px !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  display: inline-block !important;
  margin: 10px 0 !important;
}

/* Còn hàng */
.product-main .stock.in-stock {
  background: #f0faf0 !important;
  color: #27ae60 !important;
  border: 1px solid #b2dfb2 !important;
  border-radius: 8px !important;
  padding: 8px 14px !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  display: inline-block !important;
  margin: 10px 0 !important;
}

/* Nút thêm vào giỏ */
.single_add_to_cart_button,
.product-main .button.alt {
  background: linear-gradient(135deg, #4a9b4a, #2e7b2e) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 14px 36px !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  box-shadow: 0 4px 16px rgba(74,155,74,0.35) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.single_add_to_cart_button:hover,
.product-main .button.alt:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(74,155,74,0.45) !important;
  background: linear-gradient(135deg, #5cb85c, #3a8a3a) !important;
}

/* Meta: SKU, danh mục, thẻ */
.product_meta {
  background: #fafafa !important;
  border-radius: 10px !important;
  border: 1px solid #eee !important;
  padding: 12px 16px !important;
  margin-top: 16px !important;
  font-size: 0.85rem !important;
  color: #666 !important;
  line-height: 2 !important;
}

.product_meta a {
  color: #4a9b4a !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.product_meta a:hover {
  color: #2e7b2e !important;
  text-decoration: underline !important;
}

/* Share icons */
.share-icons .button {
  border-color: #ddd !important;
  color: #555 !important;
  border-radius: 50% !important;
  transition: all 0.2s ease !important;
}

.share-icons .button:hover {
  background: #4a9b4a !important;
  border-color: #4a9b4a !important;
  color: #fff !important;
}

/* ===== TABS MÔ TẢ / ĐÁNH GIÁ ===== */
.woocommerce-tabs {
  margin-top: 32px !important;
  background: #fff !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07) !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
  overflow: hidden !important;
}

.woocommerce-tabs .tabs.wc-tabs {
  background: #f5f9f5 !important;
  border-bottom: 2px solid #e0ede0 !important;
  padding: 0 24px !important;
  margin: 0 !important;
}

.woocommerce-tabs .tabs.wc-tabs li a {
  color: #666 !important;
  font-weight: 600 !important;
  font-size: 0.92rem !important;
  padding: 14px 20px !important;
  border-bottom: 3px solid transparent !important;
  transition: color 0.2s, border-color 0.2s !important
 }


 /* ===== CONTACT FORM WRAPPER ===== */
.wpcf7 {
  background: rgba(255,255,255,0.97);
  border-radius: 20px;
  padding: 36px 32px 32px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18), 0 2px 12px rgba(0,0,0,0.08);
  border: 1px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(8px);
}

/* ===== LABEL ===== */
.wpcf7 form p > label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a3c1a;
  margin-bottom: 6px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* ===== INPUT & TEXTAREA ===== */
.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-tel,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-textarea {
  width: 100% !important;
  background: #f7faf7 !important;
  border: 1.5px solid #d4e8d4 !important;
  border-radius: 10px !important;
  padding: 12px 16px !important;
  font-size: 0.93rem !important;
  color: #333 !important;
  outline: none !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04) !important;
  margin-top: 4px !important;
  font-family: inherit !important;
}

/* Focus state */
.wpcf7-form-control.wpcf7-text:focus,
.wpcf7-form-control.wpcf7-tel:focus,
.wpcf7-form-control.wpcf7-email:focus,
.wpcf7-form-control.wpcf7-textarea:focus {
  border-color: #4a9b4a !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(74,155,74,0.12), 0 2px 8px rgba(0,0,0,0.06) !important;
}

/* Placeholder */
.wpcf7-form-control::placeholder {
  color: #aac5aa !important;
  font-style: italic !important;
}

/* Textarea */
.wpcf7-form-control.wpcf7-textarea {
  min-height: 130px !important;
  resize: vertical !important;
}

/* Khoảng cách giữa các field */
.wpcf7 form p {
  margin-bottom: 18px !important;
}

/* ===== NÚT GỬI ===== */
.wpcf7-form-control.wpcf7-submit {
  background: linear-gradient(135deg, #4a9b4a, #2e7b2e) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 14px 44px !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  cursor: pointer !important;
  box-shadow: 0 4px 18px rgba(74,155,74,0.4) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
  display: inline-block !important;
  margin-top: 4px !important;
}

.wpcf7-form-control.wpcf7-submit:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 28px rgba(74,155,74,0.5) !important;
  background: linear-gradient(135deg, #5cb85c, #3a8a3a) !important;
}

.wpcf7-form-control.wpcf7-submit:active {
  transform: translateY(0) !important;
  box-shadow: 0 3px 10px rgba(74,155,74,0.3) !important;
}

/* ===== THÔNG BÁO GỬI THÀNH CÔNG ===== */
.wpcf7-response-output.wpcf7-mail-sent-ok {
  background: #f0faf0 !important;
  color: #27ae60 !important;
  border-left: 4px solid #27ae60 !important;
  border-radius: 0 10px 10px 0 !important;
  border-top: none !important;
  padding: 12px 18px !important;
  font-weight: 600 !important;
  margin-top: 14px !important;
}

/* ===== THÔNG BÁO LỖI ===== */
.wpcf7-response-output.wpcf7-validation-errors,
.wpcf7-response-output.wpcf7-mail-sent-ng {
  background: #fff5f5 !important;
  color: #c0392b !important;
  border-left: 4px solid #c0392b !important;
  border-radius: 0 10px 10px 0 !important;
  border-top: none !important;
  padding: 12px 18px !important;
  font-weight: 600 !important;
  margin-top: 14px !important;
}

/* Lỗi validation từng field */
.wpcf7-not-valid-tip {
  color: #e74c3c !important;
  font-size: 0.78rem !important;
  margin-top: 4px !important;
  display: block !important;
}

.wpcf7-not-valid {
  border-color: #e74c3c !important;
  background: #fff8f8 !important;
}

div#tab-description {
    padding: 10px;
}

/* ========================================
   1. TIÊU ĐỀ CÁC SECTION
   ======================================== */
h1.section-title,
h2.section-title {
  font-size: 1.6rem !important;
  font-weight: 800 !important;
  color: #1a3c1a !important;
  letter-spacing: 0.04em !important;
  position: relative !important;
  padding-bottom: 14px !important;
  margin-bottom: 8px !important;
  display: inline-block !important;
}

h1.section-title::after,
h2.section-title::after {
  content: '' !important;
  display: block !important;
  width: 60px !important;
  height: 4px !important;
  background: linear-gradient(90deg, #4a9b4a, #a8d5a2) !important;
  border-radius: 4px !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
}

.section-title-container {
  margin-bottom: 32px !important;
  text-align: center !important;
}

/* ========================================
   2. VỀ CHÚNG TÔI
   ======================================== */
.secvct {
  background: #f7faf7 !important;
}

/* Logo/image bên trái */
.secvct .img-inner {
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 8px 32px rgba(74,155,74,0.18) !important;
  border: 3px solid rgba(74,155,74,0.15) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.secvct .img-inner:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 14px 40px rgba(74,155,74,0.28) !important;
}

/* Tiêu đề h3 */
.secvct h3 {
  font-size: 1.7rem !important;
  font-weight: 800 !important;
  color: #1a3c1a !important;
  margin-bottom: 16px !important;
  position: relative !important;
  padding-bottom: 14px !important;
}

.secvct h3::after {
  content: '' !important;
  display: block !important;
  width: 50px !important;
  height: 3px !important;
  background: linear-gradient(90deg, #4a9b4a, #a8d5a2) !important;
  border-radius: 3px !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
}

/* Đoạn văn */
.secvct p {
  color: #444 !important;
  line-height: 1.8 !important;
  font-size: 0.95rem !important;
  margin-bottom: 12px !important;
}

/* Nút XEM THÊM */
.secvct a.button.is-outline {
  background: transparent !important;
  border: 2px solid #4a9b4a !important;
  color: #2e7b2e !important;
  border-radius: 50px !important;
  padding: 11px 32px !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  transition: all 0.25s ease !important;
  display: inline-block !important;
  margin-top: 8px !important;
}

.secvct a.button.is-outline:hover {
  background: linear-gradient(135deg, #4a9b4a, #2e7b2e) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 6px 20px rgba(74,155,74,0.35) !important;
  transform: translateY(-2px) !important;
}

/* ========================================
   3. LIÊN HỆ VỚI BÌNH MINH XANH (có nền ảnh)
   ======================================== */

/* Tiêu đề h1 */
#section_971339586 h1 {
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: #fff !important;
  letter-spacing: 0.05em !important;
  margin-bottom: 16px !important;
  position: relative !important;
  padding-bottom: 12px !important;
}

#section_971339586 h1::after {
  content: '' !important;
  display: block !important;
  width: 45px !important;
  height: 3px !important;
  background: rgba(255,255,255,0.6) !important;
  border-radius: 3px !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
}

/* Nội dung liên hệ */
#section_971339586 .col-inner p {
  color: rgba(255,255,255,0.92) !important;
  font-size: 0.93rem !important;
  line-height: 2 !important;
  margin-bottom: 4px !important;
}

/* Dòng đầu (hotline) nổi bật */
#section_971339586 .col-inner p:first-of-type {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #fff !important;
  background: rgba(255,255,255,0.12) !important;
  border-left: 4px solid rgba(255,255,255,0.7) !important;
  border-radius: 0 8px 8px 0 !important;
  padding: 8px 14px !important;
  margin-bottom: 8px !important;
}

/* Logo tròn */
#section_971339586 .hinhtron .img-inner {
  border-radius: 50% !important;
  overflow: hidden !important;
  border: 4px solid rgba(255,255,255,0.3) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3) !important;
}

/* ========================================
   4. SECTION MÀU NỀN ĐA DẠNG
   ======================================== */
#section_1723624822 {
  background: #fafcfa !important;
}

#section_1812666310 {
  background: #f5f9f5 !important;
}

/* ========================================
   5. FOOTER LIÊN HỆ
   ======================================== */
#section_1532044373 h2 {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: rgba(255,255,255,0.95) !important;
  letter-spacing: 0.06em !important;
  margin-bottom: 6px !important;
}

#section_1532044373 .bordertron .img-inner {
  border-radius: 20px !important;
  overflow: hidden !important;
  border: 3px solid rgba(255,255,255,0.2) !important;
  box-shadow: 0 6px 24px rgba(0,0,0,0.3) !important;
}

/* ========================================
   QUANTITY WRAPPER
   ======================================== */
.ux-quantity.quantity.buttons_added {
  display: inline-flex !important;
  align-items: center !important;
  background: #f7faf7 !important;
  border: 2px solid #d4e8d4 !important;
  border-radius: 50px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 8px rgba(74,155,74,0.10) !important;
  height: 48px !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.ux-quantity.quantity.buttons_added:hover,
.ux-quantity.quantity.buttons_added:focus-within {
  border-color: #4a9b4a !important;
  box-shadow: 0 3px 14px rgba(74,155,74,0.18) !important;
}
.product-main .product-page-price del .woocommerce-Price-amount{
  text-decoration: line-through;
}
span.amount{
  color: red;
}

.woocommerce-loop-product__title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  height: 40px;
}

.woocommerce div.product div.images {
  width: 60% !important;
  margin: auto;
}

.woocommerce div.product div.summary {
  width: 56% !important;
}
.product-image-wrapper img,
.box-image img,
.image-wrapper img,
.woocommerce ul.products li.product img {
  object-fit: contain !important;
  width: 100% !important;
  height: auto !important;
  max-height: 300px;
  padding: 10px;
}

/* Fix Flatsome specific */
.product-image img,
.woocommerce-LoopProduct-link img {
  object-fit: contain !important;
}

.badge-container.is-larger.absolute.left.top.z-1 {
    left: 20px;
}

.header-inner.flex-row.container.logo-left {
    max-width: 85%;
}

.form-flat input:not([type=submit]), .form-flat select, .form-flat textarea{
  color: black !important;
}
.lpr-message {
    display: none !important;
}


.cf-footer .form-flat span.wpcf7-form-control-wrap {
    max-width: 80%;
}

.cf-footer .form-flat p:last-child input.wpcf7-form-control.wpcf7-submit.has-spinner.button {
    padding: 0px 10px !important;
    position: absolute;
    right: 5px;
    top: 37px;
    font-size: 13px !important;
    padding: 10px;
}
.cf-footer .wpcf7 form p{
  margin-bottom: 0px;
}

.cf-footer form.wpcf7-form.init {
    height: 30px;
}

.cf-footer .wpcf7-response-output {
    color: black;
}

li#menu-item-405 {
    background: #037446;
    padding:  3px 10px;
    border-radius: 20px;
}

li#menu-item-405 a {
    color: white;
}


/* Khi hover ánh sáng chạy ngang */
li#menu-item-405:hover::before {
    left: 130%;
}

li.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-405{
  background: #037446;
}
li.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-405 a{
  color: white;
}
li#menu-item-405 {
    animation:  pulseGlow 2s infinite,
        shakeBtn 0.9s infinite;
}

/* Hiệu ứng pulse nhẹ */
@keyframes softPulse {
    0% {
        box-shadow: 0 0 0 rgba(5,163,99,0.3);
    }
    50% {
        box-shadow: 0 0 18px rgba(5,163,99,0.5);
    }
    100% {
        box-shadow: 0 0 0 rgba(5,163,99,0.3);
    }
}

@keyframes shakeBtn {
    0%{
        transform: rotate(1deg);
    }

    30% {
        transform: rotate(-4deg);
    }

    60% {
        transform: rotate(4deg);
    }

    96% {
        transform: rotate(-4deg);
    }

    100% {
        transform: rotate(4deg);
    }
}



/* ========================================
*/
@media only screen and (max-width: 1590px) {
.header-inner.flex-row.container.logo-left {
    max-width: 90%;
}
#logo{
  width: 120px !important;
}
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
.product-container{
  padding: 0px;
}

.product-image-wrapper img, .box-image img, .image-wrapper img, .woocommerce ul.products li.product img{
  padding: 0px;
}
  .product-small.box .box-image{
    height: 300px;
  }


  .sgpb-main-html-content-wrapper {
    text-align: center;
}

}

.product-promo-badge{
  display: none;
}


.message-container.container.medium-text-center {
    color: red;
    font-size: 20px;
    font-weight: bold;
}
.woocommerce-form-coupon-toggle {
    display: none !important;
}

.checkout_coupon.woocommerce-form-coupon {
    display: block !important;
    margin-bottom: 25px;
    border: 2px solid red;
    border-radius: 10px;
}

.checkout_coupon input.input-text {
    height: 42px;
    border-radius: 6px;
}

.checkout_coupon .button {
    height: 42px;
    border-radius: 6px;
}

/* Tìm class hoặc ID của thẻ <a> thuộc menu Khuyến Mãi, ví dụ dưới đây là minh họa */
.menu-item-635 a::after {
    content: "1"; /* Thay số lượng bài viết bạn muốn hiển thị ở đây */
    display: inline-block;
    background-color: #ff4d4f; /* Màu nền đỏ */
    color: #fff; /* Màu chữ trắng */
    font-size: 10px;
    font-weight: bold;
    border-radius: 10px; /* Bo tròn giống dạng badge */
    padding: 2px 6px;
    margin-left: 5px;
    vertical-align: middle;
    position: relative;
    top: -2px;
    /* Thêm dòng này để kích hoạt hiệu ứng động */
    animation: pulse-effect 1.5s infinite ease-in-out; 

}

/* Tạo chuyển động pulse */
@keyframes pulse-effect {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}


/* CSS Tối ưu riêng cho khối Liên hệ */
.bmx-contact-info {
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    padding: 10px 20px 10px 0;
}

.bmx-company-name {
    color: #ffffff !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    margin-bottom: 5px !important;
    line-height: 1.4 !important;
    letter-spacing: 0.5px;
}

.bmx-slogan {
    color: #a3e635; /* Màu xanh lá nhạt điểm nhấn */
    font-size: 14px;
    font-style: italic;
    margin-bottom: 20px;
    opacity: 0.9;
}

.bmx-divider {
    height: 2px;
    width: 60px;
    background-color: #a3e635;
    margin-bottom: 25px;
}

.bmx-info-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 30px 0 !important;
}

.bmx-info-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px !important;
    font-size: 15px;
    line-height: 1.5;
}

.bmx-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
    color: #a3e635; /* Màu icon đồng bộ */
}

.bmx-text {
    color: #f3f4f6;
}

.bmx-text a {
    color: #ffffff !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.bmx-text a:hover {
    color: #a3e635 !important;
    text-decoration: underline;
}

/* Khối thiết kế QR Code mới */
.ketnoizalo {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 12px;
    max-width: 100%;
}

.ketnoizalo img {
    width: 120px;
    height: 120px;
    background: #ffffff;
    padding: 6px;
    border-radius: 8px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.bmx-qr-note {
    margin-left: 15px;
}

.bmx-qr-note strong {
    display: block;
    color: #ffffff;
    font-size: 15px;
    margin-bottom: 4px;
}

.bmx-qr-note span {
    display: block;
    color: #d1d5db;
    font-size: 12px;
    line-height: 1.4;
}

/* Responsive cho thiết bị di động */
@media (max-width: 767px) {
    .bmx-contact-info {
        padding: 20px 0;
    }
    .bmx-qr-wrapper {
        max-width: 100%;
    }
}
.single-page img {
    border-radius: 10px;
    box-shadow: 1px 2px 6px 3px #c3c3c3;
}