.lv-container {
  width: min(100% - 48px, 1440px);
  margin-inline: auto;
}

.lv-hero-carousel {
  height: var(--lv-hero-desktop-height, 620px) !important;
  min-height: 540px !important;
  max-height: 760px !important;
}

.wc-block-product-template,
.wc-block-product-template__responsive,
.wp-block-woocommerce-product-template {
  display: grid !important;
  grid-template-columns: repeat(var(--lv-product-columns, 4), minmax(0, 1fr)) !important;
  gap: clamp(18px, 2vw, 28px) !important;
}

.wc-block-product-template .wc-block-product {
  width: auto !important;
  margin: 0 !important;
}

.lv-collection-main .luna-product-grid,
.lv-collection-main .wc-block-product-template,
.lv-collection-main .wc-block-product-template__responsive,
.lv-collection-main .wp-block-woocommerce-product-template {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.wc-block-components-product-image {
  aspect-ratio: var(--lv-product-image-ratio, 1 / 1) !important;
}

.wc-block-components-product-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

@media (max-width: 767px) {
  .lv-collection-main .wc-block-product-template,
  .lv-collection-main .wc-block-product-template__responsive,
  .lv-collection-main .wp-block-woocommerce-product-template,
  .lv-collection-main .luna-product-grid,
  .wc-block-product-template,
  .wc-block-product-template__responsive,
  .wp-block-woocommerce-product-template,
  .luna-product-grid,
  .woocommerce ul.products {
    grid-template-columns: 1fr !important;
  }

  .lv-collection-main .wc-block-product,
  .wc-block-product-template .wc-block-product {
    width: 100% !important;
  }

  .lv-collection-main .wc-block-components-product-image,
  .wc-block-components-product-image {
    width: 100% !important;
    aspect-ratio: var(--lv-product-image-ratio, 1 / 1) !important;
  }
}

/* Final responsive layout overrides connected to the backend layout settings. */
@media (max-width: 1180px) and (min-width: 768px) {
  .luna-product-grid,
  .woocommerce ul.products,
  .wc-block-product-template,
  .wc-block-product-template__responsive,
  .wp-block-woocommerce-product-template {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .lv-story,
  .lv-story.has-image,
  .lv-single-product-layout {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 767px) {
  .luna-product-grid,
  .woocommerce ul.products,
  .wc-block-product-template,
  .wc-block-product-template__responsive,
  .wp-block-woocommerce-product-template,
  .lv-collection-main .luna-product-grid,
  .luna-rebuild .lv-new-drops > .luna-product-grid {
    grid-template-columns: 1fr !important;
  }

  .luna-product-card,
  li.luna-product-card,
  .woocommerce ul.products li.product {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
  }

  .luna-product-art,
  .wc-block-components-product-image {
    aspect-ratio: var(--lv-product-image-ratio, 1 / 1) !important;
  }

  .luna-product-art img,
  .luna-product-image,
  .wc-block-components-product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .lv-hero-carousel {
    height: var(--lv-hero-mobile-height, 560px) !important;
    min-height: 500px !important;
    max-height: 680px !important;
  }

  .lv-story,
  .lv-story.has-image,
  .lv-single-product-layout {
    width: calc(100vw - 36px) !important;
    grid-template-columns: 1fr !important;
  }

  .lv-single-gallery {
    grid-template-columns: 1fr !important;
  }

  .lv-single-gallery-item {
    aspect-ratio: 4 / 5 !important;
    min-height: 0 !important;
  }

  .luna-footer-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 767px) {
  .lv-collection-main .wc-block-product-template,
  .lv-collection-main .wc-block-product-template__responsive,
  .lv-collection-main .wp-block-woocommerce-product-template,
  .lv-collection-main .luna-product-grid,
  .wc-block-product-template,
  .wc-block-product-template__responsive,
  .wp-block-woocommerce-product-template,
  .luna-product-grid,
  .woocommerce ul.products {
    grid-template-columns: 1fr !important;
  }

  .lv-collection-main .wc-block-product,
  .wc-block-product-template .wc-block-product {
    width: 100% !important;
  }

  .lv-collection-main .wc-block-components-product-image,
  .wc-block-components-product-image {
    width: 100% !important;
    aspect-ratio: var(--lv-product-image-ratio, 1 / 1) !important;
  }
}

@media (min-width: 1536px) {
  :root {
    --lv-container: min(100% - 72px, 1600px);
  }

  .lv-container,
  .lv-front-header-inner,
  .lv-hero-content,
  .luna-section,
  .lv-collection-shell,
  .luna-footer-grid,
  .lv-story {
    width: var(--lv-container);
    max-width: 1600px;
  }

  .lv-hero-copy h1 {
    font-size: 96px;
  }
}

@media (min-width: 1280px) {
  .lv-front-header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 22px;
  }

  .lv-primary-nav {
    display: flex !important;
    position: static;
    flex-direction: row;
    align-items: center;
    width: auto;
    max-height: none;
    overflow: visible;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .lv-menu-toggle {
    display: none !important;
  }

  .lv-collection-layout {
    grid-template-columns: minmax(240px, 22%) minmax(0, 1fr);
  }

  .lv-collection-main .luna-product-grid,
  .luna-product-grid,
  .wc-block-product-template {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1024px) {
  .lv-front-header-inner {
    width: min(100% - 48px, 1440px);
    padding-inline: 0;
  }

  .lv-primary-nav {
    display: flex !important;
    position: static !important;
    flex-direction: row;
    align-items: center;
    gap: clamp(8px, 1vw, 16px);
    width: auto;
    max-height: none;
    overflow: visible;
    padding: 0;
    border: 0;
    background: transparent !important;
  }

  .lv-primary-nav a,
  .lv-header-icons a {
    padding: 0;
    font-size: 11px;
  }

  .lv-menu-toggle {
    display: none !important;
  }

  .lv-header-icons {
    display: flex;
  }

  .lv-hero-carousel {
    width: 100vw;
    height: 92vh;
    min-height: 760px;
    max-height: 1080px;
  }

  .lv-hero-content {
    width: min(100% - 48px, 1440px);
    max-width: 1440px;
    grid-template-columns: minmax(0, 0.48fr) minmax(260px, 0.34fr);
    align-items: end;
    padding: 180px 0 96px;
  }

  .lv-hero-copy {
    max-width: 720px;
  }

  .lv-hero-copy h1 {
    font-size: clamp(58px, 6vw, 92px);
  }

  .lv-hero-promo {
    justify-self: start;
    align-self: end;
  }

  .lv-hero-arrow,
  .lv-hero-dots,
  .lv-hero-progress {
    display: flex;
  }

  .lv-collection-layout {
    display: grid;
    grid-template-columns: minmax(220px, 24%) minmax(0, 1fr);
    gap: 28px;
  }

  .lv-filter-sidebar {
    position: sticky;
    top: 96px;
    display: block;
    width: auto;
    max-height: none;
    overflow: visible;
    transform: none !important;
  }

  .lv-filter-toggle,
  .lv-filter-close {
    display: none !important;
  }

  .lv-collection-main .luna-product-grid,
  .luna-product-grid,
  .wc-block-product-template {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .luna-product-card {
    min-width: 0;
  }
}

@media (min-width: 1024px) and (max-width: 1180px) {
  .lv-front-header-inner {
    width: min(100% - 24px, 1440px);
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
  }

  .lv-front-logo {
    font-size: 20px;
    white-space: nowrap;
  }

  .lv-primary-nav {
    justify-content: center;
    gap: 8px;
  }

  .lv-primary-nav a,
  .lv-header-icons a {
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .lv-header-icons {
    gap: 8px;
  }

  .lv-hero-content {
    width: min(100% - 32px, 1440px);
    grid-template-columns: minmax(0, 0.52fr) minmax(240px, 0.36fr);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  :root {
    --lv-container: min(100% - 32px, 100%);
  }

  .lv-container,
  .lv-front-header-inner,
  .lv-hero-content,
  .luna-section,
  .lv-collection-shell,
  .luna-footer-grid,
  .lv-story {
    width: var(--lv-container);
  }

  .lv-front-header-inner {
    grid-template-columns: auto 1fr auto;
    padding-inline: 0;
  }

  .lv-menu-toggle {
    display: inline-flex;
  }

  .lv-primary-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 112px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100vh - 140px);
    overflow: auto;
    padding: 18px;
    border: 1px solid var(--lv-border-soft);
    border-radius: 8px;
    background: rgba(8, 7, 6, 0.98);
    box-shadow: var(--lv-shadow-deep);
  }

  .lv-primary-nav.is-open {
    display: flex;
  }

  .lv-hero-carousel {
    height: 86vh;
    min-height: 720px;
  }

  .lv-hero-content {
    grid-template-columns: 1fr;
    align-content: end;
    padding: 170px 0 82px;
    text-align: center;
  }

  .lv-hero-copy,
  .lv-hero-promo {
    justify-self: center;
  }

  .lv-collection-layout {
    grid-template-columns: 1fr;
  }

  .lv-collection-main .luna-product-grid,
  .luna-product-grid,
  .wc-block-product-template {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .lv-filter-toggle {
    display: inline-flex;
  }

  .lv-filter-sidebar {
    width: min(380px, 86vw);
  }
}

@media (max-width: 767px) {
  :root {
    --lv-container: min(100% - 24px, 100%);
  }

  html,
  body {
    min-width: 0;
    max-width: none;
  }

  .lv-container,
  .lv-front-header-inner,
  .lv-hero-content,
  .luna-section,
  .lv-collection-shell,
  .luna-footer-grid,
  .lv-story {
    width: var(--lv-container);
  }

  .lv-top-bars {
    grid-template-columns: 1fr;
  }

  .lv-top-bars div:nth-child(n+2) {
    display: none;
  }

  .luna-rebuild > .lv-front-header {
    top: 32px;
  }

  .lv-front-header-inner {
    min-height: 64px;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    padding-inline: 0;
  }

  .lv-front-logo {
    font-size: 20px;
  }

  .lv-menu-toggle {
    display: inline-flex;
  }

  .lv-header-icons {
    gap: 10px;
    min-width: 0;
    justify-content: end;
  }

  .lv-header-icons a {
    min-width: 0;
    padding: 0;
    font-size: 0;
    letter-spacing: 0;
  }

  .lv-header-icons a:before {
    font-size: 11px;
    line-height: 1;
  }

  .lv-header-icons a[aria-label="Search"]:before { content: "Search"; }
  .lv-header-icons a[aria-label="Account"]:before { content: "Account"; }
  .lv-header-icons a[aria-label="Cart"]:before { content: "Cart"; }

  .lv-primary-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 96px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100vh - 112px);
    overflow: auto;
    padding: 16px;
    border: 1px solid var(--lv-border-soft);
    border-radius: 8px;
    background: rgba(8, 7, 6, 0.98);
    box-shadow: var(--lv-shadow-deep);
  }

  .lv-primary-nav.is-open {
    display: flex;
  }

  .lv-primary-nav a {
    padding: 12px 0;
  }

  .lv-mega-menu {
    position: static;
    width: 100%;
    grid-template-columns: 1fr;
    margin-top: 8px;
    padding: 14px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
  }

  .lv-hero-carousel {
    height: 82vh;
    min-height: 620px;
    max-height: 820px;
  }

  .lv-hero-slide {
    background-image:
      var(--lv-slide-mobile-bg),
      radial-gradient(circle at 72% 28%, rgba(192, 146, 70, 0.2), transparent 30%),
      linear-gradient(135deg, #050403, var(--lv-bg-green-deep) 52%, var(--lv-bg-card));
  }

  .lv-hero-content {
    grid-template-columns: 1fr;
    align-content: end;
    padding: 124px 0 66px;
    text-align: center;
  }

  .lv-hero-copy h1 {
    font-size: clamp(38px, 12vw, 52px);
    line-height: 0.98;
  }

  .lv-hero-copy > p:not(.luna-kicker) {
    font-size: 16px;
  }

  .lv-hero-promo {
    grid-template-columns: 58px minmax(0, 1fr);
    justify-self: center;
    max-width: 100%;
    padding: 10px;
    text-align: left;
  }

  .lv-hero-arrow {
    display: none;
  }

  .lv-hero-dots {
    bottom: 18px;
  }

  .lv-value-grid,
  .luna-category-grid,
  .lv-material-grid,
  .lv-product-info-grid,
  .luna-footer-grid,
  .luna-subscribe,
  .lv-gift-inquiry {
    grid-template-columns: 1fr;
  }

  .lv-collection-layout {
    grid-template-columns: 1fr;
  }

  .lv-collection-main .luna-product-grid,
  .luna-product-grid,
  .wc-block-product-template {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
  }

  .luna-product-art {
    aspect-ratio: 1 / 1.12;
  }

  .luna-product-title,
  .woocommerce-loop-product__title {
    display: -webkit-box;
    min-height: 38px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.25;
  }

  .luna-product-badges span:nth-child(n+3) {
    display: none;
  }

  .lv-card-actions {
    gap: 7px;
  }

  .lv-quick-view,
  .luna-card-button,
  .add_to_cart_button {
    min-height: 38px;
    padding-inline: 8px;
    font-size: 12px;
  }

  .lv-filter-toggle {
    display: inline-flex;
  }

  .lv-filter-sidebar {
    width: min(360px, 88vw);
  }

  .lv-collection-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .woocommerce table.shop_table {
    display: block;
    overflow-x: auto;
  }

  .lv-policy-page {
    width: min(100% - 24px, 100%);
    padding: 54px 0 72px;
  }

  .lv-policy-hero,
  .lv-policy-card section {
    padding: 20px;
  }
}

@media (max-width: 390px) {
  .lv-hero-promo {
    grid-template-columns: 1fr;
  }

  .lv-hero-promo-art {
    display: none;
  }
}

@media (min-width: 1024px) {
  .lv-hero-carousel {
    height: 78vh;
    min-height: 620px;
    max-height: 840px;
  }

  .lv-hero-content {
    box-sizing: border-box;
    height: 100%;
    min-height: 0;
    align-items: center;
    padding: 138px 0 72px;
  }

  .lv-hero-copy {
    align-self: center;
  }

  .lv-hero-copy h1 {
    font-size: clamp(52px, 5.35vw, 82px);
  }

  .lv-hero-promo {
    align-self: center;
  }

  .luna-rebuild .lv-new-drops {
    box-sizing: border-box;
    width: 100vw;
    max-width: none;
    margin-inline: calc(50% - 50vw);
    padding: 72px 0;
    overflow: hidden;
  }

  .luna-rebuild .lv-new-drops > .luna-section-head,
  .luna-rebuild .lv-new-drops > .luna-product-grid {
    width: var(--lv-container);
    max-width: 1600px;
    margin-inline: auto;
  }

  .luna-rebuild .lv-new-drops > .luna-product-grid {
    gap: 24px;
  }
}

@media (min-width: 1536px) {
  .lv-hero-content,
  .luna-rebuild .lv-new-drops > .luna-section-head,
  .luna-rebuild .lv-new-drops > .luna-product-grid {
    width: var(--lv-container);
    max-width: 1600px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .lv-hero-carousel {
    height: 74vh;
    min-height: 610px;
  }

  .lv-hero-content {
    box-sizing: border-box;
    height: 100%;
    min-height: 0;
    padding: 126px 0 64px;
  }

  .luna-rebuild .lv-new-drops {
    width: 100vw;
    max-width: none;
    margin-inline: calc(50% - 50vw);
    padding: 56px 0;
    overflow: hidden;
  }

  .luna-rebuild .lv-new-drops > .luna-section-head,
  .luna-rebuild .lv-new-drops > .luna-product-grid {
    width: var(--lv-container);
    margin-inline: auto;
  }

  .lv-featured-series {
    padding: 48px 0 58px;
  }

  .lv-series-showcase {
    grid-template-columns: 1fr;
  }

  .lv-series-feature-card {
    min-height: 380px;
  }

  .lv-series-side-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    gap: 20px;
  }

  .lv-series-compact-card {
    grid-template-columns: 42% 1fr;
    min-height: 170px;
    padding: 0 0 18px;
  }

  .lv-series-compact-card + .lv-series-compact-card {
    padding-top: 0;
  }

  .lv-series-bottom-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lv-voices-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lv-hands-stage {
    min-height: 760px;
  }

  .lv-hand-slide {
    grid-template-columns: 1fr;
    grid-template-rows: auto 320px auto;
  }

  .lv-hand-cinematic {
    min-height: 320px;
  }

  .lv-hand-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 20px;
  }

  .lv-mountain-section {
    grid-template-columns: 1fr;
    padding-block: 70px;
  }

  .lv-story {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .lv-story > p {
    max-width: 780px;
    justify-self: start;
  }

  .lv-single-product-layout {
    grid-template-columns: 1fr;
  }

  .lv-single-gallery,
  .lv-single-summary-inner {
    position: static;
  }

  .lv-single-gallery-item {
    min-height: 330px;
  }
}

@media (max-width: 767px) {
  .lv-hero-carousel {
    height: 72vh;
    min-height: 560px;
    max-height: 680px;
  }

  .lv-hero-content {
    box-sizing: border-box;
    height: 100%;
    min-height: 0;
    padding: 112px 0 54px;
  }

  .lv-hero-copy h1 {
    font-size: clamp(38px, 10.2vw, 48px);
  }

  .luna-rebuild .lv-new-drops {
    width: 100vw;
    max-width: none;
    margin-inline: calc(50% - 50vw);
    padding: 48px 0;
    overflow: hidden;
  }

  .luna-rebuild .lv-new-drops > .luna-section-head,
  .luna-rebuild .lv-new-drops > .luna-product-grid {
    width: var(--lv-container);
    margin-inline: auto;
  }

  .lv-featured-series {
    padding: 42px 0 48px;
  }

  .lv-featured-series h2 {
    margin-bottom: 20px;
    font-size: 32px;
  }

  .lv-series-tabs {
    justify-content: flex-start;
    gap: 24px;
    margin-bottom: 26px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .lv-series-tabs::-webkit-scrollbar {
    display: none;
  }

  .lv-series-tab {
    flex: 0 0 auto;
    font-size: 18px;
  }

  .lv-series-showcase {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .lv-series-feature-card {
    min-height: 300px;
  }

  .lv-series-side-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .lv-series-compact-card {
    grid-template-columns: 44% 1fr;
    gap: 14px;
    min-height: 138px;
    padding-bottom: 16px;
  }

  .lv-series-compact-card + .lv-series-compact-card {
    padding-top: 0;
  }

  .lv-series-compact-card span {
    gap: 10px;
  }

  .lv-series-compact-card strong {
    font-size: 15px;
  }

  .lv-series-bottom-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 18px 14px 20px;
  }

  .lv-series-tile-card strong {
    font-size: 13px;
  }

  .lv-top-bars {
    grid-template-columns: 1fr;
  }

  .lv-top-bars div {
    display: none;
    min-height: 30px;
  }

  .lv-top-bars div:first-child {
    display: flex;
  }

  .lv-front-header-inner {
    min-height: 68px;
  }

  .lv-primary-nav.is-open {
    position: fixed;
    inset: 98px 0 auto;
    max-height: calc(100vh - 98px);
    overflow-y: auto;
    padding: 18px 24px 28px;
    background: rgba(7, 6, 5, 0.98);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
  }

  .lv-primary-nav.is-open .lv-nav-has-mega {
    display: block;
  }

  .lv-primary-nav.is-open .lv-mega-menu {
    position: static;
    display: grid;
    min-width: 0;
    width: 100%;
    margin: 10px 0 18px;
    padding: 16px;
    grid-template-columns: 1fr;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .lv-voices-grid {
    grid-template-columns: 1fr;
  }

  .lv-hands-section {
    padding: 54px 0;
  }

  .lv-hands-inner {
    width: var(--lv-container);
  }

  .lv-hands-inner > h2 {
    font-size: 32px;
  }

  .lv-hands-stage {
    min-height: 780px;
  }

  .lv-hand-slide {
    grid-template-columns: 1fr;
    grid-template-rows: auto 250px auto;
  }

  .lv-hand-copy {
    padding: 24px;
  }

  .lv-hand-copy h3 {
    font-size: 28px;
  }

  .lv-hand-copy p:not(.luna-kicker),
  .lv-hand-copy blockquote {
    font-size: 15px;
  }

  .lv-hand-cinematic {
    min-height: 250px;
  }

  .lv-hand-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 16px;
  }

  .lv-hand-nav {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .lv-hand-nav::-webkit-scrollbar {
    display: none;
  }

  .lv-hand-nav button {
    min-width: 156px;
    min-height: 78px;
    flex: 0 0 auto;
  }

  .lv-mountain-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 56px 24px;
  }

  .lv-mountain-video {
    min-height: 260px;
  }

  .lv-story {
    grid-template-columns: 1fr;
    padding: 56px 24px;
  }

  .lv-story h2 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .lv-story > p {
    max-width: none;
    justify-self: start;
    font-size: 17px;
  }

  .lv-single-breadcrumb {
    padding: 18px 0 14px;
    font-size: 13px;
  }

  .lv-single-product-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .lv-single-gallery {
    position: static;
    grid-template-columns: 1fr;
  }

  .lv-single-gallery-item {
    min-height: 360px;
  }

  .lv-single-gallery-item:nth-child(n+3) {
    display: none;
  }

  .lv-single-summary-inner {
    position: static;
    padding-bottom: 28px;
  }

  .lv-single-summary .product_title {
    font-size: 30px;
  }

  .lv-single-summary .lv-product-symbol-cards,
  .lv-single-cart-panel form.cart,
  .lv-single-cart-panel .woocommerce-variation-add-to-cart {
    grid-template-columns: 1fr;
  }

  .lv-single-promise-row {
    gap: 10px 14px;
  }

  .lv-single-lower {
    padding-bottom: 56px;
  }
}

.lv-hero-carousel {
  height: var(--lv-hero-desktop-height, 620px) !important;
  min-height: 540px !important;
  max-height: 760px !important;
}

.wc-block-product-template,
.wc-block-product-template__responsive,
.wp-block-woocommerce-product-template {
  display: grid !important;
  grid-template-columns: repeat(var(--lv-product-columns, 4), minmax(0, 1fr)) !important;
  gap: clamp(18px, 2vw, 28px) !important;
}

.wc-block-product-template .wc-block-product {
  width: auto !important;
  margin: 0 !important;
}

.lv-collection-main .luna-product-grid,
.lv-collection-main .wc-block-product-template,
.lv-collection-main .wc-block-product-template__responsive,
.lv-collection-main .wp-block-woocommerce-product-template {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.wc-block-components-product-image {
  aspect-ratio: var(--lv-product-image-ratio, 1 / 1) !important;
}

.wc-block-components-product-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Final responsive layout overrides connected to the backend layout settings. */
@media (max-width: 1180px) and (min-width: 768px) {
  .luna-product-grid,
  .woocommerce ul.products,
  .wc-block-product-template {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .lv-story,
  .lv-story.has-image,
  .lv-single-product-layout {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 767px) {
  .luna-product-grid,
  .woocommerce ul.products,
  .wc-block-product-template,
  .wc-block-product-template__responsive,
  .wp-block-woocommerce-product-template,
  .lv-collection-main .luna-product-grid,
  .lv-collection-main .wc-block-product-template,
  .lv-collection-main .wc-block-product-template__responsive,
  .lv-collection-main .wp-block-woocommerce-product-template,
  .luna-rebuild .lv-new-drops > .luna-product-grid {
    grid-template-columns: 1fr !important;
  }

  .luna-product-card,
  li.luna-product-card,
  .woocommerce ul.products li.product,
  .wc-block-product-template .wc-block-product,
  .lv-collection-main .wc-block-product {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
  }

  .luna-product-art,
  .wc-block-components-product-image,
  .lv-collection-main .wc-block-components-product-image {
    width: 100% !important;
    aspect-ratio: var(--lv-product-image-ratio, 1 / 1) !important;
  }

  .luna-product-art img,
  .luna-product-image,
  .wc-block-components-product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .lv-hero-carousel {
    height: var(--lv-hero-mobile-height, 560px) !important;
    min-height: 500px !important;
    max-height: 680px !important;
  }

  .lv-story,
  .lv-story.has-image,
  .lv-single-product-layout {
    width: calc(100vw - 36px) !important;
    grid-template-columns: 1fr !important;
  }

  .lv-single-gallery {
    grid-template-columns: 1fr !important;
  }

  .lv-single-gallery-item {
    aspect-ratio: 4 / 5 !important;
    min-height: 0 !important;
  }

  .luna-footer-grid {
    grid-template-columns: 1fr !important;
  }
}
