.lune-product-details {
  --lpd-bg: rgba(8, 12, 18, 0.78);
  --lpd-bg-strong: rgba(5, 8, 12, 0.92);
  --lpd-line: rgba(255, 255, 255, 0.09);
  --lpd-line-bright: rgba(168, 85, 247, 0.45);
  --lpd-text: #f8f9ff;
  --lpd-muted: #aeb4c3;
  --lpd-purple: #a855f7;
  --lpd-cyan: #00e5ff;
  --lpd-border: rgba(168, 85, 247, 0.48);
  --lpd-border-strong: rgba(168, 85, 247, 0.68);
  --lpd-glow-soft: rgba(168, 85, 247, 0.18);
  --lpd-radius: 14px;
  padding: 0 clamp(1rem, 3vw, 3.25rem) 3.8rem;
  background:
    radial-gradient(circle at 15% 18%, color-mix(in srgb, var(--lpd-cyan) 7%, transparent), transparent 26rem),
    radial-gradient(circle at 82% 0%, color-mix(in srgb, var(--lpd-purple) 9%, transparent), transparent 28rem),
    linear-gradient(180deg, #05070d 0%, #030405 100%);
  color: var(--lpd-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.lune-product-details.core {
  --lpd-purple: #4cff7c;
  --lpd-cyan: #00e5ff;
  --lpd-border: rgba(76, 255, 124, 0.48);
  --lpd-border-strong: rgba(76, 255, 124, 0.68);
  --lpd-glow-soft: rgba(76, 255, 124, 0.16);
  --lpd-line-bright: rgba(76, 255, 124, 0.42);
}

.lune-product-details.plus {
  --lpd-purple: #22b8ff;
  --lpd-cyan: #a855f7;
  --lpd-border: rgba(34, 184, 255, 0.48);
  --lpd-border-strong: rgba(34, 184, 255, 0.68);
  --lpd-glow-soft: rgba(34, 184, 255, 0.16);
  --lpd-line-bright: rgba(34, 184, 255, 0.42);
}

.lune-product-details.pro {
  --lpd-purple: #a855f7;
  --lpd-cyan: #00e5ff;
  --lpd-border: rgba(168, 85, 247, 0.48);
  --lpd-border-strong: rgba(168, 85, 247, 0.68);
  --lpd-glow-soft: rgba(168, 85, 247, 0.18);
  --lpd-line-bright: rgba(168, 85, 247, 0.45);
}

.lpd-symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.lpd-container {
  max-width: 116rem;
  display: grid;
  gap: clamp(1.2rem, 2vw, 1.7rem);
  margin: 0 auto;
}

.lpd-card,
.lpd-cta {
  border: 1px solid var(--lpd-line);
  border-radius: var(--lpd-radius);
  background:
    radial-gradient(circle at 22% 0%, color-mix(in srgb, var(--lpd-purple) 8%, transparent), transparent 22rem),
    linear-gradient(180deg, var(--lpd-bg), var(--lpd-bg-strong));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 1.2rem 3rem rgba(0, 0, 0, 0.26);
}

.lpd-card {
  padding: clamp(1.25rem, 2.4vw, 2rem);
}

.lpd-card:hover,
.lpd-mini-card:hover,
.lpd-gallery-media:hover,
.lpd-faq-item:hover {
  border-color: var(--lpd-line-bright);
}

.lpd-accent-line {
  display: block;
  width: 1.7rem;
  height: 2px;
  margin-bottom: 0.8rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lpd-purple), var(--lpd-cyan));
  box-shadow: 0 0 1rem var(--lpd-line-bright);
}

.lpd-card h2,
.lpd-cta h2 {
  margin: 0;
  color: var(--lpd-text);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.1;
  font-weight: 760;
  letter-spacing: 0;
}

.lpd-card h2 span,
.lpd-cta h2 span {
  color: var(--lpd-purple);
}

.lpd-lede {
  max-width: 44rem;
  margin: 1rem 0 1.7rem;
  color: var(--lpd-muted);
  line-height: 1.58;
}

.lpd-inside-grid {
  display: grid;
  gap: 1rem;
}

.lpd-inside-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lpd-mini-card {
  min-height: 8.2rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  border: 1px solid var(--lpd-line);
  border-radius: 10px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.lpd-mini-card:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.038);
}

.lpd-mini-card svg,
.lpd-included-grid svg,
.lpd-cta svg,
.lpd-trust-bar svg {
  width: 3.1rem;
  height: 3.1rem;
  color: var(--lpd-purple);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 0.8rem var(--lpd-line-bright));
}

.lpd-icon-img,
.lpd-button-icon,
.lpd-trust-icon {
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 0 0.65rem var(--lpd-line-bright));
}

.lpd-icon-img {
  width: 3.1rem;
  height: 3.1rem;
}

.lpd-button-icon,
.lpd-trust-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.lpd-mini-card h3,
.lpd-included-grid h3 {
  margin: 0;
  color: var(--lpd-text);
  font-size: 1rem;
  line-height: 1.25;
}

.lpd-mini-card p,
.lpd-included-grid p {
  margin: 0.45rem 0 0;
  color: var(--lpd-muted);
  line-height: 1.48;
  font-size: 0.92rem;
}

.lpd-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.lpd-section-head a {
  color: #d7dced;
  font-weight: 650;
  transition: color 180ms ease, transform 180ms ease;
}

.lpd-section-head a:hover {
  color: var(--lpd-cyan);
  transform: translateX(2px);
}

.lpd-gallery-carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
}

.lpd-gallery-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(12rem, 23%);
  grid-template-columns: none;
  gap: 0.8rem;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 0.25rem 0.1rem 0.65rem;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.lpd-gallery-grid::-webkit-scrollbar {
  display: none;
}

.lpd-gallery-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.lpd-gallery-wide {
  grid-column: 1 / -1;
}

.lpd-gallery-media {
  position: relative;
  aspect-ratio: 1;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--lpd-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  scroll-snap-align: start;
}

.lpd-gallery-media[hidden] {
  display: none;
}

.lpd-gallery-carousel-arrow {
  position: relative;
  width: 2.75rem;
  aspect-ratio: 1;
  border: 1px solid var(--lpd-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--lpd-cyan);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease, opacity 180ms ease;
}

.lpd-gallery-carousel-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.68rem;
  height: 0.68rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.lpd-gallery-carousel-prev::before {
  transform: translate(-38%, -50%) rotate(-135deg);
}

.lpd-gallery-carousel-next::before {
  transform: translate(-62%, -50%) rotate(45deg);
}

.lpd-gallery-carousel-arrow:hover,
.lpd-gallery-carousel-arrow:focus-visible {
  border-color: var(--lpd-border-strong);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 0 1.2rem var(--lpd-glow-soft);
}

.lpd-gallery-carousel-arrow:disabled {
  cursor: default;
  opacity: 0.34;
  box-shadow: none;
  transform: none;
}

.lpd-gallery-trigger {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
}

.lpd-gallery-trigger:focus-visible {
  outline: 2px solid var(--lpd-cyan);
  outline-offset: -4px;
}

.lpd-gallery-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 300ms ease, filter 300ms ease;
}

.lpd-gallery-media:hover img {
  transform: scale(1.035);
  filter: saturate(1.12) brightness(1.08);
}

.lpd-gallery-dots {
  position: absolute;
  left: 50%;
  bottom: 0.9rem;
  display: inline-flex;
  gap: 0.5rem;
  margin: 0;
  transform: translateX(-50%);
}

.lpd-gallery-dots span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
}

.lpd-gallery-dots .is-active {
  background: var(--lpd-purple);
  box-shadow: 0 0 0.8rem var(--lpd-line-bright);
}

html.lpd-lightbox-open,
body.lpd-lightbox-open {
  overflow: hidden;
}

.lpd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  grid-template-columns: minmax(3.4rem, 8vw) minmax(0, 1fr) minmax(3.4rem, 8vw);
  align-items: center;
  gap: clamp(0.6rem, 2vw, 1.2rem);
  padding: clamp(1rem, 3vw, 2rem);
  background:
    radial-gradient(circle at 25% 18%, color-mix(in srgb, var(--lpd-cyan) 12%, transparent), transparent 24rem),
    radial-gradient(circle at 75% 82%, color-mix(in srgb, var(--lpd-purple) 16%, transparent), transparent 28rem),
    rgba(1, 3, 8, 0.9);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 0s linear 220ms;
}

.lpd-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.lpd-lightbox-frame {
  grid-column: 2;
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  margin: 0;
  transform: translateY(0.35rem) scale(0.97);
  transition: transform 220ms ease;
}

.lpd-lightbox.is-open .lpd-lightbox-frame {
  transform: translateY(0) scale(1);
}

.lpd-lightbox-frame img {
  width: min(100%, 68rem);
  max-height: 78vh;
  display: block;
  object-fit: contain;
  border: 1px solid var(--lpd-border);
  border-radius: 14px;
  background: rgba(4, 7, 12, 0.88);
  box-shadow:
    0 2rem 5rem rgba(0, 0, 0, 0.56),
    0 0 2.2rem var(--lpd-glow-soft);
  opacity: 1;
  transition: opacity 140ms ease, filter 140ms ease;
}

.lpd-lightbox-frame img.is-changing {
  opacity: 0;
  filter: brightness(0.82);
}

.lpd-lightbox-frame figcaption {
  min-height: 1.4rem;
  color: var(--lpd-muted);
  font-weight: 650;
}

.lpd-lightbox-close,
.lpd-lightbox-arrow {
  border: 1px solid var(--lpd-border);
  background: rgba(5, 8, 12, 0.72);
  color: var(--lpd-text);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.lpd-lightbox-close:hover,
.lpd-lightbox-arrow:hover,
.lpd-lightbox-close:focus-visible,
.lpd-lightbox-arrow:focus-visible {
  border-color: var(--lpd-border-strong);
  background: rgba(12, 16, 24, 0.9);
  box-shadow: 0 0 1.4rem var(--lpd-glow-soft);
  outline: 0;
  transform: translateY(-1px);
}

.lpd-lightbox-close {
  position: absolute;
  top: clamp(0.9rem, 2vw, 1.4rem);
  right: clamp(0.9rem, 2vw, 1.4rem);
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  font-size: 1.75rem;
  line-height: 1;
}

.lpd-lightbox-arrow {
  width: clamp(3rem, 5vw, 4rem);
  height: clamp(3rem, 5vw, 4rem);
  position: relative;
  justify-self: center;
  border-radius: 999px;
}

.lpd-lightbox-prev {
  grid-column: 1;
}

.lpd-lightbox-next {
  grid-column: 3;
}

.lpd-lightbox-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.85rem;
  height: 0.85rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform-origin: center;
}

.lpd-lightbox-prev::before {
  transform: translate(-38%, -50%) rotate(225deg);
}

.lpd-lightbox-next::before {
  transform: translate(-62%, -50%) rotate(45deg);
}

.lpd-included-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 1.2rem;
}

.lpd-included-grid article {
  min-width: 0;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 0.55rem;
  padding: 0.4rem 1rem;
  text-align: center;
}

.lpd-included-grid article:not(:last-child) {
  border-right: 1px solid var(--lpd-line);
}

.lpd-included-grid svg,
.lpd-included-grid .lpd-icon-img {
  width: 2.8rem;
  height: 2.8rem;
}

.lpd-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  gap: clamp(1.2rem, 2vw, 1.7rem);
  align-items: stretch;
}

.lpd-bottom-grid .lpd-card {
  min-width: 0;
}

.lpd-warranty-card {
  display: flex;
  flex-direction: column;
}

.lpd-warranty-card > svg,
.lpd-warranty-card > .lpd-icon-img {
  width: 3.4rem;
  height: 3.4rem;
  margin-bottom: 1.1rem;
  color: var(--lpd-purple);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 0.9rem var(--lpd-line-bright));
}

.lpd-warranty-card p {
  margin: 1rem 0 1.35rem;
  color: var(--lpd-muted);
  line-height: 1.55;
}

.lpd-warranty-card a {
  min-height: 3.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: auto;
  border: 1px solid var(--lpd-border-strong);
  border-radius: 9px;
  padding: 0 1rem;
  color: var(--lpd-text);
  font-weight: 760;
  box-shadow: 0 0 1rem var(--lpd-glow-soft);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.lpd-warranty-card a:hover {
  transform: translateY(-1px);
  border-color: var(--lpd-cyan);
  box-shadow: 0 0 1.25rem var(--lpd-glow-soft);
}

.lpd-faq-grid {
  display: block;
  column-count: 2;
  column-gap: 1rem;
  margin-top: 1rem;
}

.lpd-faq-item {
  display: inline-block;
  width: 100%;
  margin: 0 0 0.8rem;
  break-inside: avoid;
  scroll-margin-top: 7rem;
  border: 1px solid var(--lpd-line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 180ms ease, background 180ms ease;
}

.lpd-faq-item.is-open {
  border-color: var(--lpd-border);
  background: rgba(255, 255, 255, 0.034);
}

.lpd-faq-item button {
  width: 100%;
  min-height: 3.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 0;
  padding: 0.8rem 1rem;
  background: transparent;
  color: var(--lpd-text);
  cursor: pointer;
  text-align: left;
  font: inherit;
  font-weight: 650;
}

.lpd-faq-item button span {
  position: relative;
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  color: var(--lpd-cyan);
  transition: color 180ms ease;
}

.lpd-faq-item button span::before,
.lpd-faq-item button span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.92rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: opacity 180ms ease, transform 180ms ease;
}

.lpd-faq-item button span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.lpd-faq-item.is-open button span {
  color: var(--lpd-purple);
}

.lpd-faq-item.is-open button span::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
}

.lpd-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 220ms ease;
}

.lpd-faq-answer p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--lpd-muted);
  line-height: 1.5;
}

.lpd-cta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(1rem, 2vw, 1.8rem);
  align-items: center;
  padding: clamp(1.25rem, 2.4vw, 2rem);
  border-color: var(--lpd-border-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 2.2rem var(--lpd-glow-soft);
}

.lpd-cta-icon {
  width: 5rem;
  height: 5rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--lpd-border-strong);
  border-radius: 16px;
  background: color-mix(in srgb, var(--lpd-purple) 8%, transparent);
}

.lpd-cta-icon .lpd-icon-img {
  width: 3.2rem;
  height: 3.2rem;
}

.lpd-cta h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
}

.lpd-cta p {
  max-width: 42rem;
  margin: 0.45rem 0 0;
  color: var(--lpd-muted);
  line-height: 1.45;
}

.lpd-cta-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(10rem, 1fr));
  gap: 0.85rem;
}

.lpd-cta-actions a {
  min-height: 3.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 9px;
  padding: 0 1rem;
  color: var(--lpd-text);
  font-weight: 720;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.lpd-whatsapp-button {
  border: 1px solid var(--lpd-border-strong);
  box-shadow: 0 0 1rem var(--lpd-glow-soft);
}

.lpd-secondary-button {
  border: 1px solid var(--lpd-line);
  background: rgba(255, 255, 255, 0.025);
}

.lpd-cta-actions a:hover {
  transform: translateY(-1px);
  border-color: var(--lpd-border-strong);
  box-shadow: 0 0 1.25rem var(--lpd-glow-soft);
}

.lpd-cta-actions svg,
.lpd-trust-bar svg {
  width: 1.25rem;
  height: 1.25rem;
}

.lpd-trust-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  color: #d8deec;
}

.lpd-trust-bar span {
  min-height: 2.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0 1rem;
  color: var(--lpd-muted);
  text-align: center;
}

.lpd-trust-bar span:not(:last-child) {
  border-right: 1px solid var(--lpd-line);
}

.lpd-trust-bar svg {
  color: var(--lpd-purple);
  flex: 0 0 auto;
}

@media (max-width: 1180px) {
  .lpd-inside-grid,
  .lpd-included-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lpd-bottom-grid {
    grid-template-columns: 1fr;
  }

  .lpd-included-grid article {
    border-right: 0;
  }

  .lpd-included-grid article:nth-child(odd) {
    border-right: 1px solid var(--lpd-line);
  }

  .lpd-gallery-grid {
    grid-auto-columns: minmax(11rem, 33%);
  }

  .lpd-cta {
    grid-template-columns: 1fr;
  }

  .lpd-gallery-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lpd-cta-actions {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .lune-product-details {
    padding-inline: 1rem;
  }

  .lpd-card,
  .lpd-cta {
    padding: 1.15rem;
  }

  .lpd-inside-grid,
  .lpd-included-grid,
  .lpd-faq-grid,
  .lpd-trust-bar,
  .lpd-cta-actions,
  .lpd-bottom-grid,
  .lpd-gallery-stack {
    grid-template-columns: 1fr;
  }

  .lpd-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .lpd-gallery-grid {
    grid-auto-columns: minmax(10rem, 72%);
  }

  .lpd-gallery-carousel {
    gap: 0.5rem;
  }

  .lpd-gallery-carousel-arrow {
    width: 2.35rem;
  }

  .lpd-gallery-media,
  .lpd-gallery-tall,
  .lpd-gallery-main,
  .lpd-gallery-wide {
    min-height: 0;
  }

  .lpd-lightbox {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: end;
    padding: 4.3rem 1rem 1rem;
  }

  .lpd-lightbox-frame {
    grid-column: 1 / -1;
    grid-row: 1;
    align-self: center;
  }

  .lpd-lightbox-frame img {
    max-height: 68vh;
  }

  .lpd-lightbox-prev,
  .lpd-lightbox-next {
    grid-row: 2;
    width: 100%;
    max-width: 9rem;
    border-radius: 10px;
  }

  .lpd-lightbox-prev {
    grid-column: 1;
    justify-self: end;
  }

  .lpd-lightbox-next {
    grid-column: 2;
    justify-self: start;
  }

  .lpd-mini-card {
    min-height: auto;
  }

  .lpd-included-grid article,
  .lpd-included-grid article:nth-child(odd),
  .lpd-trust-bar span:not(:last-child) {
    border-right: 0;
  }

  .lpd-included-grid article:not(:last-child),
  .lpd-trust-bar span:not(:last-child) {
    border-bottom: 1px solid var(--lpd-line);
  }

  .lpd-cta-icon {
    width: 4.4rem;
    height: 4.4rem;
  }

  .lpd-cta-actions a {
    width: 100%;
  }
}

/* Larger PNG icon sizing pass */
.lpd-mini-card .lpd-icon-img {
  width: 6.2rem;
  height: 6.2rem;
}

.lpd-included-grid .lpd-icon-img {
  width: 5.6rem;
  height: 5.6rem;
}

.lpd-warranty-card > .lpd-icon-img {
  width: 6.8rem;
  height: 6.8rem;
}

.lpd-cta-icon {
  width: 10rem;
  height: 10rem;
}

.lpd-cta-icon .lpd-icon-img {
  width: 6.4rem;
  height: 6.4rem;
}

.lpd-button-icon,
.lpd-trust-icon {
  width: 2.5rem;
  height: 2.5rem;
}

.lpd-trust-bar span {
  min-height: 4.2rem;
}

@media (max-width: 760px) {
  .lpd-mini-card .lpd-icon-img,
  .lpd-included-grid .lpd-icon-img,
  .lpd-warranty-card > .lpd-icon-img {
    width: 4.8rem;
    height: 4.8rem;
  }

  .lpd-cta-icon {
    width: 7rem;
    height: 7rem;
  }

  .lpd-cta-icon .lpd-icon-img {
    width: 4.6rem;
    height: 4.6rem;
  }
}

/* Full mobile responsiveness pass */
@media (max-width: 768px) {
  .lune-product-details {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding-inline: 1rem;
  }

  .lpd-container,
  .lpd-shell,
  .lpd-card,
  .lpd-gallery-grid,
  .lpd-mini-grid,
  .lpd-why-grid,
  .lpd-included-grid,
  .lpd-faq-grid,
  .lpd-bottom-grid,
  .lpd-cta,
  .lpd-trust-bar {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .lpd-mini-grid,
  .lpd-why-grid,
  .lpd-bottom-grid,
  .lpd-cta {
    grid-template-columns: 1fr !important;
  }

  .lpd-gallery-carousel {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .lpd-gallery-grid {
    grid-auto-columns: minmax(10rem, 76%) !important;
    grid-template-columns: none !important;
  }

  .lpd-gallery-collage,
  .lpd-gallery-small-row {
    grid-template-columns: 1fr 1fr;
  }

  .lpd-gallery-item,
  .lpd-gallery-item.large,
  .lpd-gallery-collage .lpd-gallery-item {
    min-height: auto;
    aspect-ratio: 1 / 1;
  }

  .lpd-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .lpd-included-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .lpd-faq-grid {
    column-count: 1 !important;
    column-gap: 0;
  }

  .lpd-cta {
    text-align: center;
    justify-items: center;
  }

  .lpd-cta-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .lpd-trust-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 480px) {
  .lune-product-details {
    padding-inline: 0.85rem;
  }

  .lpd-card {
    padding: 1rem;
    border-radius: 14px;
  }

  .lpd-section-heading h2,
  .lpd-card h2,
  .lpd-cta h2 {
    font-size: clamp(1.65rem, 9vw, 2.35rem);
  }

  .lpd-mini-card,
  .lpd-why-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .lpd-included-grid,
  .lpd-trust-bar {
    grid-template-columns: 1fr !important;
  }

  .lpd-gallery-small-row {
    grid-template-columns: 1fr;
  }

  .lpd-gallery-dots {
    position: static;
    transform: none;
    margin-top: 0.75rem;
  }
}

/* Dense mobile product detail icon grids */
@media (max-width: 768px) {
  .lpd-inside-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.7rem;
  }

  .lpd-mini-card {
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: start;
    gap: 0.55rem;
    padding: 0.85rem 0.65rem;
    text-align: center;
  }

  .lpd-mini-card h3,
  .lpd-included-grid h3 {
    font-size: 0.86rem;
  }

  .lpd-mini-card p,
  .lpd-included-grid p {
    font-size: 0.74rem;
    line-height: 1.32;
  }

  .lpd-included-grid,
  .lpd-trust-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .lpd-included-grid article,
  .lpd-included-grid article:nth-child(odd),
  .lpd-included-grid article:not(:last-child),
  .lpd-trust-bar span:not(:last-child) {
    border-right: 0;
    border-bottom: 0;
  }

  .lpd-included-grid article,
  .lpd-trust-bar span {
    border: 1px solid var(--lpd-line);
    border-radius: 10px;
    padding: 0.75rem 0.5rem;
    text-align: center;
  }
}

@media (max-width: 430px) {
  .lpd-mini-card p,
  .lpd-included-grid p {
    display: none;
  }

  .lpd-mini-card .lpd-icon-img,
  .lpd-included-grid .lpd-icon-img,
  .lpd-warranty-card > .lpd-icon-img {
    width: 3.6rem;
    height: 3.6rem;
  }
}

.lpd-card :is(h2, h3),
.lpd-cta h2,
.lpd-section-heading h2,
.lpd-mini-card h3,
.lpd-included-grid h3 {
  line-height: 1.2 !important;
  padding-block: 0.03em 0.1em;
  overflow: visible !important;
  text-wrap: balance;
}

/* v003 accessibility and pointer-mode corrections. */
:where(.lpd-gallery-item, .lpd-gallery-carousel-arrow, .lpd-lightbox-close, .lpd-lightbox-arrow, .lpd-faq-item button, .lpd-warranty-card a, .lpd-cta-actions a):focus-visible {
  outline: 2px solid var(--lpd-cyan);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--lpd-cyan) 16%, transparent);
}

.lpd-faq-item button span {
  transition: transform 220ms ease, color 180ms ease;
}

.lpd-faq-item.is-open button span {
  transform: rotate(45deg);
}

@media (hover: none), (pointer: coarse) {
  .lpd-card:hover,
  .lpd-mini-card:hover,
  .lpd-gallery-media:hover,
  .lpd-faq-item:hover,
  .lpd-warranty-card a:hover,
  .lpd-cta-actions a:hover {
    transform: none;
  }

  .lpd-gallery-media:hover img {
    transform: none;
    filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lune-product-details *,
  .lune-product-details *::before,
  .lune-product-details *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
