/**
 * Leather Crust product page styles only.
 * Framework, homepage and NFC page CSS remain untouched.
 */

.page-leather-crust .template-landing__hero {
  min-height: auto;
  align-items: stretch;
  padding-block: 0;
}

/* ——— Shared ——— */
.leather-section-header {
  margin-bottom: var(--space-8);
  max-width: 42rem;
}

.leather-section-header h2 {
  margin: 0 0 var(--space-3);
}

.leather-section-header p {
  margin: 0;
  color: var(--color-text-secondary);
}

.leather-section-header--center {
  margin-inline: auto;
  text-align: center;
}

.leather-media {
  display: block;
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 200px;
  padding: 0;
  background:
    linear-gradient(150deg, #ebe4dc 0%, var(--color-secondary-muted) 45%, var(--color-gray-100) 100%);
  border: 1px solid var(--color-border-subtle);
  color: var(--color-text-tertiary);
  font-size: var(--text-caption);
  letter-spacing: 0.02em;
}

.leather-media picture,
.leather-media img,
.leather-media__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leather-media--hero {
  min-height: clamp(280px, 48vw, 520px);
  border-radius: var(--radius-xl);
}

.leather-media--gallery {
  min-height: 0;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
}

.leather-media--lifestyle {
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(140deg, #efe8df 0%, var(--color-secondary) 55%, var(--color-secondary-muted) 100%);
}

.leather-media--packaging {
  aspect-ratio: 1 / 1;
  background:
    linear-gradient(180deg, var(--color-white) 0%, #ebe4dc 100%);
}

.leather-gallery {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .leather-gallery {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: var(--space-5);
  }

  .leather-gallery__item:nth-child(1),
  .leather-gallery__item:nth-child(2) {
    grid-column: span 3;
  }

  .leather-gallery__item:nth-child(3),
  .leather-gallery__item:nth-child(4) {
    grid-column: span 3;
  }

  .leather-gallery__item:nth-child(5) {
    grid-column: span 6;
    max-width: 32rem;
    justify-self: center;
  }
}

.leather-gallery__item {
  margin: 0;
}

.leather-gallery__caption {
  margin-top: var(--space-3);
  color: var(--color-text-tertiary);
  font-size: var(--text-caption);
}

/* ——— Hero ——— */
.leather-hero {
  padding-block: var(--space-8) var(--space-12);
}

.leather-hero__grid {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}

@media (min-width: 1024px) {
  .leather-hero {
    padding-block: var(--space-10) var(--space-16);
  }

  .leather-hero__grid {
    grid-template-columns: 1fr 1.05fr;
    gap: var(--space-12);
  }
}

.leather-hero__eyebrow {
  margin: 0 0 var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-small);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
}

.leather-hero__title {
  margin: 0 0 var(--space-4);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.02em;
  line-height: var(--leading-tight);
}

.leather-hero__headline {
  margin: 0 0 var(--space-4);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: var(--font-weight-semibold);
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.leather-hero__lede {
  margin: 0 0 var(--space-6);
  max-width: 42ch;
  font-size: var(--text-body-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text-secondary);
}

.leather-hero__audience {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: 0 0 var(--space-8);
  padding: 0;
  list-style: none;
}

.leather-hero__audience li {
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-caption);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.02em;
  color: var(--color-text-secondary);
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-sm);
}

.leather-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* ——— Why Bangladesh ——— */
.leather-reasons {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .leather-reasons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-6);
  }
}

@media (min-width: 1024px) {
  .leather-reasons {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ——— Types ——— */
.leather-types {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .leather-types {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-6);
  }
}

@media (min-width: 1024px) {
  .leather-types {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.leather-types .card:last-child {
  grid-column: 1 / -1;
}

@media (min-width: 1024px) {
  .leather-types .card:last-child {
    grid-column: auto;
  }
}

/* ——— Process ——— */
.leather-process {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .leather-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .leather-process {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--space-5);
  }
}

.leather-process__index {
  display: block;
  margin-bottom: var(--space-4);
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: var(--font-weight-semibold);
  letter-spacing: -0.01em;
}

.leather-process__title {
  margin: 0 0 var(--space-2);
  font-size: var(--text-h5);
  font-weight: var(--font-weight-medium);
}

.leather-process__text {
  margin: 0;
  font-size: var(--text-small);
  color: var(--color-text-secondary);
}

/* ——— Applications ——— */
.leather-apps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 768px) {
  .leather-apps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-4);
  }
}

@media (min-width: 1024px) {
  .leather-apps {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.leather-apps__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-5);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
}

.leather-apps__icon {
  color: var(--color-text-primary);
}

.leather-apps__label {
  font-size: var(--text-small);
  font-weight: var(--font-weight-medium);
}

/* ——— Specs ——— */
.leather-specs {
  margin: 0;
  border-top: 1px solid var(--color-border-subtle);
}

.leather-specs__row {
  display: grid;
  gap: var(--space-2);
  padding-block: var(--space-5);
  border-bottom: 1px solid var(--color-border-subtle);
}

@media (min-width: 768px) {
  .leather-specs__row {
    grid-template-columns: 10rem 1fr;
    gap: var(--space-8);
    align-items: baseline;
  }
}

.leather-specs__term {
  margin: 0;
  font-size: var(--text-small);
  font-weight: var(--font-weight-semibold);
}

.leather-specs__detail {
  margin: 0;
  font-size: var(--text-small);
  color: var(--color-text-secondary);
}

/* ——— Quality ——— */
.leather-quality {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .leather-quality {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-6);
  }
}

@media (min-width: 1024px) {
  .leather-quality {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ——— FAQ ——— */
.leather-faq {
  display: grid;
  border-top: 1px solid var(--color-border-subtle);
}

.leather-faq__item {
  border-bottom: 1px solid var(--color-border-subtle);
}

.leather-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-5);
  cursor: pointer;
  list-style: none;
  font-size: var(--text-body);
  font-weight: var(--font-weight-medium);
}

.leather-faq__question::-webkit-details-marker {
  display: none;
}

.leather-faq__question::after {
  content: "";
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--duration-fast) var(--ease-standard);
}

.leather-faq__item[open] .leather-faq__question::after {
  transform: rotate(225deg);
  margin-top: 0.25rem;
}

.leather-faq__answer {
  padding-bottom: var(--space-5);
}

.leather-faq__answer p {
  margin: 0;
  max-width: 60ch;
  font-size: var(--text-small);
  color: var(--color-text-secondary);
}

/* ——— CTA ——— */
.leather-cta {
  text-align: center;
  max-width: 38rem;
  margin-inline: auto;
}

.leather-cta__icon {
  display: inline-flex;
  margin-bottom: var(--space-4);
  color: var(--color-text-primary);
}

.leather-cta h2 {
  margin: 0 0 var(--space-4);
}

.leather-cta p {
  margin: 0 0 var(--space-8);
  color: var(--color-text-secondary);
}

.leather-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}
