/********** Template CSS **********/

:root {
  --primary: #113d23;
  --secondary: #c40403;
}

img {
  max-width: 100%;
  height: auto;
}

@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 14px;
  line-height: 1.7;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

p:last-of-type {
  margin-bottom: 0;
}

a {
  text-decoration: none;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

.btn-custom {
  display: inline-block;
  background: linear-gradient(
    277.29deg,
    var(--secondary) 39.61%,
    #fcb72b 114.5%
  );
  color: white;
  padding: 7px 30px;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.85;
  text-transform: capitalize;
  border-top-right-radius: 30px;
  border-bottom-left-radius: 30px;
}

.btn-custom:hover {
  filter: brightness(1.12);
}
.btn-custom.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.icon-box {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  width: 100%;
}

.icon-box-img {
  flex: 0 0 auto;
  margin-bottom: 0;
  max-width: 200px;
}

.icon-box.left .icon-box-text {
  flex: 1 1 0px;
}

.icon-box.left .icon-box-img + .icon-box-text {
  padding-left: 8px;
}

.icon-box.left h3 {
  margin-bottom: 0;
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-size: 50px;
}

.images-box {
  position: relative;
  overflow: hidden;
}

.images-box::before {
  content: "";
  padding-top: 100%;
  display: block;
}

.images-box .img,
.images-box a {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.images-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-title h6 {
  color: var(--secondary);
  line-height: 2.2;
  text-transform: uppercase;
}

.section-title h3 {
  color: var(--primary);
  text-transform: capitalize;
  letter-spacing: 0.96px;
  margin: 0;
}

/*** Button ***/

.btn.btn-primary,
.btn.btn-secondary {
  color: white;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 8px;
}

.btn-toggle:focus {
  box-shadow: none;
}

/*** Navbar ***/

.header {
  transition: all 0.4s ease;
}

.header__top {
  background: var(--primary);
  color: white;
  padding: 12px 0;
}

.header__top__content ul {
  font-size: 12px;
  line-height: 1.7;
}

.header__top__content ul,
.header__top__content a {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__top__content a {
  color: white;
  gap: 8px;
}

.header__top__content a span {
  display: block;
}

.navbar-white {
  background: white;
}

.navbar-white .navbar-nav .nav-link {
  position: relative;
  margin-left: 30px;
  padding: 17px 0;
  font-size: 15px;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 500;
  outline: none;
  transition: 0.5s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.navbar-white .navbar-nav li.active .nav-link {
  font-weight: 700;
}

.navbar-white .navbar-nav .nav-link:hover,
.navbar-white .navbar-nav li.active .nav-link {
  color: var(--primary);
}

.navbar-white .navbar-brand h1 {
  color: var(--white);
}

.logo a {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
}

.navbar-white .navbar-brand img {
  transition: 0.5s;
}

.cart-button {
  position: relative;
}
.cart-count {
  position: absolute;
  right: -10px;
  top: -10px;
  width: 18px;
  height: 18px;
  background: #ee1926;
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
}

.nav-right,
.search-heart {
  display: flex;
  align-items: center;
  gap: 20px;
}

.search-heart img {
  height: 21px;
}

#searchModal .input-group input[type="text"],
#searchModal .input-group input[type="text"]::placeholder {
  color: white;
}

#searchModal .input-group input[type="text"]:focus {
  box-shadow: none;
}

.language-wrapper img {
  width: 20px;
}

.language-wrapper {
  position: relative;
  display: flex;
  gap: 5px;
}

.language-wrapper a.lang-defaul {
  background: #f4f4f4;
  padding: 5px 12px;
  border-radius: 20px;
}

.language-wrapper a {
  display: flex;
  align-items: center;
  gap: 4px;
  color: black;
  font-size: 13px;
  line-height: 1.9;
}

.language-wrapper ul.dropdown {
  list-style: none;
  padding: 0;
  margin: 0;
  position: absolute;
  left: -7px;
  top: 40px;
  width: 110px;
  background: white;
  color: black;
  z-index: 99;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.language-wrapper:hover ul.dropdown {
  opacity: 1;
  visibility: visible;
}

.language-wrapper ul.dropdown a {
  padding: 5px 12px;
}

.offcanvas-header {
  width: 100%;
  text-align: left;
}

@media (max-width: 991px) {
  .toggle-language {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .offcanvas-header .btn-close {
    border-radius: 0;
    opacity: 1;
    padding: 10px 20px;
  }

  .offcanvas-header .btn-close:focus {
    box-shadow: none;
  }

  .language-menu a {
    color: gray;
  }

  .sticky-top.navbar-white {
    position: relative;
    background: #ffffff;
  }

  .navbar .offcanvas {
    border: 0;
    background: #ececec;
    max-width: 80%;
    z-index: 1200;
  }

  .offcanvas-header {
    padding: 10px;
    background: white;
    align-items: center;
  }

  .offcanvas-header img {
    width: 70px;
  }

  .search-project-frm {
    padding: 1px 10px;
    margin: 10px 0;
    width: 100%;
  }

  .search-project-frm input[type="text"] {
    border: 0;
  }

  .navbar .offcanvas-body {
    padding: 0;
  }

  .navbar .navbar-nav {
    gap: 12px;
    padding: 16px;
    background: white;
  }

  .navbar-white .navbar-brand img {
    width: 70px;
  }

  .navbar-white .navbar-nav .nav-link,
  .sticky-top.navbar-white .navbar-nav .nav-link {
    padding: 10px 0;
    margin-left: 0;
  }

  .navbar-white .navbar-nav .nav-link {
    flex-direction: initial;
    gap: 5px;
  }
}

@media (min-width: 992px) {
  .navbar-white {
    width: 100%;
  }

  .sticky-top.navbar-white {
    position: fixed;
    background: #ffffff;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .navbar-white .navbar-nav .nav-link {
    margin-left: 16px;
    font-size: 13px;
  }

  .nav-right,
  .search-heart {
    gap: 12px;
  }
}

@media (max-width: 767px) {
  .nav-right,
  .language-wrapper {
    display: block;
  }

  .language-wrapper a:not(:last-child) {
    margin-bottom: 12px;
    display: inline-block;
  }
}

/*** Hero Header ***/

.header-carousel .owl-carousel-item {
  position: relative;
}

.content-carousel {
  position: absolute;
  left: 42%;
  top: 62%;
  width: 100%;
}

.header-carousel .hs-item {
  height: 100%;
  min-height: 690px;
}

.set-bg {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
}

.content-slide h4 {
  font-size: 48px;
  line-height: 60px;
  color: var(--white);
  margin-bottom: 24px;
  text-transform: capitalize;
}

.content-slide {
  color: white;
  font-size: 15px;
  line-height: 1.6;
}

.header-carousel .owl-dots {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.header-carousel .owl-dots .owl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}

.header-carousel .owl-dots .owl-dot.active {
  background: #ffd98b;
}

.header-carousel .owl-dots .owl-dot.active span {
  background: var(--white);
}

.bottom-image {
  position: absolute;
  z-index: 1;
  bottom: 0;
  right: 0;
}

@media (max-width: 991px) {
  .header-carousel .owl-dots {
    max-width: 100%;
    width: 95%;
  }
}

@media (max-width: 767px) {
  .header-carousel img {
    height: 280px;
    object-fit: cover;
  }

  .content-slide {
    font-size: 12px;
  }

  .header-carousel .owl-dots {
    width: 100%;
    bottom: 35px;
  }

  .header-carousel .owl-dots,
  .bottom-image {
    display: none;
  }
}

/*** Section Title ***/

.title-arian h4 {
  margin-bottom: 0;
  font-size: 24px;
  line-height: 40px;
  color: var(--black);
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

/*** About ***/

.about {
  background: url("../img/bg-about.png") center no-repeat;
  background-size: cover;
  padding-top: 48px;
  padding-bottom: 90px;
}

.content-wrapper h5 {
  text-transform: capitalize;
}

.content-wrapper img {
  display: block;
  margin: 17px 0 32px;
}

.content-wrapper h3 {
  text-align: center;
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-size: 60px;
  text-transform: capitalize;
}

.content-wrapper p {
  font-family: "Great Vibes", cursive;
  font-size: 32px;
  line-height: 1.5;
  margin: 0;
}

.content-wrapper.bottom h4 {
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-size: 38px;
  text-align: left;
}

.content-wrapper h6 {
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-size: 36px;
}

.content-wrapper.bottom img {
  margin: 0;
}

.feature-card {
  padding: 12px;
  background: white;
  box-shadow: 0px 2px 19.9px 0px #f6ecd8;
  border-radius: 18px;
  height: 100%;
}

.feature-card {
  font-size: 13px;
  line-height: 1.68;
}

.feature-card .icon-box {
  align-items: flex-start;
}

.feature-card h6 {
  font-size: 15px;
  line-height: 1.5;
}

/*** Artisan ***/

.artisan {
  background-image: var(--artisan-bg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.artisan-image {
  border-radius: 20px;
}

.artisan-image::before {
  padding-top: 110%;
}

.artisan-image.right {
  margin-top: 75px;
}

.artisan-content h6 {
  color: #f1c366;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 2.5;
  text-transform: uppercase;
}

.artisan-content h4 {
  line-height: 1.45;
  text-transform: capitalize;
}

.artisan-content h2 {
  color: #ffd98b;
  line-height: 1.1;
  text-transform: capitalize;
  margin-bottom: 20px;
}

.artisan-content blockquote {
  margin: 20px 0 32px;
  border-left: 1px solid #fcb72b;
  padding-left: 24px;
  font-style: italic;
  color: #ffd98b;
}

.artisan-content a.btn-custom {
  padding-left: 87px;
  padding-right: 87px;
}

@media (min-width: 768px) {
  .artisan {
    padding: 250px 0 75px;
    margin-top: -48px;
  }
}

@media (min-width: 1500px) {
  .artisan {
    padding-top: 100px;
  }
}

@media (max-width: 767px) {
  .artisan {
    padding: 100px 0 75px;
  }

  .artisan-image::before {
    padding-top: 130%;
  }

  .artisan-content h4 {
    font-size: 20px;
  }
}

/*** Collection ***/

.filter-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
}

.filter-btn {
  border: 0;
  padding: 8px 24px;
  background: transparent;
  color: var(--primary);
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.85;
  text-transform: capitalize;
  border-top-right-radius: 30px;
  border-bottom-left-radius: 30px;
}

.filter-btn.active {
  background: var(--primary);
  color: white;
}

.product-image {
  border-radius: 4px;
  margin-bottom: 24px;
}

.product-image img {
  transition: all 0.5s ease;
}

.product-image a:hover img {
  transform: scale(1.2);
}

.product-content h6 {
  font-family: "Plus Jakarta Sans", sans-serif;
  line-height: 1.75;
}

.product-content h6 a {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: black;
}

.product-content h6 a:hover {
  color: var(--primary);
}

.option-select {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.option-item {
  position: relative;
  margin: 0;
  cursor: pointer;
}

.option-select input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.option-select .checkmark {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: 400;
  font-size: 12px;
  color: black;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  transition: all 0.3s;
  box-shadow: 0px 0px 4px 0px #00000040;
  cursor: pointer;
}
.option-select .option-select__item--color .checkmark {
  width: 22px;
  height: 22px;
}

.option-select .checkmark:hover,
.option-select input:checked + .checkmark {
  background: var(--secondary);
  color: white;
}
.option-select .checkmark.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.option-select .checkmark.disabled,
.option-select .checkmark.is-out {
  position: relative;
  opacity: 0.6;
}

.option-select .checkmark.disabled::after,
.option-select .checkmark.is-out::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 15%;
  width: 70%;
  border-top: 1px solid #888;
  transform: rotate(-45deg);
}

/* Màu sắc: chấm màu lấy từ cột color của biến thể */
.option-select .checkmark--swatch,
.option-select .checkmark--swatch:hover,
.option-select input:checked + .checkmark--swatch {
  background: var(--data-color);
  box-shadow: 0 0 0 1px #ddd;
}

.option-select .checkmark--swatch:hover {
  box-shadow:
    0 0 0 2px white,
    0 0 0 3px #ccc;
}

.option-select input:checked + .checkmark--swatch {
  box-shadow:
    0 0 0 2px white,
    0 0 0 4px #000;
}

.product-single__option:not(:last-child) {
  margin-bottom: 15px;
}

.product-price ins {
  font-weight: 500;
  text-decoration: none;
  color: var(--secondary);
}

.view-more {
  margin-top: 8px;
}

.view-more a {
  position: relative;
  display: inline-block;
  color: var(--secondary);
  font-family: "Caramel", cursive;
  font-size: 20px;
  line-height: 1.4;
}

.view-more a::after {
  content: "";
  background: var(--secondary);
  width: 100%;
  height: 1px;
  position: absolute;
  bottom: 0;
  left: 0;
}

.view-more a:hover {
  color: var(--primary);
}

.view-more a:hover::after {
  background: var(--primary);
}

@media (max-width: 991px) {
  .product-image::before {
    padding-top: 110%;
  }
}

/*** Testimonial ***/

.testimonial {
  background: #faf8f3;
}

.testimonial-item .images-box {
  border-radius: 4px;
  margin-bottom: 20px;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.testimonial-item:hover .images-box {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

@media (max-width: 767px) {
  .testimonial-content {
    font-size: 12px;
  }
}

/*** Team ***/

.sign {
  background-image: var(--sign-bg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.btn-sign {
  padding-left: 43px;
  padding-right: 43px;
}

/*** Footer ***/

.footer {
  background-image: var(--footer-bg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.footer-info ul {
  margin-top: 24px;
}

.footer-info li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-info li:last-child {
  margin-bottom: 0;
}

.footer-info-nav li {
  margin-bottom: 0;
}

.footer-info-nav h5 {
  line-height: 1.75;
  letter-spacing: 0.96px;
  text-transform: capitalize;
}

.footer-info-nav a {
  display: block;
  color: black;
  line-height: 2.3;
}

.footer-info-nav a:hover {
  color: var(--primary);
}

.footer-info-nav ul {
  margin: 0;
}

.copyright {
  border-top: 1px solid #dcdcdc;
  margin-top: 48px;
  padding: 25px 0 40px;
}

.nav-policy a {
  color: black;
  position: relative;
}

.nav-policy a:not(:last-child) {
  padding-right: 10px;
}

.nav-policy a:not(:last-child)::after {
  content: "•";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* ----------------------------------- Other Pages Styles ----------------------------------- */

/*---------------------
  Product Page
-----------------------*/

.page-header {
  background-image: var(--header-bg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: ">";
}

.breadcrumbs-single .breadcrumb-item + .breadcrumb-item::before {
  color: white;
}

.breadcrumbs-single li.active {
  color: #ffd98b;
}

.filter-box {
  border-radius: 20px;
  border: 1px solid #e2e2e2;
}

.filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  padding: 20px 20px 14px;
  border-bottom: 1px solid #eee;
}

.filter-head h5 {
  margin: 0;
}
.filter-head .clear-all {
  font-size: 12px;
  color: var(--secondary);
  text-decoration: underline;
  cursor: pointer;
}

/* ===== Mỗi nhóm lọc ===== */
.filter-list {
  padding: 18px 20px;
  border-bottom: 1px solid #eee;
}

.filter-list:last-child {
  border-bottom: none;
}

.filter-list h6 {
  font-family: "Plus Jakarta Sans", sans-serif;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #4d4d4d;
  margin-bottom: 14px;
}

/* ===== Checkbox tùy chỉnh ===== */

.filter-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: #333;
  margin-bottom: 12px;
  cursor: pointer;
}

.filter-check:last-child {
  margin-bottom: 0;
}

.filter-check input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.filter-check .box {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  border: 1.5px solid #aaa;
  border-radius: 3px;
  position: relative;
  transition: 0.2s;
}

.filter-check:hover .box {
  border-color: var(--primary);
}

.filter-check input:checked + .box {
  background: var(--primary);
  border-color: var(--primary);
}

.filter-check input:checked + .box::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.filter-check input:focus-visible + .box {
  outline: 2px solid #1a73e8;
  outline-offset: 2px;
}

/* ===== Kích thước ===== */
.size-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.size-item {
  position: relative;
  cursor: pointer;
  margin: 0;
}

.size-item input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.size-item span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 30px;
  padding: 0 8px;
  font-size: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  color: #333;
  transition: 0.2s;
}

.size-item:hover span {
  border-color: var(--secondary);
}

.size-item input:checked + span {
  background: var(--secondary);
  border-color: var(--secondary);
  color: white;
}

.size-item input:focus-visible + span {
  outline: 2px solid #1a73e8;
  outline-offset: 2px;
}

/* ===== Màu sắc ===== */

.color-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.color-item {
  position: relative;
  cursor: pointer;
  margin: 0;
}

.color-item input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.color-item span {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #ddd;
  box-shadow: 0 0 0 2px white inset;
  transition: 0.2s;
}

.color-item input:checked + span {
  box-shadow:
    0 0 0 2px white,
    0 0 0 4px var(--primary);
}

.color-item input:focus-visible + span {
  outline: 2px solid #1a73e8;
  outline-offset: 3px;
}

.consult {
  padding: 18px 16px;
  margin: 18px 20px;
  text-align: center;
  background: #fbf6ec;
  border: 1px solid var(--secondary);
  border-radius: 6px;
  outline: 1px solid rgba(201, 161, 90, 0.4);
  outline-offset: -5px;
  font-size: 10px;
  line-height: 1.6;
}

.consult h4 {
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  line-height: 1.3;
  color: #a3141a;
}

.consult p {
  margin-bottom: 12px;
}

.consult a {
  display: inline-block;
  color: var(--secondary);
  border-bottom: 1px solid var(--secondary);
}

.list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.total {
  color: #4d4d4d;
}

.toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 6px 12px;
  border-radius: 10px;
  background: #faf8f6;
}

.toolbar-right label {
  font-size: 12px;
  color: #666;
  margin: 0;
}

.toolbar-right select {
  font-size: 12px;
  padding: 5px 28px 5px 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background-color: white;
  cursor: pointer;
}

.toolbar-right select:focus {
  outline: 0;
  border-color: var(--primary);
}

.view-switch {
  display: flex;
  gap: 4px;
  border: 1px solid #d6d3d1;
  border-radius: 8px;
  overflow: hidden;
}

.view-btn {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: white;
  color: #a7a29f;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}

.view-btn.active {
  color: #7f170e;
  background: #f5f5f4;
}

.view-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

@media (max-width: 991px) {
  .filter-head h5 {
    font-size: 18px;
  }
}

/*---------------------
  Product Detail Page
-----------------------*/

.crumb-bar {
  background: #fafafa;
  font-size: 13px;
  line-height: 2.7;
}

.crumb-bar a {
  color: #5c5c5c;
}

.crumb-bar li.active {
  color: var(--primary);
  flex-wrap: 500;
}

.gallery {
  display: flex;
  gap: 16px;
}

.thumbs-wrap {
  flex: 0 0 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.thumbs {
  height: 360px;
  overflow: hidden;
  width: 100%;
  scroll-behavior: smooth;
}

.thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.12;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid transparent;
  margin-bottom: 12px;
  cursor: pointer;
  opacity: 0.85;
  transition: 0.2s;
}

.thumbs-down {
  border: 0;
  background: transparent;
  color: #888;
  padding: 4px;
}

.main-img {
  flex: 1;
}

.main-img img {
  display: block;
  width: 100%;
  aspect-ratio: 1.08 / 1;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.share {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0 88px;
  font-size: 12px;
  font-weight: 500;
}

.share a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: white;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s;
}

.share a:hover {
  transform: translateY(-2px);
}

.share .fb {
  background: #3b5998;
}

.share .ms {
  background: #3884f7;
}

.share .pin {
  background: var(--secondary);
}

.share .tw {
  background: #03a9f4;
}

.share .lnk {
  background: #8a8a8a;
}

.share svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: white;
  stroke-width: 2;
  stroke-linecap: round;
}

h1.p-title {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 0;
}

.p-sku {
  line-height: 2.3;
}

.p-sku span {
  color: #0473b2;
}

.p-meta {
  font-size: 13px;
  color: #606060;
  margin-bottom: 16px;
}

.p-meta span {
  color: #d0d0d0;
}

.p-price {
  display: flex;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid #f1f1f1;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.p-price ins {
  color: var(--secondary);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.35;
  text-decoration: none;
}

.p-price del {
  line-height: 2.3;
  color: black;
}

.sale-deal {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}

.sale-deal .off {
  display: inline-block;
  padding: 2px 8px;
  background: var(--secondary);
  color: white;
}

.sale-deal .deal {
  color: var(--secondary);
}

.info-title i {
  color: #a3141a;
}

.info-title h6 {
  margin-bottom: 0;
}

.info-row {
  font-size: 10px;
  line-height: 2.35;
}

.info-row i {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  margin-right: 4px;
}

.info-row.stock b {
  color: var(--primary);
}

.ship-box {
  margin-top: 12px;
  padding: 8px 10px;
  background: #fbf6ec;
  border: 1px solid #e8dbbc;
  border-radius: 6px;
  /*font-size: 9.5px;*/
  line-height: 1.55;
  color: #555;
}

.ship-box .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  color: #7f170e;
}

.ship-box .tag {
  display: inline-block;
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
  color: #bf9c41;
  background: #eee4ce;
  padding: 1px 6px;
  border-radius: 3px;
}

.opt-label {
  font-family: "Playfair Display", serif;
}

.opt-label span {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  color: #7b0908;
}

.opt-label .guide {
  float: right;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 12px;
  color: #666;
  text-decoration: underline;
}

.size-list.detail span {
  border-radius: 50%;
  height: 34px;
  box-shadow: 0px 0px 4px 0px #00000040;
}

/* Số lượng */
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
}
.qty button {
  width: 36px;
  height: 32px;
  border: 0;
  background: #fff;
  font-size: 18px;
  color: #444;
}
.qty button:hover {
  background: #f3f3f3;
}

.qty input {
  width: 56px;
  height: 32px;
  border: 0;
  border-radius: 0;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  text-align: center;
  font-size: 13px;
}

.qty input:focus {
  outline: 0;
}

.group-button {
  display: flex;
  align-items: center;
  gap: 20px;
}

.group-button button {
  border: none;
  border-radius: 8px;
  width: 100%;
}

.tailoring {
  background: var(--primary);
}

.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 70px;
  margin-bottom: 30px;
  padding: 0;
  list-style: none;
}

.tabs-nav button {
  position: relative;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  text-transform: uppercase;
  color: black;
  padding: 0 0 12px;
}

.tabs-nav button:hover,
.tabs-nav button:focus {
  color: black;
}

.tabs-nav button::after {
  content: "";
  background: transparent;
  width: 93px;
  height: 3px;
  position: absolute;
  bottom: 0;
  left: 0;
}

.tabs-nav button.active::after {
  background: var(--secondary);
}

.desc-title {
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 16px;
}

.review-list h2 {
  font-size: 28px;
  line-height: 1.1;
  margin-bottom: 12px;
}

.review-title {
  color: #dc593b;
  text-align: center;
  font-size: 24px;
  margin-bottom: 8px;
}

.review-title span {
  display: inline-block;
  font-weight: 700;
  font-size: 36px;
}

.box-rating {
  text-align: center;
  color: #dc593b;
}

.review-filter {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.review-filter button {
  border-radius: 0;
  border: 1px solid #dddddd;
  padding: 8px 16px;
}

.review-filter button:hover,
.review-filter button.active {
  color: #dc593b;
  border-color: #dc593b;
}

.review-item {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid #dddddd;
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.review-image {
  width: 5%;
}

.review-image img {
  width: 100%;
  border-radius: 50%;
  overflow: hidden;
}

.review-content {
  flex: 1;
}

.review-content h6 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 500;
}

.rating {
  color: #dc593b;
  margin-bottom: 8px;
}

.review-content .meta {
  color: #777;
  margin-bottom: 8px;
}

.review-content a {
  color: #7d7d7d;
  display: inline-block;
  text-transform: capitalize;
}

.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus {
  box-shadow: none;
  border-color: #dee2e6;
}

.send-review {
  border: none;
  padding: 12px 56px;
}

.pagination {
  gap: 10px;
}

.page-link {
  color: #4c4c4c;
  font-weight: 500;
  line-height: 24px;
  border-radius: 4px;
  border: 1px solid #f6f6f6;
}

.page-link:hover,
.active > .page-link,
.page-link.active {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.policy-list {
  list-style: disc;
  padding-left: 24px;
}

.product-related {
  background: #faf8f3;
}

@media (max-width: 991px) {
  .group-button {
    gap: 12px;
  }

  .nav-wrapper {
    margin-bottom: 30px;
  }

  .tabs-nav {
    column-gap: 30px;
    margin-bottom: 0;
  }

  .review-list h2 {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .gallery {
    flex-direction: column-reverse;
  }

  .thumbs-wrap {
    flex-direction: row;
    flex: none;
  }

  .thumbs {
    display: flex;
    gap: 8px;
    height: auto;
    width: auto;
    overflow-x: auto;
  }

  .thumbs img {
    width: 64px;
    margin: 0;
    flex: 0 0 auto;
  }

  .thumbs-down {
    display: none;
  }

  .share {
    margin-left: 0;
  }

  .p-price {
    flex-wrap: wrap;
    row-gap: 16px;
  }

  .group-button {
    flex-wrap: wrap;
  }

  .review-image {
    width: 10%;
  }

  .review-title,
  .box-rating {
    text-align: left;
  }

  .nav-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    white-space: nowrap;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
  }

  .nav-wrapper ul {
    flex-wrap: nowrap;
  }
}

/* Cart offcanvas */
#cartPanel {
  --bs-offcanvas-width: min(510px, 100vw);
  color: #111;
  z-index: 1000000000;
}
#cartPanel .offcanvas-header {
  min-height: 66px;
  padding: 14px 16px;
  border-bottom: 1px solid #ebebeb;
}
#cartPanel .offcanvas-title {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
}
#cartPanel .btn-close {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid #ebebeb;
  border-radius: 50%;
  background-size: 12px;
}
#cartPanelContent {
  padding: 0 16px 12px;
  overflow: hidden;
}
.cart-panel__content {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.cart-panel__items {
  flex: 1 1 auto;
  /* overflow-y: auto; */
}
.cart-panel__item {
  display: flex;
  /* grid-template-columns: 46px minmax(0, 1fr) auto; */
  gap: 10px;
  padding: 16px 0;
  border-bottom: 1px solid #f1f1f1;
}
.cart-panel__info {
  flex: 1;
}
.cart-panel__image {
  flex: 0 0 46px;
}
.cart-panel__image img {
  width: 46px;
  height: 46px;
  border-radius: 3px;
  object-fit: cover;
}
.cart-panel__name {
  display: block;
  color: #111;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}
.cart-panel__variant {
  margin-top: 2px;
  color: #b4a4a5;
  font-size: 13px;
}
.cart-panel__price {
  margin-top: 5px;
  color: #ef4056;
  font-size: 16px;
}
.cart-panel__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  /* min-width: 96px; */
}
.cart-panel__remove {
  padding: 0 2px;
  border: 0;
  color: #99a0a7;
  background: transparent;
  font-size: 12px;
}
.cart-panel__quantity {
  display: flex;
  height: 32px;
  border: 1px solid #e4e4e4;
  border-radius: 4px;
}
.cart-panel__quantity button,
.cart-panel__qty {
  border: 0;
  color: #111;
  background: transparent;
  line-height: 1;
}
.cart-panel__quantity button {
  font-size: 21px;
  width: 21px;
  flex: 0 0 31px;
  font-family: "Arial";
  line-height: 31px;
}
.cart-panel__qty {
  font-size: 13px;
  font-weight: 600;
  flex: 0 0 34px;
  width: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-panel__empty {
  padding: 60px 0;
  color: #777;
  text-align: center;
}
.cart-panel__empty i {
  font-size: 42px;
}
.cart-panel__footer {
  flex: 0 0 auto;
  padding-top: 12px;
  border-top: 1px dashed #e4e4e4;
}
.cart-panel__utilities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-bottom: 12px;
  border-bottom: 1px dashed #e4e4e4;
}
.cart-panel__utilities button {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  padding: 0 3px;
  border: 0;
  color: #807071;
  background: transparent;
  font-size: 12px;
  white-space: nowrap;
}
.cart-panel__utilities i {
  color: #555;
  font-size: 15px;
}
.cart-panel__total {
  display: flex;
  justify-content: space-between;
  padding-top: 10px;
  font-size: 14px;
}
.cart-panel__total span {
  color: #ef4056;
  font-size: 17px;
}
.cart-panel__coupon-note {
  color: #bbb;
  font-size: 12px;
  text-align: right;
}
.cart-panel__checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  margin-top: 12px;
  border-radius: 25px;
  color: #fff;
  background: #fb633e;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.cart-panel__checkout:hover {
  color: #fff;
  background: #ed5330;
}
.cart-panel__checkout i {
  margin-left: 3px;
  font-size: 22px;
}
@media (max-width: 575.98px) {
  #cartPanel .offcanvas-title {
    font-size: 23px;
  }
  .cart-panel__utilities button {
    font-size: 10px;
  }
}
/* end cart */

/*waiting-process*/
.waiting-process {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff75;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*waiting-process*/

/* product review */
.product-detail--review {
  margin-top: 20px;
}

.product-detail--review .review-title {
  font-size: 16px;
  margin-bottom: 12px;
  font-weight: 700;
}

.review-box--title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-box--title .title {
  color: #fd9727;
  font-weight: 700;
  font-size: 36px;
}

.box-rating {
  color: #fd9727;
}

.review-total {
  color: #3669a4;
}

.star_lines ul {
  list-style: none;
  padding: 0;
  margin-bottom: 0;
}

.star_lines li {
  overflow: hidden;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.line-rating {
  width: 70%;
  background: #dedede;
  height: 7px;
  border-radius: 5px;
}

.line-rating .percent {
  background: #fd9727;
  height: 100%;
}

.star_lines li span.count {
  font-weight: 700;
}

.review-btn p {
  line-height: 54px;
}

.btn-red {
  background: var(--primary);
  color: black;
  padding: 12px 24px;
  font-weight: 700;
  white-space: nowrap;
  margin-top: 20px;
}

.btn-red:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  border-radius: 0;
}

#productInfo .btn-close:focus,
.close-modal .btn-close:focus {
  box-shadow: none;
}

.rating-form h5 {
  font-size: 24px;
  text-align: center;
  padding-top: 16px;
  margin-bottom: 12px;
}

.rating-form .form-group {
  margin-top: 40px;
}

.rating-form .form-group label {
  font-size: 24px;
  margin-bottom: 12px;
}

.rating-selection input {
  position: absolute;
  left: -9999px;
}

.rating-selection label svg {
  width: 32px;
  height: 32px;
  fill: #fbbf24;
  transition: fill 0.3s;
}

.rating-selection input:hover ~ label svg,
.rating-selection input:checked ~ label svg {
  fill: #fd9727;
}

.rating-selection label:hover svg {
  fill: #fd9727;
}

.review-box--title-btn h5 {
  font-size: 16px;
  line-height: 28px;
  margin-bottom: 12px;
}

.review-btn--group a {
  border: 2px solid #a8a8a5;
  border-radius: 12px;
}

.review-btn--group a:hover {
  border-color: #fd9727;
  background: #fd9727;
  color: white;
}

.comment-form h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.comment-form textarea {
  min-height: 80px;
  margin-bottom: 5px;
}

.comment-form--file-send {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.comment-form--file label {
  cursor: pointer;
  color: #a8a8a5;
}

.product-other .nav-tabs li button:hover,
.product-other .nav-tabs li button.active {
  border-bottom-color: var(--primary);
}

.product-other .tab-scroll {
  margin-bottom: 10px;
}

#productInfo .modal-header {
  border-bottom: none;
}

#productInfo .modal-header h1 {
  font-size: 18px;
  line-height: 28px;
  max-width: 85%;
  margin-bottom: 0;
}

.slide_popup-img-big .owl-prev,
.slide_popup-img-big .owl-next {
  width: 22px;
  height: 40px;
  margin-top: -20px;
  position: absolute;
  top: 50%;
}

.slide_popup-img-big .owl-prev {
  left: 10px;
}

.slide_popup-img-big .owl-next {
  right: 10px;
}

@media (max-width: 767px) {
  .comment-form textarea {
    min-height: 100px;
  }
}
/* end product review */

/* rate_thongke */
.review-group__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.review-num {
  font-weight: 700;
  font-size: 32px;
  color: #fa7c1c;
}

/*.review-star i {
  color: var(--light-6);
}*/

.review-btn {
  background: transparent;
  border: 1px solid #cccccc;
  border-radius: 8px;
  padding: 8px 20px;
}

.review-btn i {
  color: #ffd56c;
}

.review-btn.active {
  color: #ff3838;
  border-color: #ff3838;
}

.review-overview {
  color: #f00;
  font-size: 36px;
  font-weight: 500;
}

.rate {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
  gap: 10px;
  font-size: 13px;
  color: #9a9a9a;
}

.rate-start {
  text-align: right;
  flex: 0 0 35px;
}

.rate-progress-bar {
  background: #dedede;
  display: block;
  height: 7px;
  flex: 1;
  border-radius: 4px;
}

.rate-progress-bar .full {
  background: #fd9727;
  width: 50%;
  height: 100%;
  border-radius: 4px;
}

.rate-num {
  color: #3669a4;
  width: 100px;
}

.review-share p {
  line-height: 24px;
  font-size: 12px;
  margin-bottom: 6px;
}

.review-share button {
  background: #337fff;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
}

.review-note .note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #e8e8e8;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  border-top: none;
  padding: 5px;
}

.review-star .radio-group label.active,
.review-star .radio-group label:hover {
  color: #f5a623;
}

/* end rate_thongke */
/*product review*/

.review-star .radio-group {
  display: flex;
  flex: 1;
}

.review-star .radio-group div {
  display: flex;
}

.review-star .radio-group label {
  cursor: pointer;
  padding: 0 3px;
  color: #cacaca;
  text-align: center;
  font-weight: normal;
  margin: 0;
  font-size: 18px;
}

/*.review-star .radio-group input:checked+label,*/
.review-star .radio-group label.active,
.review-star .radio-group label:hover {
  color: #f5a623;
}

.review-star .radio-group input {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  pointer-events: none;
}

#review label {
  font-weight: bold;
}

#review input,
#review textarea {
  font-size: 14px;
  padding: 7px;
}

.up_picture_rate label {
  cursor: pointer;
}

.up_picture_rate input {
  opacity: 0;
}

.view_thumbnail {
  display: inline-block;
  position: relative;
  padding: 5px;
  margin: 5px;
  border: 1px solid #eee;
  border-radius: 5px;
}

.view_thumbnail .btn {
  color: #f00;
  background-color: #fff;
  border-color: #f00;
  position: absolute;
  right: -5px;
  top: -5px;
  border-radius: 50%;
  z-index: 99;
  font-size: 12px;
  padding: 3px 5px;
  line-height: 1;
  width: 20px;
  height: 20px;
}

.review-star .voted {
  color: #fd9727;
}

.text-write-vote {
  color: #646e57;
  font-weight: 600;
}

.review-detail {
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #d9d9d9;
}

.r-date {
  /*    font-size: 14px;*/
  color: #878787;
}

.r-name {
  font-size: 14px;
}

.r-name b {
  /*  font-size: ;*/
}

.icon-replies-count {
  color: #2f80ed;
  font-size: 13px;
  cursor: pointer;
}

.box_reply {
  display: none;
  border: 1px solid #dadada;
  padding: 5px;
  padding-left: 15px;
  border-radius: 3px;
  position: relative;
  margin: 10px 0 5px;
  background: #f1f1f1;
}

.box_reply:after,
.box_reply:before {
  bottom: 100%;
  left: 30px;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

.box_reply:after {
  border-color: rgba(136, 183, 213, 0);
  border-bottom-color: #f1f1f1;
  border-width: 9px;
  margin-left: -9px;
}

.box_reply:before {
  border-color: rgba(194, 225, 245, 0);
  border-bottom-color: #dadada;
  border-width: 10px;
  margin-left: -10px;
}

.list_rate_title {
  display: inline-block;
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
  font-size: 13px;
  margin-bottom: 10px;
  margin-top: 5px;
}

.reply_item .list_rate_title span {
  color: #4bab02;
  font-size: 14px;
  font-weight: bold;
}

.count-comment {
  position: absolute;
  right: 15px;
  font-size: 13px;
  color: #f15a34;
}

.count-comment span {
  color: #333;
}

.count-comment span.error {
  color: #f15a34;
}

#aniimated-thumbnials img {
  max-height: 65px;
}

/*product review*/
