:root {
  --black-color: rgba(19, 19, 19, 1);
  --red-color: rgba(237, 28, 36, 1);
  --main-font: "Oswald", sans-serif;
  --sub-font: "Montserrat", sans-serif;
  --white: #fff;
  --light-grey-color: #f5f5f5;
  --padding-header: 10px 0;
  --btn-disable: #e5e5e5;
  --padding-control: 2px 12px;
  --lightbold: 400;
  --semibold: 500;
  --bold: 600;
  --red: #ed1c24;
  --black: #131313;
  --black72: #727272;
  --blue: #177cd8;
  --drop-shadow: 0px 2px 8px 0px rgba(99, 99, 99, 0.35);
}
body {
  font-family: var(--main-font) !important ;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
a {
  text-decoration: none !important;
  color: inherit !important;
}

#spinner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7) !important;
  display: none;
  z-index: 999999;
}
.wrapper {
  max-width: 1400px;
  margin: 0 auto;
}

.main-header {
  display: flex;
  align-items: center;
}

.main-nav {
  width: 100%;
  margin-left: auto;
}
.slab-rack-left-h1{
  font-size: 32px;
  font-weight: bold;
  font-family: var(--sub-font);
}

.bg-menu {
  position: relative;
  left: calc(-50vw + 50%);
  width: 100vw;
  background-color: var(--black-color);
  padding: var(--padding-header);
  height: 68px;
}
.menu-dropdown {
  position: relative;
}
.menu-dropdown .dropdown {
  position: absolute;
  top: 100%;
  left: 100%;
  transform: translateX(-50%);
  display: none;
  background: white;
  border-radius: 4px;
  padding: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 100;
  min-width: 205px;
}

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

.menu-dropdown .dropdown ul li a {
  color: black;
  text-decoration: none;
}

.menu-dropdown .dropdown-arrow {
  position: absolute;
  top: -10px;
  left: 15%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid white;
}

.bg-lang-switcher {
  position: relative;
  left: calc(-50vw + 50%);
  width: 35vw;
  background-color: var(--red);
  padding: var(--padding-header);
  height: 68px;
  z-index: 10;
}

.dropdown-button {
  border: none;
  background: unset;
  outline: none;
}

.dropdown-button i {
  width: 16px;
  margin-left: -9px;
  color: #fff;
}
.account-wrapper {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  background-color: white;
  min-width: 180px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 999;
  padding: 10px 0;
  border-radius: 5px;
}

.dropdown-menu a {
  color: var(--black);
  padding: 10px 20px;
  display: block;
  text-decoration: none;
}

.dropdown-menu a:hover {
  background-color: #f5f5f5;
}

.menu {
  display: flex;
  list-style: none;
  margin-right: 23px;
  background: var(--black-color);
  justify-content: space-between;
  color: #fff;
}
.logo a img {
  width: 100%;
}
.menu li a {
  display: block;
  padding: 10px 16px;
  color: var(--white);
  text-decoration: none;
  font-weight: 400;
  text-transform: uppercase;
  position: relative;
}
.dropdown_a {
  font-family: var(--sub-font);
  font-weight: 500 !important;
  color: #000 !important;
  padding: 5px !important;
  font-size: 14px;
  transition: all 0.5s;
}
.dropdown_a:hover {
  background: var(--btn-disable);
}
.menu li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: var(--white);
  transition: width 0.3s;
}

.menu li a:hover::after {
  width: 100%;
}

.lang-switcher {
  color: var(--white);
  padding: 10px 5px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 20;
  overflow: visible;
  font-family: var(--sub-font);
}
.language-current {
  display: flex;
  align-items: center;
  gap: 20px;
}
.language-current-flag img {
  width: 32px;
}
.language-dropdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 10px;
  background: var(--white);
  border: 1px solid #ccc;
  border-radius: 4px;
  position: absolute;
  top: 43px;
  left: 111px;
  z-index: 9999;
  max-width: 200px;
}

.language-dropdown-form {
  display: flex;
  justify-content: center;
  align-items: center;
}
.language-dropdown-button {
  background: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s;
}

.language-dropdown-button:hover .language-dropdown-img {
  transform: scale(1.1);
}
.manual-card-image.hover-not-available {
  position: relative;
}
.disabled-button {
  pointer-events: none;
  opacity: 0.6;
  cursor: not-allowed;
}
.manual-card-image.hover-not-available img {
  opacity: 0.4;
  transition: opacity 0.3s ease;
}
.manual-card-image.hover-not-available::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/new_layout/new_images/not-available.png') center center no-repeat;
  background-size: contain;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.manual-card-image.hover-not-available:hover::after {
  opacity: 1;
}



.search-manual{
  border: 1px solid #eee;
  border-radius: 4px;
}
.search-manual input[type="text"] {
  padding-left: 10px; 
}
.language-dropdown-img {
  width: 30px;
  height: auto;
  display: block;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

.rest_header {
  position: relative;
  background-color: var(--light-grey-color);
  z-index: 1;
}
.line {
  width: 100%;
  height: 1px;
  background: var(--black);
  margin: 10px 0;
  opacity: 0.8;
}
.search-count{
  font-size: 20px;
  font-weight: 400;
}
.search-word{
  font-size: 20px;
  font-weight: 600;
}
.middle_header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  max-width: 100%;
  font-family: var(--sub-font);
  flex-wrap: wrap;
}
.dropdown-button {
  background: unset;
}
.dropdown-custom {
  border: none !important;
}
.dropdown-custom a {
  padding: 10px !important;
  font-size: 14px !important;
  font-weight: 500;
}
.search {
  position: relative;
  flex: 0 0 35%;
  height: 44px;
  font-family: var(--sub-font);
}
.search-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 14px;
  transition: all 0.5s;
  padding: 4px;
}
.search-item:hover {
  background: var(--btn-disable);
}
.icon-time {
  margin-right: 8px;
  color: #333;
}

.search-term {
  flex-grow: 1;
  cursor: pointer;
}

.remove-btn {
  background: none;
  border: none;
  color: #003344;
  font-size: 16px;
  cursor: pointer;
}
.search input[type="text"] {
  width: 100%;
  padding: 10px 40px 10px 40px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}
.input_type-email {
  width: 100%;
  padding: 10px 40px 10px 40px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.search .icon {
  position: absolute;
  right: 10px;
  top: 46%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #aaa;
}
.search-dropdown {
  display: none;
  position: absolute;
  background: #fff;
  border: 1px solid #ccc;
  width: 100%;
  z-index: 999;
  padding: 15px;
}

.search-section {
  margin-bottom: 20px;
}

.search-title {
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.box-item {
  width: 85px !important;
  border: 1px solid var(--btn-disable);
}
.search-products a {
  transition: all 0.5s;
}
.search-products a:hover {
  background: var(--btn-disable);
}
.box-item_name {
  width: 100%;
  word-wrap: break-word;
}

.search-tags button {
  background: #eee;
  border: none;
  margin: 5px;
  padding: 5px 10px;
  cursor: pointer;
}

.product-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.product-item img {
  width: 60px;
  margin-right: 15px;
}

.product-name {
  margin: 0;
  font-weight: 500;
}

.product-code {
  color: red;
  margin: 0;
}

.cart {
  display: flex;
  align-items: center;
  position: relative;
  /* flex: 0 0 14%; */
  gap: 10px;
}
.cart-icon,
.account-icon {
  position: relative;
  cursor: pointer;
}
.account-icon {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-icon img {
  width: 32px;
  height: 32px;
}
.account-icon img {
  width: 23px;
  height: 23px;
}
.arrow-support {
  left: 23% !important;
}
.cart-count {
  position: absolute;
  top: -4px;
  right: -10px;
  background-color: var(--red-color);
  color: white;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 50%;
}

/* middle_header */
.header-product-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.header-product-icons {
  display: flex;
  align-items: center;
  gap: 15px;
}
.header-product-icon a img {
  width: 32px !important;
  height: 32px !important;
}

.phone a,
.mail a {
  text-decoration: none !important;
  color: var(--black);
  margin: 5px;
  font-family: var(--sub-font);
  font-weight: 500;
}
.mail {
  padding-top: 5px;
}
.middle_header-mid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  flex-wrap: wrap;
}
.middle_header-mid-product {
  flex: 0 0 39%;
}
.middle_header-mid-product-items {
  display: flex;
  align-items: center;
  gap: 15px;
}
.middle_header-mid-social {
  font-family: var(--sub-font);
  font-weight: var(--semibold);
}
.middle_header-mid-product-items a img {
  width: 100%;
}
.middle_header-mid-social-items {
  display: flex;
  align-items: center;
  gap: 15px;
}
.middle_header-mid .social {
  flex: 0 0 12%;
}
.middle_header-mid-social-items li {
  list-style: none;
}
.middle_header-mid-social-items li a img {
  width: 100%;
  height: 100%;
}
/* bottom header */
.bottom_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.bottom_header-left-items {
  display: flex;
  gap: 30px;
  margin: 0;
  font-family: var(--sub-font);
}
.bottom_header-left-items li {
  list-style: none;
}
.bottom_header-left-items li a {
  text-decoration: none;
  color: var(--black);
  position: relative;
  font-weight: var(--semibold);
}
.bottom_header-left-items li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  top: 20px;
  width: 0%;
  height: 3px;
  margin-top: 5px;
  background-color: var(--black-color);
  transition: width 0.3s;
}
.type-selector-inner select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  font-size: 14px;
  color: #333;
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.type-selector-inner select:focus {
  border-color: var(--red); 
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.2);
}

.bottom_header-left-items li a:hover::after {
  width: 100%;
}
.bottom_header-right a {
  color: var(--black);
  font-weight: bold;
  text-decoration: none !important;
}
.all-product-dropdown-wrapper {
  position: relative;
}
.menu-toggle.active-menu {
  color: var(--red);
}
.menu-toggle {
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-block;
  padding: 10px;
}

.dropdown-menu-header {
  display: none;
  position: absolute;
  top: 64px;
  right: 7px;
  background: white;
  padding: 20px;
  border: 1px solid #eee;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.dropdown-menu-header a {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-decoration: none;
  color: var(--black);
  padding: 10px;
  border: 1px solid var(--btn-disable);
  transition: all 0.2s ease;
  gap: 20px;
}

.dropdown-menu-header a:hover {
  border-color: var(--btn-disable);
  background: var(--btn-disable);
  opacity: 0.8;
}

.dropdown-menu-header img {
  max-width: 80px;
  height: auto;
  margin-bottom: 10px;
}

.dropdown-menu-header span {
  font-size: 14px;
  width: 50%;
  text-transform: uppercase;
  word-wrap: break-word;
}
.dropdown-menu-header::after {
  content: "";
  position: absolute;
  top: -40px;
  right: 17px;
  border-width: 20px;
  border-style: solid;
  border-color: transparent transparent white transparent;
}

/* carousel */
.carousel-inner .item img {
  width: 100%;
  height: 540px;
}
.carousel-inner {
  position: relative;
}
.carousel-button a {
  position: absolute;
  bottom: 130px;
  left: 380px;
  background: var(--red);
  padding: 10px 60px;
  color: #fff !important;
  text-decoration: none !important;
  letter-spacing: 2.38px;
  transition: all 0.5s;
  font-weight: 500;
  font-family: var(--sub-font);
}

/* best seller */
.carousel-product {
  position: relative;
  overflow: hidden;
  width: 100%;
}
.best-seller-section {
  padding: 40px 0;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 0;
}

.section-header-h2 {
  color: var(--red);
  font-weight: bold;
  font-size: 24px;
  text-transform: uppercase;
  margin: 0;
}

.view-all {
  background: #f7f7f7;
  padding: 10px 20px;
  text-decoration: none;
  color: black;
  font-weight: bold;
  border: 1px solid #eee;
}

.view-all span {
  color: var(--red);
  margin-left: 5px;
}

.carousel-inner {
  overflow: hidden;
}

.product-wrapper {
  display: flex;
  margin: 0 70px;
  gap: 25px;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
  overflow: hidden;
  position: relative;
}
.swiper {
  width: 100%;
  padding: 20px 0 !important;
  margin-left: 50px !important;
}
.swiper-wrapper-container {
  position: relative;
  display: flex;
  align-items: center;
}

.swiper-button-prev,
.swiper-button-next {
  top: 50%;
  transform: translateY(-50%);
  color: #000;
  position: unset;
}
.swiper-button-prev.custom-prev {
  margin-right: 20px;
}

.swiper-button-next.custom-next {
  margin-left: 20px;
}
.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 24px !important;
}
.swiper-button-next.custom-next {
  border-radius: unset !important;
  width: 40px !important;
  height: 40px !important;
  background-color: var(--red) !important;
  color: #fff !important;
}
.swiper-button-prev.custom-prev {
  border-radius: unset !important;
  width: 40px !important;
  height: 40px !important;
  background-color: var(--black) !important;
  color: white !important;
}
.swiper-button-next.swiper-button-disabled {
  background-color: rgba(114, 114, 114, 0.45) !important;
  opacity: 1 !important;
  cursor: not-allowed !important;
  opacity: 0.35 !important;
  color: #727272 !important;
}
.swiper-button-next.swiper-button-disabled:hover {
  opacity: 0.8 !important;
}
.swiper-button-prev.swiper-button-disabled {
  background-color: rgba(114, 114, 114, 0.45) !important;
  cursor: not-allowed !important;
  opacity: 0.35 !important;
  color: #727272 !important;
}
.swiper-button-prev.custom-prev,
.swiper-button-next.custom-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.swiper-button-prev.custom-prev {
  left: 0px;
}

.swiper-button-next.custom-next {
  right: 0px;
}
.swiper-button-prev.custom-prev,
.swiper-button-next.custom-next {
  position: relative;
  width: 60px;
  height: 60px;
  background: #f5f5f5;
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.swiper-slide {
  display: flex;
  justify-content: center;
}
.swiper-slide-history{
  display: unset;
}
.product-card {
  border: 1px solid #eee;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.4s;
}


.section-header-slab-lifter-h2 {
  color: var(--black);
  font-size: 28px;
  font-weight: bold;
}
.product-card:hover {
  scale: 1.03;
}

.product-card img {
  width: 100%;
  height: auto;
  padding: 5px 0;
}

.product-card .name {
  font-weight: var(--semibold);
  margin-bottom: 5px;
  padding: 0px 10px;
  font-size: 16px;
  font-family: var(--sub-font);
  text-align: left;
}

.product-card .code {
  font-weight: var(--semibold);
  color: var(--red);
  padding: 0px 10px;
  font-size: 16px;
  font-family: var(--main-font);
  text-align: left;
}
.carousel-control-product {
  position: absolute;
  width: 40px;
  background: none;
  color: var(--black);
  opacity: 1;
  text-shadow: none;
  top: 50%;
  transform: translateY(-50%);
  height: 60px;
  line-height: 60px;
  font-size: 24px;
}

.left-product.carousel-control-product {
  left: 0px;
  border: none;
}

.right-product.carousel-control-product {
  right: 0px;
  border: none;
}
.carousel-product .left-product span {
  padding: var(--padding-control);
  background: #d9d9d9;
}
.black-button span {
  background: var(--black) !important;
  color: #fff !important;
}
.carousel-product .right-product span {
  padding: var(--padding-control);
  background: var(--red);
  transition: all 0.5s;
  color: #fff;
}

.gray-button span {
  background: #d9d9d9 !important;
  color: var(--black) !important;
}
.carousel-product .right-product span:hover {
  opacity: 0.8;
}
.best-seller-button {
  padding: 7px 45px;
  border: none;
  transition: all 0.3s;
  background: #f5f5f5;
  color: var(--black);
  font-size: 16px;
  font-weight: var(--semibold);
  text-decoration: none !important;
  font-family: var(--sub-font);
  display: flex;
  gap: 10px;
  align-items: center;
}
.best-seller-button:hover {
  background-color: var(--red);
  color: #fff;
}

.best-seller-button:hover i {
  color: #fff !important;
}
/* history */
.history {
  background-color: var(--light-grey-color);
  padding: 30px 0 180px 0;
  position: relative;
  z-index: 1;
}
.timeline-container-h1 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
}
.timeline-container p {
  text-align: center;
  font-size: 14px;
  font-family: var(--sub-font);
  font-weight: var(--semibold);
  padding-bottom: 30px;
}

.subtext {
  font-size: 16px;
  color: #555;
  margin-bottom: 40px;
}

.timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding-top: 70px;
}
.selector-form{
  width: max-content !important;
}
.event {
  width: 180px;
  height: 170px;
  text-align: center;
  background: #d9d9d9;
  flex: 1 1 10%;
  position: relative;
  overflow: visible;
  transition: all 0.5s;
}
.event:hover{
  scale: 1.13;
}
.event .description {
  position: absolute;
  width: 285px;
  font-size: 14px;
  color: #727272;
  text-align: left;
  line-height: 1.4;
  max-width: 400px;
}
.event .date {
  font-weight: bold;
  font-family: var(--main-font);
  font-size: 20px;
  text-align: left;
  margin-top: 15px;
  color: #727272;
}
.event:nth-child(odd) .description {
  bottom: 157px;
  left: 15px;
  z-index: 2;
}

.event:nth-child(even) .description {
  bottom: -173px;
  left: 15px;
  z-index: 2;
}
.event:nth-child(odd) .description:last-of-type {
  bottom: 173px;
  left: 15px;
}

.event .date-now {
  margin-top: 5px;
  color: var(--red);
}

/* odd 1 3 5 above div */
.event:nth-child(odd)::before {
  content: "";
  position: absolute;
  top: -103px;
  left: 2%;
  width: 1px;
  height: 87px;
  background-color: black;
  z-index: 2;
  transform: translateX(-50%);
}

.event:nth-child(odd)::after {
  content: "";
  position: absolute;
  top: -16px;
  left: 2%;
  width: 6px;
  height: 6px;
  background-color: black;
  border-radius: 50%;
  z-index: 2;
  transform: translateX(-50%);
}

/* even 2 4 6 under div */
.event:nth-child(even)::before {
  content: "";
  position: absolute;
  bottom: -126px;
  left: 2%;
  width: 1px;
  height: 87px;
  background-color: black;
  z-index: 2;
  transform: translateX(-50%);
}

.event:nth-child(even)::after {
  content: "";
  position: absolute;
  bottom: -42px;
  left: 2%;
  width: 6px;
  height: 6px;
  background-color: black;
  border-radius: 50%;
  z-index: 2;
  transform: translateX(-50%);
}

.event-large {
  flex: 1 1 25%;
}
.event-img {
  display: flex;
  gap: 10px;
  width: 100%;
  height: 170px;
}
.event-img img {
  width: calc(33.333% - 7px);
  height: 95%;
  padding: 5px 10px;
}
.event img {
  height: 95%;
  padding: 5px;
}
/* vaccum lifter */
.section-header-vaccum-h2 {
  color: var(--black);
  font-size: 28px;
  font-weight: bold;

}
/* Slab Rack */
.section-header-slab-bundle-h2 {
  color: var(--black);
  font-size: 28px;
  font-weight: bold;
}
.slab-rack {
  background-color: var(--black-color);
  padding: 40px 0;
}
.slab-rack-content {
  display: flex;
  align-items: center;
  color: #fff;
  justify-content: space-around;
  gap: 20px;
}
.slab-rack-left h1 {
  font-family: var(--sub-font);
  font-weight: bold;
  font-size: 32px;
}
.slab-rack-left p {
  margin: 20px 0;
  font-family: var(--sub-font);
  font-size: 14px;
  font-weight: 500;
}
.slab-rack-left-social {
  display: flex;
  align-items: center;
  gap: 15px;
}
.slab-rack-left-social a img {
  width: 120px;
  height: 40px;
}
.slab-rack-right img {
  width: 588px;
  height: 389px;
}

/* news */
.news {
  margin-bottom: 70px;
}
.news-content {
  display: flex;
  gap: 15px;
  width: 100%;
}
.section-header-news-h2 {
  color: var(--black);
  font-size: 28px;
}
.news-content-left {
  width: 60%;
}
.news-content-right {
  width: 40%;
}
.news-content-left-img {
  height: auto;
  position: relative;
}
.news-content-left-img img {
  width: 100%;
  height: 100%;
}
.news-content-left-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  color: white;
  box-sizing: border-box;
  padding: 13px;
  z-index: 2;
}
.news_page-content-title {
  padding-bottom: 15px;
}
.news-content-left-text-h1 {
  color: #fff;
  font-family: var(--sub-font);
  font-weight: bold;
  font-size: 20px;
}

.line-news {
  width: 100%;
  height: 1px;
  background: var(--black);
  margin: 30px 0;
  opacity: 0.8;
}
.error-404-text{
  color: var(--black72);
  font-weight: 400;
}
.date {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #727272;
  font-family: var(--sub-font);
}
.news-content-left-text p {
  font-size: 14px;
  font-family: var(--sub-font);
  font-weight: var(--lightbold);
  margin: 17px 0;
}
.news-content-left-text .date img {
  width: 24px;
  height: 24px;
}
.news-content-left-text .date span {
  color: #fff;
  font-size: 14px;
  font-weight: var(--lightbold);
  font-family: var(--sub-font);
}
.news-content-left-img {
  position: relative;
  overflow: hidden;
}
.over_lay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}
.news-content-right-item-h1 {
  font-size: 16px;
  font-weight: bold;
  font-family: var(--sub-font);
}
.news-content-right-item p {
  font-size: 14px;
  font-weight: var(--lightbold);
  font-family: var(--sub-font);
  margin: 15px 0;
}
.news-content-right-item .date .calendar-icon {
  color: #727272;
}

.news-content-right-item .date span {
  font-size: 14px;
  color: #727272;
  font-weight: var(--lightbold);
}
/* EMAIL SIGNUP */
.email-signup {
  text-align: center;
  background: var(--light-grey-color);
  padding: 40px 20px;
}

.email-signup-h2 {
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-family: var(--main-font);
}

.email-description {
  font-size: 14px;
  color: var(--black);
  font-family: var(--sub-font);
}

.signup-form {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
  flex-wrap: wrap;
  font-family: var(--sub-font);
}

.signup-form input {
  padding: 12px 15px;
  font-size: 16px;
  border: 1px solid #333;
  width: 285px;
  box-sizing: border-box;
}

.signup-form button {
  padding: 10px 30px;
  background: var(--red);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.5s;
  font-weight: var(--semibold);
}

.signup-form button:hover {
  opacity: 0.8;
}

.email-note {
  font-size: 12px;
  color: #777;
  max-width: 600px;
  margin: 0 auto;
  font-family: var(--sub-font);
  line-height: 1.5;
}

/* footer */
.site-footer {
  background-color: var(--black);
  color: white;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 50px 0px;
  margin: 0 auto;
}

.footer-column {
  flex: 1 1 220px;
  margin-bottom: 30px;
}
.footer-column p {
  font-family: var(--sub-font);
}
.footer-logo {
  width: 150px;
  margin-bottom: 10px;
}

.slogan {
  margin: 20px 0 70px 0;
  font-size: 14px;
}

.footer-heading {
  color: var(--red);
  font-weight: bold;
  margin-bottom: 25px;
  font-size: 24px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
  font-size: 14px;
  cursor: pointer;
  font-family: var(--sub-font);
}
.social-icons a {
  text-decoration: none !important;
}
.social-icons a:nth-child(2) {
  margin: 0 10px;
}
.social-icons a:nth-child(3) {
  margin-right: 10px;
}
.footer-column p {
  font-size: 14px;
  line-height: 1.6;
}
.flags {
  margin-top: 26px;
}
.flags img {
  width: 60px;
  height: 32px;
  margin-right: 8px;
  margin-top: 8px;
}
.footer-column .contact {
  margin-bottom: 25px;
}
.footer-column .address {
  margin-bottom: 50px;
}

.social-icons {
  margin-top: 15px;
  display: flex;
  align-items: center;
}

.footer-bottom {
  background-color: var(--red);
  text-align: center;
  padding: 20px 0;
  font-size: 14px;
  color: white;
  font-family: var(--sub-font);
}
.footer-bottom p {
  margin: unset;
}
.dropdown-menu-header.active {
  display: grid;
}
/* new page */
.news_page-img {
  position: relative;
}
.news_page-img img {
  width: 100%;
  height: 300px;
}
.over_olay-news {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}
.news_page-img h2 {
  position: absolute;
  color: #fff;
  font-weight: bold;
  font-size: 28px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.news_page-content {
  padding: 20px 0;
}
.news_page-img h2::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background-color: #fff;
  margin-top: 10px;
}
.news_page-content-heading {
  gap: 10px;
  font-family: var(--sub-font);
  align-items: center;
}
.news_page-content-heading-words {
  text-decoration: underline;
}
.news_page-content-heading span:nth-child(3) {
  font-size: 14px;
  font-family: var(--sub-font);
  text-decoration: underline;
  font-weight: var(--semibold);
  margin-right: 5px;
}
.news_page-content-heading span:nth-child(2) {
  font-size: 14px;
  font-family: var(--sub-font);
}
.news_page-content-title h1 {
  font-size: 28px;
  font-weight: bold;
  margin: 15px 0;
  text-transform: uppercase;
}
.news_page-content-title p {
  font-family: var(--sub-font);
  font-weight: 500;
}
.news_page-content-link {
  display: flex;
  gap: 15px;
  align-items: center;
}
.news_page-content-item-left {
  flex: 0 0 20%;
  margin-right: 15px;
}

.news_page-content-item-center {
  flex: 0 0 50%;
}
/* fix the a trong file news  */
.new_detail-content a { 
  color: #007bff !important;
  cursor: pointer;
}
.new_detail-content a:hover{ 
  text-decoration: underline !important;
}
.news_page-content-item-left img {
  width: 100%;
  height: auto;
}
.news_page-content-item-center h4 {
  font-weight: bold;
  font-size: 16px;
  font-family: var(--sub-font);
  word-wrap: break-word;
}
.news_page-content-item-center p {
  font-family: var(--sub-font);
  font-weight: var(--semibold);
  margin: 15px 0;
  width: 100%;
}
.news_page-content-item-right span {
  padding: 8px 25px;
  background-color: var(--red);
  color: #fff;
  font-weight: var(--lightbold);
  font-size: 16px;
  font-family: var(--sub-font);
}
.news_page-content-item-right span:hover {
  opacity: 0.8;
  color: #fff;
  text-decoration: none;
}
/* Pagination */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

.pagination a,
.pagination strong {
  margin: 0 6px;
  padding: 6px 12px;
  border: 1px solid #ccc;
  text-decoration: none;
  color: #333;
  border-radius: 4px;
}

.pagination strong {
  background-color: var(--btn-disable);
  color: var(--black);
  border: none;
}

.pagination a:hover {
  background-color: #f0f0f0;
}
/* new detail */
.new_detail-heading h1 {
  font-size: 32px;
  font-weight: bold;
  font-family: var(--sub-font);
  margin: 25px 0;
}
.date-sharing {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--black72);
}
.date-sharing .sharing {
  cursor: pointer;
}
.new_detail-content img {
  width: 100%;
  height: auto;
}
#copy-toast {
  visibility: hidden;
  min-width: 220px;
  background-color: #323232;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 12px 16px;
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
#copy-toast.show {
  visibility: visible;
  opacity: 1;
}
/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
  .wrapper {
    max-width: 95%;
  }

  .menu {
    align-items: center;
    padding: unset;
    flex-wrap: unset;
    justify-content: space-between;
    margin-right: unset;
    color: #fff !important;
    width: 100%;
    padding-left: 15px;
  }
  .menu li a {
    padding: 10px 3px;
    font-size: 14px;
  }
  .language-dropdown {
    left: 27px;
  }
  .lang-switcher {
    justify-content: center;
  }
  .middle_header-top {
    gap: 20px;
  }
  .logo a img {
    width: 100%;
  }
}
/* news detail */
.new_detail_page {
  padding: 40px 0;
  display: flex;
  gap: 35px;
}
.news_detail-left {
  width: 60%;
}
.news_detail-right {
  width: 35%;
  margin-left: 35px;
}
.line-newsdetai {
  margin: 15px 0 !important;
}
.new_detail-small-heading span:last-child {
  text-decoration: underline;
  font-weight: var(--semibold);
  font-family: var(--sub-font);
}
.news_detail-right-content {
  display: flex;
  align-items: center;
  gap: 10px;
}
.news_detail-right h5 {
  font-size: 16px;
  font-weight: bold;
  font-family: var(--sub-font);
  margin-bottom: 25px;
}
.news_detail-right-content-heading {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 100%;
  max-height: 100%;
  word-wrap: break-word;
}
.news_detail-right-content-heading h5 {
  font-family: var(--sub-font);
  font-weight: var(--semibold);
  margin-bottom: 30px;
  font-size: 14px;
}
.news_detail-right-content-img img {
  width: 135px;
  height: 92px;
}
.line-newsdetail {
  margin: 20px 0;
}
.new_detail-content-text {
  font-family: var(--sub-font);
  padding: 35px 0;
}
/* products page */
.product_page-wrapper {
  display: flex;
  gap: 50px;
  padding: 15px 0;
}
.product_page-img {
  position: relative;
}
.product_page-img img {
  width: 100%;
  height: auto;
}
.product_page-img h2 {
  position: absolute;
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--main-font);
}
.product_page-img h2::after {
  content: "";
  display: block;
  width: 50%;
  height: 3px;
  background-color: #fff;
  margin: 10px auto 0 auto;
}
.product_page-left-index {
  padding: 20px 0;
}
.product_page-left-index .product,
.product_page-left-index .category {
  font-family: var(--sub-font);
  font-weight: var(--semibold);
  text-decoration: underline;
}

.category-block {
  margin-bottom: 25px;
}

.parent-title {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 5px;
  display: flex;
  justify-content: space-between;
  color: var(--black);
}

.child-list {
  list-style: none;
  margin: 0;
  transition: all 0.3s ease;
}

.category-block.closed .child-list {
  display: none;
}
.line-products {
  margin: 10px 0;
}
.toggle-icon {
  margin-left: auto;
  font-weight: bold;
  color: red;
  transition: transform 0.2s;
  cursor: pointer;
}

.child-list li {
  font-size: 14px;
  padding: 3px 0;
  color: #000;
  font-family: var(--sub-font);
  font-weight: var(--lightbold);
  transition: all 0.5s;
}
.child-list li:hover {
  color: var(--red);
}

.product_page-left {
  width: 20%;
}
.product_page-right {
  width: 80%;
}
.search-pd_code {
  font-weight: var(--semibold);
  color: var(--red);
  font-size: 16px;
  margin: 0 8px;
}

.seach-h3 {
  font-size: 16px;
  margin: 10px 8px 5px 8px;
  font-family: var(--sub-font);
}
.product-card-page {
  width: calc(25% - 15px);
  border: 1px solid #eee;
  text-align: unset;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  flex-direction: column;
  justify-content: space-between;
}
.line-news-product {
  margin: unset;
  padding: unset;
}
.product-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.product-search{
  transition: all .4s;
}
.product-search:hover{
  scale: 1.03;
}

.product-box {
  border: 1px solid var(--btn-disable);
  display: block;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  transition: all 0.4s;
}
.product-box:hover{
  scale: 1.03;
}
.product-box img {
  width: 100%;
  object-fit: cover;
}
.product-card-page img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}
.product-box_name {
  font-size: 16px;
  margin: 10px 8px 5px 8px;
  font-family: var(--sub-font);
}
.product-box_code {
  font-weight: var(--semibold);
  color: var(--red);
  font-size: 16px;
  margin: 0 8px;
}
.product-card h3 {
  font-size: 16px;
  margin: 10px 8px 5px 8px;
  font-family: var(--sub-font);
}
.product-card .pd_code {
  font-weight: var(--semibold);
  color: var(--red);
  font-size: 16px;
  margin: 0 8px;
}
.price-cart {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 8px 8px 8px;
}
.price {
  font-weight: bold;
  font-size: 16px;
}
.add-to-cart {
  background-color: var(--red);
  color: white;
  border: none;
  padding: 5px 8px;
  cursor: pointer;
  transition: all 0.5s;
  font-family: var(--sub-font);
  max-width: 60%;
}
.add-to-cart:hover {
  opacity: 0.8;
}
.add-to-cart span {
  font-weight: bold;
  margin-left: 5px;
}
.pagination {
  margin-top: 20px;
  text-align: center;
}
.page-btn {
  display: inline-block;
  padding: 8px 12px;
  margin: 0 2px;
  border: 1px solid #ccc;
  text-decoration: none;
  color: black;
}
.item-box_pd-name {
  word-wrap: break-word;
}
.subcategory-card {
  max-width: 100%;
  border: 1px solid #eee;
  text-align: left;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.05);
  background-color: #fff;
  transition: 0.3s;
  margin-bottom: 20px;
}
.subcategory-card:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}
.subcategory-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.subcategory-thumbnail img {
  max-width: 90%;
  height: auto;
  margin-bottom: 10px;
  display: block;
  margin: 0 auto;
}
.subcategory-name {
  font-size: 16px;
  font-weight: 500;
}
.selection {
  display: flex;
  justify-content: space-between;
  color: var(--black72);
  font-family: var(--sub-font);
  font-weight: var(--semibold);
  padding-bottom: 50px;
}
.selection span {
  margin-top: 20px;
}
.selection-option {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.selection-option span {
  /* margin-right: 5px; */
  margin: unset;
}
.custom-dropdown {
  position: relative;
  width: 200px;
  cursor: pointer;
  border: 1px solid var(--btn-disable);
  border-radius: 4px;
  background: #fff;
}

.selected-option {
  padding: 10px 15px;
  background: #fff;
  position: relative;
  display: flex;
  color: var(--black);
}

.selected-option::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 5px;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='5' viewBox='0 0 10 5' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 4L9 1' stroke='%23ED1C24' stroke-linecap='round'/%3E%3C/svg%3E");

  background-repeat: no-repeat;
  background-size: contain;
}
.selected-option.changed::after {
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='5' viewBox='0 0 10 5' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9 4L5 1L1 4' stroke='%23ED1C24' stroke-linecap='round'/%3E%3C/svg%3E");
}
.dropdown-options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 10;
  background: white;
  border: 1px solid #ccc;
  max-height: 200px;
  overflow-y: auto;
  text-transform: uppercase;
  color: var(--black);
  text-align: center;
}

.dropdown-options li {
  padding: 10px 15px;
  transition: background 0.2s;
}

.dropdown-options li:hover {
  background: #f2f2f2;
}

.custom-dropdown.open .dropdown-options {
  display: block;
}
/* Detail product page */
.detail_product-page-index {
  margin-bottom: 45px;
}
.detail_product-page {
  padding: 50px 0;
  font-family: var(--sub-font);
}
.detail_product-page-index span:nth-child(2),
.detail_product-page-index span:nth-child(4) {
  text-decoration: underline;
  color: var(--black);
  font-weight: var(--semibold);
}
.detail_product-page-index .product,
.detail_product-page-index .product_name {
  text-decoration: underline;
  color: var(--black);
  font-weight: var(--semibold);
}
.detail_product-page-specs {
  display: flex;
  gap: 25px;
}
.detail_product-page-specs-left {
  width: 40%;
}
.detail_product-page-specs-right{
  width: 60% ;
}
#main-image {
  transition: opacity 0.3s ease-in-out;
  opacity: 1;
}
#main-image.fade-out {
  opacity: 0;
}
.detail-spec ul,
.detail-spec ul li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.product-code .price {
  margin-left: 70px;
  font-size: 16px;
}
.detail_product-page-specs-right .product-title {
  width: 100%;
  font-weight: bold;
  color: var(--black);
  font-size: 36px;
  margin: unset;
}
.detail_product-page-specs-right .product-code {
  font-size: 16px;
  color: var(--black);
  font-weight: var(--semibold);
  margin: 30px 0;
}
.detail_product-page-specs-right .product-code span {
  color: var(--red);
  font-weight: var(--semibold);
  font-family: var(--main-font);
}
.quantity-selector span {
  font-size: 16px;
  font-weight: var(--semibold);
}
.detail_product-page-specs-left img {
  width: 100%;
  height: auto;
  border: 1px solid var(--btn-disable);
}
.quantity-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 30px 0;
}
.quantity-selector .qty-minus,
.quantity-selector .qty-plus {
  padding: 2px 10px;
  font-family: var(--main-font);
  font-size: 16px;
  font-weight: var(--semibold);
  border: none;
}
.quantity-selector .qty-plus {
  background-color: var(--red);
  color: #fff;
}
button:focus {
  outline: unset !important;
}
.quantity-selector input {
  min-width: 40px;
  max-width: 80px;
  text-align: center;
  border: none;
  font-weight: bold;
}

.quantity-selector .add-to-cart {
  padding: 6px 20px;
}
.detail-spec h3 {
  font-weight: bold;
  font-size: 20px;
  text-transform: uppercase;
  font-family: var(--main-font);
}
.detail-spec table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-family: var(--sub-font);
  font-size: 16px !important;
  border-right: unset;
  border-left: unset;
}
table td:nth-child(2) div,
table td:nth-child(3) div {
  text-align: left !important;
}
.detail-spec table thead tr {
  background-color: var(--red);
  color: white;
  text-align: left;
  font-weight: bold;
}

.detail-spec tableth,
.detail-spec tabletd {
  padding: 12px 10px;
  border-bottom: 1px solid var(--black);
}

.detail-spec tableth:first-child {
  background-color: var(--red);
  color: white;
  font-weight: bold;
}
.detail-spec table:first-of-type tbody tr:first-child {
  border: none;
  border-bottom: 1px solid #000;
  background: var(--red);
}
.detail-spec table:first-of-type tbody tr:first-child td {
  color: #fff;
  font-size: 16px;
  font-weight: var(--semibold);
  border: none;
  border-bottom: 1px solid #000;
}
.detail-spec th,
.detail-spec td {
  border: none;
  border-bottom: 1px solid #000;
}
.detail-spec.full-width {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  max-width: none;
  padding: 1rem;
}

.detail-spec table td {
  font-weight: normal;
  color: var(--black);
  text-align: left !important;
}

.detail-spec table tr:last-child td {
  border-bottom: none;
}
.product-gallery {
  margin: 30px 0;
}
.gallery {
  display: flex;
  max-width: 100%;
  overflow-x: scroll;
  gap: 15px;
  padding: 20px;
  border: 1px solid var(--btn-disable);
}
.gallery img {
  width: 136px !important;
  height: auto !important;
  object-fit: contain;
}
.thumbnail-product_detail{
  cursor: pointer;
}
.video {
  background: var(--btn-disable);
  padding: 15px;
  margin-bottom: 30px;
}
.video h3 {
  font-weight: bold;
  font-size: 20px;
  color: var(--black);
}
.video h3 {
  font-weight: bold;
  margin-bottom: 20px;
}
.video-box {
  margin-bottom: 30px;
}

.video-bottom span img {
  width: 32px;
  height: 32px;
  margin-right: 5px;
}
.detail_product-page-cert {
  background: var(--black);
  color: #fff;
  padding: 30px 0;
}
.detail_product-page-cert-items {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
.detail_product-page-specs-right .product-title {
  font-size: 20px;
}
.detail_product-page-cert-item-icon {
  width: 50px;
  height: 50px;
}
.index_title {
  text-decoration: underline !important;
  font-size: 14px;
  font-family: var(--sub-font);
  font-weight: 500;
}
.detail_product-page-cert-item-icon img {
  width: 100%;
  height: 100%;
}

.detail_product-page-cert-item {
  display: flex;
  gap: 15px;
  align-items: center;
}
.detail_product-page-cert-item-content h4 {
  font-size: 16px;
  font-weight: bold;
  font-family: var(--sub-font);
}
.detail_product-page-cert-item-content p {
  margin-top: 10px;
  font-weight: var(--lightbold);
  font-family: var(--sub-font);
}
.detail_product-page-related-product {
  padding: 30px 0;
}
.detail_product-page-related-product h2 {
  font-size: 28px;
  font-weight: bold;
}
/* Sale - Policy */
.sales-policy-page {
  font-family: var(--sub-font);
}
.sales-policy-page-img {
  position: relative;
}
.sales-policy-page-img img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.sales-policy-page-img h2 {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  transform: translate(-50%, -50%);
  z-index: 2;
  font-family: var(--main-font);
}
.sales-policy-page-img h2::after {
  content: "";
  display: block;
  width: 50%;
  height: 3px;
  background-color: #fff;
  margin: 0 auto;
  z-index: 2;
  margin-top: 10px;
}
.over-lay-sale {
  height: 100%;
  z-index: 0;
}
.sales-policy-page-index {
  padding: 15px 0;
  gap: 10px;
  align-items: center;
}
.page-index-words {
  text-decoration: underline;
  font-family: var(--sub-font);
}
.sales-policy-page-index span:nth-child(3),
.sales-policy-page-index span:nth-child(5) {
  text-decoration: underline;
  font-family: var(--sub-font);
}
.sales-policy-page-content-title {
  text-align: center;
  margin-top: 20px;
}
.sales-policy-page-content-title h1 {
  font-size: 28px;
  font-weight: bold;
  font-family: var(--main-font);
  margin-bottom: 20px;
}
.sales-policy-page-content-title p {
  font-weight: var(--semibold);
  font-size: 16px;
}
.shipping-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.shipping-table th {
  border: none;
  font-weight: var(--semibold);
}
.shipping-table td {
  border: none;
  border-bottom: 1px solid var(--black);
  font-weight: var(--semibold);
}

.shipping-table th {
  background-color: var(--red);
  color: white;
  font-weight: var(--semibold);
  padding: 10px;
  text-align: center;
}

.shipping-table td {
  padding: 10px;
  text-align: center;
  vertical-align: top;
}

.shipping-table .section-heading td {
  font-weight: bold;
  text-align: left;
  padding: 12px;
}

.shipping-table .red {
  color: red;
  font-weight: bold;
}
.shiping-term {
  padding: 35px 0;
}
.order-info {
  line-height: 1.6;
  margin: 0 auto;
  color: var(--black);
  font-family: var(--sub-font);
}

.order-info h3 {
  margin-top: 30px;
  font-size: 16px;
  font-weight: bold;
}
.order-info p {
  font-weight: var(--semibold);
}
.order-info .note {
  font-size: 14px;
  font-weight: normal;
}

.order-info a {
  text-decoration: underline;
}

.order-format-table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
}

.order-format-table th {
  background-color: #e50000;
  color: #fff;
  padding: 10px;
  text-align: center;
}

.order-format-table td {
  text-align: center;
  padding: 10px;
  border-bottom: 1px solid var(--black);
  color: var(--black);
}

.dashed-note {
  padding: 10px;
  margin-top: 10px;
  font-weight: var(--semi-bold);
}

.no-list-style li {
  list-style-type: none;
  margin: 10px 0;
}
.sales-terms,
.custom-duties-taxes {
  margin-top: 30px;
  font-weight: var(--semibold);
}
.sales-terms p,
.custom-duties-taxes p {
  margin-bottom: 10px;
}

.sales-terms h3,
.custom-duties-taxes h3 {
  margin-top: 30px;
  font-size: 18px;
  font-weight: bold;
  color: var(--black);
}

.sales-terms ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}
/* distributor */
.distributor-page {
  font-family: var(--sub-font);
}
.distributor-wrapper {
  margin-top: 30px;
}

.distributor-box {
  border: 1px solid #ccc;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  overflow: scroll;
  background: #fff;
  max-height: 380px;
  height: 100%;
  margin: 0 15px;
}

.distributor-header {
  background-color: var(--red);
  color: #fff;
  padding: 10px 15px;
  font-weight: bold;
  font-size: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--main-font);
}

.flag-icon {
  width: 35px;
  height: auto;
}
.distributor-box.no-limit {
  max-height: none;
  overflow-y: scroll !important;
}

.distributor-body {
  display: flex;
  padding: 5px;
  gap: 15px;
  align-items: flex-start;
  max-height: 100%;
}

.distributor-box.no-limit .distributor-body {
  overflow-y: auto;
  max-height: 400px;
}
.distributor-body .logo img {
  width: 120px;
  height: auto;
  object-fit: contain;
}

.distributor-body .info {
  flex: 1;
  font-size: 14px;
  color: var(--black);
}

.distributor-body .info .company-name {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 5px;
  font-family: var(--sub-font);
}

.distributor-body .info p {
  margin: 4px 0;
  word-break: break-all;
}


.distributor-body .info a {
  color: var(--blue) !important;
  text-decoration: underline !important;
  word-break: break-all;
}

.distributor-body .info a:hover {
  text-decoration: underline;
}
.distributor-map {
  margin: 30px 0;
  border: 1px solid #ddd;
  background: var(--black);
  padding: 35px 15px;
}
#map_canvas {
  width: 50%;
  margin: 0 auto;
}
.distributor-page-heading {
  text-align: center;
}
.distributor-page-heading h1 {
  font-size: 28px;
  font-weight: bold;
  font-family: var(--main-font);
  text-transform: uppercase;
}
.distributor-page-heading p {
  font-size: 16px;
  font-weight: var(--lightbold);
  font-family: var(--sub-font);
}
.branch-grid {
  margin-top: 15px;
}
.branch-item {
  margin-bottom: 20px;
}
.branch-item p {
  margin-bottom: 5px;
}
/* Gallery */
.gallery-page {
  font-family: var(--sub-font);
}
.gallery-page-content {
  display: flex;
  gap: 20px;
  align-items: center;
}
.gallery-page-content h1 {
  font-weight: bold;
  font-size: 28px;
  font-family: var(--main-font);
  margin: unset;
}
.gallery-page-content p {
  margin: unset;
  font-weight: var(--semibold);
}
.gal_highlight-img {
  position: relative;
  height: 100%;
  width: 100%;
}
/* gal */
.gallery-item {
  padding: 10px;
  box-sizing: border-box;
}

.gallery-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1; 
  overflow: hidden;
  border: 1px solid var(--btn-disable);
}

.gallery-thumbnail img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; 
  transition: all .4s;
}

.gallery-caption {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 500;
}

.gallery-thumbnail img:hover {
  transform: scale(1.03);
}


.gal_highlight-img img {
  width: 100%;
}
.gal_box {
  width: 100%;
  height: 100%;
  border: 1px solid var(--btn-disable);
  padding: 5px;
}
.gal_box_link{
  display: block;
  height: 80%;
  max-height: 100%;
}
.gal_box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gal_box_p {
  width: 100%;
  font-size: 16px;
  font-weight: 500;
  margin-top: 5px;
}
.gal_highlight-img::after {
  position: absolute;
  content: "";
  width: 100%;
  background: rgb(0, 0, 0, 0.2);
  height: 20%;
  bottom: 0;
  left: 0;
}

.gal_highlight-img h1 {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  width: 60%;
  z-index: 2;
}

.lb-image {
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  max-height: 80vh;
  object-fit: cover;
  width: 100% !important;
  height: auto !important;
}

.lb-caption {
  top: 0;
  bottom: unset;
  color: #000;
  background: #fff;
  font-weight: 500;
  font-size: 16px;
  padding: 12px 20px;
  margin: 0;
  border-radius: 3px 3px 0 0;
  text-align: left;
}
.lightbox {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  height: auto !important;
  max-height: 90vh;
  z-index: 1050;
}
.lightbox .lb-image {
  border: none !important;
  border-radius: 0 !important;
  max-width: 100%;
  height: auto;
}

/* Hide image count */
.lb-number {
  display: none !important;
}
.lb-data{
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
}
.lb-data .lb-details{
  width: unset !important;
}
/* Position container relative to image but responsive */


.lb-details {
  margin: 0 !important;
}

.lb-data .lb-caption {
  font-family: var(--sub-font), sans-serif;
  font-weight: 500;
  font-size: 16px;
  padding: 0;
  background: transparent;
  color: #000;
}

.lb-data .lb-close {
  width: 40px;
  height: 40px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40' fill='none'><rect width='40' height='40' fill='%23ED1C24'/><path d='M10.3738 27.8211C9.8754 28.3195 9.8754 29.1276 10.3738 29.626C10.8722 30.1244 11.6803 30.1244 12.1787 29.626L19.9999 21.8049L27.8213 29.6262C28.3197 30.1246 29.1278 30.1246 29.6262 29.6262C30.1246 29.1278 30.1246 28.3197 29.6262 27.8213L21.8048 20L29.6262 12.1787C30.1246 11.6803 30.1246 10.8722 29.6262 10.3738C29.1278 9.8754 28.3197 9.8754 27.8213 10.3738L19.9999 18.1951L12.1787 10.374C11.6803 9.87561 10.8722 9.87561 10.3738 10.374C9.8754 10.8724 9.8754 11.6805 10.3738 12.1789L18.195 20L10.3738 27.8211Z' fill='white'/></svg>")
    no-repeat center center !important;
  background-size: contain !important;
  border: none;
  cursor: pointer;
}

.lb-close {
  top: 10px;
  right: 10px;
  background: #fff;
  width: 28px;
  height: 28px;
  border-radius: 3px;
  color: red;
  font-weight: bold;
  font-size: 24px;
  opacity: 1;
}
.lb-outerContainer {
  display: flex;
  flex-direction: column-reverse;
  background: unset !important;
  width: 100% !important;
  height: 80vh !important;
  padding: 0 20px;
}
.lb-dataContainer {
  order: -1;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  padding: 0 20px;
}
/* Đặt giới hạn khung bên ngoài bằng theo ảnh */
#lightbox {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Phần container chứa ảnh + caption */
.lb-outerContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
}


/* responsive lb */
.lb-dataContainer {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  flex-wrap: wrap;
}
.lb-closeContainer {
  flex-shrink: 0;
  margin-left: 10px;
}

/* Caption text */
.lb-data .lb-details {
  flex: 1;
  font-size: 16px;
  font-weight: 500;
  color: #000;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Nút đóng */
.lb-closeContainer {
  margin-left: 10px;
}

.lb-close {
  background-color: red !important;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  font-size: 20px;
  line-height: 28px;
  color: #fff;
  text-align: center;
  cursor: pointer;
  opacity: 1 !important;
}

/* Catalog */
.catalog-page-most-viewed {
  display: flex;
  align-items: center;
  gap: 15px;
}
.catalog-page-most-viewed-items {
  width: 100%;
}
.catalog-page-most-viewed-item {
  display: flex;
  gap: 25px;
  align-items: center;
  box-shadow: var(--drop-shadow);
  height: 300px;
  padding: 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: all 0.5s;
  width: 100%;
}
.catalog-page-most-viewed-item-img{
  height: 100%;
  margin: 0 auto ;
}
.catalog-page-most-viewed-item:hover {
  background: var(--btn-disable);
}

.catalog-page-most-viewed-item-img img {
  width: 100%;
    margin: 0 auto;
    height: 100%;
    object-fit: contain;
}
.catalog-page-most-viewed-item-content h1 {
  font-weight: bold;
  font-size: 24px;
  font-family: var(--sub-font);
  width: 85%;
}
.catalog-page-most-viewed-item-content button {
  text-transform: uppercase;
  background: var(--red);
  color: #fff;
  padding: 4px 45px;
  font-weight: 600;
  font-size: 16px;
  font-family: var(--sub-font);
  border: none;
}
.catalog-page-most-viewed-item-content button:hover {
  opacity: 0.8;
}
.catalog-page-content h1 {
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  padding-bottom: 42px;
  font-family: var(--sub-font);
}
.catalog-page-content .all {
  font-size: 16px;
  padding: 42px 0 0px 0;
}
.catalog-page-all {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.item-box {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  border: 1px solid transparent;
  box-shadow: var(--drop-shadow);
  padding: 5px;
  transition: all 0.5s;
}
.catalog-page-all-item-img {
  width: 60%;
  height: 100%;
  max-height: 250px;
}
.item-box:hover {
scale: 1.03;
}

.catalog-page-all-item-box button,
.item-button {
  padding: 6px 0px;
  background: var(--red);
  color: #fff !important;
  transition: all 0.5s;
  border: none;
  text-transform: uppercase;
  font-family: var(--sub-font);
  width: 100%;
}
.catalog-page-all-item-box button:hover {
  opacity: 0.8;
}
.catalog-page-all-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.detail-spec table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
  white-space: nowrap;
}
.catalog-page-all-item-name {
  margin-top: 10px;
  font-weight: 500;
  font-size: 16px;
  font-family: var(--sub-font);
  text-align: center;
}
/* pdf detail */
.detail-catalog-page {
  padding: 50px 0;
}

/* manual */
.manual-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 15px 10px;
  box-shadow: var(--drop-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.manual-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--drop-shadow);
}
.manual-card-image {
  width: 100%;
}
.manual-card-image img {
  width: 80%;
  max-height: 100%;
  object-fit: contain;
  margin: 0 auto;
}

.manual-card-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--black);
  margin-top: 10px;
  min-height: 45px;
  font-family: var(--sub-font);
}

.manual-card .btn {
  background-color: var(--red);
  color: #fff;
  border: none;
  padding: 8px 14px;
  font-size: 14px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background-color 0.2s ease;
}

.manual-card .btn:hover {
  background-color: var(--red);
  color: #fff;
}
/* videos */
.list-video-content {
  padding: 30px 15px;
}
.list-video-content h1 {
  font-size: 28px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.pd_name_video {
  font-size: 14px;
  font-weight: 500;
}
.image_overlay img {
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.video-player {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.video-icon {
  position: absolute;
  top: 50% !important;
  left: 50% !important;
  width: 44px !important;
  height: 44px !important;
  transform: translate(-50%, -50%) !important;
  z-index: 9;
  cursor: pointer;
}
.video-player iframe,
.video-player img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.list-video-poplular h3 {
  font-size: 24px;
  font-weight: 700;
  font-family: var(--sub-font);
}
.list-video-poplular p {
  width: 70%;
  font-size: 16px;
  font-family: var(--sub-font);
  font-weight: 500;
}
.video-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 20;
}

.video-loading-overlay .spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #ccc;
  border-top: 4px solid #333;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Contact */
.contact-page {
  font-family: var(--sub-font);
}
.contact-container {
  display: flex;
  flex-wrap: wrap;
  padding: 40px 0;
  gap: 40px;
  background: #fff;
}

.contact-info {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info h1 {
  font-size: 28px;
  margin-top: 10px;
  font-weight: 700;
}

.contact-info p {
  margin: 20px 0;
  font-size: 16px;
  line-height: 1.6;
  font-weight: var(--sub-font);
  font-weight: 500;
}

.contact-details {
  list-style: none;
  padding: 0;
}

.contact-details li {
  margin: 10px 0;
  font-size: 16px;
}

.contact-details span {
  margin-right: 10px;
}

.social-media {
  margin-top: 40px;
  font-size: 16px;
  display: flex;
  gap: 15px;
  align-items: center;
  font-family: var(--sub-font);
}
.contact-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-details li {
  font-size: 16px;
  line-height: 1.6;
}

.contact-details li span {
  margin-right: 8px;
  font-size: 18px;
}

.social-media .icons {
  display: flex;
  gap: 12px;
  font-size: 24px;
}

.contact-form {
  flex: 1;
  min-width: 320px;
  background: #f5f5f5;
  padding: 30px;
  font-family: var(--sub-font);
}

.contact-form form .row {
  display: flex;
  gap: 20px;
}

.field {
  flex: 1;
  margin-bottom: 20px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #888;
  font-size: 14px;
}

textarea {
  resize: vertical;
  height: 120px;
}

.button-type {
  background: var(--red);
  color: white;
  padding: 8px 40px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.5s;
}
.button-type:hover {
  opacity: 0.8;
}
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.popup-content {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
}

.popup-content button {
  margin-top: 15px;
  padding: 8px 40px;
  background: var(--red);
  color: white;
  border: none;
  cursor: pointer;
}
.contact-form .row {
  margin: unset;
}
/* about us */
.welcome-section {
  padding: 50px 0;
  font-family: var(--sub-font);
  color: var(--black);
  background-color: #fff;
}

.main-title {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.sub-title {
  text-align: center;
  font-size: 16px;
  margin-bottom: 40px;
  font-weight: 500;
}

.image-row {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  align-items: center;
}
/* .swiper-slide {
  width: 230px !important;
} */
.image-left {
  flex: 0 0 calc(66.6666% - 10px);
}

.image-right {
  flex: 0 0 calc(33.3333% - 10px);
}
.our-story {
  padding: 20px 0;
  display: flex;
}

.our-story-left {
  flex: 0 0 calc(33.3333% - 10px);
}
.our-story-right {
  flex: 0 0 calc(66.6666% - 10px);
}

.image-left img,
.image-right img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  height: 380px;
}

.story-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--black);
  font-family: var(--main-font);
  display: flex;
  align-items: center;
  gap: 10px;
}

.story-title span {
  color: var(--red);
  font-size: 24px;
  vertical-align: middle;
  margin-left: 5px;
}

.our-story p {
  margin-bottom: 15px;
  line-height: 19.2px;
  font-weight: 500;
  font-size: 16px;
}

.product-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
  margin-bottom: 20px;
}

.product-row img {
  width: 100%;
  height: auto;
}

/* history */
.history-page {
  font-family: var(--sub-font);
}
.history-title {
  padding-bottom: 60px;
  margin-top: 20px;
}
.history-title h1 {
  color: var(--black);
  font-size: 28px;
  text-transform: uppercase;
  text-align: center;
  font-weight: 700;
}
.history-title p {
  color: var(--black);
  font-size: 16px;
  text-align: justify;
  line-height: 1.4;
  font-weight: 500;
  margin-top: 15px;
}

.wrapper-page {
  padding: 70px 4.5% !important;
}

.timeline-wrapper {
  top: 0;
  background: white;
  z-index: 100;
}

.timeline-history {
  position: relative;
  max-width: 100vw;
  margin: 0 auto;
  text-align: center;
  height: 100px;
}

.line-history {
  top: 42px;
  position: absolute;
  height: 4px;
  background: var(--black);
  z-index: 1;
  width: 100%;
  opacity: 0.2;
}

.labels {
  display: flex;
  justify-content: center;
  padding: 0 10%;
  margin-top: 10px;
  align-items: center;
  gap: 30px;
}

.labels span {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 14px;
  color: #999;
  cursor: pointer;
  min-width: 50px;
  line-height: 1.2;
  font-size: 20px;
}
.labels span .label-top,
.labels span .label-bottom {
  font-size: 20px;
}

.label-top {
  font-size: 12px;
  color: #777;
  line-height: 1.1;
  margin-bottom: 5px;
}
.label-bottom {
  font-size: 16px;
  font-weight: bold;
}
.labels span.active {
  color: black;
  font-weight: bold;
}
.carousel-track {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 20px;
  justify-content: center;
  width: 100%;
  transition: all 0.5s ease;
}

.carousel-slide {
  position: relative;
  opacity: 0;
  pointer-events: none;
  text-align: center;
  transition: all 0.5s ease;
  flex-shrink: 0;
  z-index: 2;
  height: 100%;
}
.carousel-slide-unactive {
  position: relative;
  opacity: 1;
  pointer-events: none;
  text-align: center;
  transition: all 0.5s ease;
  flex-shrink: 0;
  visibility: hidden;
}

.carousel-slide.faded {
  opacity: 0.3;
  visibility: visible;
  transform: scale(0.95);
}
.site-footer-tablet {
  display: none;
}
.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: scale(1);
}

.carousel-slide.visible {
  visibility: visible;
}

.carousel-slide img {
  max-width: 200px;
  margin-top: 20px;
}

.carousel-slide {
  position: relative;
  text-align: center;
  transition: all 0.5s ease;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.95);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.carousel-slide.visible {
  visibility: visible;
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.carousel-slide.faded {
  opacity: 0.3;
  visibility: visible;
}

.dot {
  width: 100%;
  height: 100%;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  cursor: pointer;
  background-repeat: no-repeat;
  object-fit: cover;
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

.dot.active {
  width: 42px;
  height: 42px;
  background-repeat: no-repeat;
  pointer-events: auto;
  filter: brightness(1.2);
  transform: scale(1.2);
  z-index: 2;
}
.dot-content {
  text-align: center;
  margin-bottom: 10px;
  position: relative;
  z-index: 4;
}

.dot {
  width: 32px;
  height: 32px;
  transition: 0.3s ease;
  z-index: 2;
}

.carousel-slide:not(.active) .dot {
  opacity: 0.5;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  max-height: 650px;
  height: 100%;
}

.flag {
  position: absolute;
  width: 100px;
  height: 100px;
  right: 0px;
  top: 5px;
  display: none;
}

/* responsive mobile */
@media screen and (max-width: 768px) {
  .flag {
    width: unset;
    height: unset;
  }

  .history-title p {
    font-size: 12px;
  }
  .carousel-slide h2 {
    font-size: 20px;
  }
  .carousel-slide p {
    font-size: 12px;
  }
  .carousel-slide img {
    max-width: 100px;
  }
  .carousel-track {
    max-width: 90%;
    gap: 10px;
  }
  .labels {
    gap: 15px;
  }
}
/* update profile */
.profile-form {
  margin: auto;
  padding: 30px;
  font-family: var(--sub-font);
}
.profile-form__toggle-password {
  align-items: center;
  margin-top: 10px;
}

.profile-form__checkbox {
  margin-right: 8px;
}

.profile-form__checkbox-label {
  font-size: 14px;
  cursor: pointer;
  margin-bottom: unset;
}

.hidden {
  display: none;
}
.profile-form__title {
  font-size: 24px;
  font-weight: bold;
}
form {
  transition: opacity 0.3s ease;
}
.profile-form__body {
  display: flex;
  flex-direction: column;
  background-color: var(--btn-disable);
  margin-bottom: 20px;
  border-radius: 4px;
  padding: 20px;
}
.profile-form__button {
  padding: 8px 70px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
}
.profile-form__button:hover {
  opacity: 0.8;
}
.profile-form__section {
  border: none;
  margin-bottom: 30px;
}

.profile-form__section-title {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 10px;
}

.profile-form__label {
  display: block;
  margin-top: 15px;
  font-weight: 500;
  font-size: 14px;
}

.profile-form__input,
.profile-form__select {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

.profile-form__row {
  display: flex;
  gap: 20px;
  margin-top: 15px;
  align-items: center;
}

.profile-form__column {
  flex: 1;
}

.profile-form__buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.profile-form__button {
  padding: 10px 20px;
  border: none;
  font-size: 14px;
  cursor: pointer;
  border-radius: 4px;
  transition: 0.3s ease;
}

.profile-form__button--cancel {
  background-color: black;
  color: white;
}

.profile-form__button--update {
  background-color: var(--red);
  color: white;
}
.input-box {
  padding: 12px 0;
  margin-top: 5px;
  border: 1px solid #ccc;
}
.form-group {
  width: 100%;
}
/* search page */
.search-content {
  display: flex;
  gap: 20px;
}
.search-content-right {
  width: 80%;
}
.search-content-left {
  width: 15%;
}
.line-search {
  margin: unset !important;
}
.search-content-left h3 {
  font-family: var(--main-font);
  font-size: 16px;
  font-weight: 700;
}
.search-content-right-product::after {
  content: "";
  display: table;
  clear: both;
}
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.page-btn:hover,
.page-btn.active {
  background-color: var(--btn-disable);
  color: #fff;
}
/* cart */
.cart-content {
  display: flex;
  /* align-items: center; */
  font-family: var(--sub-font);
  gap: 20px;
}
.frmUpdateCart {
  width: 60%;
}
.cart-item {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #000;
  padding: 20px 0;
  gap: 20px;
  align-items: stretch;
}
.cart-summary {
  width: 30%;
  height:fit-content;
}
.cart-update {
  padding-top: 15px;
  text-align: right;
}
.cart-update button {
  text-align: left;
  padding: 8px 30px;
  background: var(--black);
  color: #fff;
  transition: all 0.5s;
  border: none;
}
.cart-update button:hover {
  opacity: 0.9;
}
.item-image {
  width: 100%;
  height: auto;
  flex-shrink: 0;
  border: 1px solid var(--btn-disable);
}
.item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-info {
  flex: 1;
}

.item-name {
  font-size: 16px;
  font-weight: 500;
}

.item-code {
  color: var(--red);
  font-weight: 500;
  font-size: 16px;
}

.item-price {
  font-size: 16px;
  margin-top: 5px;
  font-weight: 500;
}

.item-qty {
  display: flex;
  align-items: center;
  gap: 5px;
}

.qty-input {
  width: 40px;
  text-align: center;
  border: none;
}

.qty-btn {
  width: 30px;
  height: 30px;
  border: none;
  background: #eee;
  font-size: 18px;
  cursor: pointer;
}

.item-remove .remove-btn {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #d9534f;
}

.cart-summary {
  border: 1px solid #ccc;
  padding: 20px;
  /* margin-top: 40px; */
}

.cart-summary h3 {
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 700;
  font-family: var(--main-font);
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
}
.shipping-info {
  font-size: 14px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--black72);
}
.shipping-info span {
  width: 60%;
  word-wrap: break-word;
}
.shipping-fee {
  display: flex;
  justify-content: space-between;
  color: var(--black72);
  padding-bottom: 10px;
}
.total {
  display: flex;
  justify-content: space-between;
}
.cart-summary ul {
  list-style: none;
  padding: 0;
}

.cart-total {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
}

.cart-summary ul li.total {
  font-weight: 700;
  border-top: 1px solid #ccc;
  padding-top: 10px;
  color: #000;
}
.best-seller-button-tablet {
  display: none;
}
.checkout-btn {
  width: 100%;
  background: var(--red);
  color: white;
  border: none;
  padding: 12px;
  margin-top: 20px;
  cursor: pointer;
  font-weight: bold;
  font-family: var(--sub-font);
  transition: all 0.5s;
}
.checkout-btn:hover {
  opacity: 0.9;
}
.keep-shopping {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
  text-align: center;
  width: 100%;
  padding: 10px 0;
  font-weight: 500;
}
.keep-shopping:hover {
  text-decoration: underline;
}
.checkout-form {
  padding: 30px;
  background-color: #f5f5f5;
}

.checkout-form h3 {
  font-size: 18px;
  margin-bottom: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  flex: 1;
}

.form-group label {
  font-weight: 500;
  margin-bottom: 5px;
}
.select-country {
  padding: 10px;
  border: 1px solid #ccc;
}

.form-group input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.shipping-content {
  display: flex;
  gap: 20px;
  font-family: var(--sub-font);
}
.shipping-left {
  width: 60%;
}
.shipping-right {
  width: 30%;
}
.shipping-summary {
  width: 100%;
  margin-top: unset;
}
.success-content p {
  font-size: 16px;
  font-weight: 500;
  font-family: var(--sub-font);
  width: 55%;
}
.success-content a {
  font-weight: 500;
  font-family: var(--sub-font);
  transition: all 0.5s;
}
.success-content a:hover {
  text-decoration: underline !important;
}

/* history order */

.order-card {
  display: flex;
  border-bottom: 1px solid #ccc;
  padding: 20px 0;
  max-width: 100%;
  width: 100%;
  gap: 20px;
}

.order-card-left {
  flex-shrink: 0;
  width: 10%;
}

.order-icon {
  width: 120px;
  height: auto;
  border: 1px solid #eee;
  padding: 10px;
  background: white;
}

.order-card-body {
  display: flex;
  width: 90%;
  justify-content: space-between;
}
.col-custom {
  padding-right: unset !important;
  padding-left: unset !important;
}
.order-card-body-left,
.order-card-body-middle,
.order-card-body-right {
  padding: 10px;
}

.order-card-body-left {
  flex: 0 0 60%;
}
.currency-code {
  font-weight: 500;
}
.od_money {
  font-size: 16px;
}
.order-card-body-middle {
  font-weight: 500;
  font-size: 16px;
  flex: 0 0 20%;
}
.order-card-body-right {
  flex: 0 0 20%;
}
.order-address,
.order-card-meta {
  word-wrap: break-word;
  width: 60%;
}
.order-address p {
  font-size: 16px;
  font-family: var(--sub-font);
  font-weight: 500;
}

.order-status {
  text-align: right;
  font-weight: bold;
  white-space: nowrap;
}

.status-pending {
  color: var(--red);
  margin-right: 10px;
}

.order-total {
  color: #111;
}

.order-card-meta {
  margin-top: 10px;
  color: #777;
  font-size: 14px;
  gap: 20px;
}

.calendar-icon {
  margin-right: 5px;
}
.header-mobile {
  display: none;
}
.header-tablet {
  display: none;
}
/* Responsive */


/* Tablet */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* styles for tablet */
  .header-mobile {
    display: none;
  }
  .lang-switcher {
    background-color: unset;
  }
  .header-desktop {
    display: none;
  }
  .wrapper-tablet {
    padding: 0 15px;
  }
  .carousel-slide {
    flex: 0 0 100%;
  }
  .header-tablet {
    display: block;
  }
  .carousel-item img {
    width: 100%;
    height: 313px;
  }

  .frmUpdateCart{
    width: 100%;
  }
  .add-to-cart-product{
    max-width: 100%;
  }
  .carousel-button a {
    bottom: 100px;
    left: 152px;
    padding: 8px 35px;
    font-size: 14px;
  }
  .swiper-button-next.swiper-button-disabled,
  .swiper-button-prev.swiper-button-disabled {
    display: none;
  }
  .swiper-button-prev.custom-prev,
  .swiper-button-next.custom-next {
    display: none;
  }
  .swiper-button-next.custom-next {
    display: none;
  }
  .product-card {
    width: unset;
  }
  .swiper {
    margin-left: unset !important;
  }

  .bottom-header {
    background-color: var(--light-grey-color);
    padding: 90px 0 24px 0;
  }
  .search {
    flex-basis: 65%;
  }
  .timeline-desktop {
    display: none;
  }
  .detail_product-page-specs-left {
    flex: unset !important;
    width: 60%;
  }
  .bottom-header_content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
  }
  .detail_product-page-specs-left{
    width: 55%;
  }
  .top-header {
    display: flex;
    height: 60px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
  }
  .header-tablet_left {
    background-color: var(--black);
    width: 65%;
    padding-left: 15px;
    display: flex;
    align-items: center;
  }
  .header-tablet_right {
    background-color: var(--red);
    width: 35%;
    padding-right: 15px;
    display: flex;
    align-items: center;
  }
  .slab-rack-right img {
    width: 100%;
    height: 100%;
  }
  .news-content-left-img {
    width: 100%;
  }
  .error-404_page-right{
    width: 100%;
  }
  .best-seller-button-tablet {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .slab-rack-left p {
    font-size: 14px;
  }
  .news-content-left {
    width: 60%;
  }
  .mobile-menu-wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    max-width: 60vw;
    background: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    overflow-x: hidden;
    transition: right 0.6s ease;
  }

  .mobile-menu-wrapper.active {
    right: 0;
  }

  .mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 80px 15px 0 17px;
    font-weight: bold;
  }
  .mobile-menu-header-h4 {
    font-size: 28px;
    font-weight: 500;
  }
  .cart-summary {
    width: 100%;
  }
  .mobile-menu-header .close-menu {
    font-size: 40px;
    background: none;
    border: none;
    color: var(--black);
  }

  .mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: auto;
  }

  .mobile-menu-list li {
    margin: 0 15px;
    list-style: none;
  }
  .gal_box {
    width: 100%;
    height: 70%;
  }
  .mobile-menu-list a {
    display: block;
    padding: 12px 15px;
    text-decoration: none;
    font-size: 20px;
    border-bottom: 1px solid var(--black);
  }

  .dropdown-item .dropdown-toggle {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid var(--black);
  }
  .dropdown-toggle::after {
    content: unset !important;
  }
  .dropdown-item {
    padding: unset !important;
    font-size: 20px;
    width: unset !important;
  }
  .dropdown-item:focus,
  .dropdown-item:hover {
    background-color: unset !important;
  }
  .submenu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.5s ease;
  }
  .submenu.open {
    max-height: 500px;
    opacity: 1;
  }
  .mobile-menu-footer {
    padding: 15px;
    border-top: 1px solid var(--black);
    text-align: center;
    display: flex;
    gap: 20px;
    margin: 0 15px;
    font-family: var(--sub-font);
  }
  .mobile-menu-footer p {
    margin-bottom: unset !important ;
  }
  .mobile-menu-footer-icon img {
    width: 24px;
    margin: 0 5px;
  }
  .cart {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-left: 10px;
  }
  .event::before {
    content: unset !important;
  }
  .event::after {
    content: unset !important;
  }
  .event-img img {
    width: calc(33.33% - 7px);
  }
  .event-img {
    width: 100%;
    overflow-x: auto;
  }
  .unset-pr-tablet {
    padding-right: unset !important;
  }
  .timeline-container p {
    padding-bottom: unset !important;
    font-size: 20px;
    font-weight: bold;
    color: var(--black);
    font-family: var(--main-font);
  }
  .history {
    padding: 30px 0 20px 0;
  }
  .gal_highlight-img {
    margin: 0 auto;
  }
  .subtext {
    font-size: 14px !important;
    font-family: var(--sub-font) !important;
    font-weight: 500 !important;
    margin: 0 auto;
    max-width: 500px;
  }
  .menu-toggle {
    margin: unset;
  }
  .event {
    width: 100%;
  }
  .event-large {
    width: 100%;
  }
  .swiper-wrapper {
    height: auto !important;
  }
  .dropdown-menu-header {
    grid-template-columns: repeat(3, 1fr) !important;
    right: unset !important;
    width: unset !important;
  }
  .dropdown-menu-header::after {
    right: unset !important;
    left: 17px !important;
  }
}

/* Tablet màn hình nhỏ */
@media (max-width: 767px) and (min-width: 576px) {
  .dropdown-menu-header::after {
    right: unset !important;
    left: 17px !important;
  }
  .header-desktop {
    display: none;
  }
  .history {
    display: none;
  }
  .detail_product-page-specs-left {
    flex: unset !important;
    width: 55%;
  }
  .lang-switcher {
    background-color: unset;
  }
  .header-desktop {
    display: none;
  }
  .img-mobile {
    width: 24px;
    height: 24px;
  }
  .header-mobile_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: #fff;
  }
  .gal_box {
    width: 100%;
    height: 70%;
  }
  .header-mobile_right {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .g-20 {
    gap: 20px;
  }
  .carousel-item img {
    width: 100%;
    height: 313px;
  }
  .carousel-button a {
    bottom: 100px;
    left: 152px;
    padding: 8px 35px;
    font-size: 14px;
  }
  .swiper-button-next.swiper-button-disabled,
  .swiper-button-prev.swiper-button-disabled {
    display: none;
  }
  .swiper-button-prev.custom-prev,
  .swiper-button-next.custom-next {
    display: none;
  }
  .swiper-button-next.custom-next {
    display: none;
  }
  .product-card {
    width: unset;
  }
  .swiper {
    margin-left: unset !important;
  }

  .bottom-header {
    background-color: var(--light-grey-color);
    padding: 15px 0;
  }
  .search {
    flex-basis: 65%;
  }
  .timeline-desktop {
    display: none;
  }
  .bottom-header_content {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .top-header {
    display: flex;
    height: 60px;
  }
  .header-tablet_left {
    background-color: var(--black);
    width: 65%;
    padding-left: 15px;
    display: flex;
    align-items: center;
  }
  .header-tablet_right {
    background-color: var(--red);
    width: 35%;
    padding-right: 15px;
    display: flex;
    align-items: center;
  }
  .slab-rack-right img {
    width: 100%;
    height: 100%;
  }
  .news-content-left-img {
    width: 100%;
  }
  .best-seller-button {
    display: none;
  }
  .best-seller-button-tablet {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .slab-rack-left p {
    font-size: 14px;
  }
  .news-content-left {
    width: 60%;
  }
  .mobile-menu-wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    max-width: 60vw;
    background: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    overflow-x: hidden;
    transition: right 0.6s ease;
  }

  .mobile-menu-wrapper.active {
    right: 0;
  }
  .carousel-slide {
    flex: 0 0 100%;
  }
  .mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    font-weight: bold;
  }
  .mobile-menu-header h4 {
    font-size: 28px;
    font-weight: 500;
  }

  .mobile-menu-header .close-menu {
    font-size: 40px;
    background: none;
    border: none;
    color: var(--black);
  }

  .mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: auto;
  }

  .mobile-menu-list li {
    margin: 0 15px;
    list-style: none;
  }

  .mobile-menu-list a {
    display: block;
    padding: 12px 15px;
    text-decoration: none;
    font-size: 20px;
    border-bottom: 1px solid var(--black);
  }

  .dropdown-item .dropdown-toggle {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid var(--black);
    text-transform: capitalize;
  }
  .dropdown-toggle::after {
    content: unset !important;
  }
  .dropdown-item {
    padding: unset !important;
    font-size: 20px;
    width: unset !important;
  }
  .dropdown-item:focus,
  .dropdown-item:hover {
    background-color: unset !important;
  }
  .submenu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.5s ease;
  }
  .submenu.open {
    max-height: 500px;
    opacity: 1;
  }
  .news_page-content-item-center {
    flex: unset !important;
  }
  .mobile-menu-footer {
    padding: 15px;
    border-top: 1px solid var(--black);
    text-align: center;
    display: flex;
    gap: 20px;
    margin: 0 15px;
    font-family: var(--sub-font);
  }
  .mobile-menu-footer-icon img {
    width: 24px;
    margin: 0 5px;
  }
  .cart {
    display: flex;
    align-items: center;
    margin-left: 10px;
  }
  .cart-summary {
    width: 100%;
  }
  .event::before {
    content: unset !important;
  }
  .event::after {
    content: unset !important;
  }
  .event-img img {
    width: calc(33.33% - 7px);
  }
  .event-img {
    width: 100%;
    overflow-x: auto;
  }
  .timeline-container p {
    padding-bottom: unset !important;
    font-size: 20px;
    font-weight: bold;
    color: var(--black);
    font-family: var(--main-font);
  }
  .history {
    padding: 30px 0 20px 0;
  }
  .subtext {
    font-size: 14px !important;
    font-family: var(--sub-font) !important;
    font-weight: 500 !important;
    margin: 0 auto;
    max-width: 500px;
  }
  .menu-toggle {
    margin: unset;
  }
  .event {
    width: 100%;
  }
  .event-large {
    width: 100%;
  }


  .swiper-wrapper {
    height: auto !important;
  }
  .dropdown-menu-header {
    grid-template-columns: repeat(3, 1fr) !important;
    right: unset !important;
    width: unset !important;
  }
}

/* Mobile nhỏ */
@media (max-width: 575px) {
  .header-desktop {
    display: none;
  }
  /* styles for small phones */
  .header-mobile_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 14px;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 9999;
    background-color: #fff;
    width: 100%;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  }
  .carousel-indicators {
    bottom: -20px !important;
  }
  .catalog-page-all-button {
    font-size: 14px;
  }
  .best-seller-button-tablet {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 15px;
  }
  .profile-form__buttons {
    justify-content: center;
  }
  .detail_product-page-specs-left{
    width: 100%;
  }
  .profile-form__button--cancel,
  .profile-form__button--update {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .mobile-menu-header-h4{
    font-size: 28px;
    font-weight: 500;
  }
  .event::after,
  .event::before {
    content: unset !important;
  }
  .slab-rack-content {
    flex-direction: column-reverse;
  }
  .slab-rack-left-h1 {
    font-size: 20px;
    margin-top: 30px;
  }
  .slab-rack-left p {
    font-size: 14px;
  }
  .search-btn{
    padding: 7px 15px;
  }
  .slab-rack-right img {
    width: 100%;
    height: auto;
  }
  .carousel-icon {
    position: absolute;
    top: 75px;
    left: 83px;
  }
  .section-header {
    padding: 30px 0;
  }
  .news-content {
    flex-direction: column;
  }
  .news-content-left,
  .news-content-right {
    width: unset;
  }
  .swiper {
    margin-left: unset !important;
  }
  .timeline-desktop {
    display: none;
  }
  .timeline-tablet {
    display: none;
  }
  .news_page-content-item-center {
    flex: unset !important;
    width: 100%;
  }
  .menu-toggle {
    padding: unset;
    font-size: 14px;
    color: #fff;
    margin: unset;
  }
  .news-content-left-img {
    height: unset !important;
  }
  .bottom-header {
    background-color: var(--red);
    padding: 90px 0 10px 0;
  }
  .best-seller-section {
    padding: 10px 0;
  }
  .product-card {
    width: 90%;
  }
  .product-card-custom {
    width: 100%;
  }
  .swiper-slide {
    width: unset;
  }
  .product-card img {
    width: 80%;
  }
  .history {
    padding: 30px 0;
  }
  .img-fluid {
    width: 100%;
  }
  .event {
    width: unset !important;
  }

  .signup-form input {
    width: 100%;
  }
  .footer-heading {
    font-size: 16px;
  }
  .swiper-slide .date {
    font-size: 16px;
    font-weight: bold;
    color: var(--black);
    font-family: var(--main-font);
  }
  .header-mobile_right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
  }
  .bottom-header_content {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .img-mobile {
    width: 24px;
    height: 24px;
  }
  .language-dropdown {
    left: -90px;
  }
  .search-dropdown {
    width: 100vw;
    height: 100vh;
    right: 0;
    top: 0;
    overflow-y: auto;
  }
  .search-top-h1 {
    font-size: 24px;
  }
  .search-box {
    width: 100%;
    border: 1px solid var(--black);
    padding: 0 5px;
  }

  .search-input::-moz-placeholder,
  .search-input::-webkit-input-placeholder,
  .search-input:-ms-input-placeholder,
  .search-input::placeholder {
    margin: 0 15px;
    font-family: var(--sub-font);
  }

  .dropdown-menu-header-mobile {
    position: fixed !important;
    grid-template-columns: repeat(1, 1fr);
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    overflow-y: auto;
    z-index: 9999;
    transform: translateX(-100%);
    display: grid;
    opacity: 0;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    pointer-events: none;
  }
  .dropdown-scroll-content {
    flex: 1;
    overflow-y: auto;
  }
  .dropdown-menu-header-mobile.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .dropdown-menu-heading h2 {
    font-size: 24px;
    font-weight: bold;
  }
  .dropdown-menu-header span {
    font-size: 16px;
    font-weight: 500;
    word-break: break-word;
  }
  .dropdown-footer-h2 {
    font-size: 16px;
    font-family: var(--sub-font);
  }
  .dropdown-footer {
    gap: 20px;
    border-top: 1px solid black;
    padding-top: 15px;
  }
  .icon-social-mobile {
    border: unset !important;
    padding: unset !important;
  }
  .img-social-mobile {
    margin-bottom: unset !important;
  }
  .middle_header-mid-social-items li a img {
    width: 25px;
    height: 25px;
  }
  .dropdown-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 10px 15px;
    border-top: 1px solid #ccc;
    text-align: center;
    z-index: 9999;
  }
  .dropdown-menu-header .box-cat-content:last-of-type {
    margin-bottom: 60px;
  }

  .mobile-menu-wrapper-res {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    overflow-x: hidden;
    transition: right 0.6s ease;
    padding:  0 15px;
  }
  .mobile-menu-wrapper-res.active {
    right: 0;
  }
  .mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .close-menu {
    border: none;
    background: none;
    font-size: 50px;
    font-weight: 100;
  }
  .mobile-menu-list {
    list-style: none;
    font-size: 16px;
    font-weight: 500;
    overflow-y: auto;
  }
  .mobile-menu-list .mainmenu {
    border-bottom: 1px solid var(--black);
    padding-bottom: 5px;
    margin: 10px 0;
    display: flex;
    font-weight: 500;
  }
  .submenu {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.6s ease, opacity 0.6s ease;
  }
  .submenu .submenu-content {
    margin-bottom: 10px;
  }
  .dropdown-item:focus,
  .dropdown-item:hover {
    background-color: #fff !important;
  }
  .mobile-menu-footer {
    display: flex;
    align-items: center;
    gap: 20px;
    font-family: var(--sub-font);
    border-top: 1px solid var(--black);
    padding-top: 10px;
    position: sticky;
    left: 0px;
    width: 100%;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
  .submenu.open {
    max-height: 500px;
    opacity: 1;
  }
  .mobile-menu-footer p {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: unset;
  }
  .mobile-menu-footer-icon {
    display: flex;
    gap: 10px;
  }

  .dropdown-item {
    padding: unset !important;
  }
  .dropdown-toggle::after {
    content: unset !important;
  }
  .mobile-menu-footer.active-footer {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    background-color: #fff;
    z-index: 3;
    bottom: 10px;
  }
  .mobile-menu-list .mainmenu:last-child {
    margin-bottom: 100px !important;
  }
  .video-bottom a {
    font-size: 12px;
  }
  .option-dropdown {
    font-size: 20px;
  }
  .detail_product-page-specs-left img {
    width: 100%;
    height: auto;
  }
  .detail_product-page-cert-item-content h4 {
    font-size: 14px;
  }
  .detail_product-page-cert-item-content p {
    font-size: 12px;
  }
  .product-card {
    height: 100%;
  }
  .product-card .name {
    font-size: 14px;
  }
  .product-card .code {
    font-size: 13px;
  }
  .product-card {
    height: 300px;
  }
  .selection {
    align-items: center;
  }
  .selection span {
    font-size: 12px;
  }
  .product_page-right {
    width: 100%;
  }
  .product_page-right h1 {
    font-size: 20px;
  }
  .selected-option {
    font-size: 12px;
  }
  .dropdown-options li {
    font-size: 12px;
  }
  .product-card-left {
    width: 40%;
    padding: 8px;
  }
  .product-card-right {
    width: 60%;
    border-left: 1px solid #000;
    padding: 8px;
  }
  .product-card-right h3 {
    font-size: 14px;
  }
  .product-card-right .pd_code {
    font-size: 14px;
    color: var(--red);
  }
  .add-to-cart {
    padding: 8px;
  }
  .add-to-cart span {
    margin-left: unset !important ;
  }
  .price-cart {
    margin: unset !important;
  }
  .product-card-res {
    gap: 20px;
    border: 1px solid var(--btn-disable);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    margin: 10px 0;
  }
  .product-card-img {
    width: 100%;
    height: auto;
  }
  .swiper-wrapper {
    height: unset !important;
  }
  .news_page-img img {
    height: 160px !important;
  }
  .news_page-content-title h1 {
    font-size: 20px;
  }
  .news_page-content-title p {
    font-size: 14px;
  }
  .news_page-content-item-left img {
    width: 168px;
    height: auto;
  }
  .news_page-content-link {
    gap: unset !important;
  }
  .news_detail-left {
    width: 100%;
    padding: 0 15px;
  }
  .new_detail-heading h1 {
    font-size: 24px;
  }
  .new_detail-content-text {
    font-size: 14px;
  }
  .distributor-page-heading {
    margin-top: 30px;
  }
  .sales-policy-page-img img {
    height: 160px;
  }
  .gallery-page-content {
    padding: 10px;
  }
  .gallery-page-content h1 {
    font-size: 20px;
  }
  .gallery-page-content p {
    font-size: 14px;
  }
  .gal_highlight-img {
    width: 100%;
    height: 100%;
    margin-bottom: 25px;
  }

  .gal_highlight-img img {
    width: 100%;
    height: 100%;
  }
  .gal_box {
    width: 160px;
    height: 130px;
  }
  .gal_box_p {
    font-size: 14px;
  }
  .gal_highlight-img h1 {
    font-size: 16px;
  }
  .contact-details {
    display: unset !important;
  }
  .button-type {
    width: 100%;
  }
  .sales-policy-page-img h2 {
    font-size: 20px;
  }
  .catalog-page-most-viewed-item-img {
    width: 135px;
    height: 180px;
    flex: 0 0 auto;
  }
  .catalog-page-content h1 {
    font-size: 16px;
  }
  .catalog-view {
    font-size: 14px !important;
    padding: 4px 8px !important;
  }
  .catalog-page-most-viewed-item-content h1 {
    word-wrap: break-word;
    width: 100%;
  }
  .catalog-page-all {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .catalog-page-all-item-name {
    font-size: 14px !important;
  }
  .catalog-page-all-item-box button,
  .item-button {
    padding: 4px 15px !important;
  }
  .catalog-page-all-item-img img {
    width: 85%;
    margin: 0 auto;
  }
  .item-box {
    gap: 5px !important;
    padding: 5px 0;
  }
  .detail-catalog-h1 {
    font-size: 14px;
    word-wrap: break-word;
  }
  .manual-card-title {
    font-size: 14px;
  }
  .manual-card-title strong {
    font-size: 14px;
    font-weight: 500;
  }
  .catalog-page-all {
    margin-top: 10px;
  }
  .manual-card-image img {
    max-width: 100%;
    max-height: 100%;
  }
  .detail_product-page-specs-right{
    width: 100% !important;
  }
  .row-custom {
    margin-right: unset !important;
    margin-left: unset !important;
  }
  .col-custom {
    padding-right: unset !important;
    padding-left: unset !important;
  }
  .detail-catalog-h1 {
    font-size: 16px;
  }
  .sales-policy-page-content-title h1 {
    font-size: 20px;
  }
  .main-title {
    font-size: 20px;
  }
  .sub-title {
    font-size: 14px;
  }
  .story-title {
    font-size: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
  }
  .carousel-container {
    height: 500px !important;
  }
  .history-title h1 {
    font-size: 20px;
    font-family: var(--main-font);
  }
  .history-title p {
    font-size: 14px;
    font-family: var(--sub-font);
  }
  .carousel-slide p {
    font-size: 14px;
    font-family: var(--sub-font);
    font-weight: 500;
  }
  .carousel-slide h2 {
    font-size: 20px;
    font-family: var(--sub-font);
    font-weight: 500;
  }
  .carousel-slide-unactive {
    display: none !important;
    width: 0 !important;
  }
  .carousel-track {
    display: flex;
    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
    max-width: 100%;
  }
  .carousel-slide {
    width: 100% !important;
  }
  .list-video-content h1 {
    font-size: 20px;
  }
  .list-video-poplular h3 {
    font-size: 14px;
    font-weight: 500;
    margin-top: 10px;
  }
  .profile-form__row {
    align-items: unset !important;
  }
  .profile-form__body {
    width: unset !important;
    background-color: unset !important;
  }
  .profile-form__row {
    flex-direction: column;
  }
  .profile-form__button {
    padding: 8px 45px !important;
    font-size: 14px !important;
  }
  .frmUpdateCart {
    width: 100%;
  }
  .cart-mobile {
    position: relative;
  }
  .cart-count {
    top: -7px;
    right: -6px;
  }
  .cart-summary {
    width: 100%;
  }
  .cart-update button {
    text-align: center;
    width: 100%;
  }
  .checkout-form {
    background: unset;
  }
  .shipping-left {
    width: 100%;
  }
  .shipping-right {
    width: 100%;
  }
  .success-content p {
    width: 100%;
  }
  .child-title {
    border: unset !important;
  }
  .parent-title {
    align-items: center;
  }
  .dropdown-menu-header span {
    width: unset !important;
  }
  .category-block {
    margin-bottom: 5px;
  }
  .child-cat {
    padding: 3px 10px;
    font-weight: 500;
  }
  .dropdown-menu-header img {
    margin-bottom: unset !important;
  }
  .gal_box {
    width: 100%;
    height: 70%;
  }
 
  .dropdown-footer-cus {
    position: sticky !important;
    bottom: -20px;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .container {
    max-width: 1021px !important;
  }
}

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

@media (min-width: 1385px) and (max-width: 1477px) {
  .menu{
    margin-left: 46px;
  }
}

@media (min-width: 1477px)  {
  .menu{
    margin-left: 100px;
  }
}
@media (min-width: 991.98px) and (max-width: 1199px){
  .dropdown-menu-header{
    left: -30px;
    width: 90vw;
  }
  .dropdown-menu-header img {
    max-width: 45%;
  }
  .dropdown-menu-header::after{
    left: 35px;
    right: unset;
  }
}

@media(min-width:1920px){
  .carousel-item-img{
    margin:  0 auto;
  }
}