html,
body {
  width: 100%;
  max-width: none;
  margin: 0;
  overflow-x: hidden;
  background: #f6efe4;
}

body.home,
body.luna-vale-front-page {
  background: #f6efe4;
}

body.home #page,
body.home #content,
body.home #primary,
body.home #main,
body.home .site,
body.home .site-main,
body.home .content-area,
body.home .entry-content,
body.home .wp-site-blocks,
body.home .wp-block-post-content,
body.luna-vale-front-page #page,
body.luna-vale-front-page #content,
body.luna-vale-front-page #primary,
body.luna-vale-front-page #main,
body.luna-vale-front-page .site,
body.luna-vale-front-page .site-main,
body.luna-vale-front-page .content-area,
body.luna-vale-front-page .entry-content,
body.luna-vale-front-page .wp-site-blocks,
body.luna-vale-front-page .wp-block-post-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: #f6efe4;
}

body.home .luna-home,
body.luna-vale-front-page .luna-home {
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
  background: #f6efe4;
}

body.home .luna-site-footer,
body.luna-vale-front-page .luna-site-footer {
  display: none;
}

.lv-global-front-header {
  left: 0;
  right: 0;
}

.lv-hero-carousel,
.lv-featured-series,
.lv-hands-section,
.lv-mountain-section,
.lv-single-product-page {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

body.home .lv-mountain-section,
.lv-mountain-section {
  display: none;
}

.post-type-archive-product .lv-collection-page,
.tax-product_cat .lv-collection-page,
.tax-product_tag .lv-collection-page,
.lv-shop-archive {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(44px, 6vw, 82px) 0 !important;
}

.lv-collection-shell {
  width: min(calc(100% - 48px), var(--lv-page-max, 1440px)) !important;
  max-width: var(--lv-page-max, 1440px) !important;
  margin: 0 auto !important;
}

.lv-collection-head,
.lv-collection-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
}

.lv-collection-layout {
  display: grid !important;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: clamp(22px, 3vw, 42px);
  align-items: start;
}

.lv-collection-main {
  min-width: 0;
}

.woocommerce .lv-collection-main ul.products,
.lv-collection-main .luna-product-grid,
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(var(--lv-product-columns, 4), minmax(0, 1fr)) !important;
  gap: clamp(18px, 2vw, 28px) !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.luna-product-card,
li.luna-product-card {
  width: auto !important;
  max-width: none !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
}

.luna-product-art,
.woocommerce ul.products li.product a img {
  width: 100% !important;
  aspect-ratio: var(--lv-product-image-ratio, 1 / 1);
  min-height: 0 !important;
}

.luna-product-art img,
.luna-product-image,
.woocommerce ul.products li.product a img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Editorial home hero */
body.home .lv-hero-carousel,
body.luna-vale-front-page .lv-hero-carousel {
  position: relative;
  width: min(calc(100% - 64px), 1440px);
  height: clamp(560px, 42vw, 620px);
  min-height: 560px;
  margin: 0 auto clamp(42px, 5vw, 72px);
  overflow: hidden;
  background: #fff9f0;
  border: 1px solid #e2d3bd;
  border-radius: 8px;
  box-shadow: none;
  color: #211a14;
}

body.home .lv-hero-slides,
body.luna-vale-front-page .lv-hero-slides,
body.home .lv-hero-slide,
body.luna-vale-front-page .lv-hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

body.home .lv-hero-slide,
body.luna-vale-front-page .lv-hero-slide {
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateX(14px);
  transition: opacity 420ms ease, transform 420ms ease, visibility 420ms ease;
  background: #fff9f0;
}

body.home .lv-hero-slide.is-active,
body.luna-vale-front-page .lv-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  z-index: 1;
}

body.home .lv-hero-slide::before,
body.home .lv-hero-overlay,
body.luna-vale-front-page .lv-hero-slide::before,
body.luna-vale-front-page .lv-hero-overlay {
  display: none;
}

body.home .lv-hero-content,
body.luna-vale-front-page .lv-hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr);
  gap: clamp(34px, 4vw, 60px);
  align-items: center;
  width: min(calc(100% - 64px), 1320px);
  height: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(42px, 5vw, 64px) 0;
}

body.home .lv-hero-copy,
body.luna-vale-front-page .lv-hero-copy {
  max-width: 760px;
  color: #211a14;
}

body.home .lv-hero-copy .luna-kicker,
body.luna-vale-front-page .lv-hero-copy .luna-kicker {
  margin: 0 0 16px;
  color: #b9822e;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.home .lv-hero-copy h1,
body.luna-vale-front-page .lv-hero-copy h1 {
  max-width: 760px;
  margin: 0;
  color: #211a14;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 3.45vw, 52px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.08;
  text-wrap: balance;
}

body.home .lv-hero-copy > p:not(.luna-kicker):not(.lv-hero-promo-note),
body.luna-vale-front-page .lv-hero-copy > p:not(.luna-kicker):not(.lv-hero-promo-note) {
  max-width: 480px;
  margin: 22px 0 0;
  color: #6f6254;
  font-size: clamp(18px, 1.35vw, 21px);
  line-height: 1.65;
}

body.home .lv-hero-copy .luna-actions,
body.luna-vale-front-page .lv-hero-copy .luna-actions {
  margin-top: 30px;
}

body.home .lv-hero-copy .luna-btn,
body.luna-vale-front-page .lv-hero-copy .luna-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border: 1px solid #b9822e;
  border-radius: 6px;
  background: #b9822e;
  color: #211a14;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: none;
}

body.home .lv-hero-copy .luna-btn:hover,
body.luna-vale-front-page .lv-hero-copy .luna-btn:hover {
  background: #9f6f26;
  border-color: #9f6f26;
}

body.home .lv-hero-promo-note,
body.luna-vale-front-page .lv-hero-promo-note {
  display: inline-flex;
  margin: 18px 0 0;
  color: #7b5b2f;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

body.home .lv-hero-visual,
body.luna-vale-front-page .lv-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: stretch;
  min-width: 0;
  width: 100%;
  aspect-ratio: 6 / 5;
  height: auto;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 8px;
  box-shadow: none;
}

body.home .lv-hero-visual-link,
body.luna-vale-front-page .lv-hero-visual-link,
body.home .lv-hero-visual picture,
body.luna-vale-front-page .lv-hero-visual picture {
  display: block;
  width: 100%;
  height: 100%;
}

body.home .lv-hero-visual img,
body.luna-vale-front-page .lv-hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--lv-hero-image-focus, center center);
  background: transparent;
  border-radius: 8px;
}

body.home .lv-hero-visual.is-contain img,
body.luna-vale-front-page .lv-hero-visual.is-contain img {
  object-fit: contain;
}

body.home .lv-hero-visual.is-cover img,
body.luna-vale-front-page .lv-hero-visual.is-cover img {
  object-fit: cover;
}

body.home .lv-hero-visual--product,
body.luna-vale-front-page .lv-hero-visual--product {
  justify-self: stretch;
  width: 100%;
  aspect-ratio: 6 / 5;
  background: transparent;
  border: 0;
  border-radius: 8px;
  box-shadow: none;
}

body.home .lv-hero-visual--product img,
body.luna-vale-front-page .lv-hero-visual--product img {
  mix-blend-mode: normal;
}

body.home .lv-hero-visual--product.is-contain img,
body.luna-vale-front-page .lv-hero-visual--product.is-contain img {
  object-fit: contain;
}

body.home .lv-hero-arrow,
body.luna-vale-front-page .lv-hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #e2d3bd;
  border-radius: 999px;
  background: rgba(255, 249, 240, 0.86);
  color: #211a14;
  font-size: 28px;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

body.home .lv-hero-prev,
body.luna-vale-front-page .lv-hero-prev {
  left: 18px;
}

body.home .lv-hero-next,
body.luna-vale-front-page .lv-hero-next {
  right: 18px;
}

body.home .lv-hero-dots,
body.luna-vale-front-page .lv-hero-dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 5;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

body.home .lv-hero-dots button,
body.luna-vale-front-page .lv-hero-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid rgba(33, 26, 20, 0.28);
  border-radius: 999px;
  background: transparent;
}

body.home .lv-hero-dots button.is-active,
body.luna-vale-front-page .lv-hero-dots button.is-active {
  border-color: #b9822e;
  background: #b9822e;
}

body.home .lv-hero-carousel.is-static .lv-hero-arrow,
body.home .lv-hero-carousel.is-static .lv-hero-dots,
body.home .lv-hero-carousel.is-static .lv-hero-progress,
body.luna-vale-front-page .lv-hero-carousel.is-static .lv-hero-arrow,
body.luna-vale-front-page .lv-hero-carousel.is-static .lv-hero-dots,
body.luna-vale-front-page .lv-hero-carousel.is-static .lv-hero-progress {
  display: none;
}

@media (max-width: 1180px) {
  .woocommerce .lv-collection-main ul.products,
  .lv-collection-main .luna-product-grid,
  .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body.home .lv-hero-content,
  body.luna-vale-front-page .lv-hero-content {
    grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr);
    width: min(calc(100% - 72px), 1120px);
    gap: 36px;
  }

  body.home .lv-hero-copy h1,
  body.luna-vale-front-page .lv-hero-copy h1 {
    font-size: clamp(48px, 4vw, 56px);
  }
}

@media (max-width: 900px) {
  .lv-collection-layout,
  .lv-collection-head,
  .lv-collection-toolbar {
    grid-template-columns: 1fr;
    align-items: start;
  }

  body.home .lv-hero-carousel,
  body.luna-vale-front-page .lv-hero-carousel {
    width: min(calc(100% - 40px), 760px);
    height: 760px;
    min-height: 720px;
  }

  body.home .lv-hero-content,
  body.luna-vale-front-page .lv-hero-content {
    grid-template-columns: 1fr;
    width: min(calc(100% - 48px), 680px);
    gap: 28px;
    padding: 30px 0 42px;
  }

  body.home .lv-hero-carousel.is-static,
  body.luna-vale-front-page .lv-hero-carousel.is-static {
    height: auto;
    min-height: 0;
  }

  body.home .lv-hero-carousel.is-static .lv-hero-slides,
  body.home .lv-hero-carousel.is-static .lv-hero-slide,
  body.luna-vale-front-page .lv-hero-carousel.is-static .lv-hero-slides,
  body.luna-vale-front-page .lv-hero-carousel.is-static .lv-hero-slide {
    position: relative;
    height: auto;
    min-height: 0;
  }

  body.home .lv-hero-visual,
  body.luna-vale-front-page .lv-hero-visual {
    order: -1;
    aspect-ratio: 4 / 3;
  }

  body.home .lv-hero-visual--product,
  body.luna-vale-front-page .lv-hero-visual--product {
    justify-self: center;
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  body.home .lv-hero-copy,
  body.luna-vale-front-page .lv-hero-copy {
    max-width: none;
  }
}

@media (max-width: 767px) {
  .lv-collection-shell {
    width: calc(100% - 36px) !important;
  }

  .woocommerce .lv-collection-main ul.products,
  .lv-collection-main .luna-product-grid,
  .woocommerce ul.products {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 520px) {
  body.home .lv-hero-carousel,
  body.luna-vale-front-page .lv-hero-carousel {
    width: calc(100% - 28px);
    height: 760px;
    margin-bottom: 36px;
    border-radius: 8px;
  }

  body.home .lv-hero-carousel.is-static,
  body.luna-vale-front-page .lv-hero-carousel.is-static {
    height: auto;
  }

  body.home .lv-hero-content,
  body.luna-vale-front-page .lv-hero-content {
    width: calc(100% - 32px);
    gap: 24px;
    padding: 20px 0 34px;
  }

  body.home .lv-hero-copy h1,
  body.luna-vale-front-page .lv-hero-copy h1 {
    font-size: clamp(38px, 10.2vw, 42px);
    line-height: 1.08;
  }

  body.home .lv-hero-copy > p:not(.luna-kicker):not(.lv-hero-promo-note),
  body.luna-vale-front-page .lv-hero-copy > p:not(.luna-kicker):not(.lv-hero-promo-note) {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.55;
  }

  body.home .lv-hero-copy .luna-actions,
  body.luna-vale-front-page .lv-hero-copy .luna-actions {
    margin-top: 22px;
  }

  body.home .lv-hero-copy .luna-btn,
  body.luna-vale-front-page .lv-hero-copy .luna-btn {
    width: 100%;
    min-height: 50px;
  }

  body.home .lv-hero-visual,
  body.home .lv-hero-visual--product,
  body.luna-vale-front-page .lv-hero-visual,
  body.luna-vale-front-page .lv-hero-visual--product {
    order: -1;
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  body.home .lv-hero-promo-note,
  body.luna-vale-front-page .lv-hero-promo-note {
    display: none;
  }

  body.home .lv-hero-arrow,
  body.luna-vale-front-page .lv-hero-arrow {
    width: 38px;
    height: 38px;
    font-size: 24px;
  }
}

/* WooCommerce cart and checkout readability */
body.woocommerce-cart,
body.woocommerce-checkout,
body.woocommerce-cart .site,
body.woocommerce-checkout .site,
body.woocommerce-cart .site-main,
body.woocommerce-checkout .site-main,
body.woocommerce-cart .content-area,
body.woocommerce-checkout .content-area,
body.woocommerce-cart .hentry,
body.woocommerce-checkout .hentry,
body.woocommerce-cart .entry-content,
body.woocommerce-checkout .entry-content,
body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce {
  background: #f6efe4;
  color: #211a14;
}

body.woocommerce-cart .entry-content,
body.woocommerce-checkout .entry-content {
  width: min(calc(100% - 48px), 1240px);
  margin: 0 auto;
  padding: clamp(34px, 5vw, 64px) 0 clamp(56px, 7vw, 88px);
}

body.woocommerce-cart .luna-page-shell,
body.woocommerce-checkout .luna-page-shell,
body.woocommerce-cart .luna-page-content,
body.woocommerce-checkout .luna-page-content {
  background: #f6efe4;
}

body.woocommerce-cart .luna-page-content > h1,
body.woocommerce-checkout .luna-page-content > h1,
body.woocommerce-cart .entry-title,
body.woocommerce-checkout .entry-title,
body.woocommerce-cart .luna-entry-content,
body.woocommerce-checkout .luna-entry-content {
  width: min(calc(100% - 48px), 1240px);
  margin-right: auto;
  margin-left: auto;
}

body.woocommerce-cart .luna-page-content > h1,
body.woocommerce-checkout .luna-page-content > h1,
body.woocommerce-cart .entry-title,
body.woocommerce-checkout .entry-title {
  padding-top: clamp(30px, 4vw, 46px);
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
}

body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce {
  width: 100%;
  max-width: none;
}

body.woocommerce-cart .woocommerce {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 390px);
  gap: 28px;
  align-items: start;
}

body.woocommerce-cart .woocommerce-notices-wrapper,
body.woocommerce-checkout .woocommerce-notices-wrapper {
  width: 100%;
}

body.woocommerce-cart .woocommerce-notices-wrapper {
  grid-column: 1 / -1;
}

body.woocommerce-cart .entry-title,
body.woocommerce-checkout .entry-title,
body.woocommerce-cart h1,
body.woocommerce-checkout h1,
body.woocommerce-cart h2,
body.woocommerce-checkout h2,
body.woocommerce-cart h3,
body.woocommerce-checkout h3 {
  color: #211a14;
}

body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-error,
body.woocommerce-checkout .woocommerce-message,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-error {
  width: min(calc(100% - 48px), 1320px);
  margin: 18px auto;
  border: 1px solid #e2d3bd;
  border-radius: 8px;
  background: #fff9f0;
  color: #211a14;
  box-shadow: none;
}

body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart_totals,
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout .woocommerce-additional-fields,
body.woocommerce-checkout .woocommerce-checkout-review-order,
body.woocommerce-checkout .woocommerce-form-coupon,
body.woocommerce-checkout .woocommerce-form-login {
  border: 1px solid #e2d3bd;
  border-radius: 8px;
  background: #fff9f0;
  color: #211a14;
  box-sizing: border-box;
  box-shadow: 0 16px 36px rgba(80, 55, 28, 0.08);
}

body.woocommerce-checkout form.checkout {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #211a14;
  box-shadow: none;
}

body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart_totals,
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout .woocommerce-additional-fields,
body.woocommerce-checkout .woocommerce-checkout-review-order,
body.woocommerce-checkout .woocommerce-form-coupon,
body.woocommerce-checkout .woocommerce-form-login {
  padding: clamp(18px, 2.5vw, 28px);
}

body.woocommerce-cart .woocommerce-cart-form {
  grid-column: 1;
  min-width: 0;
}

body.woocommerce-cart .cart-collaterals {
  display: block;
  grid-column: 2;
  min-width: 0;
  margin-top: 0;
}

body.woocommerce-cart .cart-collaterals::before,
body.woocommerce-cart .cart-collaterals::after {
  display: none;
}

body.woocommerce-cart .cart_totals {
  float: none;
  grid-column: auto;
  width: 100%;
}

body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals,
body.woocommerce-page.woocommerce-cart .cart-collaterals .cart_totals {
  float: none;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

body.woocommerce-cart .cart_totals table {
  width: 100%;
}

body.woocommerce-checkout form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  grid-template-rows: auto 1fr;
  gap: 18px 30px;
  align-items: start;
  padding: 0;
}

body.woocommerce-checkout .col2-set,
body.woocommerce-checkout #customer_details {
  float: none;
  width: auto;
  min-width: 0;
}

body.woocommerce-checkout #customer_details {
  display: grid;
  gap: 18px;
}

body.woocommerce-checkout #order_review,
body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout .woocommerce-checkout-review-order {
  float: none;
  width: auto;
  min-width: 0;
}

body.woocommerce-checkout #customer_details {
  grid-column: 1;
  grid-row: 1 / span 2;
}

body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout #order_review {
  grid-column: 2;
}

body.woocommerce-checkout #order_review_heading {
  grid-row: 1;
}

body.woocommerce-checkout #order_review {
  grid-row: 2;
}

body.woocommerce-checkout #order_review_heading {
  margin: 0;
  padding-top: 4px;
}

body.woocommerce-cart .cart_totals,
body.woocommerce-checkout .woocommerce-checkout-review-order {
  position: sticky;
  top: 18px;
}

body.woocommerce-cart table.shop_table,
body.woocommerce-checkout table.shop_table {
  width: 100%;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  background: transparent;
  color: #211a14;
}

body.woocommerce-cart table.shop_table th,
body.woocommerce-cart table.shop_table td,
body.woocommerce-checkout table.shop_table th,
body.woocommerce-checkout table.shop_table td {
  padding: 16px 14px;
  border-color: #e2d3bd;
  color: #211a14;
  vertical-align: middle;
}

body.woocommerce-cart table.shop_table th,
body.woocommerce-checkout table.shop_table th {
  color: #4a3524;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.woocommerce-cart .product-thumbnail img {
  width: min(156px, 18vw);
  max-width: 156px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}

body.woocommerce-cart .product-name a,
body.woocommerce-checkout .product-name,
body.woocommerce-cart .cart_totals table th,
body.woocommerce-cart .cart_totals table td {
  color: #211a14;
}

body.woocommerce-cart input,
body.woocommerce-cart select,
body.woocommerce-cart textarea,
body.woocommerce-checkout input,
body.woocommerce-checkout select,
body.woocommerce-checkout textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d7c5ad;
  border-radius: 6px;
  background: #fffdf8;
  color: #211a14;
  font-size: 15px;
}

body.woocommerce-cart .quantity .qty {
  width: 96px;
  text-align: center;
}

body.woocommerce-cart .coupon,
body.woocommerce-cart .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

body.woocommerce-cart .coupon input.input-text {
  width: min(220px, 100%);
}

body.woocommerce-cart table.shop_table td.actions {
  padding-top: 22px;
}

body.woocommerce-cart table.shop_table td.actions,
body.woocommerce-cart table.shop_table td.actions .coupon {
  gap: 12px;
}

body.woocommerce-cart table.shop_table td.actions {
  justify-content: space-between;
}

body.woocommerce-cart table.shop_table td.actions .coupon {
  flex: 1 1 420px;
}

body.woocommerce-cart table.shop_table td.actions > .button {
  flex: 0 0 auto;
  min-width: 156px;
}

body.woocommerce-cart button.button,
body.woocommerce-cart a.button,
body.woocommerce-cart input.button,
body.woocommerce-checkout button.button,
body.woocommerce-checkout a.button,
body.woocommerce-checkout input.button,
body.woocommerce-checkout #place_order {
  min-height: 46px;
  border: 1px solid #b9822e;
  border-radius: 999px;
  background: #b9822e;
  color: #17130f;
  padding-right: 22px;
  padding-left: 22px;
  font-weight: 750;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
}

body.woocommerce-cart button.button:hover,
body.woocommerce-cart a.button:hover,
body.woocommerce-cart input.button:hover,
body.woocommerce-checkout button.button:hover,
body.woocommerce-checkout a.button:hover,
body.woocommerce-checkout input.button:hover,
body.woocommerce-checkout #place_order:hover {
  background: #9f6f26;
  border-color: #9f6f26;
  color: #fff9f0;
}

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

body.woocommerce-checkout .form-row label {
  color: #4a3524;
  font-weight: 700;
}

body.woocommerce-checkout .woocommerce-input-wrapper {
  display: block;
}

body.woocommerce-checkout .select2-container .select2-selection--single {
  min-height: 44px;
  border: 1px solid #d7c5ad;
  border-radius: 6px;
  background: #fffdf8;
}

body.woocommerce-checkout .select2-container .select2-selection__rendered {
  color: #211a14;
  line-height: 44px;
}

body.woocommerce-checkout .select2-container .select2-selection__arrow {
  min-height: 44px;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name {
  width: 62%;
}

body.woocommerce-checkout .woocommerce-checkout-payment,
body.woocommerce-checkout #payment {
  border: 1px solid #e2d3bd;
  border-radius: 8px;
  background: #fff9f0;
  color: #211a14;
  box-shadow: 0 16px 36px rgba(80, 55, 28, 0.08);
}

body.woocommerce-checkout #payment div.payment_box {
  background: #f6efe4;
  color: #4a3524;
}

body.woocommerce-checkout #payment div.payment_box::before {
  border-bottom-color: #f6efe4;
}

@media (max-width: 900px) {
  body.woocommerce-cart .entry-content,
  body.woocommerce-checkout .entry-content {
    width: min(calc(100% - 32px), 720px);
  }

  body.woocommerce-cart .luna-page-content > h1,
  body.woocommerce-checkout .luna-page-content > h1,
  body.woocommerce-cart .entry-title,
  body.woocommerce-checkout .entry-title,
  body.woocommerce-cart .luna-entry-content,
  body.woocommerce-checkout .luna-entry-content {
    width: min(calc(100% - 32px), 720px);
  }

  body.woocommerce-cart .woocommerce,
  body.woocommerce-cart .cart-collaterals,
  body.woocommerce-checkout form.checkout {
    grid-template-columns: 1fr;
  }

  body.woocommerce-cart .woocommerce-cart-form,
  body.woocommerce-cart .cart-collaterals {
    grid-column: auto;
  }

  body.woocommerce-cart .cart_totals,
  body.woocommerce-checkout .woocommerce-checkout-review-order {
    position: static;
  }

  body.woocommerce-checkout #customer_details,
  body.woocommerce-checkout #order_review_heading,
  body.woocommerce-checkout #order_review {
    grid-column: auto;
    grid-row: auto;
  }

  body.woocommerce-cart .cart_totals {
    grid-column: auto;
  }

  body.woocommerce-cart .cart-collaterals,
  body.woocommerce-cart .woocommerce .cart-collaterals .cart_totals,
  body.woocommerce-page.woocommerce-cart .cart-collaterals .cart_totals {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  body.woocommerce-cart .entry-content,
  body.woocommerce-checkout .entry-content {
    width: calc(100% - 24px);
    padding-top: 26px;
  }

  body.woocommerce-cart .luna-page-content > h1,
  body.woocommerce-checkout .luna-page-content > h1,
  body.woocommerce-cart .entry-title,
  body.woocommerce-checkout .entry-title,
  body.woocommerce-cart .luna-entry-content,
  body.woocommerce-checkout .luna-entry-content {
    width: calc(100% - 24px);
  }

  body.woocommerce-cart .woocommerce-message,
  body.woocommerce-cart .woocommerce-info,
  body.woocommerce-cart .woocommerce-error,
  body.woocommerce-checkout .woocommerce-message,
  body.woocommerce-checkout .woocommerce-info,
  body.woocommerce-checkout .woocommerce-error {
    width: calc(100% - 24px);
  }

  body.woocommerce-cart .woocommerce-cart-form,
  body.woocommerce-cart .cart_totals,
  body.woocommerce-checkout form.checkout,
  body.woocommerce-checkout .woocommerce-billing-fields,
  body.woocommerce-checkout .woocommerce-shipping-fields,
  body.woocommerce-checkout .woocommerce-additional-fields,
  body.woocommerce-checkout .woocommerce-checkout-review-order {
    padding: 16px;
  }

  body.woocommerce-cart table.shop_table_responsive tr,
  body.woocommerce-checkout table.shop_table_responsive tr {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid #e2d3bd;
  }

  body.woocommerce-cart table.shop_table_responsive tr td,
  body.woocommerce-checkout table.shop_table_responsive tr td {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 16px;
    border: 0;
    text-align: right;
  }

  body.woocommerce-cart table.shop_table_responsive tr td::before,
  body.woocommerce-checkout table.shop_table_responsive tr td::before {
    color: #6f6254;
    font-weight: 800;
    text-align: left;
  }

  body.woocommerce-cart .cart_totals,
  body.woocommerce-cart .cart_totals table,
  body.woocommerce-cart .cart_totals th,
  body.woocommerce-cart .cart_totals td {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  body.woocommerce-cart .cart_totals table {
    table-layout: fixed;
  }

  body.woocommerce-cart .product-thumbnail img {
    width: 112px;
    max-width: 112px;
  }

  body.woocommerce-cart .coupon,
  body.woocommerce-cart .actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  body.woocommerce-cart .coupon input.input-text,
  body.woocommerce-cart .coupon .button,
  body.woocommerce-cart .actions .button,
  body.woocommerce-checkout #place_order {
    width: 100%;
    white-space: normal;
  }
}

/* Checkout path, account, and collection page polish */
body:not(.home),
body:not(.home) .site,
body:not(.home) #page,
body:not(.home) #content,
body:not(.home) #primary,
body:not(.home) #main,
body:not(.home) .site-main,
body:not(.home) .content-area,
body:not(.home) .hentry,
body:not(.home) .entry-content,
body:not(.home) .luna-page-shell,
body:not(.home) .luna-page-content,
body:not(.home) .luna-entry-content,
.lv-collection-page,
.lv-collection-shell {
  background: #f6efe4;
  color: #211a14;
}

body:not(.home) .luna-page-shell {
  padding: clamp(46px, 6vw, 84px) 0;
}

body:not(.home) .luna-page-content,
body:not(.home) .luna-entry-content {
  width: min(calc(100% - 48px), 1120px);
  margin-right: auto;
  margin-left: auto;
}

body:not(.home) .luna-page-header h1,
body:not(.home) .entry-title {
  color: #211a14;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.05;
}

.lv-collection-shell {
  width: min(calc(100% - 48px), 1260px);
  margin-right: auto;
  margin-left: auto;
  padding: clamp(38px, 6vw, 76px) 0;
}

.lv-collection-head {
  margin-bottom: 34px;
}

.lv-collection-head h1 {
  color: #211a14;
  font-size: clamp(48px, 7vw, 84px);
}

.lv-collection-head p,
.lv-breadcrumb,
.lv-filter-note,
.woocommerce-result-count,
.woocommerce-ordering label {
  color: #6f6254;
  font-size: 15px;
}

.lv-collection-layout {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 36px);
  align-items: start;
}

.lv-filter-sidebar,
.lv-recently-viewed {
  border: 1px solid #e2d3bd;
  border-radius: 8px;
  background: #fff9f0;
  color: #211a14;
  box-shadow: 0 14px 32px rgba(80, 55, 28, 0.08);
}

.lv-filter-sidebar {
  padding: 20px;
}

.lv-filter-head h2,
.lv-recently-viewed h2 {
  color: #211a14;
  font-size: 20px;
}

.lv-filter-group-title {
  color: #211a14;
  background: #efe3cf;
}

.lv-filter-options a {
  color: #6f6254;
  font-size: 15px;
}

.lv-collection-toolbar {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding: 10px 14px;
  border: 1px solid #e2d3bd;
  border-radius: 8px;
  background: #fff9f0;
  color: #6f6254;
}

.lv-sort-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lv-sort-form select {
  min-height: 36px;
  border: 1px solid #d7c5ad;
  border-radius: 999px;
  background: #fffdf8;
  color: #211a14;
  font-size: 14px;
}

.lv-recently-viewed {
  margin-top: 52px;
  padding: 24px;
}

.lv-recently-viewed p {
  color: #6f6254;
}

.luna-product-card,
li.luna-product-card,
.woocommerce ul.products li.product {
  color: #211a14;
}

.luna-product-title,
.luna-product-title a,
.woocommerce-loop-product__title {
  color: #211a14;
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.15;
}

.luna-price,
.woocommerce ul.products li.product .price {
  color: #b9822e;
  font-size: clamp(16px, 1.35vw, 20px);
}

body.woocommerce-cart .entry-content,
body.woocommerce-checkout .entry-content,
body.woocommerce-cart .luna-page-content,
body.woocommerce-checkout .luna-page-content,
body.woocommerce-cart .luna-page-content > h1,
body.woocommerce-checkout .luna-page-content > h1,
body.woocommerce-cart .entry-title,
body.woocommerce-checkout .entry-title,
body.woocommerce-cart .luna-entry-content,
body.woocommerce-checkout .luna-entry-content {
  width: min(calc(100% - 48px), 1320px);
}

body.woocommerce-cart .woocommerce {
  grid-template-columns: minmax(760px, 1fr) minmax(410px, 460px);
  gap: 18px;
  align-items: start;
}

body.woocommerce-checkout form.checkout {
  grid-template-columns: minmax(650px, 1fr) minmax(430px, 500px);
  gap: 18px 20px;
  align-items: start;
}

body.woocommerce-cart .woocommerce-cart-form {
  overflow: visible;
}

body.woocommerce-cart table.shop_table {
  table-layout: fixed;
}

body.woocommerce-cart table.shop_table .product-remove {
  width: 34px;
}

body.woocommerce-cart table.shop_table .product-thumbnail {
  width: 150px;
}

body.woocommerce-cart table.shop_table .product-name {
  width: 24%;
}

body.woocommerce-cart table.shop_table .product-price,
body.woocommerce-cart table.shop_table .product-quantity,
body.woocommerce-cart table.shop_table .product-subtotal {
  width: 16%;
}

body.woocommerce-cart table.shop_table td,
body.woocommerce-cart table.shop_table th {
  overflow-wrap: anywhere;
}

body.woocommerce-cart .product-thumbnail img {
  width: min(132px, 100%);
  max-width: 132px;
}

body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout .woocommerce-additional-fields {
  width: 100%;
}

body.woocommerce-checkout .woocommerce-checkout-payment,
body.woocommerce-checkout #payment {
  width: 100%;
  box-sizing: border-box;
}

body.woocommerce-checkout #payment ul.payment_methods,
body.woocommerce-checkout #payment div.form-row {
  margin: 0;
  padding: 18px;
}

@media (max-width: 1180px) {
  body.woocommerce-cart .entry-content,
  body.woocommerce-checkout .entry-content,
  body.woocommerce-cart .luna-page-content,
  body.woocommerce-checkout .luna-page-content,
  body.woocommerce-cart .luna-page-content > h1,
  body.woocommerce-checkout .luna-page-content > h1,
  body.woocommerce-cart .entry-title,
  body.woocommerce-checkout .entry-title,
  body.woocommerce-cart .luna-entry-content,
  body.woocommerce-checkout .luna-entry-content {
    width: min(calc(100% - 40px), 860px);
  }

  body.woocommerce-cart .woocommerce,
  body.woocommerce-checkout form.checkout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  body.woocommerce-cart .woocommerce-cart-form,
  body.woocommerce-cart .cart-collaterals,
  body.woocommerce-checkout #customer_details,
  body.woocommerce-checkout #order_review_heading,
  body.woocommerce-checkout #order_review {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
  }

  body.woocommerce-cart .cart_totals,
  body.woocommerce-checkout .woocommerce-checkout-review-order {
    position: static;
  }
}

body.woocommerce-account,
body.woocommerce-account .site,
body.woocommerce-account .site-main,
body.woocommerce-account .content-area,
body.woocommerce-account .hentry,
body.woocommerce-account .entry-content,
body.woocommerce-account .woocommerce {
  background: #f6efe4;
  color: #211a14;
}

body.woocommerce-account .entry-content,
body.woocommerce-account .luna-page-content,
body.woocommerce-account .luna-entry-content {
  width: min(calc(100% - 48px), 1040px);
  margin-right: auto;
  margin-left: auto;
  padding: clamp(34px, 5vw, 64px) 0;
}

body.woocommerce-account .woocommerce-form,
body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content {
  border: 1px solid #e2d3bd;
  border-radius: 8px;
  background: #fff9f0;
  color: #211a14;
  box-shadow: 0 16px 36px rgba(80, 55, 28, 0.08);
}

body.woocommerce-account .woocommerce-form {
  max-width: 520px;
  padding: clamp(20px, 3vw, 34px);
}

body.woocommerce-account .woocommerce-form input {
  min-height: 46px;
  border: 1px solid #d7c5ad;
  border-radius: 6px;
  background: #fffdf8;
  color: #211a14;
}

body.woocommerce-account .woocommerce-form label,
body.woocommerce-account .woocommerce-MyAccount-content,
body.woocommerce-account .woocommerce-MyAccount-navigation a {
  color: #4a3524;
}

body.woocommerce-account .lv-header-search {
  display: none;
}

.lv-newsletter-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
}

.lv-newsletter-form input[type="email"] {
  box-sizing: border-box;
  min-width: 0;
  min-height: 50px;
  border: 1px solid #d7c5ad;
  border-radius: 999px;
  background: #fffdf8;
  color: #211a14;
  padding: 0 18px;
  font-size: 16px;
}

.lv-newsletter-form button {
  min-height: 50px;
  border: 1px solid #b9822e;
  border-radius: 999px;
  background: #b9822e;
  color: #17130f;
  padding: 0 20px;
  font-weight: 750;
}

.lv-newsletter-form button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.lv-newsletter-response {
  grid-column: 1 / -1;
  min-height: 22px;
  margin: 4px 0 0;
  color: #4a3524;
  font-size: 14px;
}

.lv-newsletter-response.is-error {
  color: #8a2f20;
}

@media (max-width: 980px) {
  .lv-collection-layout,
  body.woocommerce-cart .woocommerce,
  body.woocommerce-checkout form.checkout {
    grid-template-columns: 1fr;
  }

  .lv-filter-sidebar {
    order: 2;
  }

  body.woocommerce-cart .entry-content,
  body.woocommerce-checkout .entry-content,
  body.woocommerce-account .entry-content,
  body:not(.home) .luna-page-content,
  body:not(.home) .luna-entry-content,
  .lv-collection-shell {
    width: min(calc(100% - 32px), 720px);
  }
}

@media (max-width: 640px) {
  .lv-header-icons a[aria-label="Cart"]::before {
    content: none;
  }

  .lv-header-cart {
    width: auto;
    min-width: 72px;
  }

  .lv-collection-shell,
  body:not(.home) .luna-page-content,
  body:not(.home) .luna-entry-content,
  body.woocommerce-cart .entry-content,
  body.woocommerce-checkout .entry-content,
  body.woocommerce-account .entry-content {
    width: calc(100% - 24px);
  }

  .lv-collection-toolbar,
  .lv-newsletter-form {
    grid-template-columns: 1fr;
  }

  .lv-newsletter-form {
    max-width: 100%;
    margin-left: 0;
  }

  .lv-collection-toolbar {
    display: grid;
  }

  .lv-newsletter-form button {
    width: 100%;
  }
}

/* Production emergency shop grid fix */
body.post-type-archive-product .lv-collection-layout,
body.tax-product_cat .lv-collection-layout,
body.tax-product_tag .lv-collection-layout {
  display: block !important;
}

body.post-type-archive-product .lv-collection-main,
body.tax-product_cat .lv-collection-main,
body.tax-product_tag .lv-collection-main {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

body.post-type-archive-product ul.products,
body.tax-product_cat ul.products,
body.tax-product_tag ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 28px !important;
  width: 100% !important;
}

body.post-type-archive-product ul.products li.product,
body.tax-product_cat ul.products li.product,
body.tax-product_tag ul.products li.product {
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  float: none !important;
  clear: none !important;
  writing-mode: horizontal-tb !important;
}

body.post-type-archive-product ul.products li.product *,
body.tax-product_cat ul.products li.product *,
body.tax-product_tag ul.products li.product * {
  writing-mode: horizontal-tb !important;
}

@media (max-width: 1024px) {
  body.post-type-archive-product ul.products,
  body.tax-product_cat ul.products,
  body.tax-product_tag ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  body.post-type-archive-product ul.products,
  body.tax-product_cat ul.products,
  body.tax-product_tag ul.products {
    grid-template-columns: 1fr !important;
  }
}

/* Hide frontend search in production header */
.lv-header-search,
.lv-header-icons a[href*="/?s="],
.lv-header-icons a[href*="s="],
.lv-front-header a[aria-label="Search"],
.lv-front-header .search,
.lv-front-header .search-toggle,
.lv-front-header .site-search,
.lv-front-header .woocommerce-product-search {
  display: none !important;
}
