/* @font-face {
  font-family: "Another shabby";
  src: url("Anothershabby.eot");
  src:
    url("../font/Anothershabby.eot?#iefix") format("embedded-opentype"),
    url("../font/Anothershabby.woff2") format("woff2"),
    url("../font/Anothershabby.woff") format("woff"),
    url("../font/Anothershabby.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
} */

body {
  font-family: "BE VietNam Pro";
}
.no-image {
  display: flex;
  height: 100%;
  width: 100%;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  color: #999;
  text-transform: uppercase;
  text-align: center;
  font-size: 18px;
  position: absolute;
  top: 0;
  left: 0;
}
.no-color {
  color: unset;
}

h1.entry-title {
  display: none;
}

header a {
  color: unset !important;
}

.width-auto {
  width: auto !important;
}

.elementor-widget-text-editor p:last-child {
  margin-bottom: 0;
}

.container-page {
  max-width: 1240px;
  margin: auto;
}

.relative {
  position: relative;
}

header {
  box-shadow: none !important;
}

.ehf-header #masthead {
    z-index: 99;
    position: sticky !important;
    top: 0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12) !important;
}

.page .entry-header {
  display: none;
}

.skiptranslate {
  display: none !important;
}
.VIpgJd-ZVi9od-aZ2wEe {
  display: none !important;
}

/* MENU */
nav {
  width: auto !important;
}
.hfe-nav-menu__layout-horizontal .hfe-nav-menu .sub-arrow {
  margin-left: 0;
}
.menu-main-contain .hfe-nav-menu {
  margin: auto;
}
.menu-main-contain .hfe-nav-menu > li {
  margin: 0 40px !important;
}
.menu-main-contain .hfe-nav-menu > li:first-child {
  margin-left: 0 !important;
}
.menu-main-contain .hfe-nav-menu > li:last-child {
  margin-right: 0 !important;
}
.menu-main-contain a {
}
.menu-main-contain .hfe-menu-item {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  padding-left: 0px !important;
  padding-right: 0px !important;
  color: #000000 !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  font-size: 14px;
}
.menu-main-contain .hfe-nav-menu > li ul li a {
  padding-left: 20px !important;
  padding-right: 20px !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  font-weight: 400 !important;
}
.menu-main-contain .hfe-menu-item:focus {
  outline: none;
}
.menu-main-contain .hfe-menu-item:hover,
.menu-main-contain .hfe-nav-menu > li ul li a:hover {
  color: #c1121f !important;
}
.header-bottom.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: #f3e9dc;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* MENU FOOTER */
.menu-style1 .hfe-nav-menu > li {
  margin: 0 !important;
  margin-bottom: 0px !important;
  margin-left: 50px !important;
  padding: 15px 0;
}
.menu-style1 .hfe-nav-menu > li:first-child {
  margin-left: 0px !important;
}
.menu-style1 .hfe-menu-item {
  padding: 0px !important;
  color: #33449c !important;
  font-weight: 600 !important;
  font-size: 15px;
  text-transform: uppercase;
}
.menu-style1 .hfe-menu-item:focus {
  outline: none;
}
.menu-style1 .hfe-menu-item:hover {
  color: #c1121f !important;
}
.header-bottom.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: #f3e9dc;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.menu-style2 .hfe-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.menu-style2 .hfe-nav-menu > li {
  margin-left: 0 !important;
  margin-bottom: 0 !important;
}
.menu-style2 .hfe-menu-item {
  padding: 0px !important;
  color: #fff !important;
  font-weight: 400 !important;
  font-size: 16px;
}
.menu-style2 .hfe-menu-item:focus {
  outline: none;
}
.menu-style2 .hfe-menu-item:hover {
  color: #fff !important;
}

.pagelarge-wrapper{width: 100%;}

.tieude-wrapper{
  display: flex;
  justify-content: center;
  margin-top:80px;
}
.tieude-wrapper h1{text-align: center;color:#c1121f;font-size: 36px;text-transform: uppercase;}
.tieude-wrapper--page{margin-bottom: 40px;margin-top: 0;}

.form-row .optional{display: none;}
#billing_address_2, #billing_country_field, #billing_city_field, .woocommerce-order-overview__payment-method, .woocommerce-thankyou-order-details +p{display: none;}

/* SOCIAL */
.social-icon {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-icon a {
  display: flex !important;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.social-icon a:hover {
  background: #fff;
}
.social-icon a:hover img {
  filter: brightness(0.5);
}

.giaohang-listbox img{transition: all ease 0.5s}
.giaohang-listbox img:hover{transform: scale(1.1);}

/* CUSTOM */
.ast-article-single h1,
.ast-article-single h2,
.ast-article-single h3,
.ast-article-single h4,
.ast-article-single h5,
.ast-article-single h6 {
  color: unset;
}

.site-content .ast-container {
  width: 100%;
  max-width: 100%;
  padding: 0 !important;
  flex-wrap: wrap;
}
.ast-narrow-container .site-content > .ast-container {
  max-width: 100%;
}

.ast-separate-container #primary.single-page {
  margin: 0;
  padding: 0;
}

.ast-separate-container #primary.single-page h1 {
  margin-top: 0;
}
.ast-separate-container #primary.single-page h1:not(.elementor-heading-title),
.ast-separate-container #primary.single-page h2:not(.elementor-heading-title),
.ast-separate-container #primary.single-page h3:not(.elementor-heading-title),
.ast-separate-container #primary.single-page h4:not(.elementor-heading-title),
.ast-separate-container #primary.single-page h5:not(.elementor-heading-title),
.ast-separate-container #primary.single-page h6:not(.elementor-heading-title) {
  color: unset;
}

.ast-woo-shop-archive .site-content > .ast-container {
  max-width: 100%;
}

.elementor-widget-image {
  overflow: hidden;
}

#ast-scroll-top {
  background: #c1121f;
  border: 1px solid #f3e9dc;
  width: 70px;
  height: 70px;
  line-height: 70px;
  right: 20px;
  border-radius: 50%;
}

.ast-separate-container #primary.single-page {
  margin: 0;
}

.ast-separate-container #primary.single-page h1 {
  margin-top: 0;
}
.ast-separate-container #primary.single-page h1:not(.elementor-heading-title),
.ast-separate-container #primary.single-page h2:not(.elementor-heading-title),
.ast-separate-container #primary.single-page h3:not(.elementor-heading-title),
.ast-separate-container #primary.single-page h4:not(.elementor-heading-title),
.ast-separate-container #primary.single-page h5:not(.elementor-heading-title),
.ast-separate-container #primary.single-page h6:not(.elementor-heading-title) {
  color: unset;
}

.single-detail-page {
  margin: 80px auto;
  max-width: 1240px;
  font-weight: 300;
  width: 100%;
  display: flex;
}
.single-detail--content {
  width: calc(100% - 310px);
  padding-right: 40px;
}
.single-detail--related {
  width: 310px;
  position: sticky;
  top: 100px;
  align-self: start;
}
.single-page-title {
  font-size: 26px;
  color: #c1121f !important;
  font-weight: 400;
}
.related-posts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.related-posts--title {
  text-transform: uppercase;
  font-weight: 300;
  color: #c1121f;
  font-size: 18px;
  border-bottom: 1px solid #c1121f;
  padding-bottom: 10px;
}
.related-post {
  display: flex;
}
.related-post-image {
  display: block;
  width: 110px;
  height: 70px;
  overflow: hidden;
}
.related-post-image img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}
.related-post-content {
  padding-left: 15px;
  width: calc(100% - 110px);
}
.related-post-title a {
  color: #333;
  font-size: 15px;
  font-weight: 400;
  display: inline-block;
  line-height: 130%;
}
.related-post:hover .related-post-title a {
  color: #c1121f;
}
.related-post-date {
  font-size: 13px;
  opacity: 0.8;
}
.entry-content :where(h2) {
  font-size: 22px;
}
.entry-content :where(h3) {
  font-size: 20px;
}
.single-page-header {
  padding-left: 20px;
  border-left: 3px solid #c1121f;
  margin-bottom: 30px;
}

.contact-title {
  position: relative;
}
.contact-title h2 {
  display: inline-block;
  background: #f0f5fa;
  position: relative;
  z-index: 2;
  padding-right: 20px;
}
.contact-title:after {
  content: "";
  position: absolute;
  width: 100%;
  border-top: 1px solid #00000021;
  top: 50%;
  left: 0;
  z-index: 1;
}

.ast-plain-container.ast-no-sidebar #primary {
  /* background: #fcf7f0; */
  margin: 0;
  padding: 80px 0;
}
.ast-plain-container.ast-no-sidebar #primary .site-main {
  max-width: 1240px;
  margin: auto;
}

.menu-style2 .hfe-nav-menu:after,
.menu-style2 .hfe-nav-menu:before {
  display: none;
}
.menu-style2 .hfe-nav-menu > li {
  margin-left: 0px !important;
  margin-bottom: 0px !important;
}
.menu-style2 .hfe-menu-item {
  padding: 0px !important;
  color: #e5e7eb !important;
  font-weight: 400 !important;
  font-size: 16px;
}
.menu-style2 .hfe-menu-item:focus {
  outline: none;
}
.menu-style2 .hfe-menu-item:hover {
  color: #fff !important;
}

.menu-style3 ul {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 24px;
}
.menu-style3 ul::before,
.menu-style3 ul::after {
  display: none;
}
.menu-style3 .hfe-nav-menu > li {
  margin-left: 0px !important;
  margin-bottom: 0px !important;
}
.menu-style3 .hfe-menu-item {
  padding: 0px !important;
  color: #fff !important;
  font-weight: 400 !important;
  font-size: 10px;
}
.menu-style3 .hfe-menu-item:after {
  display: none;
}
.menu-style3 .hfe-menu-item:focus {
  outline: none;
}
.menu-style3 .hfe-menu-item:hover {
  color: #cc8b30 !important;
}
body .sub-menu .sub-menu{width:280px !important;}
.title-page {
  font-family: "Be Vietnam Pro", Sans-serif;
  font-size: 30px;
  font-weight: 600;
  color: #c1121f;
  text-transform: uppercase;
  text-align: center;
  display: none;
}
.product-title-main .title-page{display: block;text-align: left;margin-bottom: 24px;text-transform: none;}
.page-banner {
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
}
.page-banner--img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}
.page-banner--title {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgb(193 18 31 / 50%);
  display: flex;
  padding: 24px 10px 24px 10px;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 38px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  margin: 0 !important;
  letter-spacing: 3px;
}

.ast-separate-container {
  background: none !important;
}

/* BUTTON */
.btn-style1 a {
  background: #c1121f !important;
  color: #fff;
  font-size: 14px;
  font-weight: 500 !important;
  text-decoration: none !important;
  text-transform: uppercase;
  padding: 10px;
  min-width: 144px;
  min-height: 40px;
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 90% 100%, 0 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
}

.cs-order-received--payment_method{display: none;}

/* PAGINATION */
.category-pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}
.category-pagination ul {
  list-style: none;
  margin: 0;
  display: inline-flex;
  justify-content: center;
  gap: 5px;
}
.category-pagination ul li a,
.category-pagination ul li span {
  width: 40px;
  height: 40px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #333;
}
.category-pagination ul li .page-numbers.current {
  background: #c1121f;
  color: #fff;
}

.news-style-wrapper {
  width: 100%;
  max-width: 1240px;
  margin: 40px auto 80px auto;
}

.house-style-list {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 24px;
}

.news-style-item {
  width: calc(100% / 3 - 16px);
}
.news-style-item .latest-category-posts-slider__title a {
  font-size: 16px;
}
.news-style-item .latest-category-posts-slider__excerpt {
  font-size: 14px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.news-style-item .latest-category-posts-slider__image {
  padding-top: 55%;
}

.woocommerce-notices-wrapper {
  display: none;
}

.intro-listbox .swiper-slide{clip-path: polygon(0 0, 100% 0, 100% 78%, 84% 100%, 0 100%);}

/*TÀI LIỆU*/
.bang-tai-lieu {
    width: 100%;
    border-collapse: collapse;
}

.danh-sach-tai-lieu {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.bang-tai-lieu th,
.bang-tai-lieu td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: left;
    white-space: nowrap;
}

.bang-tai-lieu th {
    background: #f5f5f5;
}

.bang-tai-lieu .btn-download {
    display: inline-block;
    padding: 7px 14px;
    background: #33449c;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    white-space: nowrap;font-size: 14px;
}
.tailieu-title{font-size: 16px;}

@media (max-width: 768px) {
  .danh-sach-tai-lieu {
      overflow-x: auto;
  }

  .bang-tai-lieu {
      min-width: 700px;
  }

  .bang-tai-lieu th,
  .bang-tai-lieu td {
      padding: 10px;
      font-size: 14px;
  }
  .tailieu-title{font-size: 15px;}
}


/* TABS PRODUCT */
.my-product-category-tabs {
  width: 100%;
}

/* =========================
           TAB
        ========================= */

.my-product-category-tabs__content {
  max-width: 1280px;
  margin: auto;
  padding: 0 20px;
}
.my-product-category-tabs__nav {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 10px;
  max-width: 1240px;
  margin: auto;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.my-product-category-tabs__tab {
  padding: 0px 20px;
  border: 0;
  background: #33449c;
  cursor: pointer;
  font-size: 25px;
  font-weight: 500;
  border-radius: 0;
  transition: all 0.25s ease;
  min-width: 229px;
  min-height: 52px;
  color: #fff;
  position: relative;
}

.my-product-category-tabs__tab:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  background: #33449c;
  left: 0;
  bottom: 0;
}

.my-product-category-tabs__tab:hover,
.my-product-category-tabs__tab:focus,
.my-product-category-tabs__tab:active,
.my-product-category-tabs__tab.is-active {
  background-color: #e7ecf0;
  color: #33449c;
}

/* =========================
           PANEL
        ========================= */

.my-product-category-tabs__panel {
  display: none;
  width: 100%;
}

.my-product-category-tabs__panel.is-active {
  display: block;
}

/* =========================
           SLIDER
        ========================= */

.my-product-category-tabs__slider {
  position: relative;
}

.my-product-category-tabs__swiper {
  width: 100%;
  overflow: hidden;
}

/* =========================
           PRODUCT
        ========================= */
.my-product-category-tabs__swiper .swiper-slide {
  padding: 20px 0;
  height: auto;
  transition: all ease 0.5s;
}
.tab-box--grid{display: flex; gap: 12px;flex-wrap: wrap;}
.my-product-category-tabs__swiper
  .swiper-slide.swiper-slide-duplicate.swiper-slide-prev {
  visibility: hidden;
  opacity: 0;
}
.tab-box--item {
  padding: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: calc(20% - 10px);
  position: relative;
}

.my-product-category-tabs__product {
  height: 100%;
}

.my-product-category-tabs__image {
  display: block;
  overflow: hidden;
}

.my-product-category-tabs__image img {
  display: block;
  width: 100%;
  height: auto;

  transition: transform 0.3s ease;
}

.my-product-category-tabs__image:hover img {
  transform: scale(1.04);
}

.my-product-category-tabs__info {
  padding-top: 15px;
}

.my-product-category-tabs__title {
  margin: 0 0 8px;

  font-size: 16px;
  line-height: 1.4;
}

.my-product-category-tabs__title a {
  color: inherit;
  text-decoration: none;
}

.my-product-category-tabs__price {
  font-size: 16px;
  font-weight: 600;
}

/* =========================
           ARROW
        ========================= */

.my-product-category-tabs__arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
}

.my-product-category-tabs__arrow:hover {
  background: transparent;
}

.my-product-category-tabs__arrow--prev {
  left: -40px;
}

.my-product-category-tabs__arrow--next {
  right: -40px;
}

/* =========================
           VIEW ALL
        ========================= */

.my-product-category-tabs__view-all {
  margin-top: 20px;
  display: flex;
  justify-content: end;
}

.my-product-category-tabs__view-all-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 28px;

  border: 1px solid #222;

  color: #222;
  text-decoration: none;

  transition: all 0.25s ease;
}

.my-product-category-tabs__view-all-link:hover {
  background: #222;
  color: #fff;
}

/* =========================
           MOBILE
        ========================= */

@media (max-width: 767px) {

}

@media (max-width: 1366px) {
  .tieude-wrapper h1{font-size: 32px}
}

@media (max-width: 1250px) {
  .single-detail-page {
    margin: 60px auto;
    padding: 0 5%;
  }
}
@media screen and (max-width: 1024px) {
  .tab-box--item{width: calc(25% - 9px);}
  .tieude-wrapper{margin-top:40px;}
  .tieude-wrapper--page{margin-top:0px;}
  .tieude-wrapper h1{font-size: 28px}
  .single-detail-page {
    margin: 40px auto;
  }
  .page-banner--title {
    font-size: 32px;
  }
  .news-style-wrapper {
    margin: 40px auto;
    padding: 0 5%;
  }
  .news-style-item {
    width: calc(50% - 12px);
  }
  .my-product-category-tabs__content {
    padding: 0;
  }
  .my-product-category-tabs__view-all {
    justify-content: center;
  }
  .my-product-category-tabs__nav {
    justify-content: center;
  }
  .my-product-category-tabs__tab {
    font-size: 16px;
    min-width: 100px;
    min-height: 40px;
    padding: 0px 10px;
  }
}

@media screen and (max-width: 991px) {
  .single-detail-page {
    flex-direction: column;
    gap: 40px;
  }
  .single-detail--content {
    width: 100%;
    padding-right: 0;
  }
  .single-detail--related {
    width: 100%;
  }
  .single-page-title {
    font-size: 22px;
  }
}

@media screen and (max-width: 767px) {
  .tab-box--item{width: calc(50% - 6px);}
  .tab-box--grid {     grid-template-columns: repeat(2, 1fr);     gap: 12px;   }
  #ast-scroll-top{
    width: 36px;
    height: 36px;
    right: 12px;
    line-height: 36px;
  }
  .page-banner--title {
    padding: 10px 10px 10px 10px;
    font-size: 20px;
  }
  .news-style-item .latest-category-posts-slider__title a {
    font-size: 14px;
  }
  .news-style-item .latest-category-posts-slider__excerpt {
    font-size: 13px;
  }
  .news-style-item .latest-category-posts-slider__content {
    padding-top: 5px;
  }
  .news-style-item .latest-category-posts-slider__date {
    margin-bottom: 5px;
  }
  .news-style-item .latest-category-posts-slider__title {
    margin: 0 0 5px;
  }
  .house-style-list {
    gap: 30px 14px;
  }
  .news-style-item {
    width: calc(50% - 7px);
  }
  .news-style-item .latest-category-posts-slider__date {
    font-size: 10px;
  }
  .tieude-wrapper h1{font-size: 26px}
}

@media screen and (max-width: 500px) {
  .page-banner--title {
    font-size: 18px;
  }
  .menu-style2 .hfe-menu-item {
    font-size: 14px;
  }
  .menu-style2 .hfe-nav-menu {
    gap: 16px;
  }
  .tab-box--item {
    box-shadow: none;
    border: 1px solid #ebebeb;
  }
  .my-product-category-tabs__arrow {
    width: 24px;
    height: 24px;
  }
  .my-product-category-tabs__arrow--prev {
    left: 0;
  }
  .my-product-category-tabs__arrow--next {
    right: 0;
  }
  .tieude-wrapper h1{font-size: 24px}
}



/* =========================================================
   CUSTOM CHECKOUT
========================================================= */

.custom-checkout {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.custom-checkout__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
  gap: 24px;
  align-items: start;
}

.woocommerce-js form .form-row{width: 100%;}


/* =========================================================
   SECTION
========================================================= */

.custom-checkout__section {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 24px;
}

.custom-checkout__title {
  font-size: 17px;
  line-height: 1.3;
  font-weight: 600;
  margin: 0 0 30px !important;
  color: #000 !important;
  text-transform: uppercase;
}


/* =========================================================
   FORM FIELDS
========================================================= */

.custom-cart-item__variations{margin-top: 10px;}
body select.cart-variation-select{background-color: #fafafa; min-height: 36px; height:36px; padding: 0 10px; font-size: 14px; border-radius: 4px;
background-image: url("data:image/svg+xml,%3Csvg class='ast-arrow-svg' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' x='0px' y='0px' width='26px' height='16.043px' fill='%23334155' viewBox='57 35.171 26 16.043' enable-background='new 57 35.171 26 16.043' xml:space='preserve' %3E%3Cpath d='M57.5,38.193l12.5,12.5l12.5-12.5l-2.5-2.5l-10,10l-10-10L57.5,38.193z'%3E%3C/path%3E%3C/svg%3E") !important;background-repeat: no-repeat !important;
    background-size: 10px !important;
    background-position: right 10px center !important;}
.custom-checkout__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
}

.custom-checkout__fields .form-row-wide {
  grid-column: 1 / -1;
}

.custom-checkout .form-row {
  margin-bottom: 18px;
}

.custom-checkout label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 7px;
  color: #222;
}

.custom-checkout .required {
  color: #d63638;
}

.custom-checkout input.input-text,
.custom-checkout input[type="text"],
.custom-checkout input[type="email"],
.custom-checkout input[type="tel"],
.custom-checkout select,
.custom-checkout textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid #d8d8d8;
  border-radius: 7px;
  background: #fff;
  font-size: 15px;
  outline: none;
  box-sizing: border-box;
}

.custom-checkout textarea {
  min-height: 110px;
  resize: vertical;
}

.custom-checkout input:focus,
.custom-checkout select:focus,
.custom-checkout textarea:focus {
  border-color: #111;
  box-shadow: 0 0 0 1px #111;
}


/* =========================================================
   CART
========================================================= */
.wc_payment_methods{display: none;}
.custom-checkout__cart {
  position: sticky;
  top: 30px;
}

.custom-cart-items {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.custom-cart-item {
  display: flex;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid #ededed;
}

.custom-cart-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.custom-cart-item__image-wrap {
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
}

.custom-cart-item__image-wrap img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 8px;
}

.custom-cart-item__content {
  flex: 1;
  min-width: 0;
  position: relative;
}

.custom-cart-item__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.custom-cart-item__name {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
}

.custom-cart-item__name a {
  color: inherit;
  text-decoration: none;
}

.custom-cart-item__remove {
  border: 0;
  background: transparent !important;
  padding: 0;
  cursor: pointer;
  font-size: 24px;
  line-height: 20px;
  color: #888 !important;
  position: absolute;
  top: -10px;
  right: 0;
  box-shadow: none;
}

.custom-cart-item__remove:hover {
  color: #d63638;
}

.custom-cart-item__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.custom-cart-item__quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 7px;
  overflow: hidden;
  border-radius: 4px;
}

.quantity-btn {
  width: 34px;
  height: 36px;
  border: 0;
  background: #f7f7f7;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 0;
  color: #333;
}

.quantity-btn:hover {
  background: #eee;
}

.quantity-input {
  width: 42px !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 !important;
  border: 0 !important;
  text-align: center;
  font-size: 14px;
  background: #fff;
}

.quantity-input::-webkit-inner-spin-button,
.quantity-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quantity-input[type="number"] {
  -moz-appearance: textfield;
}

.custom-cart-item__price {
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}


/* =========================================================
   CART SUMMARY
========================================================= */

.custom-cart-summary {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #e5e5e5;
  display: none;
}

.custom-cart-summary__row,
.custom-total__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 15px;
}

.custom-cart-summary__row strong,
.custom-total__row strong {
  font-weight: 600;
}


/* =========================================================
   TOTAL
========================================================= */

.custom-checkout__total {
  background: #f8f8f8;
  border-radius: 12px;
  padding: 26px;
}

.custom-checkout__total-title {
  font-size: 20px;
  margin: 0 0 22px;
  font-weight: 600;
}

.custom-total__row {
  padding: 8px 0;
}

.custom-total__grand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  margin-top: 10px;
  border-top: 1px solid #ddd;
  font-size: 18px;
}

.custom-total__grand strong {
  font-size: 21px;
}


/* =========================================================
   PAYMENT
========================================================= */

.custom-checkout__empty-checkout{text-align: center;}
body .custom-checkout__empty-checkout a.button{
  display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #c1121f;
    color: #fff;
    font-size: 18px;
    min-height: 60px;
    padding: 0 12px;
    border-radius: 4px;
    cursor: pointer;
    min-width: 250px;
    text-transform: uppercase;
}
body .custom-checkout__empty-checkout a.button:hover{background-color: #33449c;}
#billing_company_field, #billing_postcode_field, #_field{display: none;}

.woocommerce-checkout-payment {
  margin-top: 25px;
}

.wc_payment_methods {
  padding: 0 !important;
  margin: 0 0 20px !important;
  list-style: none;
}

.wc_payment_methods li {
  margin-bottom: 10px;
}

.wc_payment_methods label {
  margin: 0;
}

.payment_box {
  margin: 10px 0 0 !important;
  padding: 14px !important;
  background: #fff !important;
  border-radius: 7px;
}
.woocommerce-page.woocommerce-checkout #payment div.form-row{padding-bottom: 0 !important}

/* =========================================================
   PLACE ORDER
========================================================= */

.custom-place-order {
  width: 100%;
  min-height: 52px;
  padding: 14px 20px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #111 !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  cursor: pointer;
}

.custom-place-order:hover {
  background: #333 !important;
}

.custom-place-order:disabled {
  opacity: .6;
  cursor: not-allowed;
}


/* =========================================================
   EMPTY CART
========================================================= */

.custom-cart-empty {
  text-align: center;
  padding: 30px 10px;
  color: #777;
}


/* =========================================================
   LOADING
========================================================= */

.custom-checkout.is-updating {
  opacity: .6;
  pointer-events: none;
}

.custom-cart-item.is-updating {
  opacity: .5;
}



.house-style-pagination .page-numbers {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 5px;
  margin-top:25px;
}
.house-style-pagination .page-numbers li .page-numbers {
  background: #ebebeb;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #333;
}
.house-style-pagination .page-numbers li .current {
  background: #c1121f;
  color: #fff;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

  .custom-checkout__layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .custom-checkout__cart {
    position: static;
  }

}

@media (max-width: 600px) {

  .custom-checkout__section,
  .custom-checkout__total {
    padding: 20px;
    border-radius: 8px;
  }

  .custom-checkout__fields {
    grid-template-columns: 1fr;
  }

  .custom-checkout__fields .form-row-wide {
    grid-column: auto;
  }

  .custom-cart-item__image-wrap,
  .custom-cart-item__image-wrap img {
    width: 64px;
    height: 64px;
  }

  .custom-cart-item__image-wrap {
    flex-basis: 64px;
  }
  body .custom-checkout__empty-checkout a.button{font-size: 15px;
    min-height: 50px;min-width: 200px;}

}