/* =========================================================
   Lamsa Decor product showcase
   ========================================================= */

.ld-carousel-section {
  padding: 5rem 0;
}

.ld-carousel-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.5rem;
}

.ld-carousel-btn {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 2px solid var(--ld-sage);
  border-radius: 50%;
  background: var(--ld-white);
  color: var(--ld-sage-dark);
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  z-index: 2;
}

.ld-carousel-btn:hover:not(:disabled) {
  background: var(--ld-sage);
  border-color: var(--ld-sage);
  color: #fff;
}

.ld-carousel-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.ld-carousel-header {
  max-width: 980px;
  margin: 0 auto 2rem;
  padding: 0 1.5rem;
}

.ld-carousel-header h2 {
  font-family: var(--ld-font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.ld-carousel-header p {
  color: var(--ld-text-muted);
  font-size: 1.1rem;
  margin: 0;
}

.ld-carousel-track {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 1.5rem;
  padding: 0.5rem 1.5rem 1.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--ld-gold-light) transparent;
  cursor: grab;
  touch-action: pan-x;
}

.ld-carousel-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.ld-carousel-track::-webkit-scrollbar {
  height: 6px;
}

.ld-carousel-track::-webkit-scrollbar-thumb {
  background: var(--ld-gold-light);
  border-radius: 999px;
}

.ld-carousel-item {
  flex: 0 0 min(320px, 78vw);
  scroll-snap-align: start;
}

.ld-carousel-item .ld-shop-card {
  height: 100%;
}

.ld-carousel-item .ld-shop-card-stage {
  min-height: 280px;
}

/* Scroll-scrubbed image-sequence animation */
.ld-frame-animation {
  position: relative;
  min-height: 300vh;
  background: var(--ld-cream-soft);
}

.ld-frame-animation-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ld-frame-animation-stage {
  position: absolute;
  inset: 0;
}

.ld-frame-animation-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ld-frame-animation-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 42% at 50% 58%, rgba(35, 23, 17, 0.58) 0%, rgba(35, 23, 17, 0) 72%),
    linear-gradient(
      180deg,
      rgba(107, 74, 58, 0.05) 0%,
      rgba(107, 74, 58, 0.02) 35%,
      rgba(92, 68, 51, 0.4) 100%
    );
}

.ld-frame-animation-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 34rem;
  padding: 0 1.5rem;
  margin-bottom: -10vh;
  color: #fff;
  text-shadow: 0 3px 18px rgba(20, 12, 8, 0.4), 0 1px 4px rgba(20, 12, 8, 0.35);
}

.ld-frame-animation-copy .ld-kicker {
  color: #fff;
  opacity: 0.85;
}

.ld-frame-animation-copy h2 {
  font-family: var(--ld-font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: #fff;
  margin-bottom: 0.6rem;
}

.ld-frame-animation-copy p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 auto;
}

.ld-frame-animation-incense {
  background: linear-gradient(180deg, #f5ebdd 0%, #e8cdb9 100%);
}

.ld-frame-animation-incense .ld-frame-animation-stage::after {
  background:
    radial-gradient(ellipse 55% 42% at 50% 58%, rgba(10, 20, 16, 0.5) 0%, rgba(10, 20, 16, 0) 72%),
    linear-gradient(
      180deg,
      rgba(107, 74, 58, 0.04) 0%,
      rgba(107, 74, 58, 0.02) 35%,
      rgba(92, 68, 51, 0.45) 100%
    );
}

.ld-frame-animation-candle {
  background: linear-gradient(180deg, #faf0e4 0%, #f3d4c8 100%);
}

.ld-frame-animation-candle .ld-frame-animation-stage::after {
  background:
    radial-gradient(ellipse 55% 42% at 50% 58%, rgba(55, 28, 20, 0.48) 0%, rgba(55, 28, 20, 0) 72%),
    linear-gradient(
      180deg,
      rgba(107, 74, 58, 0.04) 0%,
      rgba(107, 74, 58, 0.02) 35%,
      rgba(201, 111, 104, 0.35) 100%
    );
}

@media (max-width: 767.98px) {
  .ld-frame-animation {
    min-height: var(--ld-frame-scroll-span, 220svh);
    overflow: clip;
    contain: layout style;
  }

  .ld-frame-animation-sticky {
    flex-direction: column;
    justify-content: center;
    padding: 0;
    height: var(--ld-frame-viewport, 100svh);
    min-height: var(--ld-frame-viewport, 100svh);
    max-height: var(--ld-frame-viewport, 100svh);
    overflow: hidden;
  }

  .ld-frame-animation-copy {
    position: absolute;
    top: 4.25rem;
    left: 0;
    right: 0;
    z-index: 2;
    flex: 0 0 auto;
    margin-bottom: 0;
    padding: 0 1rem;
    max-width: none;
    color: #fff;
    text-shadow: 0 2px 12px rgba(20, 12, 8, 0.45);
    pointer-events: none;
  }

  .ld-frame-animation-copy .ld-kicker {
    color: #fff;
    opacity: 0.9;
  }

  .ld-frame-animation-copy h2 {
    font-size: 1.65rem;
    color: #fff;
    margin-bottom: 0.35rem;
  }

  .ld-frame-animation-copy p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.45;
    max-width: 20rem;
    margin: 0 auto;
  }

  .ld-frame-animation-stage {
    position: absolute;
    inset: 0;
    flex: none;
    width: 100%;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5.5rem;
    background: var(--ld-cream-soft);
  }

  .ld-frame-animation-stage img {
    position: relative;
    width: auto;
    height: min(calc(var(--ld-frame-viewport, 100svh) * 0.74), 680px);
    max-width: 135vw;
    object-fit: contain;
    object-position: center center;
  }

  .ld-frame-animation-stage::after {
    background:
      linear-gradient(
        180deg,
        rgba(35, 23, 17, 0.42) 0%,
        rgba(35, 23, 17, 0.08) 22%,
        transparent 45%,
        transparent 78%,
        rgba(92, 68, 51, 0.18) 100%
      );
  }

  .ld-frame-animation-incense .ld-frame-animation-stage {
    background: #f0e0d0;
  }

  .ld-frame-animation-incense .ld-frame-animation-stage::after {
    background:
      linear-gradient(
        180deg,
        rgba(10, 20, 16, 0.4) 0%,
        rgba(10, 20, 16, 0.08) 22%,
        transparent 45%,
        transparent 78%,
        rgba(10, 20, 16, 0.16) 100%
      );
  }

  .ld-frame-animation-candle .ld-frame-animation-stage {
    background: #f5e2d8;
  }

  .ld-frame-animation-candle .ld-frame-animation-stage::after {
    background:
      linear-gradient(
        180deg,
        rgba(55, 28, 20, 0.38) 0%,
        rgba(55, 28, 20, 0.08) 22%,
        transparent 45%,
        transparent 78%,
        rgba(201, 111, 104, 0.14) 100%
      );
  }
}

/* Scroll-driven Lamsa product showcases */
.ld-showcase-gallery {
  background: var(--ld-white);
}

.ld-showcase-gallery-intro h2 {
  font-family: var(--ld-font-display);
}

.ld-showcase-gallery-intro {
  text-align: center;
  padding: 4.5rem 1.5rem 1rem;
  max-width: 720px;
  margin: 0 auto;
}

.ld-showcase-gallery-intro h2 {
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.ld-showcase-gallery-intro p {
  font-size: 1.15rem;
  color: var(--ld-text-muted);
  margin: 0;
}

.ld-showcase-panel {
  position: relative;
  padding: 4.5rem 0;
  background: var(--ld-white);
  border-bottom: 1px solid rgba(236, 214, 208, 0.45);
}

.ld-showcase-panel-alt {
  background: linear-gradient(180deg, var(--ld-cream-soft) 0%, var(--ld-white) 100%);
}

.ld-showcase-copy {
  text-align: left;
  max-width: 34rem;
}

.ld-showcase-frame {
  position: relative;
  display: block;
  width: 100%;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: linear-gradient(165deg, var(--ld-cream-soft) 0%, var(--ld-white) 100%);
  border-radius: 28px;
  border: 1px solid var(--ld-border);
  box-shadow: var(--ld-shadow);
  text-decoration: none;
  overflow: hidden;
}

.ld-showcase-frame::after {
  content: "";
  position: absolute;
  top: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
  width: 44%;
  height: 22px;
  border: 1px solid rgba(224, 146, 140, 0.28);
  border-top: none;
  border-radius: 0 0 999px 999px;
  pointer-events: none;
  z-index: 2;
}

.ld-showcase-frame .ld-badge {
  z-index: 2;
}

.ld-showcase-image {
  display: block;
  width: 100%;
  max-height: min(62vh, 560px);
  margin: 0 auto;
  object-fit: contain;
}

/* 3D product viewer */
.ld-product-3d {
  position: relative;
  width: 100%;
  height: min(46vh, 460px);
  min-height: 280px;
  margin: 0 auto;
}

.ld-product-3d-hero {
  height: min(52vh, 480px);
  min-height: 320px;
}

.ld-product-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.ld-product-gallery-thumb {
  width: 72px;
  height: 72px;
  padding: 0.35rem;
  border: 1px solid var(--ld-border);
  border-radius: 14px;
  background: var(--ld-white);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ld-product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.ld-product-gallery-thumb:hover,
.ld-product-gallery-thumb.is-active {
  border-color: var(--ld-gold);
  box-shadow: 0 8px 20px rgba(150, 92, 82, 0.12);
  transform: translateY(-1px);
}

.ld-product-gallery-thumb.is-active {
  background: var(--ld-cream-soft);
}

.ld-product-3d-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100% !important;
  height: 100% !important;
  outline: none;
}

.ld-product-3d-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  transition: opacity 0.4s ease;
}

.ld-product-3d.is-ready .ld-product-3d-fallback {
  opacity: 0;
  pointer-events: none;
}

.ld-product-3d.is-fallback .ld-product-3d-canvas {
  display: none;
}

.ld-product-3d-placeholder {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.88);
  color: var(--ld-text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 2;
}

.ld-product-3d.is-ready .ld-product-3d-placeholder {
  display: none;
}

.ld-product-3d-wrap:hover {
  box-shadow: var(--ld-shadow-hover);
}

.ld-showcase-copy .ld-showcase-actions {
  margin-top: 1.25rem;
}

.ld-showcase-copy-block {
  text-align: center;
  padding: 1rem 0;
}

.ld-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ld-gold-dark);
  margin-bottom: 0.65rem;
}

.ld-showcase-title {
  font-family: var(--ld-font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 0.75rem;
}

.ld-showcase-tagline {
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--ld-text-muted);
  max-width: 28rem;
  margin: 0 auto 1.25rem;
}

.ld-showcase-price {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.ld-showcase-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.ld-inline-link {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ld-gold-dark);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.ld-inline-link:hover {
  opacity: 0.75;
  color: var(--ld-gold-dark);
}

.ld-inline-link-accent {
  font-weight: 600;
}

/* Horizontal scroll card entrance */
.ld-carousel-item {
  opacity: 0;
  transform: translateY(40px) scale(0.94);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--card-index, 0) * 80ms);
}

.ld-carousel-track.is-track-visible .ld-carousel-item {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Shop grid scroll cards */
[data-ld-scroll-card] {
  opacity: 0;
  transform: translateY(48px) scale(0.96);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--card-index, 0) * 70ms);
}

[data-ld-scroll-card].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Lamsa shop card */
.ld-shop-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, #fffaf3 0%, #fceee9 100%);
  border: 1px solid rgba(224, 146, 140, 0.3);
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
  height: 100%;
  box-shadow: 0 14px 40px rgba(201, 111, 104, 0.1);
}

.ld-shop-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(201, 111, 104, 0.2);
}

.ld-shop-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  box-shadow: inset 0 0 0 1px rgba(224, 146, 140, 0.15);
}

.ld-shop-card:hover::after {
  opacity: 1;
}

.ld-shop-card-link {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  color: inherit;
}

.ld-shop-card-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  padding: 2rem 1.5rem 1rem;
  background:
    radial-gradient(circle at 50% 0%, rgba(243, 202, 198, 0.35) 0%, transparent 55%),
    radial-gradient(circle at 80% 100%, rgba(156, 175, 136, 0.18) 0%, transparent 50%),
    linear-gradient(165deg, #fdf6ef 0%, #f8e8e2 100%);
}

.ld-shop-card-stage img {
  max-width: 100%;
  max-height: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.ld-shop-card:hover .ld-shop-card-stage img {
  transform: scale(1.06);
}

.ld-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--ld-gold-dark);
  color: #fff;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  z-index: 1;
}

.ld-badge-muted {
  background: #8a8a8a;
}

.ld-shop-card-meta {
  text-align: center;
  padding: 1.25rem 1.25rem 0.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ld-shop-card-title {
  font-family: var(--ld-font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.25rem;
  color: var(--ld-text);
  line-height: 1.25;
}

.ld-shop-card-sub {
  font-size: 0.9rem;
  color: var(--ld-text-muted);
  margin: 0 0 0.65rem;
}

.ld-shop-card-price {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ld-text);
  margin: 0;
}

.ld-shop-card-footer {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  padding: 0 1.25rem 1.35rem;
}

.ld-shop-card-add-form {
  margin: 0;
}

.ld-shop-card-add-btn {
  width: 100%;
  border-radius: var(--ld-radius-pill);
  padding: 0.65rem 1rem;
  font-weight: 700;
}

.ld-shop-card-cta {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ld-gold-dark);
  text-align: center;
  text-decoration: none;
}

.ld-shop-card-cta:hover {
  color: var(--ld-terracotta);
}

.ld-shop-card-cta::after {
  content: " ›";
}

.ld-badge-variants {
  background: #6d8f7b;
}

.ld-variant-picker {
  max-width: 520px;
  margin: 0 auto 1.25rem;
  text-align: start;
}

.ld-variant-picker-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ld-text-muted);
  margin-bottom: 0.65rem;
}

.ld-variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
}

.ld-variant-option {
  border: 1px solid rgba(224, 146, 140, 0.45);
  background: #fffaf3;
  color: var(--ld-text);
  border-radius: var(--ld-radius-pill);
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.ld-variant-option:hover:not(:disabled),
.ld-variant-option.is-selected {
  border-color: var(--ld-gold);
  background: #fff4df;
  transform: translateY(-1px);
}

.ld-variant-option.is-disabled,
.ld-variant-option:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Shop page grid */
.ld-shop-page {
  background: var(--ld-cream);
}

.ld-shop-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

.ld-shop-count {
  text-align: center;
  font-size: 0.95rem;
  color: var(--ld-text-muted);
  margin-bottom: 2rem;
}

.ld-shop-filter {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  border: 1px solid var(--ld-border);
  border-radius: 20px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Product detail hero */
.ld-product-hero {
  background: var(--ld-cream) var(--ld-bg-image) center 40% / cover no-repeat;
  padding: 2rem 0 4rem;
  text-align: center;
  position: relative;
}

.ld-product-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--ld-white));
  pointer-events: none;
  z-index: 1;
}

.ld-product-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(250, 243, 232, 0.92) 0%, rgba(250, 243, 232, 0.96) 55%, var(--ld-cream) 100%);
  z-index: 0;
}

.ld-product-hero > * {
  position: relative;
  z-index: 1;
}

.ld-product-stage {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  padding: 2rem 1.5rem;
  background: linear-gradient(165deg, #fdf9f4 0%, #f6e0d8 100%);
  border-radius: 28px;
}

.ld-product-stage .ld-product-3d {
  height: min(52vh, 480px);
}

.ld-product-hero h1 {
  font-family: var(--ld-font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.ld-product-tagline {
  font-size: 1.2rem;
  color: var(--ld-text-muted);
  max-width: 36rem;
  margin: 0 auto 1.25rem;
  line-height: 1.5;
}

.ld-product-price-lg {
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 1.75rem;
}

.ld-product-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.ld-product-details {
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  text-align: center;
}

.ld-product-details h2 {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.ld-product-details p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ld-text-muted);
}

.ld-related-products {
  background: var(--ld-white);
  padding: 4rem 0 5rem;
}

.ld-related-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.ld-related-header h2 {
  font-family: var(--ld-font-display);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.ld-related-products .ld-shop-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 300px));
  justify-content: center;
}

@media (min-width: 576px) {
  .ld-shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .ld-shop-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }

  .ld-carousel-item {
    flex: 0 0 300px;
  }
}

@media (max-width: 991.98px) {
  .ld-showcase-panel {
    padding: 3.5rem 0;
  }

  .ld-showcase-copy {
    text-align: center;
    margin: 0 auto;
  }

  .ld-showcase-image {
    max-height: min(48vh, 420px);
  }

  .ld-product-3d {
    height: min(38vh, 340px);
    min-height: 240px;
  }
}

@media (max-width: 767.98px) {
  .ld-product-hero {
    padding: 1.5rem 0 3rem;
  }

  .ld-product-hero .ld-breadcrumb {
    padding-left: 0 !important;
    padding-right: 0 !important;
    font-size: 0.9rem;
  }

  .ld-product-stage {
    padding: 1.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 2rem;
  }

  .ld-product-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ld-product-actions .ld-inline-link {
    text-align: center;
  }

  .ld-showcase-actions {
    flex-direction: column;
    gap: 0.85rem;
  }
}

@media (max-width: 575.98px) {
  .ld-carousel-shell {
    padding: 0;
  }

  .ld-carousel-btn {
    display: none;
  }

  .ld-carousel-header {
    padding: 0 1rem;
  }

  .ld-carousel-header h2 {
    font-size: 2rem;
  }

  .ld-carousel-track {
    padding: 0.5rem 1rem 1.25rem;
    scroll-padding: 1rem;
  }

  .ld-showcase-panel {
    padding: 2.75rem 0;
  }

  .ld-showcase-frame {
    border-radius: 20px;
    padding: 0.75rem;
  }

  .ld-product-3d {
    min-height: 220px;
  }

  .ld-product-gallery-thumb {
    width: 60px;
    height: 60px;
  }
}
