/* ============ DOOR STYLES PAGE ============ */

/* ---------- HERO ---------- */
.doors-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.doors-hero-overlay {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.doors-hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.doors-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 20px;
}

.doors-hero-inner h1 {
  font-family: var(--font-heading);
  font-size: 46px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.15;
}

.doors-hero-subtitle {
  font-family: var(--font-body);
  font-size: 18px;
  color: #fff;
  opacity: 0.92;
  font-weight: 400;
}

/* ---------- SUPPLIER INTRO ---------- */
.supplier-intro {
  padding: 50px 0 40px;
  text-align: center;
  background: var(--white);
}

.supplier-text {
  max-width: 780px;
  margin: 0 auto 28px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-light, #666);
}

.supplier-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- DOOR STYLES GRID ---------- */
.door-styles-section {
  padding: 40px 0 70px;
  background: var(--light-bg);
}

.door-styles-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.door-item {
  position: relative;
  text-align: center;
}

.door-swatch {
  width: 140px;
  height: 200px;
  margin: 0 auto;
  border-radius: 4px;
  box-shadow:
    inset 0 0 0 6px rgba(255, 255, 255, 0.35),
    inset 0 0 0 7px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.door-item:hover .door-swatch {
  transform: translateY(-3px);
  box-shadow:
    inset 0 0 0 6px rgba(255, 255, 255, 0.35),
    inset 0 0 0 7px rgba(0, 0, 0, 0.08),
    0 6px 18px rgba(0, 0, 0, 0.15);
}

.door-swatch-img {
  width: 100%;
  height: 200px;
  margin: 0 auto;
  border-radius: 4px;
  object-fit: cover;
  display: block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.door-item:hover .door-swatch-img {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.door-name {
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

/* "New" badge */
.door-badge {
  position: absolute;
  top: 6px;
  right: calc(50% - 76px);
  background: var(--dark, #2d2d2d);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
  .door-styles-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .doors-hero-inner h1 {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .door-styles-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .doors-hero {
    min-height: 250px;
  }

  .doors-hero-inner h1 {
    font-size: 30px;
  }

  .doors-hero-subtitle {
    font-size: 15px;
  }

  .supplier-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .door-styles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .door-swatch {
    width: 120px;
    height: 170px;
  }

  .door-swatch-img {
    width: 100%;
    height: 170px;
  }

  .doors-hero-inner h1 {
    font-size: 26px;
  }

  .doors-hero-subtitle {
    font-size: 14px;
  }
}
