@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  --color-black: #000;
  --color-white: #fff;
  --spacing: 0.25rem;
  --container-sm: 24rem;
  --container-md: 28rem;
  --container-lg: 32rem;
  --container-xl: 36rem;
  --container-2xl: 42rem;
  --container-3xl: 48rem;
  --container-4xl: 56rem;
  --container-5xl: 64rem;
  --container-6xl: 72rem;
  --container-7xl: 80rem;
  --text-xs: 0.75rem;
  --text-xs--line-height: calc(1/0.75);
  --text-sm: 0.875rem;
  --text-sm--line-height: calc(1.25/0.875);
  --text-base: 1rem;
  --text-base--line-height: calc(1.5/1);
  --text-lg: 1.125rem;
  --text-lg--line-height: calc(1.75/1.125);
  --text-xl: 1.25rem;
  --text-xl--line-height: calc(1.75/1.25);
  --text-2xl: 1.5rem;
  --text-2xl--line-height: calc(2/1.5);
  --text-3xl: 1.875rem;
  --text-3xl--line-height: calc(2.25/1.875);
  --text-4xl: 2.25rem;
  --text-4xl--line-height: calc(2.5/2.25);
  --text-5xl: 3rem;
  --text-5xl--line-height: 1;
  --text-6xl: 3.75rem;
  --text-6xl--line-height: 1;
  --text-7xl: 4.5rem;
  --text-7xl--line-height: 1;
  --text-9xl: 8rem;
  --text-9xl--line-height: 1;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;
  --tracking-widest: 0.1em;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-relaxed: 1.625;
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --animate-spin: spin 1s linear infinite;
  --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  --blur-sm: 8px;
  --default-transition-duration: 0.15s;
  --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  --default-mono-font-family: var(--font-mono);
  --border-color: #e2e8f0;
  --border-color-hover: #e8d2a6;

  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.12);
  --radius: 8px;
}

body {
  font-family: "Montserrat", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
}

b,
strong {
  font-weight: 700;
}

.box-text {
  padding: 0;
  font-size: 100%;
}

.box-text a:not(.button),
.box-text h1,
.box-text h2,
.box-text h3,
.box-text h4,
.box-text h5,
.box-text h6,
.box-text p {
  margin: 0;
}

.button.primary {
  font-size: 14px;
  border-radius: 99px;
  font-weight: 500;
  height: 50px;
  line-height: 46px;
  padding: 0 20px;
}

/* header */
.header .flex-row {
  max-width: 100%;
  padding-inline: calc(var(--spacing) * 9);
}

.icon-shopping-cart:before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  background-color: #000000cf;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M3.392 6.875h13.216v8.016c0 .567-.224 1.112-.624 1.513-.4.402-.941.627-1.506.627H5.522a2.13 2.13 0 0 1-1.506-.627 2.15 2.15 0 0 1-.624-1.513zM8.818 2.969h2.333c.618 0 1.211.247 1.649.686a2.35 2.35 0 0 1 .683 1.658v1.562H6.486V5.313c0-.622.246-1.218.683-1.658a2.33 2.33 0 0 1 1.65-.686' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M3.392 6.875h13.216v8.016c0 .567-.224 1.112-.624 1.513-.4.402-.941.627-1.506.627H5.522a2.13 2.13 0 0 1-1.506-.627 2.15 2.15 0 0 1-.624-1.513zM8.818 2.969h2.333c.618 0 1.211.247 1.649.686a2.35 2.35 0 0 1 .683 1.658v1.562H6.486V5.313c0-.622.246-1.218.683-1.658a2.33 2.33 0 0 1 1.65-.686' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.icon-user:before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  background-color: #000000cf;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M2.75 20.2021C2.75 16.5642 5.78929 13.6151 12 13.6151C18.2107 13.6151 21.25 16.5642 21.25 20.2021C21.25 20.7808 20.8277 21.25 20.3069 21.25H3.69314C3.17226 21.25 2.75 20.7808 2.75 20.2021Z' stroke='white' stroke-width='1.5'/%3E%3Cpath d='M15.4688 6.21875C15.4688 8.13449 13.9157 9.6875 12 9.6875C10.0843 9.6875 8.53125 8.13449 8.53125 6.21875C8.53125 4.30301 10.0843 2.75 12 2.75C13.9157 2.75 15.4688 4.30301 15.4688 6.21875Z' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M2.75 20.2021C2.75 16.5642 5.78929 13.6151 12 13.6151C18.2107 13.6151 21.25 16.5642 21.25 20.2021C21.25 20.7808 20.8277 21.25 20.3069 21.25H3.69314C3.17226 21.25 2.75 20.7808 2.75 20.2021Z' stroke='white' stroke-width='1.5'/%3E%3Cpath d='M15.4688 6.21875C15.4688 8.13449 13.9157 9.6875 12 9.6875C10.0843 9.6875 8.53125 6.21875 8.53125 6.21875C8.53125 4.30301 10.0843 2.75 12 2.75C13.9157 2.75 15.4688 4.30301 15.4688 6.21875Z' stroke='white' stroke-width='1.5'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.icon-search:before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  background-color: #000000cf;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M16.927 17.0401L20.4001 20.4001M19.2801 11.4401C19.2801 15.77 15.77 19.2801 11.4401 19.2801C7.11019 19.2801 3.6001 15.77 3.6001 11.4401C3.6001 7.11019 7.11019 3.6001 11.4401 3.6001C15.77 3.6001 19.2801 7.11019 19.2801 11.4401Z' stroke='white' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M16.927 17.0401L20.4001 20.4001M19.2801 11.4401C19.2801 15.77 15.77 19.2801 11.4401 19.2801C7.11019 19.2801 3.6001 15.77 3.6001 11.4401C3.6001 7.11019 7.11019 3.6001 11.4401 3.6001C15.77 3.6001 19.2801 7.11019 19.2801 11.4401Z' stroke='white' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

#search-lightbox {
  background-color: #fff;
  padding: 30px;
  border-radius: 1rem;
  overflow: hidden;
}

#search-lightbox input[type="search"] {
  height: 50px;
  box-shadow: none;
  font-size: 16px;
}

#search-lightbox .searchform .button.icon {
  width: 50px;
  height: 50px;
  min-height: unset;
  min-width: unset;
  display: flex;
  align-items: center;
  justify-content: center;
}

.transparent .icon-shopping-cart:before,
.transparent .icon-search:before {
  background-color: #fff;
}

/* home */
.home1 .banner h2 {
  font-size: var(--text-4xl);
  line-height: var(--tw-leading, var(--text-4xl--line-height));
  margin: 0;
  margin-bottom: calc(var(--spacing) * 4);
}

.home1 .banner p {
  margin: 0 auto;
  max-width: var(--container-xl);
  margin-bottom: calc(var(--spacing) * 6);
}

.home3 {
  padding-block: calc(var(--spacing) * 16);
  padding-bottom: calc(var(--spacing) * 16 - 30px);
}

.m-content h4 {
  font-size: var(--text-sm);
  line-height: var(--tw-leading, var(--text-sm--line-height));
  --tw-tracking: var(--tracking-wider);
  letter-spacing: var(--tracking-wider);
  color: #ffff;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 1rem;
}

.m-content h2 {
  font-size: var(--text-4xl);
  line-height: var(--tw-leading, var(--text-4xl--line-height));
  color: #b2957a;
  --tw-font-weight: var(--font-weight-bold);
  font-weight: var(--font-weight-bold);
  margin-bottom: 2rem;
}

/* blogs */
.archive-page-header {
  display: none;
}

/* Product variation image swatches */
.product-price-container span.amount {
  font-size: 24px;
  color: var(--fs-color-primary);
}

.single-product form.variations_form .variations select,
.single-product .daw-variation-select {
  display: none !important;
}

.single-product .woocommerce-variation-price {
  display: none !important;
}

.single-product .daw-flatsome-swatches-hidden {
  display: none !important;
}

.single-product .daw-variation-swatches {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 8px 0 12px;
}

.single-product .daw-variation-swatch {
  align-items: center;
  appearance: none;
  background: var(--color-white);
  border: 1px solid #262626;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  display: inline-flex;
  height: 80px;
  justify-content: center;
  margin: 0;
  min-height: 80px;
  min-width: 80px;
  overflow: hidden;
  padding: 3px;
  position: relative;
  touch-action: manipulation;
  transition:
    border-color 180ms ease-out,
    box-shadow 180ms ease-out,
    opacity 180ms ease-out;
  width: 80px;
}

.single-product .daw-variation-swatch img {
  display: block;
  height: 100%;
  margin: 0;
  object-fit: contain;
  width: 100%;
}

.single-product .daw-variation-swatch:hover:not(:disabled) {
  border-color: #b2957a;
}

.single-product .daw-variation-swatch.is-selected {
  border-color: #b2957a;
  box-shadow: 0 0 0 1px #b2957a;
}

.single-product .daw-variation-swatch:focus-visible {
  border-color: #1a1a1a;
  box-shadow: 0 0 0 3px rgba(178, 149, 122, 0.35);
  outline: 2px solid transparent;
}

.single-product .daw-variation-swatch:disabled,
.single-product .daw-variation-swatch.is-disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.single-product .daw-variation-swatch:disabled::after,
.single-product .daw-variation-swatch.is-disabled::after {
  background: #262626;
  content: "";
  height: 1px;
  left: 8%;
  position: absolute;
  top: 50%;
  transform: rotate(-45deg);
  width: 84%;
}

.single-product .daw-variation-title-code {
  white-space: nowrap;
}

@media only screen and (max-width: 48em) {
  .single-product .daw-variation-swatches {
    gap: 12px;
  }

  .single-product .daw-variation-swatch {
    height: 68px;
    min-height: 68px;
    min-width: 68px;
    width: 68px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .single-product .daw-variation-swatch {
    transition: none;
  }
}

/* post-item */
h1.entry-title {
  margin-bottom: 0;
}

.entry-divider {
  display: none;
}

.archive-title h1 {
  font-size: var(--text-6xl);
  line-height: var(--tw-leading, var(--text-6xl--line-height));
  text-transform: uppercase;
  --tw-font-weight: var(--font-weight-light);
  font-weight: var(--font-weight-light);
  margin-bottom: calc(var(--spacing) * 8);
}

.news-category-nav {
  margin-bottom: 30px;
}

.news-category-nav ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-category-nav li {
  margin: 0;
}

.news-category-nav a {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  color: #333;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  transition: all 0.2s ease;
}

.news-category-nav a:hover,
.news-category-nav li.active a {
  color: var(--fs-color-primary);
  border-bottom: 2px solid;
  border-color: var(--primary-color);
}

.widget .searchform {
  margin-bottom: 0;
  padding: 15px;
}

.widget .searchform input[type="search"] {
  border-radius: 8px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: none;
  height: 44px;
}

.widget .searchform .button.icon {
  height: 44px;
  width: 44px;
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

.widget {
  padding: 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

span.widget-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 14px 18px;
  color: #fff;
  background: var(--fs-color-primary);
  font-size: 18px;
  justify-content: center;
}

.post_comments,
.widget .is-divider {
  display: none;
}

.recent-blog-posts {
  padding: 15px;
}

.recent-blog-posts-li .badge,
.recent-blog-posts-li .badge-inner {
  width: 100px;
  height: 70px;
  border-radius: 0.5rem;
}

.recent-blog-posts-li .flex-col.flex-grow {
  max-width: calc(100% - 100px);
}

.recent-blog-posts a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  line-height: 1.4;
  color: var(--fs-color-base);
  margin: 0;
  font-weight: 500;
}

.recent-blog-posts a:hover {
  color: var(--fs-color-primary);
}

.recent-blog-posts {
  align-items: center !important;
}

.recent-blog-posts .badge::after {
  display: none !important;
}

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

.post-item .box-text {
  padding: 1rem 0;
}

.post-item .post-title a {
  font-size: 30px;
  --tw-leading: var(--leading-tight);
  line-height: var(--leading-tight);
  --tw-font-weight: var(--font-weight-light);
  font-weight: var(--font-weight-light);
  color: #ffff;
  margin-bottom: 1rem;
}

.post-item .post-meta {
  color: var(--fs-color-primary);
  opacity: 1;
  font-size: 16px;
  margin-bottom: 1rem;
}

.post-item .box-text .button {
  cursor: pointer;
  color: #ffff;
  align-items: center;
  display: flex;
  position: relative;
  text-transform: none;
  font-weight: 400;
  gap: 8px;
  font-size: 14px;
}

.post-item .box-text .button::before {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  background-color: #ffff;
}

.post-item .box:hover .box-image {
  opacity: 0.7;
}

.post-item .box:hover .post-title a {
  color: var(--fs-color-primary);
}

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

/* product-small */
.product-small .box-text {
  padding: 0.5rem 0;
  text-align: center;
}

.product-small .product-title a {
  font-size: var(--text-base);
  line-height: var(--tw-leading, var(--text-base--line-height));
  --tw-font-weight: var(--font-weight-medium);
  font-weight: var(--font-weight-medium);
  --tw-tracking: var(--tracking-wide);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--color-white);
}

span.amount {
  color: var(--fs-color-primary);
}

.product-small .wc-forward {
  display: none !important;
}

.product-small .btn-addtocart {
  background-color: #222222;
  color: #fff;
  padding: 12px 24px;
  border-radius: 99px;
  width: 100%;
  opacity: 0;
  transition: all 0.3s ease;
}

.product-small.box {
  transition: all 0.3s ease;
}

.product-small.box:hover {
  --tw-translate-y: -10px;
  translate: 0 var(--tw-translate-y);
}

.product-small.box:hover .btn-addtocart {
  opacity: 1;
  margin-top: 10px !important;
}

/* mini cart */
.off-canvas-cart {
  --drawer-width: 400px !important;
  color: #111;
  background: #fff;
  box-shadow: -18px 0 44px rgb(0 0 0 / 14%);
}

body:has(.off-canvas-cart) .duy-contact-wrap {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

#cart-popup {
  height: 100%;
  --mini-cart-accent: #f6b500;
}

#cart-popup .cart-popup-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  background: #fff;
}

#cart-popup .cart-popup-title {
  display: flex;
  flex: 0 0 76px;
  align-items: center;
  min-height: 76px;
  margin: 0;
  padding: 0 72px 0 24px;
  text-align: left !important;
  border-bottom: 1px solid #e7e7e7;
}

#cart-popup .cart-popup-title .heading-font {
  color: #111;
  font-size: 22px;
  font-weight: 700;
  text-transform: none;
}

#cart-popup .cart-popup-title .is-divider {
  display: none;
}

.off-canvas-right:has(.off-canvas-cart) > .mfp-close {
  top: 0;
  right: 4px;
  width: 56px;
  height: 76px;
  padding: 0;
  color: #222;
  opacity: 1;
}

.off-canvas-right:has(.off-canvas-cart) > .mfp-close:hover {
  color: #f6b500;
  background: transparent;
}

#cart-popup .widget_shopping_cart,
#cart-popup .widget_shopping_cart_content {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  min-height: 0;
}

#cart-popup .woocommerce-mini-cart {
  flex: 1;
  min-height: 0;
  margin: 0;
  padding: 8px 24px 24px;
  overflow-x: hidden;
  overflow-y: auto;
}

#cart-popup .woocommerce-mini-cart-item {
  position: relative;
  min-height: 136px;
  margin: 0;
  padding: 20px 0 20px 112px !important;
  border-bottom: 1px solid #e7e7e7;
}

#cart-popup .woocommerce-mini-cart-item > a:not(.remove) {
  position: static;
  display: -webkit-box;
  min-height: 44px;
  padding: 2px 34px 0 0;
  color: #111;
  font-size: 15px;
  font-weight: 600;
  line-height: 21px;
  text-transform: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

#cart-popup .woocommerce-mini-cart-item > a:not(.remove):hover {
  color: #f6b500;
}

#cart-popup .woocommerce-mini-cart-item img {
  position: absolute;
  top: 20px;
  left: 0;
  width: 96px;
  height: 96px;
  margin: 0;
  object-fit: contain;
  background: #f7f7f7;
  border-radius: 10px;
}

#cart-popup .woocommerce-mini-cart-item .remove {
  position: absolute;
  top: 14px;
  right: -8px;
  width: 44px;
  height: 44px;
  color: #666 !important;
  font-size: 20px;
  line-height: 44px;
  text-align: center;
  background: transparent !important;
  border: 0;
}

#cart-popup .woocommerce-mini-cart-item .remove:hover {
  color: #c62828 !important;
}

#cart-popup .ux-mini-cart-qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 44px;
  margin: 10px 0 0;
}

#cart-popup .ux-quantity {
  display: grid;
  grid-template-columns: repeat(3, 40px);
  width: 120px;
  height: 40px;
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 5px;
}

#cart-popup .ux-quantity__button,
#cart-popup .ux-quantity .qty {
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  color: #333;
  font-size: 15px;
  line-height: 40px;
  text-align: center;
  background: transparent;
  border: 0;
  box-shadow: none;
}

#cart-popup .ux-quantity__button:hover {
  color: #f6b500;
  background: #f2f2f2;
}

#cart-popup .product-subtotal {
  margin: 0;
  color: #111;
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 1;
}

#cart-popup .product_list_widget li + li {
  border-top: 0;
}

#cart-popup .ux-mini-cart-footer {
  position: sticky;
  bottom: 0;
  z-index: 2;
  width: 100%;
  margin: 0;
  padding: 18px 24px calc(24px + env(safe-area-inset-bottom));
  background: #f7f7f7;
  border-top: 1px solid #e7e7e7;
  box-shadow: 0 -10px 28px rgb(0 0 0 / 5%);
}

#cart-popup .woocommerce-mini-cart__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}

#cart-popup .woocommerce-mini-cart__total strong {
  font-size: 18px;
  font-weight: 600;
}

#cart-popup .woocommerce-mini-cart__total .amount {
  color: #111;
  font-size: 24px;
  font-weight: 700;
}

#cart-popup .woocommerce-mini-cart__buttons {
  margin: 0;
}

#cart-popup .woocommerce-mini-cart__buttons .button:not(.checkout) {
  display: none;
}

#cart-popup .woocommerce-mini-cart__buttons .checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-transform: none;
  background: #000;
  border-radius: 8px;
}

#cart-popup .woocommerce-mini-cart__buttons .checkout:hover {
  color: #fff;
  background: #f6b500;
}

#cart-popup .woocommerce-mini-cart__empty-message {
  margin: auto;
  padding: 48px 24px;
  color: #686868;
  font-size: 16px;
  text-align: center;
}

#cart-popup .button.wc-backward {
  height: 46px;
  margin: 0 !important;
  line-height: 46px;
  border-radius: 8px;
}

@media only screen and (max-width: 480px) {
  .off-canvas-cart {
    --drawer-width: 100vw !important;
  }

  #cart-popup .cart-popup-title {
    min-height: 68px;
    padding: 0 64px 0 20px;
  }

  .off-canvas-right:has(.off-canvas-cart) > .mfp-close {
    width: 48px;
    height: 68px;
  }

  #cart-popup .woocommerce-mini-cart {
    padding: 8px 20px 20px;
  }

  #cart-popup .woocommerce-mini-cart-item {
    padding-left: 100px !important;
  }

  #cart-popup .woocommerce-mini-cart-item img {
    width: 84px;
    height: 84px;
  }

  #cart-popup .ux-mini-cart-footer {
    padding-right: 20px;
    padding-left: 20px;
  }
}

/* Checkout page */
.woocommerce-checkout .checkout-page,
.woocommerce-checkout .woocommerce {
  max-width: 85%;
  margin-right: auto;
  margin-left: auto;
}

.woocommerce-checkout .checkout {
  padding-bottom: 52px;
}

.has-border {
  padding: 0;
  border: 0;
}

#order_review_heading,
.woocommerce-shipping-fields,
.woocommerce-form-coupon-toggle {
  display: none;
}

.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields,
.woocommerce-checkout #order_review,
.woocommerce-checkout .checkout_coupon,
.woocommerce-checkout .woocommerce-form-login {
  margin-bottom: 22px;
  padding: 24px;
  border: 1px solid #eadfcd;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 14px 34px rgba(29, 54, 102, 0.08);
}

.woocommerce-checkout #order_review {
  background: linear-gradient(180deg, #fff 0%, #fffaf2 100%);
}

.woocommerce-checkout h3,
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3,
.woocommerce-checkout #order_review_heading {
  margin: 0 0 18px;
  color: var(--fs-color-primary);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.woocommerce-checkout .form-row {
  margin-bottom: 16px !important;
}

.woocommerce-checkout .form-row label {
  margin-bottom: 7px;
  color: #263247;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.woocommerce-checkout .form-row .required {
  color: #c43d2d;
  text-decoration: none;
}

.woocommerce-checkout form.checkout input.input-text,
.woocommerce-checkout form.checkout textarea,
.woocommerce-checkout form.checkout select,
.woocommerce-checkout
  form.checkout
  .select2-container--default
  .select2-selection--single,
.woocommerce-checkout .checkout_coupon input.input-text,
.woocommerce-checkout .woocommerce-form-login input.input-text {
  width: 100% !important;
  min-height: 46px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1px solid #d9c8aa !important;
  border-radius: 0.65rem !important;
  box-shadow: none !important;
  background-color: #fff !important;
  color: #222 !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 46px !important;
}

.woocommerce-checkout form.checkout textarea {
  min-height: 116px !important;
  padding-top: 12px !important;
  line-height: 1.55 !important;
}

.woocommerce-checkout form.checkout input.input-text:focus,
.woocommerce-checkout form.checkout textarea:focus,
.woocommerce-checkout form.checkout select:focus,
.woocommerce-checkout .checkout_coupon input.input-text:focus,
.woocommerce-checkout .woocommerce-form-login input.input-text:focus,
.woocommerce-checkout
  form.checkout
  .select2-container--open
  .select2-selection--single {
  border-color: var(--fs-color-primary) !important;
  box-shadow: 0 0 0 3px rgba(29, 54, 102, 0.12) !important;
  outline: 0 !important;
}

.woocommerce-checkout form.checkout .select2-container {
  width: 100% !important;
}

.woocommerce-checkout
  form.checkout
  .select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  padding-right: 34px !important;
  padding-left: 0 !important;
  color: #222 !important;
  line-height: 44px !important;
}

.woocommerce-checkout
  form.checkout
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 44px !important;
  right: 8px !important;
}

.woocommerce-checkout .woocommerce-invalid input.input-text,
.woocommerce-checkout .woocommerce-invalid select,
.woocommerce-checkout .woocommerce-invalid .select2-selection {
  border-color: #c43d2d !important;
}

.woocommerce-checkout .woocommerce-validated input.input-text,
.woocommerce-checkout .woocommerce-validated select,
.woocommerce-checkout .woocommerce-validated .select2-selection {
  border-color: #6fae75 !important;
}

.woocommerce-checkout table.shop_table {
  margin: 0 0 18px;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
}

.woocommerce-checkout table.shop_table th,
.woocommerce-checkout table.shop_table td {
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid #eadfcd;
  color: #263247;
  font-size: 14px;
}

.woocommerce-checkout table.shop_table thead th {
  color: var(--fs-color-primary);
  font-weight: 800;
  text-transform: uppercase;
}

.woocommerce-checkout table.shop_table .amount,
.woocommerce-checkout table.shop_table tfoot td {
  color: var(--fs-color-primary);
  font-weight: 800;
}

.woocommerce-checkout #payment {
  border: 1px solid #eadfcd;
  border-radius: 0.85rem;
  overflow: hidden;
  background: #fff;
}

.woocommerce-checkout #payment ul.payment_methods {
  padding: 16px 18px;
  border-bottom: 1px solid #eadfcd;
  margin-bottom: 0;
}

.woocommerce-checkout #payment ul.payment_methods li {
  margin: 0;
  padding: 10px 0;
  color: #263247;
  font-size: 14px;
}

.woocommerce-checkout #payment div.payment_box {
  margin: 10px 0 0;
  padding: 12px 14px;
  border-radius: 0.65rem;
  background: #fffaf2;
  color: #465066;
  font-size: 14px;
  line-height: 1.55;
}

.woocommerce-checkout #payment .place-order {
  padding: 18px;
  margin-bottom: 0 !important;
}

.checkout-inline-error-message {
  font-size: 14px;
  color: red;
  opacity: 0.9;
}

.woocommerce-checkout #place_order {
  width: 100%;
  min-height: 30px !important;
  margin: 0 !important;
  border-radius: 0.7rem !important;
  background: var(--fs-color-primary) !important;
  border-color: var(--fs-color-primary) !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 30px !important;
  text-transform: none !important;
}

.woocommerce-checkout #place_order:hover {
  filter: brightness(1.08);
}

.woocommerce-checkout .woocommerce-info,
.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-message {
  border-radius: 0.85rem;
  box-shadow: none;
}

.woocommerce-checkout .checkout_coupon,
.woocommerce-checkout .woocommerce-form-login {
  background: #fffaf2;
}

.woocommerce-checkout .checkout_coupon .button,
.woocommerce-checkout .woocommerce-form-login .button {
  min-height: 44px;
  border-radius: 0.65rem;
  box-shadow: none;
  font-weight: 700;
  line-height: 44px;
  text-transform: none;
}

.is-well {
  padding: 0;
  box-shadow: none;
  background-color: transparent;
}

.woocommerce-vietqr-bank-details td,
.woocommerce-vietqr-bank-details th {
  font-size: 16px;
}

#qrcode {
  text-align: center;
  max-width: 300px;
  margin: 0 auto;
}

.wc-vietqr-bank-details-heading {
  font-size: 18px;
}

@media (max-width: 849px) {
  .woocommerce-checkout .checkout-page,
  .woocommerce-checkout .woocommerce {
    max-width: 100%;
  }

  .woocommerce-checkout .checkout {
    padding-top: 20px;
  }

  .woocommerce-checkout .woocommerce-billing-fields,
  .woocommerce-checkout .woocommerce-shipping-fields,
  .woocommerce-checkout .woocommerce-additional-fields,
  .woocommerce-checkout #order_review,
  .woocommerce-checkout .checkout_coupon,
  .woocommerce-checkout .woocommerce-form-login {
    padding: 16px;
  }

  .woocommerce-column--shipping-address {
    margin-top: 16px;
  }

  .cart-container.page-wrapper {
    padding: 0 15px;
  }
}

/* Order received page */
.woocommerce-order-received .checkout-page,
.woocommerce-order-received .woocommerce {
  max-width: 85%;
  margin-right: auto;
  margin-left: auto;
}

.woocommerce-order-received .woocommerce-order {
  padding: 34px 0 54px;
  padding-top: 0;
}

.checkout-breadcrumbs a.current {
  color: var(--fs-color-primary);
}

.woocommerce-order-received .woocommerce-notice--success,
.woocommerce-order-received .woocommerce-thankyou-order-received {
  position: relative;
  margin: 0 0 22px;
  padding: 34px 28px 28px;
  border: 1px solid #eadfcd;
  border-radius: 1rem;
  background: linear-gradient(180deg, #fff 0%, #fffaf2 100%);
  box-shadow: 0 16px 38px rgba(29, 54, 102, 0.1);
  color: var(--fs-color-primary);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.woocommerce-order-received .woocommerce-notice--success::before,
.woocommerce-order-received .woocommerce-thankyou-order-received::before {
  content: "\e92b";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: rgba(213, 177, 117, 0.2);
  color: var(--fs-color-primary);
  font-family: "feather" !important;
  font-size: 34px;
}

.woocommerce-order-received ul.woocommerce-order-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.woocommerce-order-received ul.woocommerce-order-overview li {
  margin: 0;
  padding: 16px;
  border: 1px solid #eadfcd;
  border-radius: 0.85rem;
  background: #fff;
  box-shadow: 0 10px 24px rgba(29, 54, 102, 0.07);
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}

.woocommerce-order-received ul.woocommerce-order-overview li strong {
  display: block;
  margin-top: 7px;
  color: var(--fs-color-primary);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: none;
}

.woocommerce-order-received .woocommerce-order-details,
.woocommerce-order-received .woocommerce-customer-details {
  margin-bottom: 24px;
  padding: 24px;
  border: 1px solid #eadfcd;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 14px 34px rgba(29, 54, 102, 0.08);
}

.woocommerce-order-received .woocommerce-order-details__title,
.woocommerce-order-received .woocommerce-column__title {
  margin: 0 0 18px;
  color: var(--fs-color-primary);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.woocommerce-order-received table.shop_table {
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
}

.woocommerce-order-received table.shop_table th,
.woocommerce-order-received table.shop_table td {
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid #eadfcd;
  color: #263247;
  font-size: 14px;
  line-height: 1.45;
}

.woocommerce-order-received table.shop_table thead th {
  color: var(--fs-color-primary);
  font-weight: 800;
  text-transform: uppercase;
}

.woocommerce-order-received table.shop_table tfoot th,
.woocommerce-order-received table.shop_table tfoot td,
.woocommerce-order-received table.shop_table .amount {
  color: var(--fs-color-primary);
  font-weight: 800;
}

.woocommerce-order-received table.shop_table tr:last-child th,
.woocommerce-order-received table.shop_table tr:last-child td {
  border-bottom: 0;
}

.woocommerce-order-received .woocommerce-customer-details address {
  margin: 0;
  padding: 18px;
  border: 1px solid #eadfcd;
  border-radius: 0.85rem;
  background: #fffaf2;
  color: #263247;
  font-style: normal;
  line-height: 1.7;
}

.woocommerce-order-received .woocommerce-customer-details address p {
  margin-bottom: 6px;
}

.woocommerce-order-received .woocommerce-customer-details--phone,
.woocommerce-order-received .woocommerce-customer-details--email {
  color: var(--fs-color-primary);
  font-weight: 700;
}

@media (max-width: 849px) {
  .woocommerce-order-received .checkout-page,
  .woocommerce-order-received .woocommerce {
    max-width: 100%;
  }

  .woocommerce-order-received .woocommerce-order {
    padding-top: 22px;
  }

  .woocommerce-order-received ul.woocommerce-order-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .woocommerce-order-received .woocommerce-order-details,
  .woocommerce-order-received .woocommerce-customer-details,
  .woocommerce-order-received .woocommerce-notice--success,
  .woocommerce-order-received .woocommerce-thankyou-order-received {
    padding: 18px;
  }
}

@media (max-width: 549px) {
  .woocommerce-order-received ul.woocommerce-order-overview {
    grid-template-columns: 1fr;
  }
}

/* Footer menu block */
#footer {
  background-color: #fff;
}

.ruplex-footer .footer-menu {
  margin: 0;
  background-color: transparent !important;
}

/* Footer heading */
.ruplex-footer .footer-title {
  position: relative;
  margin: 0 0 22px !important;
  padding-bottom: 13px;

  color: #ffff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Gold line */
.ruplex-footer .footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;

  width: 28px;
  height: 1px;

  background: #b2957a;

  transition: width 0.3s ease;
}

.ruplex-footer .footer-menu:hover .footer-title::after {
  width: 45px;
}

/* Nếu title là link */
.ruplex-footer .footer-title a {
  color: #fff !important;
  font-weight: inherit;
}

.ruplex-footer .footer-title a:hover {
  color: #ffff;
}

.absolute-footer.dark {
  background-color: #000;
  color: #fff;
  padding: 15px 0;
}

/* =========================================================
   RUPLEX KOREA - MOBILE SIDEBAR MENU
   ========================================================= */

/* Drawer */
.off-canvas-left:has(#main-menu) .mfp-content {
  width: min(86vw, 360px) !important;
  max-width: 360px !important;
  background: #fbfaf8 !important;
  box-shadow: 18px 0 48px rgba(17, 17, 17, 0.18);
}

#main-menu.mobile-sidebar,
#main-menu .sidebar-menu {
  width: 100%;
  background: #fbfaf8;
}

#main-menu.mobile-sidebar {
  position: relative;
  overflow-x: hidden;
}

#main-menu.mobile-sidebar .icon-search:before {
  background-color: #fff !important;
}

.button i,
button i {
  top: unset;
}

/* Gold accent */
#main-menu.mobile-sidebar::before {
  content: "";
  display: block;
  width: 52px;
  height: 2px;
  margin-left: 22px;
  background: #b2957a;
}

#main-menu .sidebar-menu {
  padding: 24px 0 36px;
}

#main-menu .nav-sidebar {
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
}

/* ========================
   SEARCH
   ======================== */

#main-menu .header-search-form {
  margin: 0;
  padding: 0 22px 24px !important;
  border: 0 !important;
}

#main-menu .searchform {
  margin: 0;
}

#main-menu .searchform .flex-row {
  overflow: hidden;

  background: #fff;
  border: 1px solid #e5dfd8;
  border-radius: 6px;

  box-shadow: 0 8px 24px rgba(25, 20, 16, 0.05);

  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

#main-menu .searchform .flex-row:focus-within {
  border-color: #b2957a;
  box-shadow: 0 0 0 3px rgba(178, 149, 122, 0.12);
}

#main-menu .searchform input[type="search"] {
  height: 46px;
  min-height: 46px;

  margin: 0;
  padding: 0 14px;

  color: #1a1a1a;
  font-size: 14px;

  background: #fff;

  border: 0 !important;
  border-radius: 0;
  box-shadow: none !important;
}

#main-menu .searchform input[type="search"]::placeholder {
  color: #99928b;
  opacity: 1;
}

#main-menu .searchform .button.icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 48px;
  min-width: 48px;

  height: 46px;
  min-height: 46px;

  margin: 0;
  padding: 0;

  color: #1a1a1a;

  background: #b2957a !important;

  border: 0 !important;
  border-radius: 0;
  box-shadow: none;

  transition:
    background-color 0.18s ease,
    color 0.18s ease;
}

#main-menu .searchform .button.icon:hover {
  color: #fff;
  background: #1a1a1a !important;
}

/* ========================
   MAIN MENU ITEMS
   ======================== */

#main-menu .nav-sidebar > li.menu-item {
  position: relative;
  margin: 0;

  border-top: 1px solid rgba(26, 26, 26, 0.07) !important;
}

#main-menu .nav-sidebar > li.menu-item:last-child {
  border-bottom: 1px solid rgba(26, 26, 26, 0.07) !important;
}

#main-menu .nav-sidebar > li.menu-item > a {
  position: relative;

  display: flex;
  align-items: center;

  min-height: 52px;

  margin: 0;
  padding: 15px 56px 15px 22px;

  color: #3b3937;

  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.01em;

  text-transform: none;

  background: transparent;

  transition:
    color 0.18s ease,
    background-color 0.18s ease,
    padding-left 0.18s ease;
}

/* Gold line on hover */
#main-menu .nav-sidebar > li.menu-item > a::before {
  content: "";

  position: absolute;
  top: 50%;
  left: 22px;

  width: 0;
  height: 1px;

  background: #b2957a;

  transform: translateY(-50%);

  transition: width 0.18s ease;
}

/* Hover + current */
#main-menu .nav-sidebar > li.menu-item:hover > a,
#main-menu .nav-sidebar > li.current-menu-item > a,
#main-menu .nav-sidebar > li.current-menu-ancestor > a {
  padding-left: 38px;

  color: #9c7b60;

  background: rgba(178, 149, 122, 0.07);
}

#main-menu .nav-sidebar > li.menu-item:hover > a::before,
#main-menu .nav-sidebar > li.current-menu-item > a::before,
#main-menu .nav-sidebar > li.current-menu-ancestor > a::before {
  width: 9px;
}

/* ========================
   SUBMENU ARROW
   ======================== */

#main-menu .nav-sidebar .toggle {
  position: absolute;

  top: 0;
  right: 6px;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 46px;
  height: 52px;
  min-height: 52px;

  margin: 0;
  padding: 0;

  color: #77716b;

  background: transparent !important;

  border: 0;
  box-shadow: none;

  opacity: 1;
  transform: none;
}

#main-menu .nav-sidebar .toggle i {
  width: auto;
  height: auto;

  font-size: 17px;

  transition:
    color 0.18s ease,
    transform 0.22s ease;
}

#main-menu .nav-sidebar .toggle:hover i {
  color: #b2957a;
}

#main-menu .nav-sidebar li.active > .toggle i,
#main-menu .nav-sidebar li.current-menu-ancestor > .toggle i {
  color: #b2957a;
  transform: rotate(180deg);
}

/* ========================
   SUB MENU
   ======================== */

#main-menu .nav-sidebar ul.sub-menu,
#main-menu .nav-sidebar ul.children {
  margin: 0;

  padding: 7px 0 10px;

  background: #f5f1ec;

  border-top: 1px solid rgba(178, 149, 122, 0.14);
}

#main-menu .nav-sidebar ul.sub-menu li,
#main-menu .nav-sidebar ul.children li {
  margin: 0;
  border: 0 !important;
}

#main-menu .nav-sidebar ul.sub-menu a,
#main-menu .nav-sidebar ul.children a {
  position: relative;

  display: block;

  margin: 0;
  padding: 11px 22px 11px 38px;

  color: #6c6762;

  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;

  text-transform: none;

  transition:
    color 0.18s ease,
    padding-left 0.18s ease;
}

/* Dot */
#main-menu .nav-sidebar ul.sub-menu a::before,
#main-menu .nav-sidebar ul.children a::before {
  content: "";

  position: absolute;

  top: 50%;
  left: 24px;

  width: 4px;
  height: 4px;

  background: rgba(178, 149, 122, 0.65);
  border-radius: 50%;

  transform: translateY(-50%);
}

#main-menu .nav-sidebar ul.sub-menu a:hover,
#main-menu .nav-sidebar ul.children a:hover,
#main-menu .nav-sidebar ul.sub-menu .current-menu-item > a {
  padding-left: 42px;
  color: #9c7b60;
}

/* ========================
   CLOSE
   ======================== */

.off-canvas-left:has(#main-menu) > .mfp-close {
  top: 8px;
  right: 8px;

  width: 40px;
  height: 40px;

  color: #6f6964;

  font-size: 30px;
  line-height: 40px;

  opacity: 1;

  background: transparent;
}

.off-canvas-left:has(#main-menu) > .mfp-close:hover {
  color: #b2957a;
  background: transparent;
}

/* ========================
   BACKDROP
   ======================== */

body:has(.off-canvas-left #main-menu) > .mfp-bg {
  background: #090909;
  opacity: 0.62;
}

/* ========================
   SMALL MOBILE
   ======================== */

@media (max-width: 380px) {
  .off-canvas-left:has(#main-menu) .mfp-content {
    width: 90vw !important;
  }

  #main-menu .header-search-form {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}

.product-images img {
  border-radius: 1rem;
}

.product-thumbnails img {
  margin: 0;
  opacity: 1;
}

.product-thumbnails .is-nav-selected a,
.product-thumbnails a:hover {
  border-color: var(--fs-color-primary);
}

.product-thumbnails .is-nav-selected a img,
.product-thumbnails a:hover img {
  transform: unset;
}

.product-thumbnails .flickity-prev-next-button {
  display: none !important;
}

.image-tools.bottom.left {
  display: none;
}

.product-gallery-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fff;
  overflow: hidden;
}

.product-gallery-slider .slick-list,
.product-gallery-slider .slick-track,
.product-gallery-slider .slick-slide,
.product-gallery-slider .slick-slide > div,
.product-gallery-slider .swiper-wrapper,
.product-gallery-slider .swiper-slide,
.product-gallery-slider .owl-stage-outer,
.product-gallery-slider .owl-stage,
.product-gallery-slider .owl-item {
  height: 100% !important;
}

.product-gallery-slider .product-gallery-slide,
.product-gallery-slider .slick-slide > div,
.product-gallery-slider .swiper-slide,
.product-gallery-slider .owl-item {
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-gallery-slider img,
.product-gallery-slider img.is-landscape,
.product-gallery-slider img.is-portrait,
.product-gallery-slider img.is-square {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 !important;
  padding: 20px;
  box-sizing: border-box;
}

.woocommerce-product-gallery
  .woocommerce-product-gallery__wrapper
  > .flickity-viewport,
.woocommerce-product-gallery
  .woocommerce-product-gallery__wrapper
  > .flickity-viewport
  > .flickity-slider
  > div {
  height: 100% !important;
}

/* =========================================================
   RUPLEX KOREA - MOBILE RESPONSIVE PATCH
   Target: homepage + mobile off-canvas navigation
   Breakpoints follow Flatsome defaults: 849px / 549px
   ========================================================= */

/* Prevent accidental horizontal scroll caused by oversized banner/text layers. */
@media (max-width: 849px) {
  html,
  body {
    overflow-x: hidden;
  }

  /* Header spacing is too generous on narrow screens. */
  .header .flex-row {
    padding-inline: 16px !important;
  }

  /* Keep homepage media inside the viewport. */
  body.home #main,
  body.home #content,
  body.home .section,
  body.home .section-content,
  body.home .row,
  body.home .col,
  body.home .col-inner,
  body.home .banner,
  body.home .banner-inner,
  body.home .banner-layers,
  body.home .text-box,
  body.home .text-box-content {
    max-width: 100%;
    box-sizing: border-box;
  }

  body.home img,
  body.home video,
  body.home iframe {
    max-width: 100%;
  }

  /* Homepage content typography. */
  body.home .m-content h4 {
    margin-bottom: 10px;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0.06em;
  }

  body.home .m-content h2 {
    margin-bottom: 20px;
    font-size: clamp(28px, 5.2vw, 36px) !important;
    line-height: 1.22 !important;
    letter-spacing: -0.025em;
    overflow-wrap: break-word;
    word-break: keep-all;
  }

  body.home .m-content p,
  body.home .m-content li {
    font-size: 15px;
    line-height: 1.75;
    overflow-wrap: break-word;
  }

  body.home .home3 {
    padding-top: 52px !important;
    padding-bottom: 52px !important;
  }

  /* News cards: the desktop 30px title is too large on tablet/mobile. */
  body.home .post-item .post-title a {
    font-size: clamp(21px, 3.4vw, 26px) !important;
    line-height: 1.32 !important;
  }

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

/* =========================================================
   HOMEPAGE HERO - PHONE
   Flatsome banner height is commonly aspect-ratio/padding based.
   On a 430px phone that makes the hero far too short and causes
   the title, paragraph and button to collide. Give it real height.
   ========================================================= */
@media (max-width: 549px) {
  body.home .home1 .banner {
    height: clamp(500px, 126vw, 560px) !important;
    min-height: 500px !important;
    padding-top: 0 !important;
  }

  body.home .home1 .banner-inner {
    height: 100% !important;
    min-height: 0 !important;
    padding-top: 0 !important;
  }

  body.home .home1 .banner-bg,
  body.home .home1 .banner-bg .bg,
  body.home .home1 .banner-bg .bg-fill {
    min-height: 100% !important;
  }

  body.home .home1 .banner-bg .bg,
  body.home .home1 .banner-bg .bg-fill {
    background-position: center center !important;
    background-size: cover !important;
  }

  /* Give the overlay copy breathing room without changing its x/y anchor. */
  body.home .home1 .text-box {
    width: calc(100% - 32px) !important;
    max-width: 430px !important;
  }

  body.home .home1 .text-box-content {
    padding-right: 4px !important;
    padding-left: 4px !important;
  }

  body.home .home1 .banner h2 {
    margin: 0 0 14px !important;
    font-size: clamp(28px, 8vw, 34px) !important;
    line-height: 1.16 !important;
    letter-spacing: -0.035em;
    word-break: keep-all;
    overflow-wrap: break-word;
    text-wrap: balance;
  }

  body.home .home1 .banner p {
    width: 100%;
    max-width: 380px;
    margin: 0 auto 20px !important;
    font-size: 13px !important;
    line-height: 1.65 !important;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  body.home .home1 .banner .button {
    min-height: 44px;
    height: 44px;
    margin-top: 0;
    padding: 0 18px;
    font-size: 13px;
    line-height: 42px;
  }

  body.home .home3 {
    padding-top: 42px !important;
    padding-bottom: 42px !important;
  }

  body.home .m-content h2 {
    font-size: clamp(26px, 7.4vw, 32px) !important;
    line-height: 1.2 !important;
  }

  body.home .m-content p,
  body.home .m-content li {
    font-size: 14px;
    line-height: 1.72;
  }

  body.home .m-content img,
  body.home .img-inner img,
  body.home .box-image img {
    display: block;
    width: 100%;
    height: auto;
  }

  body.home .post-item .post-title a {
    font-size: 21px !important;
  }

  #masthead .nav > li.has-icon > a > i {
    color: #fff;
  }

  #masthead .nav > li.has-icon .icon-search:before {
    background-color: #fff;
  }
}

/* Very small phones. */
@media (max-width: 380px) {
  body.home .home1 .banner {
    height: clamp(480px, 132vw, 510px) !important;
    min-height: 480px !important;
  }

  body.home .home1 .text-box {
    width: calc(100% - 24px) !important;
  }

  body.home .home1 .banner h2 {
    font-size: 27px !important;
  }
}

/* =========================================================
   MOBILE SIDEBAR - BLACK / LUXURY THEME
   ========================================================= */

/* The drawer itself must be black; otherwise the white mfp-content
   remains visible around the menu content. */
.off-canvas-left:has(#main-menu) .mfp-content {
  width: min(86vw, 360px) !important;
  max-width: 360px !important;
  min-height: 100vh;
  min-height: 100dvh;
  background: #080808 !important;
  box-shadow: 18px 0 48px rgba(0, 0, 0, 0.38);
}

#main-menu.mobile-sidebar,
#main-menu .sidebar-menu {
  width: 100%;
  min-height: 100%;
  background: #080808 !important;
  color: #f5f5f5;
}

#main-menu.mobile-sidebar {
  min-height: 100vh;
  min-height: 100dvh;
}

/* Gold accent stays visible on black. */
#main-menu.mobile-sidebar::before {
  background: #b2957a;
}

/* Search */
#main-menu .searchform .flex-row {
  background: #121212 !important;
  border-color: #2b2b2b !important;
  box-shadow: none !important;
}

#main-menu .searchform .flex-row:focus-within {
  border-color: #b2957a !important;
  box-shadow: 0 0 0 3px rgba(178, 149, 122, 0.15) !important;
}

#main-menu .searchform input[type="search"] {
  color: #f5f5f5 !important;
  background: #121212 !important;
}

#main-menu .searchform input[type="search"]::placeholder {
  color: #8f8f8f !important;
}

#main-menu .searchform .button.icon {
  color: #fff !important;
  background: #b2957a !important;
}

#main-menu .searchform .button.icon:hover,
#main-menu .searchform .button.icon:focus {
  color: #080808 !important;
  background: #d1b397 !important;
}

#main-menu.mobile-sidebar .icon-search:before {
  background-color: #fff !important;
}

/* Main menu rows */
#main-menu .nav-sidebar > li.menu-item {
  border-top-color: rgba(255, 255, 255, 0.1) !important;
}

#main-menu .nav-sidebar > li.menu-item:last-child {
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

#main-menu .nav-sidebar > li.menu-item > a {
  color: #f2f2f2 !important;
  background: transparent !important;
}

#main-menu .nav-sidebar > li.menu-item:hover > a,
#main-menu .nav-sidebar > li.current-menu-item > a,
#main-menu .nav-sidebar > li.current-menu-ancestor > a {
  color: #d1b397 !important;
  background: rgba(178, 149, 122, 0.1) !important;
}

#main-menu .nav-sidebar > li.menu-item > a::before {
  background: #b2957a !important;
}

/* Submenu toggle */
#main-menu .nav-sidebar .toggle {
  color: #b8b8b8 !important;
}

#main-menu .nav-sidebar .toggle:hover i,
#main-menu .nav-sidebar li.active > .toggle i,
#main-menu .nav-sidebar li.current-menu-ancestor > .toggle i {
  color: #d1b397 !important;
}

/* Submenu */
#main-menu .nav-sidebar ul.sub-menu,
#main-menu .nav-sidebar ul.children {
  background: #111 !important;
  border-top-color: rgba(178, 149, 122, 0.2) !important;
}

#main-menu .nav-sidebar ul.sub-menu a,
#main-menu .nav-sidebar ul.children a {
  color: #c7c7c7 !important;
}

#main-menu .nav-sidebar ul.sub-menu a:hover,
#main-menu .nav-sidebar ul.children a:hover,
#main-menu .nav-sidebar ul.sub-menu .current-menu-item > a {
  color: #d1b397 !important;
}

/* Close button */
.off-canvas-left:has(#main-menu) > .mfp-close {
  z-index: 10;
  color: #f5f5f5 !important;
  background: transparent !important;
}

.off-canvas-left:has(#main-menu) > .mfp-close:hover {
  color: #d1b397 !important;
}

/* Darker page backdrop behind the black drawer. */
body:has(.off-canvas-left #main-menu) > .mfp-bg {
  background: #000 !important;
  opacity: 0.72 !important;
}

@media (max-width: 380px) {
  .off-canvas-left:has(#main-menu) .mfp-content {
    width: 90vw !important;
  }
}

.stuck .header-main .nav > li > a {
  color: #fff;
}

.stuck .icon-shopping-cart:before,
.stuck .icon-search:before {
  background-color: #fff;
}

.breadcrumbs,
.breadcrumbs a {
  color: #fff;
}
