/* ========================================
   Font Face Declarations
   ======================================== */
#main,
#wrapper,
.shop-container {
  background-color: rgb(245, 247, 253) !important;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('/wp-content/themes/wdm-bibabu/fonts/SFProDisplay-Bold.woff2') format('woff2'),
    url('/wp-content/themes/wdm-bibabu/fonts/SFProDisplay-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('/wp-content/themes/wdm-bibabu/fonts/SFProDisplay-Regular.woff2') format('woff2'),
    url('/wp-content/themes/wdm-bibabu/fonts/SFProDisplay-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('/wp-content/themes/wdm-bibabu/fonts/SFProDisplay-Medium.woff2') format('woff2'),
    url('/wp-content/themes/wdm-bibabu/fonts/SFProDisplay-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

.absolute-footer {
  background-color: rgb(253, 237, 237) !important;
}

.header:not(.transparent) .header-bottom-nav.nav>li>a:hover,
.header:not(.transparent) .header-bottom-nav.nav>li.active>a,
.header:not(.transparent) .header-bottom-nav.nav>li.current>a,
.header:not(.transparent) .header-bottom-nav.nav>li>a.active,
.header:not(.transparent) .header-bottom-nav.nav>li>a.current {
  font-weight: 600;
}

.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected,
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected:hover {
  box-shadow: var(--wvs-selected-item-box-shadow, 0 0 0 2px #ff6b6b);
  background: #ff6b6b !important;
  color: #fff !important;
}

.woo-variation-swatches .wvs-style-squared.variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item {
  height: 40px;
  padding: 15px;
}

.woo-variation-swatches .wvs-style-squared.variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item .variable-item-span {
  color: red;
  font-weight: 600;
  transition: color 0.2s ease;
}

.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected .variable-item-span,
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected:hover .variable-item-span {
  color: #fff !important;
}

.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item) {
  box-shadow: var(--wvs-item-box-shadow, 0 0 0 1px #ed4b24);
}

.woo-variation-swatches.wvs-show-label .variations th .woo-selected-variation-item-name {
  color: red;
}

.single-product .button.buy_now_button,
.single-product .button.alt,
.single-product .button.checkout {
  background: radial-gradient(96.09% 720.69% at 97.83% 50%, #FF7D19 59.21%, #FF9B19 100%);
  border-radius: 10px;
  text-transform: capitalize;
  font-size: 16px;
  font-weight: 600;
  padding: 10px 22px;
  opacity: 1;
  width: 200px;
}

button.ux-buy-now-button.button.primary.ml-half {
  background: #FF379B;
  border-radius: 10px;
  font-size: 16px;
  text-transform: capitalize;
  font-weight: 600;
  padding: 10px 22px;
  opacity: 1;
  width: 200px;
}

.product-main,
.wdm-home-row {
  background: #fff;
  padding-top: 15px;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.15);
  padding-bottom: 8px;
  border-radius: 8px;
}

.product-main {
  padding: 10px !important;
}

.header .flex-row {
  height: 100%;
  width: 80%;
}

div#reviews.woocommerce-Reviews {
  padding-top: 25px;
}

.product-thumbnails img {
  opacity: 1 !important;
}

.text-center .button:first-of-type {
  border-radius: 99px;
}

.star-rating:before,
.woocommerce-page .star-rating:before {
  color: #fbdd40 !important;
}

.link-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
}

.link-list br {
  display: none;
}

.link-list p {
  display: contents;
  margin: 0;
}

.link-list img {
  height: 35px !important;
  width: auto;
  object-fit: contain;
  margin: 0 !important;
  border-radius: 4px;
}

.ux-relay__control.ux-relay__control--bottom.container.pb-half.text-center {
  padding-top: 25px;
}

@media (max-width: 480px) {
  .link-list {
    justify-content: center;
    gap: 10px;
  }

  .link-list img {
    height: 30px !important;
  }
}

.product-small.box {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  overflow: visible;
  position: relative;
}

.section-title-normal span {
  margin: 0 15px;
  color: #ee4b22;
  font-size: 22px;
}

.product-small.box .product-title a {
  color: #2c2c2c;
  font-weight: 600;
}

.san-pham-section.sua-section .section-title-main {
  background-image: url(/wp-content/uploads/2026/02/xe-day.png);
  background-repeat: no-repeat;
  background-position-y: center;
  padding-left: 29px;
  color: #f85554
}

.nav-tabs>li.active>a {
  border-radius: 8px 8px 0 0;
}

h1.product-title.product_title.entry-title {
  color: rgb(33 64 154 / var(--tw-text-opacity, 1));
}

.product-info .price-wrapper span.amount {
  color: red;
  font-size: 20px
}

.danh-muc-item .box-image {
  width: 75%;
  margin: 0 auto 10px auto;
}

.danh-muc-item .box-image .image-cover {
  padding-top: 125% !important;
  border-radius: 40px;
  background-color: #f5f5f5;
  position: relative;
  overflow: hidden;
}

.danh-muc-item .box-image img {
  width: 50% !important;
  height: auto !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  object-fit: contain;
}

.danh-muc-item .col:nth-of-type(8n+1) .image-cover {
  background-color: #ffecb3;
}

.danh-muc-item .col:nth-of-type(8n+2) .image-cover {
  background-color: #ffcdd2;
}

.danh-muc-item .col:nth-of-type(8n+3) .image-cover {
  background-color: #b3e5fc;
}

.danh-muc-item .col:nth-of-type(8n+4) .image-cover {
  background-color: #b2dfdb;
}

.danh-muc-item .col:nth-of-type(8n+5) .image-cover {
  background-color: #fff9c4;
}

.danh-muc-item .col:nth-of-type(8n+6) .image-cover {
  background-color: #ffe0b2;
}

.danh-muc-item .col:nth-of-type(8n+7) .image-cover {
  background-color: #ffccbc;
}

.danh-muc-item .col:nth-of-type(8n+8) .image-cover {
  background-color: #c8e6c9;
}

.danh-muc-item .box-text h5 {
  font-size: 13px;
  color: #333;
  font-weight: 500;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-transform: capitalize;
}

/* --- CSS DANH MỤC MOBILE 5 CỘT (APP STYLE) --- */

/* 1. Ẩn số lượng sản phẩm */
.danh-muc-item .box-text .count {
  display: none;
}

/* 2. Cấu hình hiển thị trên Mobile */
@media (max-width: 767px) {

  /* --- TẮT CHỨC NĂNG SLIDER ĐỂ CHUYỂN SANG GRID --- */
  .danh-muc-item .flickity-viewport {
    height: auto !important;
    overflow: visible !important;
  }

  .danh-muc-item .flickity-slider {
    position: relative !important;
    transform: none !important;
    /* Tắt hiệu ứng trượt */
    left: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    /* Cho phép xuống dòng */
    width: 100% !important;
    margin-left: 0 !important;
  }

  /* ------------------------------------------------ */

  /* Reset Container */
  .danh-muc-item {
    padding: 10px 5px !important;
    background: #fff !important;
    /* Nền trắng sạch */
    margin: 0 !important;
  }

  .danh-muc-item::before {
    display: none !important;
  }

  /* --- CẤU HÌNH CỘT 20% (QUAN TRỌNG) --- */
  .danh-muc-item .col {
    width: 20% !important;
    /* 5 cột */
    max-width: 20% !important;
    flex: 0 0 20% !important;
    padding: 0 2px !important;
    /* Khoảng cách giữa các cột nhỏ */
    position: static !important;
    /* Bỏ position absolute của slider */
    margin-bottom: 15px !important;
    clear: none !important;
    opacity: 1 !important;
  }

  /* --- CHỈNH ẢNH ICON NHỎ LẠI --- */
  .danh-muc-item .box-image {
    width: 100% !important;
    margin: 0 auto 5px auto !important;
    border-radius: 0 !important;
    /* Bỏ bo tròn khung chứa */
  }

  /* Khung ảnh vuông, bỏ màu nền */
  .danh-muc-item .box-image .image-cover {
    padding-top: 100% !important;
    background-color: transparent !important;
    /* Xóa màu nền xanh/vàng/hồng */
    border-radius: 0 !important;
  }

  /* Icon nằm gọn trong khung */
  .danh-muc-item .box-image img {
    width: 70% !important;
    /* Thu nhỏ icon lại cho thoáng (giống mẫu) */
    height: 70% !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    object-fit: contain;
    padding: 0 !important;
  }

  /* Xóa màu nền từng item nếu còn sót */
  .danh-muc-item .col:nth-of-type(n) .image-cover {
    background: transparent !important;
  }

  /* --- CHỈNH TEXT BÊN DƯỚI --- */
  .danh-muc-item .box-text h5 {
    font-size: 10px !important;
    color: #333;
    font-weight: 500 !important;
    margin-top: 5px !important;
    line-height: 1.2 !important;
    text-align: center;

    /* Cắt chữ nếu quá 2 dòng */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 2.4em;
  }

  /* Ẩn các nút điều hướng slider */
  .danh-muc-item .flickity-prev-next-button,
  .danh-muc-item .flickity-page-dots {
    display: none !important;
  }
}

/* ========================================
   Desktop Styles (Tablet and larger)
   ======================================== */
@media (min-width: 768px) {

  /* Add your desktop-specific CSS here */

  body,
  html {
    font-family: "SF Pro Display", sans-serif;
    font-weight: normal;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-family: "SF Pro Display", sans-serif;
    font-weight: bold;
  }

  .nav li a {
    font-family: "SF Pro Display", sans-serif;
    font-weight: 500;
  }

  .header-bottom {
    box-shadow: 1px 2px 1px #efefef;
  }

  #header-contact li a {
    text-transform: none;
    letter-spacing: 0;
    font-size: 14px;
    color: white;
  }

  .cart-item .header-button a:hover {
    color: white !important;
  }

  .header-nav .account-item .image-icon img {
    max-width: 38px;
  }

  .cart-item .header-button a,
  .header-nav .account-item a {
    text-transform: none;
    letter-spacing: 0;
    font-weight: normal;
    font-size: 15px;
    padding: 3px 15px !important;
    color: #6d6d6d !important;
  }

  .header-search-form-wrapper select.resize-select {
    height: 45px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    font-size: 14px;
  }

  .form-flat input:not([type=submit]),
  .form-flat select,
  .form-flat textarea {
    border-radius: 5px !important;
    height: 51px;
    font-size: 15px;
    box-shadow: none !important;
    background: white;
    border-color: #f90 !important;
  }

  .nav-spacing-xlarge>li {
    margin: 0 16px;
  }

  .header-vertical-menu__title,
  .header-vertical-menu__icon {
    font-size: 16px;
    color: white;
  }

  .header-vertical-menu__opener .icon-menu {
    font-size: 17px;
  }

  .header-vertical-menu__fly-out.has-shadow {
    padding: 10px;
    box-shadow: none;
    border: 1px solid #ed4b24;
    border-radius: 15px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }

  .banner-top {
    display: block;
    background: #ffe38c;
  }

  .header-bottom .flex-center {
    margin: 0;
  }

  .header-vertical-menu__fly-out .nav-vertical-fly-out>li.menu-item>a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 8px;
    font-size: 16px;
    font-weight: normal;
    color: #454545
  }

  .nav-dropdown-default .nav-column li>a,
  .nav-dropdown.nav-dropdown-default>li>a {
    padding-left: 0;
    padding-right: 0;
    margin: 0;
    border-bottom: 0;
    color: #454545;
    font-weight: normal;
  }

  .header-vertical-menu__opener {
    background: #ed4b24 !important;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
  }

  .header-bottom-nav li a:hover {
    color: #ed4b24
  }

  .header-vertical-menu__fly-out .nav-vertical-fly-out>li.menu-item>a:hover {
    color: #ed4b24
  }

  .header-bottom-nav li a {
    font-size: 16px;
    font-weight: normal
  }

  .top-bar-nav li a {
    font-size: 14px;
    color: white !important;
    letter-spacing: 0
  }

  .header-vertical-menu__fly-out .nav-vertical-fly-out>li.menu-item a:hover {
    background: #f3f4f6;
    border-radius: 6px;
    padding-left: 7px
  }

  .section1 .large-3 {
    flex-basis: 22%;
    max-width: 22%
  }

  .section1 .large-9 {
    flex-basis: 78%;
    max-width: 78%
  }

  .header-vertical-menu__fly-out .nav-vertical-fly-out>li.menu-item {
    border-top: none;
  }

  .header-nav .cart-item .image-icon img {
    max-width: 40px;
  }

  .header-nav .cart-item span {
    padding-left: 5px;
    text-transform: none;
    letter-spacing: 0;
    font-weight: normal;
    font-size: 15px;
    color: #6d6d6d !important;
  }

  .nav-dropdown-has-border .nav-dropdown {
    border: none;
    height: 100%
  }

  .section1 .img-inner,
  .section1 .img,
  .section1 img,
  .section2 img {
    border-radius: 15px
  }

  .section1 .col,
  .section2 .col {
    padding-bottom: 0
  }

  .stuck .banner-top {
    display: none
  }

  .stuck .header-vertical-menu__opener {
    border-radius: 0
  }

  /* ========================================
     Product Card Redesign - Archive Pages
     ======================================== */

  /* Product Card Container */

  .product-small.box:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    border-radius: 12px;
  }

  /* Product Image */
  .product-small.box .box-image {
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    position: relative;
  }

  .product-small.box:hover .box-image {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
  }

  /* Sale Badge - Top Left */
  .product-small.box .badge-container {
    display: block !important;
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 10;
  }

  .product-small.box .onsale,
  .product-small.box .badge {
    background: linear-gradient(135deg, #ff3b3b, #ff6b6b);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    border-bottom-right-radius: 8px;
    text-transform: none;
    letter-spacing: 0;
    box-shadow: 0 2px 4px rgba(255, 59, 59, 0.3);
  }

  /* Product Text Container */
  .product-small.box .box-text {
    padding: 10px;
    position: relative;
  }

  /* Product Title */
  .product-small.box .product-title {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 4px;
    min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }


  .product-small.box .product-title a:hover {
    color: #ff6b35;
  }

  /* Brand/Manufacturer Info */
  .product-small.box .product-brand {
    font-size: 12px;
    color: #999999;
    margin-bottom: 8px;
    font-weight: 400;
  }


  .product-small .price ins bdi,
  .product-small.box .price bdi,
  .product-small.box .price .amount {
    font-size: 17px;
    color: #ff6b35;
    font-weight: 700;
  }



  /* Button Icon Styling */
  .product-small.box .price-wrapper .button.add_to_cart_button svg {
    width: 18px;
    height: 18px;
    fill: #555;
    display: block;
  }

  .product-small.box .price-wrapper .button.add_to_cart_button svg path {
    fill: #555;
    stroke: #555;
    stroke-width: 0.5px;
  }

  /* Button Hover Effect */
  .product-small.box .price-wrapper .button.add_to_cart_button:hover {
    background-color: #ff6b35;
    border-color: #ff6b35;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 107, 53, 0.3);
  }

  .product-small.box .price-wrapper .button.add_to_cart_button:hover svg,
  .product-small.box .price-wrapper .button.add_to_cart_button:hover svg path {
    fill: #fff !important;
    stroke: #fff !important;
  }

  /* Ẩn text loading */
  .product-small.box .button.loading {
    opacity: 0.5;
  }

  .product-small.box .price del bdi,
  .product-small.box .price del {
    font-size: 13px;
    color: #999999;
    font-weight: 400;
    margin-right: 6px;
  }

  /* Price prefix "Từ" for variable products */
  .product-small.box .from-price {
    font-size: 13px;
    color: #666666;
    font-weight: 400;
  }

  .section-title a {
    display: block;
    padding-left: 15px;
    font-size: 14px;
    margin-left: auto;
    font-weight: normal;
  }

  /* Star Rating */
  .product-small.box .star-rating {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .product-small.box .star-rating:before,
  .product-small.box .star-rating span:before {
    color: #ffc107;
    font-size: 12px;
  }

  .product-small.box .woocommerce-product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
  }

  .product-small.box .woocommerce-review-link,
  .product-small.box .count {
    font-size: 11px;
    color: #999999;
  }

  /* Promotional Icons Row */
  .product-small.box .product-promo-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
  }

  .product-small.box .promo-icon {
    font-size: 11px;
    color: #4caf50;
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .product-small.box .promo-icon img {
    width: 16px;
    height: 16px;
    object-fit: contain;
  }

  .section-title b {
    height: 1px
  }

  /* Add to Cart Button - Circular Bottom Right */
  .product-small.box .add-to-cart-container {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 5;
  }

  .product-small.box .button.add_to_cart_button,
  .product-small.box .button.product_type_simple,
  .product-small.box .button.product_type_variable {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff7d19, #ff9b19);
    color: #ffffff;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(255, 125, 25, 0.3);
    transition: all 0.3s ease;
    min-width: 40px;
    line-height: 1;
  }

  .product-small.box .button.add_to_cart_button:hover,
  .product-small.box .button.product_type_simple:hover,
  .product-small.box .button.product_type_variable:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 125, 25, 0.4);
  }

  /* SVG icon styling - injected via PHP */
  .product-small.box .button.add_to_cart_button svg,
  .product-small.box .button.product_type_simple svg,
  .product-small.box .button.product_type_variable svg {
    width: 22px;
    height: 20px;
    display: block;
    margin: 0 auto;
  }

  .san-pham-khuyen-mai .col.large-12 {
    padding-bottom: 0 !important
  }

  .danh-muc-san-pham .product-category .box-image {
    border-radius: 15px
  }

  .danh-muc-san-pham .product-category .count {
    display: none
  }

  .danh-muc-san-pham .product-category .box-text {
    padding-bottom: 0
  }

  .danh-muc-san-pham .product-category h5 {
    margin: 0;
    text-transform: none;
    font-weight: normal;
    letter-spacing: 0
  }

  .banner-section img {
    border-radius: 15px
  }

  .section-title-normal {
    border-bottom: 0;
    border-radius: 5px;
  }

  .san-pham-section .section-title-container {
    border-bottom: 1px solid #eee;
  }

  .section-title-normal b {
    display: none;
  }

  .section-title-normal span {
    text-transform: none;
    margin-right: 15px;
    padding-bottom: 0;
    border-bottom: 0;
    margin-bottom: 0;
    font-size: 28px;
  }

  span.hdevvn-show-cats li {
    margin-bottom: 0;
    display: block;
    width: auto;
    float: left;
  }

  span.hdevvn-show-cats li a {
    font-size: 15px;
    text-transform: none;
    font-weight: 400;
    margin-right: 0 !important;
    padding-left: 10px;
  }

  .section-title a {
    font-size: 14px;
    margin-left: auto;
    margin-right: 10px;
  }

  .section-title-container {
    margin-bottom: 15px;
  }

  .san-pham-khuyen-mai .large-columns-6 .col {
    padding-bottom: 0
  }

  .banner-img img {
    border-radius: 15px
  }

  span.hdevvn-show-cats li a:before {
    content: '●';
    margin-left: 0;
    margin-right: 7px;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    color: #f2f2f2;
  }

  /* Show badge container for sale products */
  .badge-container {
    display: block !important;
  }

  .san-pham-section .large-12,
  .tin-tuc-section .large-12 {
    padding-bottom: 0
  }

  .list-post1 .post-item a:hover,
  .list-post2 .post-item a:hover {
    color: gray
  }

  .list-post1 .post-item .box-image {
    border-radius: 15px
  }

  .list-post2 .post-item .box-text {
    padding-left: 14px;
    padding-right: 0;
    padding-bottom: 0
  }

  .list-post2 .post-item .box-image {
    border-radius: 5px
  }

  .list-post2 .post-item .post-title {
    font-size: 15px;
    font-weight: 500;
    color: #262626;
  }

  .list-post1 .post-item .post-title {
    margin-bottom: 10px;
    margin-top: 0;
    color: #262626;
    font-weight: 500;
  }

  .box-blog-post .is-divider {
    display: none
  }

  .tin-tuc-section h3 {
    color: #ed4b24;
    margin-bottom: 15px
  }

  .tin-tuc-section .section-title-container {
    margin-bottom: 0;
  }

  .top-footer .col {
    padding-bottom: 0
  }

  .top-footer .icon-box h3 {
    font-size: 16px;
    margin-bottom: 0
  }

  .top-footer .icon-box .icon-box-text {
    padding-top: 7px;
    font-size: 14px
  }

  .archive .product-small .box-image {
    border-radius: 10px
  }

  .archive .category-page-title {
    background: #f4f4f4
  }

  .archive .page-title-inner {
    padding-top: 11px;
    padding-bottom: 10px;
  }

  span.widget-title {
    font-size: 20px;
    display: block;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: #ed4b24;
  }

  .widget .is-divider {
    display: none
  }

  .archive h1.shop-page-title {
    margin-bottom: 5px;
    font-size: 27px;
  }

  .woocommerce-result-count {
    font-size: 13px;
    color: gray;
  }

  .woocommerce-ordering,
  .woocommerce-ordering select {
    font-size: 13px;
    border-radius: 25px;
  }

  .widget_product_categories ul ul,
  .woocommerce-widget-layered-nav ul ul {
    border: none
  }

  .widget_product_categories ul,
  .woocommerce-widget-layered-nav ul,
  .flatsome_recent_posts ul,
  .widget_categories ul {
    border-radius: 8px;
    border: #f90 solid 1px;
    padding: 10px 8px;
    margin-bottom: 17px;
  }

  .footer-section .col {
    padding-bottom: 0
  }

  .widget>ul>li ul {
    padding-bottom: 0;
    margin: 0;
    padding-top: 0;
    border-left: none
  }

  ul.product_list_widget li {
    margin-bottom: 10px;
    border: 1px solid #ececec;
    border-radius: 5px;
  }

  ul.product_list_widget li img {
    margin-bottom: 0;
    margin-left: 8px
  }

  .product_list_widget li a {
    font-size: 14px
  }

  .product_list_widget li ins bdi,
  .product_list_widget li span bdi {
    color: #ff9800;
    font-size: 14px;
  }

  .product_list_widget li del bdi,
  .product_list_widget li del {
    color: gray;
    font-size: 13px
  }

  .footer-section {
    padding-bottom: 0 !important
  }

  .product-info .product-short-description {
    background: #f9f9f9;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 15px
  }

  form {
    margin-bottom: 0
  }

  .product-summary .quantity {
    margin-right: 7px
  }

  .single-product #product-sidebar {
    margin-top: 20px
  }

  .product-main {
    padding: 0;
  }

  .product-footer .woocommerce-tabs {
    padding: 0;
    border-top: 0;
  }

  .woocommerce-tabs ul li a {
    font-size: 16px;
    text-transform: none;
    font-weight: bold;
  }

  .related h3 {
    text-transform: none;
    letter-spacing: 0;
    color: #ed4b24;
  }

  .related .product-small .box-image {
    border-radius: 10px
  }

  .single-product .tab-panels {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border: 1px solid #dddddd;
    padding: 20px 20px 0 20px;
  }

  .shop_attributes td,
  .shop_attributes th {
    padding: 0;
    text-align: left;
    border-bottom: 0;
    text-transform: none;
    letter-spacing: 0;
  }

  .single-product .product_meta>span {
    border-top: 1px dotted #ddd;
    padding: 5px 0;
    font-size: 14px;
    font-weight: 500;
    color: #5e5e5e;
  }

  .single-product .product_meta a {
    font-weight: normal
  }

  .buy_now_button {
    text-transform: none;
    margin-right: 0;
    margin-left: 6px;
    border-radius: 30px
  }

  .single_add_to_cart_button {
    border-radius: 30px;
    text-transform: none
  }

  .product-info .price-wrapper del bdi,
  .product-info .price-wrapper {
    font-size: 14px;
    color: gray
  }

  a.back-to-top {
    background: #ff9800 !important;
    border: none !important;
    color: white
  }

  .footer-section h3 {
    font-size: 15px;
  }

  .footer-section ul {
    margin-bottom: 0
  }

  .footer-section ul li {
    list-style: none;
    margin-left: 0;
    margin-bottom: 3px
  }

  .footer-section ul li a {
    color: gray;
    font-size: 14px
  }

  .footer-section ul li a:hover {
    color: #ed4b24
  }

  .san-pham-khuyen-mai .flickity-prev-next-button svg {
    box-shadow: 2px 2px 10px #80808075;
    border-radius: 99%;
  }

  .widget_product_categories ul li a:hover,
  .woocommerce-widget-layered-nav ul li a:hover,
  .flatsome_recent_posts ul li a:hover,
  .widget_categories ul li a:hover {
    padding-left: 10px;
    transition-duration: 0.35s
  }

  .widget_product_categories ul li a,
  .woocommerce-widget-layered-nav ul li a,
  .widget_categories ul li a {
    padding: 4px 5px;
    font-size: 15px
  }

  .widget_product_categories ul li,
  .woocommerce-widget-layered-nav ul li,
  .flatsome_recent_posts ul li,
  .widget_categories ul li {
    border: none !important
  }

  .widget .current-cat>a {
    color: #f90;
    font-weight: bolder;
  }

  .archive .category-page-row .large-3 {
    flex-basis: 22%;
    max-width: 22%
  }

  .archive .category-page-row .large-9 {
    flex-basis: 78%;
    max-width: 78%
  }

  .recent-blog-posts a {
    font-size: 14px;
    margin: 0;
    color: #444444;
  }

  .recent-blog-posts a:hover {
    padding-left: 0 !important
  }

  .recent-blog-posts .mr-half {
    margin-right: 10px;
  }

  .recent-blog-posts .badge-inner {
    border-radius: 99%
  }

  .archive .product-category.col {
    padding: 0 5px 0;
    flex-basis: calc(100%/8);
    max-width: calc(100%/8)
  }

  .archive .product-category.col .count {
    display: none
  }

  .archive .product-category.col .box-text {
    padding: 10px 5px 0 5px !important;
  }

  .archive .product-category.col .header-title {
    margin: 0;
    text-transform: none;
    font-weight: normal;
    letter-spacing: 0;
    font-size: 14px;
    text-align: center
  }

  .archive .product-category.col .box-image {
    border-radius: 15px
  }

  .archive .product-category.col .header-title a {
    color: #3e3e3e
  }

  .archive .danh-muc-con {
    padding-bottom: 20px;
    border-bottom: 2px solid #f4f4f4;
    margin-bottom: 25px;
    margin-left: -5px !important;
    margin-right: -5px !important
  }

  .archive .product-category.col .box-image img {
    object-fit: unset
  }

  .ptt-bar-temperature {
    height: 100%;
    background: #ff9800;
    border-radius: 5px;
  }

  .ptt-col-3 {
    color: gray;
  }

  .star-rating-4 .ptt-col-3 {
    color: #ff6e21;
  }

  .fa-star {
    font-size: 13px;
    color: #ea9d02;
    margin-left: 3px;
  }

  .ptt-col-1 {
    width: 35px;
    display: flex;
  }

  .rating-table__total,
  .rating-table_cmt {
    text-align: center
  }

  .star-rating-custom .star-rating {
    margin: auto;
  }

  .ptt-col-2 {
    width: 100%;
    margin: auto 10px;
  }

  .ptt-meter-bar {
    border-radius: 5px;
    height: 10px;
    width: 100%;
    background: #e3e3e3;
  }

  .ptt-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .star-cust {
    height: 15px;
    margin: auto;
  }

  .rating-table_cmt button {
    padding: 12px 16px;
    font-size: 15px;
    line-height: 18px;
    color: #fff;
    margin: 0;
    background: #ed4b24;
    width: 100%;
    border-radius: 25px;
    text-transform: none;
  }

  .rating_total {
    font-size: 49px;
    line-height: 60px;
    color: #ff6e22;
    font-weight: bold;
    margin-bottom: 4px;
  }

  .bottom-order {
    overflow: hidden;
    margin-top: 15px;
    color: #5f9025;
    background: #ebf6e0;
    border: 1px solid #b3dc82;
    padding: 10px 15px;
    margin-bottom: 15px;
    border-radius: 3px;
    font-size: 15px;
  }

  .related {
    border-top: none
  }

  .bottom-order__info {
    display: block;
    vertical-align: middle;
    float: left;
    width: 75%;
  }

  .bottom-order__info img {
    width: 70px;
    height: auto;
    margin: 0 10px 0 0;
  }

  .gia-sp ins bdi,
  .gia-sp bdi {
    color: #f93c00;
    font-size: 17px
  }

  .qty-text {
    display: inline-flex;
    height: 40px;
    align-items: center;
  }

  .post-item .meta-author {
    font-size: 13px;
  }

  .post-item .byline:before {
    content: '●';
    margin-left: 4px;
    margin-right: 4px;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    color: #cbcbcb;
    font-size: 7px;
  }

  .post-item .byline {
    font-size: 13px;
    color: #ff9900;
  }

  .thong-tin-meta .date {
    font-size: 13px;
    color: #ff9900;
  }

  .blog-archive .large-9 .post-item .post-title {
    font-weight: 500;
    font-size: 20px;
    margin-bottom: 10px;
  }

  .blog-archive .large-9 .post-item .post-title:hover {
    color: #ed4b24
  }

  .blog-archive .post-item a:hover {
    coloR: gray;
  }

  .bottom-order__buy a {
    margin: 0;
    border-radius: 20px;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
    line-height: 40px;
    margin-top: 14px;
  }

  .gia-sp del bdi {
    color: gray;
    font-size: 14px
  }

  .bottom-order__info__title {
    display: inline-block;
    vertical-align: middle;
    font-weight: bold;
    color: #5a5a5a;
    font-size: 17px;
  }

  .bottom-order__buy {
    display: block;
    vertical-align: middle;
    margin: 0;
    float: right;
    width: 25%;
    text-align: right;
  }

  .title-rating {
    font-size: 15px;
  }

  .single-product .breadcrumbs,
  #breadcrumbs {
    padding: 5px;
    border-radius: 6px;
    font-size: 14px;
  }

  .single-product .large-9 {
    border-right: none !important;
    padding-right: 0
  }

  #reviews .large-5,
  #reviews .large-7 {
    padding-bottom: 0px;
    flex-basis: 100%;
    max-width: 100%
  }

  #review_form_wrapper .review-form-inner {
    border: 1px solid #cbcbcb;
    padding: 15px;
    border-radius: 10px;
    background: #f9f9f9;
  }

  .list-post1 .post-item .post-title:hover,
  .list-post2 .post-item .post-title:hover {
    color: #ed4b24
  }

  #reviews .woocommerce-Reviews-title {
    font-size: 17px
  }

  div#reviews.woocommerce-Reviews,
  .devvn_prod_cmt {
    max-width: 100%
  }

  .blog-archive .post-item .box-image .image-cover {
    border-radius: 15px
  }

  .blog-archive .large-9 .post-item:first-child .box-image {
    width: 60% !important;
  }

  .blog-archive .large-9 .post-item:first-child .box-text {
    padding: 15px;
    background: #f9f9f9;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
  }

  .blog-archive .large-9 .post-item .image-cover {
    padding-top: 64% !important;
  }

  .blog-archive .large-9 .post-item:first-child .post-title {
    font-size: 22px;
  }

  .blog-archive .large-12 {
    text-align: left;
    padding-bottom: 0
  }

  .blog-archive h1.page-title {
    text-transform: none;
    letter-spacing: 0;
    font-size: 25px;
  }

  .blog-archive .large-9 .post-item .view-more-button {
    display: block !important;
    padding: 0;
    margin: 0;
    text-transform: none;
    letter-spacing: 0;
    font-weight: normal;
    font-size: 14px;
    color: #ed4b24;
  }

  .blog-archive .large-3 {
    padding-left: 0;
    flex-basis: 25%;
    max-width: 25%
  }

  .blog-archive .large-9 {
    flex-basis: 75%;
    max-width: 75%
  }

  .blog-archive .post-item .box-text {
    padding-right: 0
  }

  .blog-archive .large-9 .post-item:first-child .box-image .image-cover {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0
  }

  .blog-archive .large-9 .post-item:nth-child(2),
  .blog-archive .large-9 .post-item:nth-child(3),
  .blog-archive .large-9 .post-item:nth-child(4) {
    max-width: 33.33%;
    flex-basis: 33.33%;
  }

  .blog-archive .large-9 .post-item:nth-child(2) .box,
  .blog-archive .large-9 .post-item:nth-child(3) .box,
  .blog-archive .large-9 .post-item:nth-child(4) .box,
  .blog-archive .large-9 .post-item:nth-child(2) .box-image,
  .blog-archive .large-9 .post-item:nth-child(3) .box-image,
  .blog-archive .large-9 .post-item:nth-child(4) .box-image {
    display: block;
    width: 100% !important;
  }

  .blog-archive .large-9 .post-item:nth-child(2) .post-title,
  .blog-archive .large-9 .post-item:nth-child(3) .post-title,
  .blog-archive .large-9 .post-item:nth-child(4) .post-title {
    font-size: 17px;
  }

  .blog-archive .large-9 .post-item:nth-child(2) .box-text,
  .blog-archive .large-9 .post-item:nth-child(3) .box-text,
  .blog-archive .large-9 .post-item:nth-child(4) .box-text {
    padding-left: 0;
    padding-top: 10px;
    padding-bottom: 0;
  }

  .blog-single .entry-meta {
    text-transform: none;
    font-size: 13px;
    letter-spacing: 0;
  }

  .blog-single .entry-meta i {
    margin-right: 5px;
    color: #ff9900;
  }

  .blog-single .posted-on {
    margin-right: 16px
  }

  .blog-single .large-3 {
    padding-left: 0
  }

  .blog-single .blog-share {
    text-align: left
  }

  .is-divider {
    display: none
  }

  .xem-them .tieu-de-xem-them {
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
    font-size: 19px;
    color: black;
  }

  .xem-them ul li {
    margin-bottom: 3px;
  }

  #respond input[type=submit] {
    margin: 0;
    border-radius: 22px;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
  }

  .comment-text .description p {
    margin-bottom: 0
  }

  .home .thong-tin-meta,
  .home .view-more-button {
    display: None
  }

  .list-post1 .post-item .from_the_blog_excerpt {
    height: 45px;
    overflow: hidden
  }

  .xem-them ul li a {
    font-weight: 500;
    font-size: 16px;
    color: #2a9e2f;
  }

  .xem-them ul li a:hover {
    text-decoration: underline;
  }

  .blog-single .entry-meta {
    text-transform: none;
    font-size: 14px;
    letter-spacing: 0;
    color: gray;
    border-top: 1px solid #e2e2e2;
    border-bottom: 1px solid #e2e2e2;
    padding: 10px;
    background: #f9f9f9;
  }

  .danh-muc {
    margin-bottom: 15px;
  }

  .danh-muc span.title,
  .the-tim-kiem span.title {
    border-radius: 4px;
    background: #ed4b24;
    padding: 4px 10px;
    color: white;
    margin-right: 5px;
  }

  .danh-muc a,
  .the-tim-kiem a {
    line-height: 32px;
    border-radius: 4px;
    margin-bottom: 10px;
    padding: 4px 10px;
    background: #dedede;
    color: #464646;
  }

  .danh-muc a:hover,
  .the-tim-kiem a:hover {
    background: #6dca19;
    color: white;
  }

  .bai-viet-lien-quan {
    margin-top: 15px;
  }

  .bai-viet-lien-quan h3 {
    font-size: 19px;
    color: black;
  }

  .bai-viet-lien-quan ul {
    margin-bottom: 0;
    display: inline-block;
    width: 100%;
  }

  .bai-viet-lien-quan ul li {
    list-style: none;
    width: 33.33%;
    color: graytext;
    float: left;
    padding-left: 4px;
    padding-right: 5px;
  }

  .bai-viet-lien-quan ul li .box-image img {
    height: 180px;
    border-radius: 10px;
    object-fit: cover;
    object-position: center;
  }

  .bai-viet-lien-quan h4 {
    font-size: 16px;
    color: black;
    line-height: 19px;
    padding-top: 7px;
    height: 47px;
    overflow: hidden;
    font-weight: 500;
  }

  .blog-archive .large-9 .post-item:nth-child(2) .from_the_blog_excerpt,
  .blog-archive .large-9 .post-item:nth-child(3) .from_the_blog_excerpt,
  .blog-archive .large-9 .post-item:nth-child(4) .from_the_blog_excerpt {
    height: 44px;
    overflow: hidden;
  }

  .trang-lien-he {
    margin-top: 0 !important;
    background: white;
    padding: 30px !important;
    box-shadow: 2px 2px 20px #8080802e;
    border-radius: 15px;
  }

  .section-lien-he {
    margin-top: -100px;
  }

  .trang-lien-he .row-info1 {
    display: inline-block;
    width: 100%;
    clear: both;
  }

  .trang-lien-he .row-info1 .left {
    display: inline-block;
    width: 40%;
    float: left;
    padding-right: 6px;
  }

  .trang-lien-he .row-info1 .right {
    display: inline-block;
    width: 60%;
    float: left;
    padding-left: 6px;
  }

  .trang-lien-he input,
  .trang-lien-he textarea {
    border-radius: 5px;
    box-shadow: none;
    font-size: 14px;
  }

  .stuck .header-main {
    display: none
  }

  .page-right-sidebar .large-9 {
    border-right: none !important
  }

  .page-right-sidebar .large-3 {
    padding-left: 0
  }

  h1.entry-title.mb {
    margin-bottom: 15px;
    text-transform: none;
    letter-spacing: 0;
  }

  .page-right-sidebar h2 {
    font-size: 19px
  }

  .border-block {
    position: relative;
    display: block;
    margin-bottom: 20px;
    border-radius: 8px;
    border: #eee solid 1px;
    box-shadow: 0 6px 12px 0 rgb(0 0 0 / 5%);
    padding: 10px 8px;
    margin-bottom: 17px;
  }

  .hotline-dat-hang {
    font-size: 14px;
  }

  .hotline-num {
    color: #4caf50 !important;
    font-size: 22px;
  }

  small {
    font-size: 80%;
    display: inline-block;
  }

  .widget_media_image img {
    width: 100%;
    border-radius: 10px
  }

  #comments a.btn-reviews-now {
    background-color: #ed4b24;
    border-radius: 26px;
  }

  span.devvn_scala_rating {
    height: 8px
  }

  span.devvn_num_reviews {
    color: #787878;
    font-size: 14px;
  }

  button#devvn_cmt_submit,
  button#devvn_cmt_replysubmit {
    background: #ed4b24;
    border-radius: 20px;
    color: white;
    padding: 0px 10px
  }

  .woocommerce-product-rating {
    margin-bottom: 10px
  }

  span.star_average {
    color: #ff7822;
  }

  .devvn_readmore_flatsome a {
    margin-bottom: 10px;
  }

  .tab-danh-gia {
    display: inline-block;
    position: absolute;
    left: 19%;
    top: 11px;
    color: #ed4b24;
    font-weight: 500
  }

  .tab-hoi-dap {
    display: inline-block;
    position: absolute;
    left: 34%;
    top: 11px;
    color: #ed4b24;
    font-weight: 500
  }

  .tab-hoi-dap:before {
    content: '●';
    margin-left: 12px;
    margin-right: 12px;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    color: #ff9800;
    font-size: 10px;
  }

  .woocommerce-tabs {
    position: relative
  }

  .woocommerce #review_form #respond p.form-submit input#submit,
  .woocommerce #reviews #comments ol.commentlist #respond p.form-submit input#submit {
    background-color: #50b017;
    border-radius: 25px;
  }

  span.btn-attach {
    color: #7b7b7b;
    font-weight: normal;
    font-size: 15px;
  }

  .lightbox-content {
    border-radius: 10px;
  }

  .account-login-inner label,
  .account-register-inner label {
    font-weight: normal
  }

  .account-login-inner h3,
  .account-register-inner h3 {
    text-transform: none;
    font-size: 22px;
    letter-spacing: 0;
    color: #ed4b24;
  }

  .account-login-inner input,
  .account-register-inner input {
    border-radius: 5px;
    box-shadow: none
  }

  .woocommerce-form-login .button {
    border-radius: 20px;
    text-transform: none;
    letter-spacing: 0;
    font-weight: normal;
  }

  .woocommerce-form-register__submit {
    margin: 0;
    border-radius: 20px;
    text-transform: none;
    font-weight: normal;
    letter-spacing: 0;
  }
}

@media screen and (max-width: 849px) {
  .col {
    padding-bottom: 3px !important;
  }
}

/* ========================================
   Mobile Styles (Below 768px)
   ======================================== */
@media (max-width: 767px) {

  .ft-navi svg path,
  .ft-navi svg g {
    fill: #ff6b35 !important;
  }

  .nav-tabs+.tab-panels {
    padding: 10px !important;
  }

  .ft-navi-cen-momo svg path {
    fill: #fff !important;
  }

  .ft-navi .ft-navi-cen-span {
    background: #ff6b35 !important;
    padding: 3px 8px 5px 8px !important;
  }

  .mfp-container {
    background: #fff;
  }

  /* Add your mobile-specific CSS here */
  .description_tab {
    text-align: center;
  }

  .tab-danh-gia {
    display: block !important;
    width: 50%;
    position: initial;
    text-align: center;
    border: 1px solid #ddd;
  }

  .tab-hoi-dap {
    display: block !important;
    width: 50%;
    position: initial;
    text-align: center;
    border: 1px solid #ddd;
  }

  .single-product .tab-panels {
    border-top-right-radius: 0px;
  }

  .bai-viet-lien-quan ul li {
    width: 50%;
  }

  .bai-viet-lien-quan ul li .box-image img {
    height: 90px;
  }

  .header-button a {
    color: #ed4b24;
  }

  .header-main {
    box-shadow: 2px 2px 10px #00000017;
  }

  .off-canvas-left .mfp-content {
    width: 100%;
  }

  .sidebar-menu-tabs__tab-text {
    text-transform: none;
    font-size: 17px;
    font-weight: bold;
  }

  .off-canvas .nav-vertical>li>a {
    padding-top: 10px;
    padding-bottom: 10px;
    text-transform: none;
    font-size: 16px;
    font-weight: normal;
    color: #2c2c2c;
  }

  .off-canvas .nav-vertical li li>a {
    padding-top: 5px;
    padding-bottom: 5px;
    font-weight: normal;
    font-size: 15px;
  }

  .section1 .large-9 {
    flex-basis: 100%;
    max-width: 100%
  }

  .section-title-normal span {
    font-size: 17px;
  }

  .product-small .price ins bdi,
  .product-small.box .price bdi {
    font-size: 15px;
  }

  .san-pham-khuyen-mai .large-columns-6 .col {
    padding-bottom: 0 !important;
  }

  .danh-muc-san-pham .product-category {
    flex-basis: 25%;
    max-width: 25%;
    padding: 0 3px 10px
  }

  .danh-muc-san-pham .product-category h5 {
    font-size: 12px;
    line-height: 14px;
  }

  .hdevvn-show-cats {
    display: none
  }

  .section-title-normal span {
    font-size: 20px
  }

  .banner-img img {
    border-radius: 5px;
  }

  .list-post1 .post-item {
    flex-basis: 50%;
    max-width: 50%;
    padding: 0 5px 10px
  }

  .list-post1 .post-item .from_the_blog_excerpt {
    display: none
  }

  .list-post1 .post-item .box-text {
    padding-bottom: 0
  }

  .list-post1 .post-item .box-image {
    border-radius: 10px;
  }

  .list-post2 .post-item .box-image {
    width: 30% !important;
    display: grid;
  }

  .list-post2 .post-item .box-vertical {
    display: flex;
  }

  .tin-tuc-section h3 {
    font-size: 18px;
  }

  .top-footer .col {
    padding-bottom: 10px;
    border-bottom: 1px solid #93c96b;
    flex-basis: 100%;
    max-width: 100%
  }

  .top-footer .col:last-child {
    border-bottom: none
  }

  .footer-section ul li a {
    font-size: 13px;
  }

  .stuck .header-inner {
    background: white
  }

  .stuck .header-main .nav>li>a {
    line-height: 24px;
  }

  .stuck .header-main {
    display: block
  }

  .filter-button {
    text-transform: none;
    letter-spacing: 0;
    color: #ed4b24;
  }

  .archive .category-page-row .large-9,
  .archive .category-page-row .large-3 {
    flex-basis: 100%;
    max-width: 100%
  }

  .archive .product-category.col {
    padding: 0 3px 10px;
    flex-basis: calc(100%/5);
    max-width: calc(100%/5);
  }

  .archive .product-category.col .header-title a {
    font-size: 12px;
    line-height: 14px;
  }

  .archive .product-category.col .box-text {
    padding: 10px 0px 0 0px !important;
  }

  .archive .product-small.col {
    padding: 0 5px 10px
  }

  /* Mobile Product Card Adjustments */
  .product-small.box .box-text {
    padding: 10px;
  }

  .product-small.box .product-title {
    font-size: 13px;
    min-height: 36px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
  }

  .product-small.box .product-brand {
    font-size: 11px;
  }

  .product-small .price ins bdi,
  .product-small.box .price bdi,
  .product-small.box .price .amount {
    font-size: 15px;
  }

  .product-small.box .button.add_to_cart_button,
  .product-small.box .button.product_type_simple,
  .product-small.box .button.product_type_variable {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .product-small.box .add-to-cart-container {
    bottom: 8px;
    right: 8px;
  }

  .product-small.box .promo-icon {
    font-size: 10px;
  }


  .single-product .large-9 {
    padding-right: 15px
  }

  .nav-tabs+.tab-panels {
    padding: 15px
  }

  .bottom-order__info,
  .bottom-order__buy,
  .bottom-order__buy a {
    width: 100%
  }

  .bottom-order {
    border-radius: 10px
  }

  .related h3 {
    font-size: 18px;
  }

  .related .product-small.col {
    padding: 0 5px 10px
  }

  .page-right-sidebar .large-3 {
    padding-left: 15px
  }

  .blog-archive .large-9,
  .blog-archive .large-3 {
    flex-basis: 100%;
    max-width: 100%;
    padding-left: 15px
  }

  .blog-archive .large-9 .post-item:first-child .box-image {
    width: 100% !important;
  }

  .blog-archive .large-9 .post-item:first-child .box-image .image-cover {
    border-top-right-radius: 15px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }

  .blog-archive .large-9 .post-item:nth-child(2),
  .blog-archive .large-9 .post-item:nth-child(3),
  .blog-archive .large-9 .post-item:nth-child(4) {
    flex-basis: 100%;
    max-width: 100%;
  }

  .blog-archive .large-9 .post-item:first-child .post-title {
    font-size: 16px;
  }

  .blog-archive .large-9 .post-item .post-title {
    font-weight: 500;
    font-size: 16px;
  }

  .trang-lien-he .row-info1 .left {
    width: 100%;
    padding-right: 0
  }

  .trang-lien-he {
    padding: 15px !important;
  }

  .trang-lien-he .row-info1 .right {
    width: 100%;
    padding-left: 0
  }

  .stuck #logo img {
    max-height: 44px !important;
    padding: 0;
  }

  .trang-lien-he h3 {
    color: #62a333;
    font-size: 16px
  }

}

/* ========================================
   Custom Product Page Layout
   ======================================== */

/* Quantity Row - Số lượng trên 1 hàng riêng */
.wdm-quantity-row {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  width: 100%;
}

.wdm-quantity-label,
.variations label {
  font-size: 16px;
  font-weight: 600;
  margin-right: 10px;
  margin-bottom: 0;
  color: #333;
}

/* Buttons Row - Hai nút cùng 1 hàng */
.wdm-buttons-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Đảm bảo form không làm break layout */
.single-product .product-info form.cart {
  display: block;
}

/* Mobile responsive */
@media (max-width: 767px) {
  .wdm-quantity-row {
    margin-bottom: 12px;
  }

  .wdm-quantity-label {
    font-size: 15px;
  }

  .wdm-buttons-row {
    gap: 8px;
  }

  .single-product .button.buy_now_button,
  .single-product .button.alt {
    width: 48%;
    flex: 1;
  }

  button.ux-buy-now-button.button.primary.ml-half {
    width: 48%;
    flex: 1;
    margin-left: 0;
  }
}

/* =========================================
   Product Card Layout - Price & Cart Button
   ========================================= */

.product-small.box .price-wrapper {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap !important;
  margin-top: 5px;
  min-height: 60px;
}

.product-small.box .price-wrapper .star-rating {
  width: 100%;
  margin-bottom: -15px;
  text-align: left;
  order: 1;
  font-size: 13px;
}

.product-small.box .price-wrapper .price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  line-height: 1.2;
  margin-bottom: 0;
  flex: 1;
  order: 2;
}

.product-small.box .price bdi {
  font-size: 16px;
  color: #ff6b35 !important;
  font-weight: 700;
}

.product-small.box .price del {
  display: none !important;
}

.wdm-sale-badge {
  display: inline-block;
  background-color: #ff3b3b;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 3px;
  margin-left: 2px;
  line-height: normal;
  position: relative;
  top: -11px;
}

.product-small.box .add_to_cart_button {
  display: none !important;
}

.product-small.box .price-wrapper .button.add_to_cart_button {
  display: flex !important;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: #ff6b35;
  border: 1px solid #ff6b35;
  padding: 0;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: static !important;
  margin: 0;
  box-shadow: none;
  font-size: 0;
  order: 3;
}

.product-small.box .price-wrapper .button.add_to_cart_button svg {
  width: 18px;
  height: 18px;
  fill: #fff;
  display: block;
}

.product-small.box .price-wrapper .button.add_to_cart_button svg path {
  fill: #fff;
  stroke: #fff;
  stroke-width: 0.5px;
}

.product-small.box .price-wrapper .button.add_to_cart_button:hover {
  background-color: #fff;
  border-color: #ff6b35;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 107, 53, 0.3);
}

.product-small.box .price-wrapper .button.add_to_cart_button:hover svg,
.product-small.box .price-wrapper .button.add_to_cart_button:hover svg path {
  fill: #ff6b35 !important;
  stroke: #ff6b35 !important;
}

.product-small.box .button.loading {
  opacity: 0.5;
}
