@media (min-width: 1280px) {
  .logo a {
    padding-left: 100px !important;
  }
}
/* HEADER STICKY */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}
#comments {
  display: none;
}
.hotline-container {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.hotline-box {
  text-align: center;
}

.hotline-box span {
  display: block;
  font-size: 16px;
  color: #489356;
  font-weight: 500;
  margin-bottom: 5px;
}

.hotline-box a {
  display: block;
  font-size: 16px;
  color: #333;
  font-weight: 700;
  text-decoration: none;
}

.hotline-box a:hover {
  color: #4a7c59;
}

/* Đường phân cách giữa các item */
.header-bottom-nav li:not(:last-child)::after {
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 20px;
  background: #ddd;
}

/* Link danh mục */
.header-bottom-nav .nav-top-link {
  color: #333;
  font-weight: 500;
}

/* Hover effect */
.header-bottom-nav .nav-top-link:hover {
  color: #c14b96;
  background: #f8f8f8;
}
.product-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.product-image {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 16px;
}

.stars {
  color: #fbbf24;
  font-size: 16px;
  margin-bottom: 8px;
  letter-spacing: 2px;
}

.product-title {
  font-size: 15px;
  color: #374151;
  margin-bottom: 8px;
  font-weight: 500;
}

.product-price {
  font-size: 22px;
  color: #4a8a6a;
  font-weight: 700;
  margin-bottom: 16px;
}

/* CSS Nút Add To Cart */
.add-to-cart-button {
  width: 100%;
}

.add-to-cart-button a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 24px;
  background-color: #C11583;
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.add-to-cart-button a:hover {
  background-color: #3d7355;
  transform: translateY(-1px);
}

.add-to-cart-button a:active {
  background-color: #356347;
  transform: translateY(0);
}

/* Outline variant */
.add-to-cart-button a.is-outline {
  background-color: #ffffff;
  color: #6b7280;
}

.add-to-cart-button a.is-outline:hover {
  background-color: #5c9963;
  color: #ffffff;
  transform: translateY(-1px);
}

.icon-bag {
  width: 18px;
  height: 18px;
}

/* ***************** */
.banner h1,
.banner h2,
.banner h3 {
  line-height: 1.2 !important;
}
.counter-wrapper {
  text-align: left;
  padding: 10px;
  border-right: 1px solid #e0e0e0;
  opacity: 0;
  animation: fadeIn 0.6s ease-out forwards;
}
.counter-wrapper:nth-child(1) {
  animation-delay: 0.1s;
}
.counter-wrapper:nth-child(2) {
  animation-delay: 0.2s;
}
.counter-wrapper:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.counter-box {
  margin-bottom: 10px;
}

.counter-number-wrapper h4 {
  font-size: 36px;
  font-weight: 700;
  color: rgb(63, 110, 68);
  margin: 0;
  line-height: 1;
}

.counter-title {
  font-size: 16px;
  font-weight: 400;
  color: #333;
}

/* CF7 */
/* Contact Form 7 - Modern Style */

.wpcf7-form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
}

/* Input & Textarea */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  color: #333;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-family: inherit;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: #2ecc71;
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}

.wpcf7-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Submit Button */
.wpcf7-form input[type="submit"] {
  width: 20%;
  padding: 4px 12px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: rgb(63, 110, 68);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wpcf7-form input[type="submit"]:hover {
  background: #27ae60;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

.wpcf7-form input[type="submit"]:active {
  transform: translateY(0);
}

/* Placeholder */
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  color: #999;
}

/* Spinner Loading */
.wpcf7-spinner {
  margin-left: 10px;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(46, 204, 113, 0.3);
  border-radius: 50%;
  border-top-color: #2ecc71;
  animation: spin 1s linear infinite;
  display: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Response Messages */
.wpcf7-response-output {
  border-radius: 6px;
  font-size: 14px;
  display: none;
}

/* Success Message */
.wpcf7-mail-sent-ok {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

/* Validation Error */
.wpcf7-validation-errors,
.wpcf7-acceptance-missing {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

/* Error Message */
.wpcf7-mail-sent-ng,
.wpcf7-aborted {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.wpcf7-form-control.wpcf7-not-valid {
  border-color: #e74c3c !important;
}

/* Hidden Fields */
.hidden-fields-container {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="email"],
  .wpcf7-form textarea {
    font-size: 16px; /* Tránh zoom trên iOS */
  }

  .wpcf7-form p {
    margin-bottom: 16px;
  }
}

@media (max-width: 480px) {
  .wpcf7-form input[type="submit"] {
    padding: 12px 24px;
    font-size: 15px;
  }
}

/********** Footer Scrip *************/
/* Container fixed bên phải */
.social-icons-fixed {
  position: fixed;
  left: 20px;
  top: 70%;
  transform: translateY(-50%);
  z-index: 9999;
}

.social-icons-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Style cho từng icon */
.social-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d9d4b0;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
}

/* Viền cam khi hover */
.social-icon::before {
  content: "";
  position: absolute;

  border-radius: 50%;
  background: linear-gradient(135deg, #ff8c00, #ffa500);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.social-icon:hover::before {
  opacity: 1;
}

/* SVG icons */
.social-icon svg {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

/* Facebook - nền xanh dương */
.social-icon.facebook {
  background: #1877f2;
  box-shadow: 0 2px 10px rgba(24, 119, 242, 0.3);
}

.social-icon.facebook svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

.social-icon.facebook:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(24, 119, 242, 0.5);
}
/* Zalo - icon lớn hơn */
.social-icon.zalo svg {
  width: 38px;
  height: 38px;
}
/* Phone - nền xanh lá */
.social-icon.phone {
  background: #4caf50;
  box-shadow: 0 2px 10px rgba(76, 175, 80, 0.3);
}

.social-icon.phone svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

.social-icon.phone:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.5);
}
/* TikTok - nền đen */
.social-icon.tiktok {
  background: #000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.social-icon.tiktok svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

.social-icon.tiktok:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* Hover effect chung */
.social-icon:hover {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

/* Mobile - Chuyển sang bên phải */
@media (max-width: 768px) {
  .social-icons-fixed {
    left: auto;        /* Bỏ left */
    right: 10px;       /* Thêm right */
		 top: 50%;
  }
  .social-icons-wrapper {
    padding: 12px 8px;
    gap: 12px;
  }
  .social-icon {
    width: 50px;
    height: 50px;
  }
  .social-icon svg {
    width: 24px;
    height: 24px;
  }
  .social-icon.zalo svg {
    width: 34px;
    height: 34px;
  }
}


/******** Gioi thieu *********/
.img-border .img-inner {
  border-radius: 15px;
  overflow: hidden;
}

.img-border .img-inner img {
  border-radius: 15px;
}

/* Product Card */
/* Container cam kết */
.cam-ket {
  background: #f8f9fa;
  border-left: 4px solid #67b86b;
  padding: 20px;
  margin: 20px 0;
}

/* Tiêu đề */
.cam-ket .tieu-de {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin-bottom: 12px;
}

/* Danh sách */
.cam-ket ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Từng mục */
.cam-ket ul li {
  padding: 2px 0 2px 25px;
  color: #000;
  font-size: 14px;
  position: relative;
}

/* Icon check đơn giản */
.cam-ket ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #67b86b;
  font-weight: bold;
}
/* H2 toàn site: gạch đậm sát đáy, theo canh lề của H2 */
h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
  margin-bottom: 18px;
  line-height: 1.25;
}

/* tạo div nhỏ (bằng pseudo-element) như một thanh riêng */
h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 2px;
  background-color: var(--primary, #5c9963);
  border-radius: 3px;
}

/* căn giữa nếu khối chứa là text-center */
.text-center h2,
.has-text-align-center h2 {
  display: block;
  text-align: center;
}
.text-center h2::after,
.has-text-align-center h2::after {
  left: 50%;
  transform: translateX(-50%);
}

/* căn phải nếu có class text-right */
.text-right h2::after,
.has-text-align-right h2::after {
  left: auto;
  right: 0;
  transform: none;
}

/* tắt divider cũ của Flatsome */
h2::before {
  content: none !important;
  border: 0 !important;
}

/* loại trừ vùng không cần gạch */
.woocommerce-loop-product__title,
.product .product-title,
.widget .widget-title {
  position: static;
  padding-bottom: 0 !important;
}
.woocommerce-loop-product__title::after,
.product .product-title::after,
.widget .widget-title::after {
  content: none !important;
}
/* Tuỳ chọn: thêm class 'no-underline' vào h2 để tắt riêng lẻ */
h2.no-underline::after {
  content: none !important;
}

/* MOBILE luôn 100% */
@media (max-width: 767.98px) {
  .section .section-content > .row:not(.full-width),
  .section .section-content > .row:not(.full-width) > .row-inner,
  .header-top .container,
  .header-main .container,
  .header-bottom .container {
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }
}
.organey-icon {
  color: #5c9963; /* màu thương hiệu */
}
.nav-line-bottom > li > a:before,
.nav-line-grow > li > a:before,
.nav-line > li > a:before {
  height: 2px !important;
}
.banners-custom .banner-border .banner-inner {
  border-radius: 8px;
  background: transparent !important;
}
.banners-custom .banner-border .banner-bg,
.banners-custom .banner-border .banner-bg .bg,
.banners-custom .banner-border .banner-bg .overlay {
  border-radius: inherit;
}
/* Nút ghost trắng + icon mũi tên, không đổ nền */
.banners-custom .banner-border .text-box .cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  font-weight: 500;
  line-height: 1.1;
  text-decoration: none;
  font-size: 12px;
}

/* Mũi tên trắng bằng pseudo-element */
.banners-custom .banner-border .text-box .cta-ghost::after {
  content: "\2192"; /* → */
  display: inline-block;
  transform: translateY(1px);
  transition: transform 0.2s;
  color: inherit;
}

/* Hover: không đổi nền; chỉ gạch chân chữ + đẩy nhẹ mũi tên */
.banners-custom .banner-border .text-box .cta-ghost:hover {
  transform: translateY(-1px);
}
.banners-custom .banner-border .text-box .cta-ghost:hover::after {
  transform: translate(3px, 1px);
}

.banners-custom .banner-border .text-box .cta-ghost span {
  text-decoration: none;
}
.banners-custom .banner-border .text-box .cta-ghost:hover span {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px; /* optional */
}
// product
.nav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 5px;
  margin: 0;
}
.nav-pills .tab a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 16px;
  padding-right: 16px;
  background: #e8f5e9;
  border-radius: 32px;
  font-size: 14px;
}
.nav.nav-pills.nav-size-normal {
  gap: 14px 10px; /* hàng:14px, cột:18px (chính là khoảng cách) */
}
/* Responsive */
@media (max-width: 768px) {
  .nav-pills {
    gap: 8px;
  }

  .nav-pills .tab a {
    padding: 0px 16px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .nav-pills.nav-center {
    justify-content: flex-start;
  }

  .nav-pills .tab a {
    padding: 0px 16px;
    font-size: 13px;
  }
}
:root {
  --brand: #3c8f53;
  --ring: rgba(0, 0, 0, 0.12);
  --shadow-lg: rgba(0, 0, 0, 0.2);
  --shadow-sm: rgba(0, 0, 0, 0.1);
}
/* ***********************Category*********************** */

/* ========= TEXT CATEGORY ========= */
.box-category .box-text .header-title {
  font-size: 14px;
  line-height: 1.45;
  font-weight: 500;
  color: #2c3e50;
  margin: 6px 0 4px;
  letter-spacing: 0.1px;
  transition: color 0.25s ease;
}

.product-category .col-inner:hover .box-category .header-title,
.box-category:hover .header-title {
  color: #5c9963;
}
/* ========= CARD CƠ BẢN – áp cho mọi biến thể box của Flatsome ========= */
.product-small.box {
  position: relative;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: none;
  transform: translateY(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  will-change: transform, box-shadow;
}

/* ========= TRIGGER HOVER – cover cả 2 trường hợp:
   1) Hover ở .col.has-hover bọc ngoài
   2) Hover trực tiếp vào .product-small ========= */
.col.has-hover:hover .product-small.box,
.product-small.box:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 42px var(--shadow-lg), 0 6px 16px var(--shadow-sm);
  z-index: 2;
}
.col.has-hover:hover .product-small.box::after,
.product-small.box:hover::after {
  opacity: 1;
}

/* ========= ẢNH – áp dụng cho mọi layout (text-bottom, products grid, v.v.) ========= */
.product-small .box-image {
  position: relative;
  background: #f5f5f5;
  border-radius: 16px;
  width: 100%;
  overflow: hidden;
}

/* overlay + scale ảnh khi card được hover */
.col.has-hover:hover .product-small .box-image::after,
.product-small:hover .box-image::after {
  opacity: 0.8;
}

.product-small .box-image img {
  transition: transform 0.3s ease;
}
.col.has-hover:hover .product-small .box-image img,
.product-small:hover .box-image img {
  transform: scale(1.03);
}

/* ========= HIỆN tool/icon của Flatsome khi hover ========= */
.product-small .image-tools {
  opacity: 0;
  transform: translateY(8px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.col.has-hover:hover .product-small .image-tools,
.product-small:hover .image-tools {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

/* ========= TYPO & PRICE – nhẹ, gọn cho mọi nơi ========= */
.product-small .product-title {
  font-size: 16px;
  line-height: 1.45;
  color: #2c3e50;
  margin: 6px 0 4px;
  letter-spacing: 0.1px;
}
.product-small .price {
  font-size: 18px;
  color: #5c9963 !important;
  line-height: 1.65;
}
.price .amount {
  font-size: 18px;
  color: #c11583 !important;
  line-height: 1.65;
}
/* ===== Hover tools on product image ===== */
.product-small .box-image {
  position: relative;
  overflow: hidden;
}
/* Áp dụng border-radius 16px chỉ trên mobile (màn hình nhỏ hơn 768px) */
@media (max-width: 767px) {
    .box-image {
        border-radius: 16px;
        overflow: hidden; /* Đảm bảo ảnh bên trong cũng bị cắt góc */
    }
}
/* Khung chứa 3 icon */
.wc-tools {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none; /* ẩn click khi chưa hover */
  z-index: 5;
}

/* Khi hover card: hiện icon */
.product-small:hover .wc-tools {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Style chung cho nút (WPClever buttons) */
.wc-tools .woosc-btn,
.wc-tools .woosq-btn,
.wc-tools .woosw-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s;
  font-size: 0;
  line-height: 0; /* ẩn chữ, chỉ hiện icon */
  cursor: pointer;
}

/* Hover nút */
.wc-tools .woosc-btn:hover,
.wc-tools .woosq-btn:hover,
.wc-tools .woosw-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  border-color: var(--ring, rgba(0, 0, 0, 0.12));
}

/* Ẩn cụm nút cũ nếu theme/plugin render ở chỗ khác */
.product-small .add-to-cart-button .woosq-btn,
.product-small .add-to-cart-button .woosc-btn,
.product-small .add-to-cart-button .woosw-btn {
  display: none !important;
}
/* Nút add to cart – dạng viền, hover chuyển HỒNG */
.product-small .add-to-cart-button .button {
  text-align: center;
  font-weight: 400;
  display: flex;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  padding: 0.6em;
  transition: all ease-in-out 0.3s;
  border: 1px solid #e4e4e4;
  font-size: 12px;
  padding-bottom: 4px;
  text-transform: uppercase;
  background: transparent;
  color: #1F2937;
}

/* Hover: chuyển hồng */
.product-small .add-to-cart-button .button:hover {
  background-color: #C11583;
  border-color: #C11583;
  color: #ffffff;
}
.product-small .added_to_cart.wc-forward {
  display: none !important;
}
/* ===== Biến ===== */
.banner-border1 {
  border-radius: 20px !important;
}
css/* Bo góc cho col-inner */
.col-inner {
  border-radius: 20px;
  overflow: hidden;
}

/* Bo góc cho banner-border2 */
.banner-border2 {
  border-radius: 20px;
  overflow: hidden;
}

.banner-border2 .banner-inner {
  border-radius: 20px;
}

.banner-border2 .banner-bg,
.banner-border2 .bg {
  border-radius: 20px;
}

/* icon-box-tieu-chi */
.features-wrapper {
  max-width: 1400px;
  margin: 0 auto;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feature-box {
  background: #f8fdf9;
  border-radius: 12px;
  padding: 20px 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
  border: 1px solid #e8f5e9;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(69, 80, 64, 0.15);
  background: #fff;
}

.icon-container {
  min-width: 60px;
  height: 60px;
  background: #c14d97;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-container svg {
  width: 35px;
  height: 35px;
  fill: #fff;
}

.feature-content {
  flex: 1;
}

.feature-title {
  font-size: 18px;
  font-weight: 500;
  color: #2e4939;
  margin-bottom: 6px;
}

.feature-description {
  font-size: 14px;
  color: #6b7c70;
  line-height: 1.5;
}

@media (max-width: 1024px) {
  .features-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .features-container {
    grid-template-columns: 1fr;
  }

  .feature-box {
    padding: 25px 20px;
  }
}

/* Blog */
.box-text-inner.blog-post-inner .is-divider {
  display: none;
}
.button.is-link.is-small {
  background: #f5f5f5;
  color: #2c5f5d;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s;
}

.button.is-link.is-small:hover {
  background: #e8e8e8;
}

/* ************Sub-menu*********** */
/* Reset styles cho sub-menu */
.sub-menu.nav-dropdown {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

/* Styles cho mỗi menu item */
.sub-menu.nav-dropdown li {
  border-bottom: 1px solid #f0f0f0;
}

.sub-menu.nav-dropdown li:last-child {
  border-bottom: none;
}

/* Styles cho link */
.sub-menu.nav-dropdown a {
  display: block;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  position: relative;
  border-radius: 8px;
}

/* Hover effect - màu hồng #c15399 */
.sub-menu.nav-dropdown a:hover {
  background: #c15399;
  color: #ffff;
  padding-left: 28px;
  transform: translateX(2px);
}

/* Icon mũi tên khi hover */
.sub-menu.nav-dropdown a:hover::before {
  content: "→";
  position: absolute;
  left: 12px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.sub-menu.nav-dropdown a::before {
  opacity: 0;
}
/* *****************Blog Relate************** */
.bai-viet-lien-quan {
  margin: 24px 0;
}

.bai-viet-lien-quan h2 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 20px;
  color: #333;
}

.bai-viet-lien-quan ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.bai-viet-lien-quan li {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bai-viet-lien-quan li:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.bai-viet-lien-quan li:hover .box-image img {
  transform: scale(1.05);
}

.tieu-de-bai-viet {
  padding: 13px;
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: #333;
  transition: color 0.3s ease;
}

.bai-viet-lien-quan li a:hover .tieu-de-bai-viet {
  color: #0066cc;
}

/* Responsive cho mobile */
@media (max-width: 768px) {
  .bai-viet-lien-quan ul {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
  }

  .box-image {
    height: 180px;
  }

  .tieu-de-bai-viet {
    font-size: 15px;
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .bai-viet-lien-quan ul {
    grid-template-columns: 1fr;
  }

  .box-image {
    height: 100%;
  }
}
.entry-content .bai-viet-lien-quan ul,
.single-post .entry-content .bai-viet-lien-quan ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.entry-content .bai-viet-lien-quan li,
.single-post .entry-content .bai-viet-lien-quan li {
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
}
.entry-content .bai-viet-lien-quan li::before,
.single-post .entry-content .bai-viet-lien-quan li::before {
  content: none !important;
}

/* (Tùy chọn) Bật lưới cho đẹp */
.entry-content .bai-viet-lien-quan ul {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
}
@media (max-width: 1024px) {
  .entry-content .bai-viet-lien-quan ul {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 600px) {
  .entry-content .bai-viet-lien-quan ul {
    grid-template-columns: 1fr !important;
  }
}

.entry-content .bai-viet-lien-quan > h2 {
  margin: 0 0 12px !important;
}
.bai-viet-lien-quan .box-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #f5f5f5;
}

.bai-viet-lien-quan .box-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.bai-viet-lien-quan .box-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
/* Thu hẹp nội dung page-title vào trong */
/* Ảnh nền hiển thị đầy đủ 100% */
.page-title.blog-featured-title .title-bg.fill {
  background-size: cover !important; /* Đảm bảo ảnh phủ kꫝ 100% */
  background-position: center center !important; /* Căn giữa ảnh */
  height: 100% !important; /* Chiều cao 100% */
  min-height: 500px; /* Chiều cao tối thiểu */
}

/* Container chính cao hơn để hiện ảnh đầy đủ */
.page-title.blog-featured-title {
  height: auto;
}

/* Nếu muốn ảnh hiển thị TOÀN BỘ không bị crop */
.page-title.blog-featured-title .title-bg.fill {
  background-size: contain !important; /* Hiện toàn bộ ảnh */
  background-repeat: no-repeat !important;
}

/* HOẶC để ảnh phủ đầy và cao hơn */
.page-title.blog-featured-title .title-bg.fill {
  background-size: 100% auto !important; /* Rộng 100%, cao tự động */
  min-height: 500px !important;
}
.post-sidebar {
  align-self: flex-start !important;
  position: sticky !important;
  top: 20px !important;
  z-index: 10 !important;
}

/* *********Thông tin tác giả ******* */
/* ===== Thông tin tác giả ===== */
.thong-tin-tac-gia {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  margin-top: 36px;
  background: #fffde7;
  border: 1px dashed #ff9800;
  border-radius: 12px;
}
.thong-tin-tac-gia .left img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e0e0e0;
}
.thong-tin-tac-gia .right {
  flex: 1;
}
.thong-tin-tac-gia .right .title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #2d6a4f;
}
.thong-tin-tac-gia .right .des {
  font-size: 14.5px;
  line-height: 1.6;
  color: #374151;
  margin: 0;
}

.thong-tin-tac-gia .right .des a {
  color: #2d6a4f;
  font-weight: 600;
  text-decoration: none;
}

.thong-tin-tac-gia .right .des a:hover {
  text-decoration: underline;
}

/* Responsive: co dọc trên mobile */
@media (max-width: 600px) {
  .thong-tin-tac-gia {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .thong-tin-tac-gia .left img {
    margin-bottom: 12px;
  }
}

/* *********Product**************** */
/* Container chính */
#shop-sidebar {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Widget */
.widget {
  margin-bottom: 0;
}

/* Tiêu đề */
.widget-title {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

/* Divider */
.is-divider {
  height: 2px;
  background: #c14d97;
  margin-bottom: 16px;
  border: none;
}

/* Danh sách danh mục */
.product-categories {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 600px;
  overflow-y: auto;
  padding-right: 8px;
}

/* Item danh mục */
.cat-item {
  margin-bottom: 4px;
}

/* Link danh mục cha */
.cat-item > a {
  display: block;
  padding: 10px 14px;
  color: #555;
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  transition: all 0.2s;
  border-bottom: 2px solid transparent;
}

.cat-item > a:hover {
  color: #c14d97;
  border-bottom-color: #c14d97;
}

/* Danh mục cha đang active */
.cat-item.current-cat-parent > a,
.cat-item.current-cat > a {
  color: #c14d97;
  font-weight: 600;
  border-bottom-color: #c14d97;
}

/* Danh sách danh mục con */
.cat-item .children {
  list-style: none;
  margin: 4px 0 0 0;
  padding: 0;
}

/* Link danh mục con */
.cat-item .children .cat-item {
  margin-bottom: 4px;
}

.cat-item .children .cat-item a {
  display: block;
  padding: 10px 18px;
  color: #666;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.2s;
  border-bottom: 2px solid transparent;
}

.cat-item .children .cat-item a:hover {
  color: #c14d97;
  border-bottom-color: #c14d97;
}

/* Danh mục con đang active */
.cat-item .children .cat-item.current-cat a {
  color: #c14d97;
  font-weight: 600;
  border-bottom-color: #c14d97;
}

/* Custom scrollbar */
.product-categories::-webkit-scrollbar {
  width: 6px;
}

.product-categories::-webkit-scrollbar-track {
  background: #f5f5f5;
  border-radius: 10px;
}

.product-categories::-webkit-scrollbar-thumb {
  background: #c14d97;
  border-radius: 10px;
}

.product-categories::-webkit-scrollbar-thumb:hover {
  background: #a83d7d;
}

/* Responsive */
@media (max-width: 768px) {
  #shop-sidebar {
    padding: 16px;
  }
  
  .cat-item > a {
    padding: 8px 12px;
    font-size: 14px;
  }
  
  .cat-item .children .cat-item a {
    padding: 8px 14px;
    font-size: 13px;
  }
}
/* ******************Product*************** */

.cam-ket {
  margin-bottom: 20px;
  margin-top: 25px;
  background: white;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ececec;
  font-size: 15px;
}
.benefits-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
  max-width: 380px;
  width: 100%;
}

.card-header {
  background: #c14d97 !important;
  padding: 12px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.card-header::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: #C11583;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.card-header h3 {
  color: white;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1.5px;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.benefits-list {
  padding: 30px 25px;
}

.benefit-item {
  display: flex;
  align-items: center;
  padding: 8px;
  margin-bottom: 15px;
  border-radius: 12px;
  background: #f8f9fa;
  transition: all 0.3s ease;
  cursor: pointer;
}

.benefit-item:hover {
  background: #e8f5e9;
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(67, 160, 71, 0.15);
}

.benefit-item:last-child {
  margin-bottom: 0;
}

.icon-wrapper {
  flex-shrink: 0;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #c14d97;
  border-radius: 12px;
  margin-right: 18px;
  box-shadow: 0 4px 10px rgba(67, 160, 71, 0.3);
}

.icon-wrapper svg {
  width: 28px;
  height: 28px;
  stroke: white;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-text {
  flex: 1;
  color: #2d3436;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 500;
}

.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  font-weight: 500 !important;
}
