@charset "UTF-8";

/* 
 Theme Name:     Winci
 Author:         ToanWeb
 Author URI:     https://doxuantoan.com
 Version:        1.0.3
 Description:    Winci Theme
*/
/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */
:root {
  --wci-color: #0c3133;
}

html,
body {
  border: none;
  margin: 0;
  padding: 0;
}


html {
  font-size: 100%;
  /* 1rem = 10px */
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
address,
big,
cite,
code,
em,
font,
img,
small,
strike,
sub,
sup,
li,
ol,
ul,
fieldset,
form,
label,
legend,
button,
table,
caption,
tr,
th,
td {
  border: none;
  font-size: inherit;
  line-height: 1.4;
  margin: 0;
  padding: 0;
  text-align: inherit;
}

body a {
  text-decoration: none;
}

p {
  margin-bottom: 1rem;
  font-weight: 400;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-style: none;
}

.wp-caption img {
  margin: 0;
  padding: 0;
  border: 0;
}

a {
  color: var(--wci-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--wci-color);
  /* padding-bottom: 10px; */
  /* line-height: 1em; */
  font-weight: 500;
}

h2 {
  font-size: 1.3rem;
  /* 32px / 16 = 2rem */
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.2rem;
  /* 24px / 16 = 1.5rem */
  line-height: 1.4;
  font-weight: 600;
  margin-bottom: 0.9375rem;
}

h4 {
  font-size: 1.1rem;
  /* 20px / 16 = 1.25rem */
  line-height: 1.5;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

ul,
ol {
  margin-bottom: 1rem;
  padding-left: 1rem;

  li {
    margin-bottom: 5px;
    /* Khoảng cách giữa các dòng */
  }
}

ins {
  text-decoration: none;
}

blockquote::before,
blockquote::after {
  content: "";
}

input[type=email],
input[type=date],
input[type=search],
input[type=number],
input[type=text],
input[type=tel],
input[type=url],
input[type=password],
textarea,
select,
.select-resize-ghost,
.select2-container .select2-choice,
.select2-container .select2-selection {
  box-shadow: none !important;
  font-weight: 500;
  height: 45px;
  border-radius: 4px !important;
  padding: 12px 16px;
  border: 1px solid #000;
}

input[type=email]:focus,
input[type=date]:focus,
input[type=search]:focus,
input[type=number]:focus,
input[type=text]:focus,
input[type=tel]:focus,
input[type=url]:focus,
input[type=password]:focus,
textarea:focus,
select:focus,
.select-resize-ghost:focus,
.select2-container .select2-choice:focus,
.select2-container .select2-selection:focus {
  color: #495057;
  background-color: #fff;
  border-color: #000 !important;
  outline: 0;
}

input[type=number].qty {}

table {
  border-collapse: collapse;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@supports (font-variation-settings: normal) {

  body {
    font-family: "Inter var", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
  }
}

body {
  background: #fff;
  box-sizing: border-box;
  color: var(--wci-color);
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  /* letter-spacing: -0.015em; */
  text-align: left;
}

*,
*::before,
*::after {
  box-sizing: inherit;
  -webkit-font-smoothing: antialiased;
  word-break: break-word;
  word-wrap: break-word;
}

/* Roboto Regular - 400 */
@font-face {
  font-family: 'Roboto';
  src: url('./assets/fonts/Roboto-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Roboto Medium - 500 */
@font-face {
  font-family: 'Roboto';
  src: url('./assets/fonts/Roboto-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Roboto Semi-Bold - 600 */
@font-face {
  font-family: 'Roboto';
  src: url('./assets/fonts/Roboto-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

.container {
  max-width: 1440px;
  margin: 0px auto;
}

/* Utility Classes */
.d-flex {
  display: flex;
}

.flex-row {
  flex-direction: row;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.justify-start {
  justify-content: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-around {
  justify-content: space-around;
}

.flex-1 {
  flex: 1;
}

.flex-none {
  flex: none;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-primary {
  color: #0c3133;
}

.text-gray {
  color: #666;
}

.text-gray-light {
  color: #888;
}

.text-lg {
  font-size: 18px;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: bold;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.my-10 {
  margin: 40px 0;
}

.my-8 {
  margin: 30px 0;
}

.my-5 {
  margin: 20px 0;
}

.mb-8 {
  margin-bottom: 30px;
}

.mb-6 {
  margin-bottom: 25px;
}

.mb-3 {
  margin-bottom: 12px;
}

.mt-2 {
  margin-top: 10px;
}

.p-5 {
  padding: 20px;
}

.pb-6 {
  padding-bottom: 25px;
}

.pt-5 {
  padding-top: 20px;
}

.bg-white {
  background: #fff;
}

.bg-light {
  background: #f9f9f9;
}

.bg-gradient-blue {
  background: linear-gradient(45deg, #007cba, #00a0d2);
}

.rounded {
  border-radius: 8px;
}

.rounded-full {
  border-radius: 9999px;
}

.border {
  border: 1px solid #eee;
}

.border-gray {
  border: 1px solid #ddd;
}

.border-dashed {
  border-style: dashed;
}

.transition {
  transition: all 0.3s ease;
}

.transition-color {
  transition: color 0.3s ease;
}

.overflow-hidden {
  overflow: hidden;
}

.relative {
  position: relative;
}

.aspect-16-9 {
  aspect-ratio: 16/9;
}

.object-cover {
  -o-object-fit: cover;
  object-fit: cover;
}

.grid {
  display: grid;
}
.gap-2 {
  gap: 10px;
}
.gap-3 {
  gap: 1rem;
}

.gap-6 {
  gap: 25px;
}

.gap-12 {
  gap: 50px;
}

.grid-cols-1 {
  grid-template-columns: 1fr;
}

.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Responsive Utilities */
@media (max-width: 1024px) {
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .md\:grid-cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .md\:grid-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .md\:flex-col {
    flex-direction: column;
  }

  .md\:mb-0 {
    margin-bottom: 0;
  }

  .md\:pb-0 {
    padding-bottom: 0;
  }

  .md\:mx-0 {
    margin-left: 0;
    margin-right: 0;
  }

  .md\:h-20 {
    height: 80px;
  }

  .md\:text-lg {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .sm\:text-lg {
    font-size: 14px;
  }

  .sm\:grid-cols-4 {
    grid-template-columns: 1fr !important;
  }
}

@media screen and (min-width: 981px) {
  .woocommerce-page .dh-product-review-box-v1 #reviews #comments ol.commentlist li {
    background-color: #f6f6f6;
  }
}

#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
  background: #f1f1f1 !important;
}

/* ### NOTICE BAR ### */
.woocommerce-form-coupon-toggle .woocommerce-info {
  background: #fcfdff !important;
  border: 1px solid #e2e2e2 !important;
  color: #000 !important;
}

.woocommerce-form-coupon-toggle .woocommerce-info a {
  color: #000 !important;
}

.woocommerce-form-coupon-toggle .woocommerce-info a:hover {
  color: #aaa !important;
}



/* ### HOMEPAGE V1 ### */
.zoom-image-hover {
  overflow: hidden;
}

.zoom-image-hover img {
  transform: scale(1);
  transition: transform 3s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.3s ease-out;
  opacity: 1;
}

.zoom-image-hover:hover img {
  transform: scale(1.06);
  opacity: 1;
}

/* ###### FLY CART ###### */
@media screen and (min-width: 981px) {

  .woofc-area.woofc-style-01 .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-thumb,
  .woofc-area.woofc-style-01 .woofc-area-mid .woofc-item .woofc-item-inner .woofc-item-thumb img {
    width: 60px;
    flex: 0 0 60px;
  }
}

.woocommerce-message a.button.wc-forward,
.woocommerce-message a.button.wc-forward:hover {
  padding: 0.3em 1em 0.3em 1em !important;
}

.woocommerce-message a.button.wc-forward:after {
  content: none !important;
}

.woocommerce-checkout .checkout_v1 .woocommerce #payment #place_order,
.woocommerce-checkout .checkout_v2 .woocommerce #payment #place_order {
  border-width: 0px !important;
}

/* ### MY ACCOUNT ### */
.dc-account .woocommerce-MyAccount-navigation ul {
  padding: 0px;
  list-style-type: none;
}

.dc-account .woocommerce-MyAccount-navigation ul li {
  border-bottom: 1px solid #000;
  padding: 10px 0px;
}

.dc-account .woocommerce-privacy-policy-text {
  padding-bottom: 10px;
}

@media all and (min-width: 981px) {
  .woocommerce-account .dc-account .woocommerce-MyAccount-navigation {
    width: 24%;
  }
}

.woocommerce .dc-account a.button,
.woocommerce-page .dc-account a.button {
  font-size: 12px !important;
}


/* ### Shop filter ### */
@media only screen and (min-width: 981px) {
  .wpf_item .wpf_item_name {
    font-size: 18px !important;
  }
}

.wpf_color_icons:not(.wpf_hide_text) li>input:checked+label {
  border: solid 1px #000 !important;
  background-color: #fff !important;
}

.back-to-top {
  display: flex;
  position: fixed;
  bottom: 40px;
  right: 15px;
  z-index: 9999;
  font-size: 18px;
  background: #fff;
  /* color: rgb(255, 255, 255); */
  padding: 6px;
  border-radius: 50%;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  box-shadow: rgba(0, 0, 0, 0.21) 0px 10px 30px 0px;
}

.single-product .back-to-top {
  bottom: 170px;
}

/* ### Woo checkout customize css ### */
.woocommerce-billing-fields .select2-container--default .select2-selection--single,
.woocommerce-shipping-fields .select2-container--default .select2-selection--single {
  margin-bottom: 0px;
  padding: 0px;
}

.woocommerce-billing-fields .select2-container--default .select2-selection--single .select2-selection__arrow,
.woocommerce-shipping-fields .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100%;
}

.woocommerce-billing-fields .select2-container .select2-selection--single .select2-selection__rendered,
.woocommerce-shipping-fields .select2-container .select2-selection--single .select2-selection__rendered {
  padding: 16px;
}

.woocommerce-NoticeGroup .woocommerce-error {
  background-color: #f8d7da !important;
  border-color: #f5c2c7;
  border-radius: 4px;
}

.woocommerce-NoticeGroup .woocommerce-error a {
  color: #842029;
}

.woocommerce form .form-row .required {
  visibility: visible;
}


/* Css nut xem thêm mô tả sản phẩm */
/* Container chứa mô tả */
.product-description-collapse {
  max-height: 200px;
  /* chiều cao tối đa khi collapse */
  overflow: hidden;
  position: relative;
  transition: max-height 0.3s ease;
}

/* Lớp khi đã expand */
.product-description-collapse.expanded {
  max-height: none;
}

/* Tạo lớp gradient ở đáy để “che” nội dung khi collapse */
.product-description-collapse::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: linear-gradient(rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
}

.tin-tuc-cat {
  padding: 20px;
}

.tin-tuc-cat a {
  text-decoration: none !important;
  transition: all 0.3s ease;
}

.tin-tuc-cat a:hover {
  text-decoration: underline !important;
}

.about-review img {
  height: 80px;
}

.woocommerce div.product form.cart .button {
  margin-right: 10px;
}

/* Responsive */
.home-banner-title {
  min-width: 850px;
}

/* Trang giỏ hàng */
.page-id-100074 {
  .entry-title {
    font-size: 2rem;
    margin: 2rem;
    text-align: center;
  }

  input[type="number"].qty {
    width: 80px !important;
    border: 2px solid #ddd !important;
    max-width: unset;
  }

  .wc-proceed-to-checkout {
    a {
      background-color: var(--wci-color) !important;
    }
  }

  input[name="coupon_code"] {
    width: 150px !important;
    height: 35px !important;
  }
}

.woocommerce-notices-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.woocommerce-message {
  background: #fff;
  color: #1c1e21;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  border-radius: 10px;
  border: none;
}

.woocommerce-message::before {
  content: "\e015";
  color: #42b72a;
}

.woocommerce-form-coupon-toggle {
  .woocommerce-info::before {
    display: none;
  }
}
.prod-full-desc-collapse {
    max-height: 500px;
    overflow: hidden;
    transition: max-height .35s ease;
    padding-bottom: 50px;
    figure{
      max-width: 100%;
    }
    iframe {
      aspect-ratio: 16/9;
      width: 100%;
      height: auto;
      border-radius: 6px;
  }
}
.prod-full-desc-collapse.expanded{
  max-height: unset !important;
}
.woocommerce .star-rating span::before{
  text-align: left;
}
@media (max-width: 991px) {
  .container {
    width: calc(100% - 30px) !important;
  }

  .prod-full-desc-collapse {
    max-height: 500px !important;
  }

  .prod-full-desc-collapse.expanded {
    max-height: none !important;
  }

  .home-banner-title {
    min-width: unset;
  }

  .single-post .back-to-top {
    bottom: 85px;
  }

  .single-post .post-left-toc {
    position: fixed;
    z-index: 9999;
  }

  .back-to-top {
    bottom: 100px;
  }

  .woocommerce-page div.product form.cart div.quantity,
  .woocommerce div.product form.cart div.quantity {
    margin-right: 0px !important;
  }

  .woocommerce div.product form.cart .button {
    margin-bottom: 10px;
    margin-right: 5px;
  }

  .shop-dev .woocommerce-breadcrumb,
  .shop-dev .woocommerce,
  .tax-product .woocommerce-breadcrumb,
  .tax-product .woocommerce {
    padding: 0px 15px;
  }

  .home .woocommerce-loop-product__title,
  .home .price del span,
  .home .price ins span,
  .woocommerce-shop .woocommerce-loop-product__title,
  .woocommerce-shop .price del span,
  .woocommerce-shop .price ins span {
    font-size: 1rem !important;
  }

  /* Star rating woocommerce */
  .star-rating {
    display: none;
  }

  .my-custom-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
    background-color: rgba(255, 171, 26, 0.0705882353);
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: rgba(255, 171, 26, 0.1098039216);
    border-radius: 6px 6px 6px 6px;
    padding: 0px 7px;
    font-size: 10px;
    height: 24px;
  }

  .my-custom-rating svg {
    width: 12px;
  }

  .dc-shop-v1 li.product {
    padding: 0px 10px !important;
  }

  .products .star-rating {
    display: none !important;
  }

  .category .brbl_post_grid_0_tb_body .brbl-blog {
    margin: unset !important;
  }

  .category .brbl-carousel {
    width: 90%;
    margin: 0px auto;
  }

  .container-rating {
    font-size: 12px;
    color: #667085;
    white-space: nowrap;
    margin-top: 5px;
  }
}


/* Home banner */
.home-banner h1 {
  font-size: 50px !important;
  font-weight: 700;
}

.home-banner .home-banner-sub {
  font-size: 20px;
}

.home-banner p {
  font-size: 20px !important;
}

@media (max-width: 991px) {
  .home-banner h1 {
    font-size: 35px !important;
  }
}

.home .woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.home .woocommerce ul.products li.product {
  width: 100% !important;
  margin: 0px;
  padding: 10px;
}

.home .woocommerce ul.products li.product a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.home .woocommerce ul.products::before {
  display: none;
}

@media (max-width: 991px) {
  .home .woocommerce ul.products {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
}

@media (max-width: 575px) {
  .home .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

/* Checkout Style page */
.woocommerce-checkout .woocommerce .woocommerce-form-coupon-toggle .woocommerce-info {
  color: #fff !important;
  background: linear-gradient(135deg, #E50914, #8B0000) !important;
  border-color: #dbe7fc;
  font-size: 16px !important;
  border-radius: 10px;
  border: 1px solid #dbe7fc;
}

.woocommerce-checkout .woocommerce .woocommerce-form-coupon-toggle .woocommerce-info a {
  color: #fff !important;
  font-weight: 500;
  text-decoration: underline;
}

.woocommerce-checkout .woocommerce .woocommerce-form-login-toggle .woocommerce-info {
  background-color: #D3F8DF !important;
  padding: 6px 12px 6px 12px;
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  border-color: rgba(22, 179, 100, 0.1882352941);
  border-radius: 10px;
  color: #095C37 !important;
  font-size: 16px !important;
}

.woocommerce-checkout .woocommerce .woocommerce-form-login-toggle .woocommerce-info a {
  color: #095C37;
  font-weight: 500;
  text-decoration: underline;
}

.woocommerce-checkout .woocommerce form .form-row input,
.woocommerce-checkout .woocommerce form .form-row textarea {
  color: #000;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #dfdfeb;
  border-radius: 0.75rem !important;
  height: 44px;
  padding: 1rem;
}

.woocommerce-checkout .woocommerce form .form-row textarea {
  height: auto;
}

.woocommerce-checkout .woocommerce .select2-container .select2-selection--single .select2-selection__rendered {
  color: #737491;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #dfdfeb;
  border-radius: 0.75rem;
  height: 44px;
}

/* checkout-review.css */
.custom-review-order {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.custom-review-order .cart_item {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  position: relative;
}

.custom-review-order .cart_item:not(:last-child) {
  padding: 15px 0px;
  border-bottom: 1px solid #ddd;
}

.custom-review-order .cart_item .order-detail {
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
}

.custom-review-order .cart_item .del-cart {
  /*position: absolute;*/
  /*right: 0px;*/
  /*top: 0px;*/
}

.custom-review-order .cart_item .quantity-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}

.custom-review-order .cart_item .product-info h3 a {
  font-size: 16px;
  font-weight: 600;
}

.custom-review-order .cart_item .product-image {
  width: 100px;
  flex-shrink: 0;
}

.custom-review-order .cart_item .product-image img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.custom-review-order .cart_item .quantity-controls {
  display: flex !important;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  max-width: 140px;
  justify-content: space-between;
}

.custom-review-order .cart_item .quantity-controls button {
  background: #f8f8f8 !important;
  border: none !important;
  width: 35px !important;
  height: 40px !important;
  cursor: pointer;
  font-size: 18px !important;
  font-weight: bold;
  color: #666 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  outline: none;
}

.custom-review-order .cart_item .quantity-controls input {
  width: 60px;
  height: 40px;
  border: none;
  text-align: center;
}

.custom-review-order .cart_item .product-total {
  font-weight: 600;
}

.custom-review-order .order-total-wrapper>div {
  margin-bottom: 15px;
  font-weight: 600;
}

.custom-review-order .order-total-wrapper .woocommerce-Price-amount {
  font-weight: 600;
}

.custom-review-order .cart-subtotal,
.custom-review-order .order-total,
.custom-review-order .woocommerce-shipping-totals {
  display: flex;
  justify-content: space-between;
}

@media (max-width: 991px) {
  .custom-review-order .cart_item {
    flex-direction: column;
    align-items: start;
  }

  .custom-review-order .cart_item .product-image {
    flex-shrink: 1;
  }

  body .splide__arrow--prev {
    left: 0px;
  }

  body .splide__arrow--next {
    right: 0px;
  }
}

.single-product table {
  width: 100% !important;
}

.single-post-container .post-content a {

  color: #288ad6;
}

.xw-product-videos .splide__arrow svg {
  fill: #000;
}

.single-product table tr,
.single-product table td {
  width: auto !important;
  padding: 6px;
}

.home .product h2.woocommerce-loop-product__title {
  font-size: 16px !important;
}

.term-description ul {
  margin-left: 2rem;
  list-style: disc;
}

.tax-product_tag.woocommerce ul.products li.product,
.search-results.woocommerce ul.products li.product {
  padding: 20px !important;
}

.tax-product_tag #primary {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 15px 80px;
}
.tax-product_tag #sidebar {
  display: none;
}
.tax-product_tag .site-main {
  display: flow-root;
}

.tax-product_tag .woocommerce-breadcrumb {
  margin-bottom: 18px;
  color: #666;
  font-size: 14px;
}

.tax-product_tag .woocommerce-breadcrumb a {
  color: #0c3133;
  font-weight: 600;
}

.tax-product_tag .woocommerce-products-header {
  margin-bottom: 18px;
}

.tax-product_tag .woocommerce-products-header__title {
  color: #0c3133;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  text-transform: capitalize;
}

.tax-product_tag .woocommerce-result-count {
  float: left;
  color: #777;
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 24px;
}

.tax-product_tag .woocommerce-ordering {
  float: right;
  margin: 0 0 24px;
}

.tax-product_tag .woocommerce-ordering .orderby {
  min-width: 220px;
  height: 40px;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #0c3133;
  font-size: 14px;
  padding: 0 12px;
}

.tax-product_tag.woocommerce ul.products {
  clear: both;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0 0 32px;
}
.tax-product_tag.woocommerce ul.products .add_to_cart_button,.tax-product_tag.woocommerce ul.products .product_type_variable{
  display: none !important;
}
.tax-product_tag.woocommerce ul.products::before,
.tax-product_tag.woocommerce ul.products::after {
  display: none;
}

.tax-product_tag.woocommerce ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  border-radius: 4px;
  transition: all 0.3s ease;
  word-break: break-word;
}

.tax-product_tag.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tax-product_tag.woocommerce nav.woocommerce-pagination {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

@media (max-width: 991px) {
  .tax-product_tag.woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
  }
}

@media (max-width: 767px) {
  .tax-product_tag #primary {
    padding-top: 20px;
  }

  .tax-product_tag .woocommerce-products-header__title {
    font-size: 24px;
  }

  .tax-product_tag .woocommerce-ordering {
    float: none;
    margin: 0 0 20px;
  }

  .tax-product_tag .woocommerce-ordering .orderby {
    width: 100%;
  }

  .tax-product_tag.woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}

.tax-product_tag.woocommerce ul.products li.product h2.woocommerce-loop-product__title,
.search-results.woocommerce ul.products li.product h2.woocommerce-loop-product__title {
  color: #0c3133 !important;
  font-weight: 600;
}

.tax-product_tag.woocommerce ul.products li.product .price ins,
.search-results.woocommerce ul.products li.product .price ins {
  color: #E02B20 !important;
}

.tax-product_tag.woocommerce ul.products li.product .onsale,
.search-results.woocommerce ul.products li.product .onsale {
  background-color: #DA171F !important;
  height: 30px;
  padding: 0px !important;
  width: 60px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tax-product_tag.woocommerce ul.products li.product:hover,
.search-results.woocommerce ul.products li.product:hover {
  box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.21);
}


/* Add badge product */
.result-label {
  /* background: linear-gradient(to right,#ef3006,#c60004); */
  border-radius: 20px;
  width: -moz-fit-content;
  width: fit-content;
  padding: 0px 8px;
  text-transform: uppercase;
  color: #fff;
  height: 25px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  align-items: center;
  justify-content: center;
  line-height: normal;
  margin: 5px 0px 0px;
}

.result-label.temp1 {
  background: linear-gradient(to right, #faab08, #d42611)
}

.result-label.temp2 {
  background: linear-gradient(to right, #af63cf, #3327a7);
  /* background: linear-gradient(to right, #22c55e, #16a34a) */
}

.woocommerce ul.products li.product a img.iconflashsale {
  width: 12px;
  margin: 0px !important;
  height: 15px;
}

/* Header Css */
/* Header Styles */
/* Base Styles */
.custom-header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1000;
  transition: all 0.3s ease;
}

body.admin-bar .custom-header.header-fixed {
    top: 32px;
}
/* Fixed header styles */
.custom-header.header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  /* overflow: hidden; */
}

/* Add padding to body when header is fixed to prevent content jump */
body.header-is-fixed {
  padding-top: 80px;
  /* Adjust based on your header height */
}

@media (max-width: 768px) {
  body.header-is-fixed {
    padding-top: 70px;
    /* Smaller padding for mobile */
  }
  .back-to-top {
    width: 40px;
    height: 40px;
  }
}

.custom-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.custom-header .container .logo a {
  display: flex;
  align-items: center;
}

.logo img {
  max-height: 40px;
  width: auto;
}

.h-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.s-header-cart {
  display: flex;
  align-items: center;
  gap: 15px;
}


.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #e74c3c;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

/* Desktop Navigation */
.desktop-nav .menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
}

.desktop-nav .menu li {
  position: relative;
}

.desktop-nav .menu a {
  text-decoration: none;
  font-weight: 500;
  padding: 10px 0;
  transition: color 0.3s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
  color: #000;
  text-transform: uppercase;
}

.custom-header.home-custom-header .desktop-nav .menu a {
   color: #fff;
}
.custom-header.home-custom-header.header-fixed .desktop-nav .menu a {
   color: var(--wci-color);
}
.custom-header.home-custom-header .desktop-nav .sub-menu a {
  color: var(--wci-color);
}

.custom-header.home-custom-header svg {
  fill: transparent;
  stroke: #fff;
}

.custom-header.home-custom-header svg path {
  stroke: #fff;
}
.custom-header.home-custom-header.header-fixed svg path {
  stroke: var(--wci-color);
}

.custom-header.home-custom-header .s-header-minicart svg {
  fill: transparent;
  stroke: #fff;
}

/* .custom-header{
   svg{
      fill:var(--wci-color);
  }
} */
.s-header-minicart {
  display: flex;
  align-items: center;
  margin-left: 20px;
  position: relative;
}

.desktop-nav .menu a:hover,
.desktop-nav .menu .current-menu-item>a,
.desktop-nav .menu .current-menu-ancestor>a {
  color: var(--wci-color);
}

/* Dropdown Arrow for parent items */
.desktop-nav .menu-item-has-children>a::after {
  content: "";
  /* Bỏ chữ "3" đi */
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  /* Màu theo màu chữ của menu */
  border-bottom: 2px solid currentColor;
  position: absolute;
  right: -15px;
  top: 45%;
  transform: translateY(-50%) rotate(45deg);
  /* Xoay để tạo hình mũi tên xuống */
  transition: transform 0.3s;
}

/* Hiệu ứng khi hover (nếu bạn muốn nó xoay ngược lên) */
.desktop-nav .menu-item-has-children:hover>a::after {
  transform: translateY(-20%) rotate(225deg);
}

/* First level dropdown */
.desktop-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s ease;
  z-index: 1001;
  padding: 8px 0;
  list-style: none;
  margin: 0;
}

.desktop-nav .menu-item:hover>.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.desktop-nav .sub-menu li {
  border-bottom: none;
  position: relative;
}

.desktop-nav .sub-menu a {
  padding: 12px 20px;
  display: block;
  font-weight: 700;
  color: var(--wci-color);
  border-radius: 4px;
  margin: 2px 8px;
  transition: all 0.3s;
  font-size: 15px;
}

.desktop-nav .sub-menu a:hover {
  background: #f8f9fa;
  color: var(--wci-color);
}

/* Second level dropdown */
.desktop-nav .sub-menu .sub-menu {
  top: -8px;
  left: 100%;
  margin-left: 8px;
}

.desktop-nav .sub-menu .menu-item-has-children>a::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  position: absolute;
  right: 15px;
  top: 45%;
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.3s;
}

.desktop-nav .sub-menu .menu-item-has-children:hover>a::after {
  transform: translateY(-20%) rotate(225deg);
}

/* Third level and beyond */
.desktop-nav .sub-menu .sub-menu .sub-menu {
  top: -8px;
  left: 100%;
}

/* Hover effects for nested menus */
.desktop-nav .menu-item:hover>.sub-menu,
.desktop-nav .sub-menu .menu-item:hover>.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Current menu item styling */
.desktop-nav .current-menu-item>a,
.desktop-nav .current-menu-ancestor>a {
  color: #e74c3c;
  font-weight: 600;
}

/* End Mobile Menu */

/* Search Form */
.s-header-search {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  padding: 20px;
  min-width: 300px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s;
  z-index: 1001;
}

.s-header-search.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 
.search-form {
  display: flex;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
} */
.search-field {
  flex: 1;
  padding: 12px 15px;
  border: none;
  outline: none;
  font-size: 14px;
}

.search-submit {
  background: #e74c3c;
  border: none;
  padding: 12px 15px;
  cursor: pointer;
  color: white;
  transition: background-color 0.3s;
}

.search-submit:hover {
  background: #c0392b;
}

/* Mobile Hamburger Menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  gap: 4px;
}

.hamburger-line {
  width: 24px;
  height: 3px;
  background: #333;
  transition: all 0.3s;
  border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Sidebar */
.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  z-index: 9999999;
  transition: right 0.3s ease;
}

.mobile-sidebar.active {
  right: 0;
}

.mobile-sidebar-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.mobile-sidebar.active .mobile-sidebar-overlay {
  opacity: 1;
  visibility: visible;
}

.mobile-sidebar-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 400px;
  height: 100%;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.mobile-sidebar.active .mobile-sidebar-content {
  transform: translateX(0);
}

.mobile-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid #e0e0e0;
}

.mobile-logo img {
  max-height: 40px;
  -o-object-fit: contain;
  object-fit: contain;
  -o-object-position: left;
  object-position: left;
}

.mobile-sidebar-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: background-color 0.3s;
}

.mobile-sidebar-close:hover {
  background: #f5f5f5;
}

/* Mobile Navigation */
.mobile-nav {
  padding: 20px;
}

.mobile-menu {
  list-style: none;
  margin: 0;
  padding: 0 !important;
  list-style-type: none !important;
}

.mobile-menu li {
  border-bottom: 1px solid #f0f0f0;
}

.mobile-menu li:last-child {
  border-bottom: none;
}

.mobile-menu a {
  display: block;
  padding: 15px 20px;
  text-decoration: none;
  color: var(--wci-color);
  font-weight: 700;
  transition: all 0.3s;
  position: relative;
  text-transform: uppercase;
}

.mobile-menu a:hover {
  background: #E6F2F2;
  color: var(--wci-color);
}

/* Current menu item styling */
.mobile-menu .current-menu-item>a,
.mobile-menu .current-menu-ancestor>a {
  color: var(--wci-color);
  /* background: #E6F2F2; */
  font-weight: 600;
}

/* Parent menu items with children */
.mobile-menu .menu-item-has-children>a {
  padding-right: 50px;
}

.mobile-menu .menu-item-has-children>a::after {
  content: "";
  /* Bỏ chữ "3" đi */
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  /* Màu theo màu chữ của menu */
  border-bottom: 2px solid currentColor;
  position: absolute;
  right: 15px;
  top: 45%;
  transform: translateY(-50%) rotate(45deg);
  /* Xoay để tạo hình mũi tên xuống */
  transition: transform 0.3s;
}

.mobile-menu .menu-item-has-children.active>a::after {
  transform: translateY(-20%) rotate(225deg);
}

/* First level submenu */
.mobile-menu .sub-menu {
  max-height: 0;
  overflow: hidden;
  background: #E6F2F2;
  transition: max-height 0.4s ease;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu .menu-item-has-children.active>.sub-menu {
  max-height: 1000px;
}

.mobile-menu .sub-menu li {
  border-bottom: 1px solid #eeeeee;
  margin-bottom: 0px;
}

.mobile-menu .sub-menu li:last-child {
  border-bottom: none;
}

.mobile-menu .sub-menu a {
  padding: 12px 20px 12px 40px;
  font-size: 15px;
  color: var(--wci-color);
  background: #fff;
}

.mobile-menu .sub-menu a:hover {
  background: #E6F2F2;
  color: var(--wci-color);
}

/* Second level submenu */
.mobile-menu .sub-menu .menu-item-has-children>a {
  padding-right: 70px;
}

.mobile-menu .sub-menu .menu-item-has-children>a::after {
  right: 40px;
}

.mobile-menu .sub-menu .sub-menu {
  background: #fff;
}

.mobile-menu .sub-menu .sub-menu a {
  padding-left: 60px;
  font-size: 14px;
  color: #000;
}

.mobile-menu .sub-menu .sub-menu a:hover {
  background: #ebebeb;
  color: var(--wci-color);
}

/* Third level submenu */
.mobile-menu .sub-menu .sub-menu .menu-item-has-children>a {
  padding-right: 90px;
}

.mobile-menu .sub-menu .sub-menu .menu-item-has-children>a::after {
  right: 60px;
}

.mobile-menu .sub-menu .sub-menu .sub-menu {
  background: #f0f0f0;
}

.mobile-menu .sub-menu .sub-menu .sub-menu a {
  padding-left: 80px;
  font-size: 12px;
  color: #777;
}

.mobile-menu .sub-menu .sub-menu .sub-menu a:hover {
  background: #e5e5e5;
  color: var(--wci-color);
}

.mobile-sidebar-footer {
  padding: 20px;
  border-top: 1px solid #e0e0e0;
  margin-top: auto;
}

.mobile-contact-info p {
  margin: 10px 0;
  font-size: 14px;
}

.mobile-contact-info a {
  color: #e74c3c;
  text-decoration: none;
}

.custom-header.home-custom-header {
  background: transparent;
  box-shadow: none;
}


.custom-header.home-custom-header.header-fixed {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

body.woocommerce .woocommerce-message {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .s-header-cart {
    gap: 0px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .s-header-search {
    position: fixed;
    top: 80px;
    left: 20px;
    right: 20px;
    width: auto;
    min-width: auto;
  }

  .logo img {
    max-height: 40px;
  }

  .custom-header .container {
    padding: 10px 0px;
    width: 100%;
  }

  .h-right {
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .mobile-sidebar-content {
    width: 100%;
    max-width: none;
  }

  .s-header-search {
    left: 10px;
    right: 10px;
    padding: 15px;
  }

  .custom-header.home-custom-header .hamburger-line {
    background: #fff;
  }

  .custom-header.home-custom-header.header-fixed .hamburger-line {
    background: var(--wci-color);
  }

  .custom-header.home-custom-header.header-fixed .mobile-sidebar-close svg {
    fill: var(--wci-color);
    stroke: var(--wci-color);
  }
}

/* Search History */
.search-history-container {
  padding: 16px 20px;
  border-bottom: 1px solid #e5e7eb;
  background: #f9fafb;
  width: 100%;
}

.search-history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.search-history-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}

.search-history-title svg {
  width: 16px;
  height: 16px;
  color: #6b7280;
}

.search-history-clear {
  background: none;
  border: none;
  color: #3b82f6;
  font-size: 13px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.2s;
}

.search-history-clear:hover {
  background: #e5e7eb;
}

.search-history-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.search-history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  margin-bottom: 4px;
  background: white;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.search-history-item:hover {
  background: #f3f4f6;
}

.search-history-item:last-child {
  margin-bottom: 0;
}

.search-history-text {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  font-size: 14px;
  color: #1f2937;
}

.search-history-text svg {
  width: 16px;
  height: 16px;
  color: #9ca3af;
  flex-shrink: 0;
}

.search-history-remove {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s;
  opacity: 0;
}

.search-history-item:hover .search-history-remove {
  opacity: 1;
}

.search-history-remove:hover {
  background: #fee2e2;
  color: #ef4444;
}

.search-history-remove svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 768px) {
  .search-history-container {
    padding: 12px 16px;
  }

  .search-history-title,
  .search-history-text {
    font-size: 13px;
  }

  .post-card__meta-item:nth-child(2) {
    display: none;
  }

  .post-card__content {
    padding: 8px;
  }
}

/* End Search history */


/* Custom search */
/* Search Trigger Button */
.search-trigger-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.search-trigger-btn:hover {
  background: rgba(88, 98, 128, 0.1);
  transform: scale(1.05);
}

.search-trigger-btn:hover svg path {
  stroke: #007bff;
}

.search-trigger-btn svg {
  transition: all 0.3s ease;
  /* fill: var(--wci-color); */
}

.search-trigger-btn svg path {
  stroke: var(--wci-color);
}

.search-modal-overlay {
  display: none;
  position: fixed;
  top: 0px;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999999999999999999999999 !important;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.search-modal-overlay.show {
  display: flex;
  opacity: 1;
  align-items: center;
  justify-content: center;
}

.search-modal-overlay.active {
  /* ← THÊM class mới */
  opacity: 1;
}

.search-modal-container {
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  background-color: #fff;
  /* overflow-y: auto; */
  transform: translateY(-50px);
  transition: transform 0.3s ease;
  border-radius: 10px;
  height: 80%;
}

.search-modal-overlay.active .search-modal-container {
  /* ← SỬA: dùng active thay vì show */
  transform: translateY(0);
}

.search-modal-content {
  background: white;
  border-radius: 10px;
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); */
  /* overflow: hidden; */
  height: 100%;
}

.search-modal-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  position: relative;
  flex-direction: column;
}

.search-form {
  flex: 1;
  display: flex;
  align-items: center;
  /* background: #f8f9fa; */
  padding: 5px;
  width: 100%;
}

.search-input {
  flex: 1;
}

.search-modal-header .search-input-field {
  width: 100%;
  border: none;
  background: transparent;
  padding: 12px 20px;
  font-size: 16px;
  outline: none;
  border-radius: 4px;
  border: 1px solid #e9ecef;
  height: 40px;
  padding: 14px;
  transition: border 0.3s ease;
}

.search-modal-header .search-input-field:hover {
  border: 1px solid var(--wci-color);
}

.search-button {
  margin-left: 10px;
}

.search-button button {
  /* background: var(--wci-color); */
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.search-button button:hover {
  /* background: #0056b3; */
  opacity: 0.8;
}

.search-button img {
  width: 20px;
  height: 20px;
}

.search-modal-close {
  position: absolute;
  top: -40px;
  right: 0px;
  border-radius: 50%;
  background: #fff;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  box-shadow: 0px 2px 18px 0px rgba(112, 112, 112, 0);
  margin: 0px;
}

.search-modal-close:hover {
  /* color: #000; */
  opacity: 0.8;
}

/* Search Clear Button */
.search-input {
  position: relative;
}

.search-clear-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  transition: color 0.2s;
  z-index: 10;
}

.search-clear-btn:hover {
  color: #ef4444;
}

.search-clear-btn svg {
  width: 20px;
  height: 20px;
}

.search-modal-body {
  padding: 10px;
  height: calc(100% - 50px);
  overflow-y: auto;
}

.suggest-first-screen {
  height: 100%;
  overflow-y: scroll;
  padding: 0px 5px;
}

.suggest-search-container {
  margin-bottom: 30px;
}

.suggest-title {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 15px;
  color: #333;
  gap: 5px;
}

.suggest-title svg {
  fill: red;
}

.suggest-title img {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

.suggest-tag {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.suggest-tag .tag-item:first-child a {
  background: linear-gradient(135deg, #E50914, #8B0000) !important;
  color: #fff;
  font-weight: bold;
}

.tag-item a {
  display: block;
  padding: 8px 15px;
  background: #f8f9fa;
  border-radius: 20px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.tag-item a:hover {
  /* background: var(--wci-color);
                    color: white;
                    transform: translateY(-2px); */
  border: 1px solid var(--wci-color);
}

.search-modal-body .product-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.search-modal-body .product-item {
  display: flex;
  background: #f8f9fa;
  border-radius: 10px;
  padding: 15px;
  transition: border 0.3s ease;
  border: 1px solid #e9ecef;
}

.search-modal-body .product-item:hover {
  /* transform: translateY(-3px); */
  /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); */
  border: 1px solid var(--wci-color);
}

.search-modal-body .product-thumbnail {
  width: 80px;
  height: 80px;
  margin-right: 15px;
  flex-shrink: 0;
}

.search-modal-body .product-thumbnail img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 8px;
}

.search-modal-body .product-info {
  flex: 1;
}

.search-modal-body .product-title a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  /* display: -webkit-box;
                  -webkit-line-clamp: 2;
                  -webkit-box-orient: vertical;
                  overflow: hidden; */
}

.search-modal-body .product-title a:hover {
  color: var(--wci-color);
}

.search-modal-body .price-container {
  margin-top: 10px;
  display: flex;
  gap: 5px;
}

.search-modal-body .price {
  color: #e74c3c;
  font-weight: bold;
  font-size: 16px;
}

.search-modal-body .price-old {
  color: #999;
  text-decoration: line-through;
  font-size: 14px;
  margin-top: 3px;
}

.search-modal-body .more-block {
  text-align: center;
  margin-top: 20px;
}

.search-modal-body .more-block a {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  /* background: #007bff; */
  color: var(--wci-color);
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.search-modal-body .more-block a:hover {
  /* background: #0056b3; */
}

.search-modal-body .more-block img {
  width: 16px;
  height: 16px;
  margin-left: 8px;
}

.search-modal-content {
  overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
  .search-modal-container {
    width: 100%;
    position: absolute;
    bottom: 0;
    height: 85%;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .search-modal-overlay.active .search-modal-container {
    /* ← Dùng active */
    transform: translateY(0);
  }

  .search-modal-header {
    padding: 15px;
  }

  .search-modal-body {
    padding: 15px;
    height: calc(100% - 50px);
  }

  .search-modal-body .product-container {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 768px) {

  .xw-product-videos .splide__arrow,
  .woo-upsell-slider-wrapper .splide__arrow,
  .home-viewed-products .splide__arrow {
    width: 30px;
    height: 30px;
  }

  .xw-product-videos .splide__arrow--prev,
  .woo-upsell-slider-wrapper .splide__arrow--prev,
  .home-viewed-products .splide__arrow--prev {
    left: 0px;
  }

  .xw-product-videos .splide__arrow--next,
  .woo-upsell-slider-wrapper .splide__arrow--next,
  .home-viewed-products .splide__arrow--next {
    right: 0px;
  }
}

.product-list ul {
  list-style: none;
  padding: 0;
}

.product-list li a {
  display: block;
  padding: 0.75rem 1rem;
  background: #fff;
  margin-bottom: 0.5rem;
  border-radius: 6px;
  text-decoration: none;
  color: #3b82f6;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
  border: 1px solid #e5e7eb;
}

.product-list li a:hover {
  background-color: #eff6ff;
  border-color: #3b82f6;
  transform: translateY(-2px);
}

.product-detail .back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: #6b7280;
  text-decoration: none;
  font-weight: 500;
}

.product-detail .back-link:hover {
  color: #111827;
}

.product-detail-content {
  background: #fff;
  padding: 1.5rem;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}

.product-detail-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.loading-indicator {
  text-align: center;
  padding: 2rem;
  font-size: 1.2rem;
  color: #6b7280;
}

/* Shortcode product cate */
/* Product Categories Slider Styles */
.wci-product-categories-container {
  position: relative;
  margin: 20px 0;
}

.wci-categories-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.wci-categories-navigation {
  display: flex;
  gap: 10px;
}

.wci-nav-btn {
  width: 40px;
  height: 40px;
  border: 1px solid #0c3133;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 16px;
  color: #666;
}

.wci-nav-btn:hover {
  border-color: #0c3133;
  background: #0c3133;
  color: #fff;
}

.wci-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.wci-nav-btn:disabled:hover {
  border-color: #ddd;
  background: #fff;
  color: #666;
}

.product-category-item {
  text-align: center;
  border-radius: 8px;
  padding: 15px;
  background: #fff;
  margin: 0 10px;
}

.product-category-item img {
  transition: all 0.3s ease;
}

.product-category-item:hover img {
  transform: scale(1.05);
}

.product-category-image {
  margin-bottom: 10px;
  background: rgba(49, 54, 56, .06);
  border-radius: 100%;
  padding: 20px;
}

.product-category-image img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  min-height: 0px;
  object-fit: contain;
}

.product-category-title {
  font-size: 16px;
  font-weight: bold;
  margin: 10px 0 5px;
}

.product-category-title a {
  text-decoration: none;
  color: #333;
}

.product-category-title a:hover {
  color: #0c3133;
}

.product-category-count {
  font-size: 14px;
  color: #666;
  margin-top: 5px;
}

/* Splide custom styles */
.wci-categories-slider .splide__track {
  padding: 0;
}

.wci-categories-slider .splide__slide {
  display: flex;
  align-items: stretch;
}

.wci-categories-slider .splide__slide .product-category-item {
  width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.wci-product-category ul.wci-products-wrap.products li .onsale {
  z-index: 1;
}

span.variable-item-span.variable-item-span-color,
.woo-variation-swatches .variable-items-wrapper li {
  border-radius: 50% !important;
}

.comparison-row ul {
  list-style: disc;
  padding-left: 1rem;
}


/* Loading progress bar */

.reading-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: #2ea3f2;
  z-index: 1000;
  border-radius: 0 3px 3px 0;
  /* box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3); */
}

.reading-bar {
  animation: fill linear;
  animation-timeline: scroll();
}

/* Animation keyframes */
@keyframes fill {
  to {
    width: 100%;
  }
}

img.attachment-woocommerce_gallery_thumbnail.size-woocommerce_gallery_thumbnail {
  aspect-ratio: 1;
}

/* Custom coupon event */
.c-coup-wrapper {
  background: linear-gradient(136deg, #472f14 0%, #292115 12.28%, #14120e 49.12%, #141210 65.5%, #1f1a10 102.34%);
  border-radius: 20px;
  height: 174px;
  overflow: hidden;
  position: relative;
}

.c-coup-content {
  position: absolute;
  top: 50%;
  color: #fff;
  left: 1rem;
  right: 1rem;
  transform: translateY(-50%);
}

.coup-title {
  background: linear-gradient(148deg, #ffba6b 0%, #ffd685 40%, #fff5eb 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 20px;
  margin-bottom: 5px;
  font-weight: bold;
}

.coup-txt {
  background: linear-gradient(148deg, #ffba6b 0%, #ffd685 40%, #fff5eb 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
}

.wci-event-mb {
  display: none;

}

.c-coup-wrapper.coup-desktop {
  margin: 20px;
}

.single-product .c-coup-wrapper.coup-desktop {
  margin: 0px 0px 1rem;
}

@media (max-width: 768px) {
  .wci-event-mb {
    display: block;
    margin-top: 10px;
  }
}

/* end event coupon */
.home .p-sale-container {
  background: linear-gradient(136deg, #472f14 0%, #292115 12.28%, #14120e 49.12%, #141210 65.5%, #1f1a10 102.34%);
}

.home .p-sale-title {
  color: #fff;
}

/* Shortcode event follow */
.c-post-cofe-price__item {
  position: relative;
  padding-left: 32px;
}

.c-post-cofe-price__item.active a.c-post-cofe-price__link {
  color: #B4513d;
  font-weight: bold;
}

.c-post-cofe-price__item:not(:last-child) {
  padding-bottom: 16px;
}

.c-post-cofe-price__item::before {
  content: "";
  width: 10px;
  height: 10px;
  background: #0c3133;
  border-radius: 50%;
  position: absolute;
  top: 10px;
  left: 3px;
  z-index: 1;
}

.c-post-cofe-price__item:after {
  width: 1px;
  height: 100%;
  border-left: 1px dashed #000;
  content: "";
  left: 8px;
  position: absolute;
  top: 9px;
}

.c-post-cofe-price__item .c-post-cofe-price__date {
  /* font-family: Inter; */
  font-style: normal;
  font-weight: 400;
  font-size: 13px;
  line-height: 18px;
  color: #8b8b8b;
}

.c-post-cofe-price__title {
  font-size: 1rem;
  margin: 1rem 0px;
  font-weight: bold;
}

/* Topbar */
/* #topBarHeader{
 
  display: flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  font-size: 1rem;
  a{
     color: #fff !important;
  }
}
@media (max-width:575px) {
  #topBarHeader a{
    font-size: 14px;
  }
} */
#topBarHeader {
  background: #000;
  /* Màu nền mặc định nếu item không có màu riêng */
  height: 40px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.topBarContent {
  width: 100%;
  max-width: 1200px;
  height: 100%;
  position: relative;
}

.topBarItem {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  text-decoration: none;
  color: #fff !important;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease-in-out;
  transform: translateY(100%);
  /* Trượt từ dưới lên */
  white-space: nowrap;
}

/* Khi item được kích hoạt */
.topBarItem.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Khi item cũ thoát ra */
.topBarItem.exit {
  opacity: 0;
  transform: translateY(-100%);
}

.topbar-buy {
  background: #e11b22;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: bold;
  color: #fff;
  display: inline-block;
}

@media (max-width: 768px) {
  .topBarItem {
    font-size: 11px;
    gap: 8px;
  }

  .topbar-buy {
    padding: 2px 8px;
    font-size: 10px;
  }
}

.home,
.tax-product_cat {
  #page-container {

    /* background: url(https://winci.com.vn/wp-content/uploads/2025/12/background.webp);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: bottom center; */
    /* .container{
      background:#fff;
    } */
    aside#pf-sidebar {
      background: #fff;
      border-radius: 10px;
    }

    .wci-woo-right {
      background: #fff;
      padding: 1rem;
      border-radius: 1rem;
    }

    #pf-filter-wrapper {
      gap: 1rem !important;
    }
  }
}

img.bottom-right {
  position: fixed;
  left: 0px;
  bottom: 0px;
}

img.bottom-left {
  position: fixed;
  right: 0px;
  bottom: 0px;
}

.product-actions a {
  background: linear-gradient(135deg, #E50914, #8B0000) !important;
}

.p-sale-container {
  position: relative;
  background: linear-gradient(180deg, #ff5f5f 0%, #c70000 60%, #8b0000 100%) !important;
}

.p-sale-container .p-sale-title {
  color: #fff;
}

.p-sale-decor-img-left {
  position: absolute;
  height: 100%;
  width: auto;
  left: 50%;
  transform: translateX(-50%);
  top: 0px;
}

.ft-contact a {
  color: #FFE599 !important;
}

.ft-logo-sale-nofi img {
  max-width: 150px;
}

.my-custom-rating {
  display: none !important;
}

.p-sale-container .my-custom-rating,
.p-sale-container .my-custom-rating {
  display: flex !important;
}

#pf-products-container .count-rating {
  margin: 5px;
  color: var(--wci-color);
  font-size: 14px;
}

@media (max-width:575px) {
  .my-custom-rating {
    display: flex !important;
  }
}


/* ========================================
   PRODUCT GALLERY + VARIATION PRICE
   ======================================== */

.wci-gallery-thumbs {
  display: flex;
  gap: 6px;
  justify-content: center;
  padding: 8px 0 4px;
  /* margin-top: 8px; */
  border-top: 1px solid #f0f0f0;
  /* opacity: 0; */
  /* transform: translateY(10px); */
  transition: all 0.3s ease;
}

/* Loaded state - trigger khi scroll vào viewport */
.wci-gallery-thumbs.loaded {
  opacity: 1;
  transform: translateY(0);
}

.wci-thumb {
  width: 45px;
  height: 45px;
  border: 2px solid #e5e5e5;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.6;
  position: relative;
}

/* Active state */
.wci-thumb.active {
  border-color: var(--wci-color, #0c3133);
  opacity: 1;
  box-shadow: 0 2px 8px rgba(12, 49, 51, 0.25);
  transform: scale(1.05);
}

/* Hover effect */
.wci-thumb:hover {
  opacity: 1;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Hover effect cho active thumb */
.wci-thumb.active:hover {
  transform: scale(1.08);
}

.wci-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.wci-thumb:hover img {
  transform: scale(1.1);
}

/* Price transition */
.product .price {
  transition: opacity 0.15s ease;
}

/* Variation badge (optional - hiển thị variation attributes) */
.wci-variation-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: rgba(12, 49, 51, 0.8);
  color: #fff;
  font-size: 9px;
  padding: 2px 4px;
  border-radius: 3px;
  font-weight: 600;
  text-transform: uppercase;
  pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
  .wci-thumb {
    width: 40px;
    height: 40px;
  }

  .wci-gallery-thumbs {
    gap: 5px;
    padding: 6px 0 0;
  }
}

@media (max-width: 480px) {
  .wci-thumb {
    width: 35px;
    height: 35px;
    border-width: 1.5px;
  }

  .wci-gallery-thumbs {
    gap: 4px;
  }
}

/* Animation cho lần đầu load */
@keyframes thumbFadeIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }

  to {
    opacity: 0.8;
    transform: scale(1);
  }
}

.wci-gallery-thumbs.loaded .wci-thumb {
  animation: thumbFadeIn 0.3s ease forwards;
}

.wci-gallery-thumbs.loaded .wci-thumb:nth-child(1) {
  animation-delay: 0s;
}

.wci-gallery-thumbs.loaded .wci-thumb:nth-child(2) {
  animation-delay: 0.05s;
}

.wci-gallery-thumbs.loaded .wci-thumb:nth-child(3) {
  animation-delay: 0.1s;
}

.wci-gallery-thumbs.loaded .wci-thumb:nth-child(4) {
  animation-delay: 0.15s;
}

.home .product h2.woocommerce-loop-product__title:hover,
.wci-product-category ul.wci-products-wrap.products li .woocommerce-loop-product__title:hover {
  text-decoration: underline;
}

.single-product table tr td:last-child {
  font-weight: bold;
}

.topbar-buy {
  display: inline-block;
  text-decoration: underline;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  animation: buyPulse 1.2s infinite;
}

@keyframes buyPulse {
  0% {
    transform: scale(1);

    opacity: 1;
  }

  50% {
    transform: scale(1.08);

    opacity: 0.95;
  }

  100% {
    transform: scale(1);

    opacity: 1;
  }
}

.home .custom-header.header-fixed .winci-footer-hoadao {
  display: block;
}
#site-header{
  /* overflow: hidden; */
}
.home .winci-footer-hoadao {
  display: none;
}

.winci-footer-hoadao {

  position: absolute;
  top: 37px;
  left: 0;
  width: 330px;
  z-index: -1;
  pointer-events: none;
  height: 100px;
}

.winci-footer-hoadao img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.qty {
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  appearance: textfield;
  border-radius: 0 !important;
  font-size: 1em;
  max-width: 2.5em;
  text-align: center;
  width: 2.5em;
}

.woocommerce-privacy-policy-text {
  p {
    margin-bottom: 0px;
  }
}

.woocommerce-checkout {
  #place_order {
    background-color: var(--wci-color) !important;
  }

  #order_review #payment .payment_box {
    background-color: #000000c9;
    color: #fff;
    border-radius: 4px;

    &:before {
      border: 1em solid #000000c9;
      border-right-color: transparent;
      border-left-color: transparent;
      border-top-color: transparent;
    }
  }
}

/* Footer Section */
#site-footer {
  background: var(--wci-color);
  color: #fff;

  h3 {
    color: #fff;
    font-size: 1rem;
    &+p{
      font-size: 14px;
    }
  }

  svg {
    font-size: 20px;
    width: 35px;
    height: 35px;
  }

  ul {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
  }

  .footer-nav-list a {
    color: rgba(255, 255, 255, 0.74) !important;
    transition: all 0.3s ease;
    font-weight: 400;
    font-size: 1rem;

    &:hover {
      opacity: 0.8;
    }
  }
}

.ft-service {
  padding: 50px 0px 30px;
  border-bottom: 1px solid #fff;
  margin-bottom: 2rem;
}

/* End Footer Section */

@media (max-width:991px) {
  .winci-footer-hoadao {
    width: 100%;
    top: 18px;
    left: 0px;
  }
   /* #site-header{
    overflow: hidden;
  } */
  .ft-service-item-wrap {
    align-items: flex-start;
    justify-content: flex-start;

    .ft-service-content {

      h3,
      p {
        text-align: left;
      }
    }
  }
}

.lixi-minigame {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  left: 20px;
  z-index: 1000;
  cursor: pointer;
  animation: pulse 1.5s ease-in-out infinite;
}

.lixi-minigame img {
  width: 100px;
}

@keyframes pulse {
  0% {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
  }

  50% {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
  }

  100% {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
  }
}
@media (max-width:991px) {
  .single-post #button-contact-vr {
    display: none;
  }
  .lixi-minigame {
    top: unset;
    bottom: 20px;
  }
}

.zalooa-chat {
  position: fixed;
  bottom: 200px;
  left: 20px;
  z-index: 1000;
}

/* 1. Ẩn span mặc định */
.zalooa-chat a span {
  display: inline-block;
  opacity: 0;
  visibility: hidden;
  margin-left: 10px;
  background: #0068ff;
  /* Màu xanh Zalo hoặc tùy chọn */
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  transition: all 0.3s ease;
  /* Tạo hiệu ứng mượt */
  transform: translateX(-10px);
  position: absolute;
  top: 13px;
  left: 50px;
  width: 160px;
  /* Đẩy nhẹ sang trái để tạo hiệu ứng trượt khi hiện */
}

/* 2. Hiển thị span khi hover vào toàn bộ link hoặc ảnh */
.zalooa-chat a:hover span {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  /* Trượt về vị trí cũ */
}

/* Tùy chỉnh thêm cho ảnh để trông chuyên nghiệp hơn */
.zalooa-chat img {
  width: 50px;
  /* Điều chỉnh kích thước icon */
  height: auto;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.zalooa-chat a:hover img {
  transform: scale(1.1);
  /* Phóng to nhẹ icon khi hover */
}

.postid-1103155 .product-title,
.post-1103155 .woocommerce-loop-product__title {
  text-transform: unset !important;
}

.woo-variation-swatches .variable-items-wrapper.button-variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item.selected:not(.no-stock) {
  background: #fff;
  color: #000;
  box-shadow: none;
  border: 2px solid #000;
  border-radius: 8px !important;
  font-weight: bold;
  padding: 1rem;
  min-height: 50px;
}

.woo-variation-swatches .button-variable-items-wrapper.variable-items-wrapper .variable-item:not(.radio-variable-item) {
  background: #fff;
  color: #000;
  box-shadow: none;
  border: 1px solid #e4e4e7;
  border-radius: 8px !important;
  font-weight: bold;
  padding: 1rem;
  min-height: 50px;
}

.woo-variation-swatches .variable-items-wrapper.button-variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item.selected:not(.no-stock):after {
  background-color: #000;
  border-radius: 0 4px 0 8px;
  color: #fff;
  content: "✓";
  display: flex;
  font-size: 10px;
  height: 15px;
  justify-content: center;
  padding-bottom: 5px;
  padding-left: 4px;
  position: absolute;
  right: 0;
  top: 0;
  width: 16px;
  z-index: 1;
  bottom: unset;
  opacity: 1;
  visibility: visible;
  line-height: 21px;
  border: none;
}



/* Customize Css */
.table {
  width: 100%;
}

.table th,
.table td {
  padding: 0.5rem;
  vertical-align: top;
  border-top: 1px solid #dee2e6;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, .05);
}

.table-bordered th,
.table-bordered td {
  border: 1px solid #dee2e6;
}

.woocommerce-notice--success {
  margin-bottom: 10px;
}

.wc-bacs-bank-details-account-name:before {
  content: 'Tên chủ TK: ';
}

.wc-bacs-bank-details-account-name {
  margin-top: 20px;
  margin-bottom: 10px;
}

.wc-bacs-bank-details.order_details.bacs_details {
  font-size: 20px;
  padding: 0;
}

.select2-selection__rendered {
  -webkit-appearance: none;
  background-color: #eee;
  max-width: 100%;
  border-width: 0;
  border-radius: 0;
  color: #999;
  font-size: 14px;
  padding: 16px;
  line-height: 1.7em;
  border-style: solid;
}

.select2-container--default .select2-selection--single {
  margin-bottom: 1.7em;
  border: unset;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 60px;
}

#billing_country_field,
.pum-close.popmake-close {
  display: none;
}

.woocommerce #review_form #respond p {
  margin: 1em 0 0 0;
  padding-bottom: 0;
}

.container-rating {
  display: flex;
  flex-direction: row;
  align-content: center;
  align-items: center;
}

.container-rating .count-rating {
  margin-left: 0.4em;
}

.woocommerce form .form-row-first,
.woocommerce-page form .form-row-first {
  width: 50%;
  overflow: visible;
}

#reply-title {
  display: block;
  font-size: 16px;
  margin-bottom: 10px;
}

#commentform input[type=text],
#commentform textarea {
  font-size: 16px;
  margin: 0.8em 0;
  width: 100%;
}

.woocommerce #review_form #respond p.stars {
  margin: 0.5em 0 0 0;
}

.comment-form-comment {
  margin-top: 0 !important;
}

.woofc-count {
  left: 25px;
  bottom: 20%;
}


/* Style cho nút biến thể */
.button-variable-item {
  border-radius: 3px !important;
  padding: 15px 10px !important;
  min-width: 80px;
  transition: all 0.2s ease;
}

.button-variable-item.selected {
  font-weight: 500;
}

.single_variation_wrap .price,
.et_pb_wc_price .price {
  color: #e41d1d !important;
  font-weight: 700;
  font-size: 18px;
}

.label {
  font-size: 18px;
  margin-bottom: 5px;
}

.woocommerce-variation-price {
  display: none !important;
}

/* Thiết kế hộp thông báo khi sản phẩm mới */
/* Thiết kế hộp thông báo */
#new-product-alert {
  position: fixed;
  bottom: 20px;
  left: -450px;
  /* Ẩn mặc định */
  width: 350px;
  background: #ffffff;
  border-left: 5px solid #000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 15px;
  z-index: 999999;
  border-radius: 12px;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  gap: 15px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  text-decoration: none;
  color: inherit;
}

#new-product-alert.active {
  left: 20px;
}

/* Container chứa ảnh sản phẩm */
.alert-product-img {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f2f6;
}

.alert-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.alert-content {
  flex: 1;
}

.alert-tag {
  font-size: 10px;
  text-transform: uppercase;
  background: #000;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 5px;
}

.alert-content strong {
  display: block;
  color: #2f3542;
  font-size: 14px;
  line-height: 1.3;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.alert-btn {
  font-size: 12px;
  color: #57606f;
  text-decoration: underline;
}

.close-alert {
  position: absolute;
  top: 5px;
  right: 10px;
  cursor: pointer;
  color: #a4b0be;
  font-size: 20px;
  transition: color 0.2s;
}

.close-alert:hover {
  color: #ff4757;
}

.alert-price ins span {
  color: #ff4757;
}

.alert-price {
  font-weight: bold;
}

@media (max-width: 480px) {
  #new-product-alert {
    width: calc(100% - 40px);
    bottom: 15px;
  }

  #new-product-alert.active {
    left: 20px;
  }
}

/* Css page about and member */
.ff-about{
  margin: 0px ;
}

/* =========================================================
   Minicart Dropdown
   ========================================================= */
.s-minicart-wrapper {
  position: relative;
}

.s-minicart-dropdown {
  position: absolute;
  top: calc(100%);
  right: -10px;
  width: 320px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

/* Mũi tên nhỏ phía trên dropdown */
.s-minicart-dropdown::before {
  content: '';
  position: absolute;
  top: -7px;
  right: 18px;
  width: 14px;
  height: 14px;
  background: #fff;
  transform: rotate(45deg);
  box-shadow: -2px -2px 5px rgba(0,0,0,0.04);
  border-radius: 2px;
}

/* Desktop: hover mở dropdown */
@media (min-width: 769px) {
  .s-minicart-wrapper:hover .s-minicart-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* Mobile: class is-open mở dropdown */
.s-minicart-wrapper.is-open .s-minicart-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Trạng thái giỏ trống */
.s-minicart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 32px 20px;
  color: #aaa;
  font-size: 14px;
}

.s-minicart-empty p {
  margin: 0;
}

/* Danh sách sản phẩm */
.s-minicart-items {
  max-height: 280px;
  overflow-y: auto;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: thin;
  scrollbar-color: #ddd transparent;
}

.s-minicart-items::-webkit-scrollbar {
  width: 4px;
}
.s-minicart-items::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 4px;
}

.s-minicart-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.s-minicart-item-img {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  display: block;
  border: 1px solid #f0f0f0;
}

.s-minicart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s-minicart-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.s-minicart-item-name {
  font-size: 13px;
  font-weight: 600;
  color: #222;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.s-minicart-item-name:hover {
  color: var(--wci-color);
}

.s-minicart-item-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
}

.s-minicart-item-qty {
  color: #888;
}

.s-minicart-item-price {
  color: var(--wci-color);
  font-weight: 600;
}

.s-minicart-item-price .woocommerce-Price-amount {
  font-size: 13px;
}

/* Footer: tổng + nút */
.s-minicart-footer {
  border-top: 1px solid #f0f0f0;
  padding: 12px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.s-minicart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: #222;
}

.s-minicart-total .woocommerce-Price-amount {
  font-size: 14px;
  color: var(--wci-color);
}

.s-minicart-actions {
  display: flex;
  gap: 8px;
}

.s-minicart-btn {
  flex: 1;
  text-align: center;
  padding: 9px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.s-minicart-btn:hover {
  opacity: 0.85;
}

.s-minicart-btn--cart {
  background: #f0f0f0;
  color: #333;
}

.s-minicart-btn--checkout {
  background: var(--wci-color);
  color: #fff;
}

/* Homepage header (white icons) */
.custom-header.home-custom-header .s-minicart-wrapper .s-header-minicart svg {
  fill: transparent;
  stroke: #fff;
}
.custom-header.home-custom-header.header-fixed .s-minicart-wrapper .s-header-minicart svg {
  fill: transparent;
  stroke: var(--wci-color);
}
dl.variation {
    display: flex;
    color: red;
    align-items: center;
    font-size: 14px;
    gap: 5px;
    dd{
     margin: 0;
    }
    p{
        margin: 0;
    }
}
/* Mobile dropdown căn phải màn hình */
@media (max-width: 768px) {
  .s-minicart-dropdown {
    right: -16px;
    width: calc(100vw - 32px);
    max-width: 320px;
  }
}

/* ### COOKIE CONSENT BANNER ### */
.ccb-banner {
  display: none;
  position: fixed;
  right: 70px;
  bottom: 50px;
  width: 340px;
  padding: 20px;
  z-index: 999999;
  box-shadow: 0 8px 32px rgba(0, 39, 102, 0.16);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.ccb-banner.ccb-visible {
  display: flex;
  flex-direction: column;
  opacity: 1;
  transform: translateY(0);
}

.ccb-banner.ccb-hiding {
  opacity: 0;
  transform: translateY(12px);
}

.ccb-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.ccb-close:hover {
  background: #f3f4f6;
  color: #111;
}

.ccb-text {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  margin-right: 2rem;
  color: #000;
}

.ccb-link {
  color: #3b82f6;
  text-decoration: underline;
  white-space: nowrap;
}

.ccb-toggle-label {
  font-size: 13px;
  color: #374151;
  flex: 1;
}

.ccb-switch {
  flex-shrink: 0;
  width: 44px;
  height: 24px;
  border-radius: 9999px;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  position: relative;
  transition: background 0.3s ease;
  padding: 0;
}

.ccb-switch.ccb-switch--on {
  background: var(--wci-color);
}

.ccb-switch-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.3s ease;
  display: block;
}

.ccb-switch.ccb-switch--on .ccb-switch-thumb {
  left: 22px;
}

.ccb-btn {
  height: 40px;
  font-size: 14px;
  cursor: pointer;
  border: 2px solid transparent;
}

.ccb-btn--primary {
  background: var(--wci-color);
  color: #fff;
  border-color: var(--wci-color);
}

.ccb-btn--primary:hover {
  opacity: 0.85;
}

.ccb-btn--outline {
  background: transparent;
  color: var(--wci-color);
  border-color: var(--wci-color);
}

.ccb-btn--outline:hover {
  background: #f0f9f9;
}
#billing_country_field{
  display: none !important;
}
.woocommerce-billing-fields .woocommerce-billing-fields__field-wrapper{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.woocommerce-billing-fields .woocommerce-billing-fields__field-wrapper p{
  flex:calc(50% - 5px);
}
.woocommerce-billing-fields .woocommerce-billing-fields__field-wrapper #billing_first_name_field{
  order: 1;
}
.woocommerce-billing-fields .woocommerce-billing-fields__field-wrapper #billing_phone_field{
  order: 2;
}
.woocommerce-billing-fields .woocommerce-billing-fields__field-wrapper #billing_state_field{
  order: 3;
}
.woocommerce-billing-fields .woocommerce-billing-fields__field-wrapper #billing_city_field{
  order: 4;
}
.woocommerce-billing-fields .woocommerce-billing-fields__field-wrapper #billing_address_1_field{
  order: 5;
}
@media (max-width: 480px) {
  .ccb-banner {
    right: 12px;
    bottom: 100px;
    width: calc(100vw - 24px);
  }
}

.single-product #prod-full-desc ul,.single-product .prod-desc-content ul{
      list-style: disc;
    padding-left: 2rem;
}
/* #menu-main-navigation>li:last-child a,#menu-main-navigation-1>li:last-child a{
  color:red !important;
  font-weight:bold !important;
} */

/* Holiday Popup Styles */
.hp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.hp-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.hp-overlay.is-open .hp-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.hp-modal {
  position: relative;
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 800px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
  transform: translateY(28px) scale(0.97);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hp-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #555;
  z-index: 2;
  transition: background 0.2s ease, color 0.2s ease;
}

.hp-close:hover {
  background: #f0f0f0;
  color: #1a1a1a;
}

.hp-layout {
  display: flex;
  min-height: 420px;
}

.hp-img-col {
  flex: 0 0 45%;
  max-width: 45%;
  overflow: hidden;
  border-radius: 16px 0 0 16px;
}

.hp-img-col .hp-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  display: block;
}

.hp-form-col {
  flex: 1;
  padding: 44px 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hp-header {
  margin-bottom: 28px;
}

.hp-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
  line-height: 1.3;
}

.hp-title strong {
  color: #c8a96e;
}

.hp-subtitle {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.hp-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hp-field {
  position: relative;
  margin-bottom: 1rem;
}

.hp-field:last-child {
  margin-bottom: 0;
}

.hp-label {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  font-size: 0.875rem;
  color: #999;
  pointer-events: none;
  transition: top 0.2s ease, font-size 0.2s ease, color 0.2s ease, transform 0.2s ease;
  background: #fff;
  padding: 0 4px;
  line-height: 1;
}

.hp-label .hp-req {
  color: #e33;
}

.hp-input:not(:-moz-placeholder)~.hp-label {
  top: 0;
  transform: translateY(-50%);
  font-size: 0.72rem;
  color: #1a1a1a;
}

.hp-input:not(:placeholder-shown)~.hp-label,
.hp-input:focus~.hp-label {
  top: 0;
  transform: translateY(-50%);
  font-size: 0.72rem;
  color: #1a1a1a;
}

.hp-input {
  width: 100%;
  height: 50px;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: #1a1a1a;
  background: #fff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hp-input:focus {
  border-color: #1a1a1a;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.07);
}

.hp-input.hp-has-error {
  border-color: #e33 !important;
}

.hp-error-msg {
  display: block;
  font-size: 0.75rem;
  color: #e33;
  margin-top: -10px;
  margin-bottom: 0.75rem;
  padding-left: 2px;
}

.hp-field-action {
  margin-top: 8px;
}

.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hp-btn:hover:not(:disabled) {
  background: #b08d50;
  transform: translateY(-1px);
}

.hp-btn:active:not(:disabled) {
  transform: translateY(0);
}

.hp-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.hp-btn .hp-btn-loader {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: hp-spin 0.7s linear infinite;
}

.hp-btn.is-loading .hp-btn-text {
  display: none;
}

.hp-btn.is-loading .hp-btn-loader {
  display: inline-block;
}

@keyframes hp-spin {
  to {
    transform: rotate(360deg);
  }
}

.hp-alert {
  display: none;
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  margin-top: 14px;
}

.hp-alert.hp-alert--success {
  display: block;
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.hp-alert.hp-alert--error {
  display: block;
  background: #fdecea;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

@media (max-width: 640px) {
  .hp-layout {
    flex-direction: column;
  }

  .hp-img-col {
    /* flex: 0 0 220px; */
    max-width: 100%;
    height: 100%;
    border-radius: 16px 16px 0 0;
  }

  .hp-form-col {
    padding: 1rem;
  }

  .hp-title {
    font-size: 1.2rem;
  }

  .hp-subtitle {
    display: none;
  }

  .hp-header {
    margin-bottom: 0px;
    text-align: center;
  }
}
#menu-item-1107665 a,.menu-item-1107665 a{
  color: red !important;
  font-weight: bold !important;
}