/* ============================================================
   door-configurator_06092026_1300.css
   Styles for door series pages + catalog
   Requires: style_06092026_1300.css loaded first
============================================================ */

/* ── SMALL BUTTON VARIANT (used in page headers) ── */
.btn-sm { padding: 10px 22px !important; font-size: 0.84rem !important; }

/* ── CONFIGURATOR WRAPPER ── */
.dc-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 40px;
  box-shadow: var(--shadow);
  max-width: 860px;
}

/* ── SECTION BLOCKS ── */
.dc-block { margin-bottom: 30px; }
.dc-block:last-child { margin-bottom: 0; }

.dc-block-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 10px;
}

/* ── CONFIGURATION TABS ── */
.dc-tabs { display: flex; flex-wrap: wrap; gap: 8px; }

.dc-tab {
  padding: 8px 18px;
  border: 2px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  color: var(--dark);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--ease), color var(--ease), background var(--ease);
}
.dc-tab:hover { border-color: var(--amber); color: var(--amber-dark); }
.dc-tab.is-active { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }

.dc-desc {
  font-size: 0.84rem;
  color: var(--gray);
  margin-top: 10px;
  min-height: 18px;
  font-style: italic;
}

/* ── OPTION PILLS ── */
.dc-pills { display: flex; flex-wrap: wrap; gap: 7px; }

.dc-pill {
  padding: 5px 13px;
  border: 1.5px solid var(--border);
  border-radius: 22px;
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  cursor: pointer;
  transition: border-color var(--ease), color var(--ease), background var(--ease);
  white-space: nowrap;
}
.dc-pill:hover { border-color: var(--amber); color: var(--amber-dark); }
.dc-pill.is-active { background: var(--amber); border-color: var(--amber); color: var(--white); font-weight: 600; }

.dc-note {
  font-size: 0.77rem;
  color: var(--gray);
  margin-top: 8px;
}

/* ── SUMMARY BOX ── */
.dc-summary {
  background: var(--offwhite);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 24px;
  transition: background var(--ease);
}
.dc-summary.is-filled {
  background: var(--charcoal);
}
.dc-summary-head {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray);
  margin-bottom: 6px;
}
.dc-summary.is-filled .dc-summary-head { color: rgba(255,255,255,0.45); }

.dc-summary-body {
  font-size: 0.9rem;
  color: var(--dark);
  line-height: 1.6;
}
.dc-summary.is-filled .dc-summary-body { color: rgba(255,255,255,0.75); }
.dc-summary-body strong { color: var(--amber); font-weight: 700; }

/* ── CTA BUTTONS ── */
.dc-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.dc-actions .btn-primary,
.dc-actions .btn-outline {
  padding: 13px 28px;
  font-size: 0.9rem;
}

/* ── LEAD TIME ── */
.dc-lead-time {
  font-size: 0.81rem;
  color: var(--gray);
}
.dc-lead-time i { color: var(--amber); margin-right: 5px; }
.dc-lead-time strong { color: var(--dark); }

/* ──────────────────────────────────────────────
   DOOR PAGE HERO
────────────────────────────────────────────── */
.door-hero {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-mid) 100%);
  color: var(--white);
  padding: 72px 0 60px;
  position: relative;
  overflow: hidden;
}
.door-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(232,146,42,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.door-hero .label {
  color: var(--amber);
  border-color: rgba(232,146,42,0.3);
  margin-bottom: 14px;
}
.door-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: 14px;
  line-height: 1.15;
}
.door-tagline {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.68);
  max-width: 520px;
  margin-bottom: 28px;
  line-height: 1.6;
}

/* ── BREADCRUMB ── */
.door-breadcrumb {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.door-breadcrumb a { color: var(--amber); transition: opacity var(--ease); }
.door-breadcrumb a:hover { opacity: 0.75; }

/* ── CONFIGURATOR SECTION ── */
.dc-section-intro {
  margin-bottom: 36px;
}
.dc-section-intro h2 {
  font-size: 1.55rem;
  margin-bottom: 8px;
}
.dc-section-intro p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* ── TRUST STRIP (series pages) ── */
.door-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.door-trust-item {}
.door-trust-icon {
  font-size: 1.5rem;
  color: var(--amber);
  margin-bottom: 8px;
}
.door-trust-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.door-trust-sub {
  font-size: 0.82rem;
  color: var(--gray);
}

/* ──────────────────────────────────────────────
   CATALOG OVERVIEW PAGE
────────────────────────────────────────────── */
.catalog-hero {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-mid) 100%);
  color: var(--white);
  padding: 80px 0 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.catalog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(232,146,42,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.catalog-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 14px;
}
.catalog-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin: 0 auto 32px;
}

/* ── SERIES GRID ── */
.series-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.series-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.series-card:hover {
  border-color: var(--amber);
  box-shadow: 0 6px 28px rgba(28,35,51,0.14);
  transform: translateY(-3px);
}

/* ── DOOR ICON AREA ── */
.series-card-visual {
  height: 160px;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.series-card-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(232,146,42,0.06) 0%, transparent 70%);
}

/* CSS door icon base */
.door-icon {
  width: 72px;
  height: 120px;
  border: 2.5px solid rgba(232,146,42,0.65);
  border-radius: 2px 2px 0 0;
  position: relative;
  background: rgba(255,255,255,0.03);
  flex-shrink: 0;
}
/* Knob dot */
.door-icon::before {
  content: '';
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(232,146,42,0.7);
  top: 50%; right: 8px;
  transform: translateY(-50%);
}

/* Shaker: single inner panel */
.door-icon--shaker .door-panel {
  position: absolute;
  inset: 10px 14px;
  border: 1.5px solid rgba(232,146,42,0.45);
  border-radius: 1px;
}

/* Molded: two panels */
.door-icon--molded .door-panel { display: none; }
.door-icon--molded::after {
  content: '';
  position: absolute;
  inset: 10px 14px 55% 14px;
  border: 1.5px solid rgba(232,146,42,0.45);
  border-radius: 1px;
  box-shadow: 0 calc(108px * 0.45) 0 0 rgba(232,146,42,0.45);
}

/* Flush: plain */
.door-icon--flush { background: rgba(255,255,255,0.05); }
.door-icon--flush .door-panel { display: none; }

/* TTX: horizontal bands */
.door-icon--ttx .door-panel { display: none; }
.door-icon--ttx {
  background: repeating-linear-gradient(
    to bottom,
    transparent 0%,
    transparent calc(33.3% - 2px),
    rgba(232,146,42,0.35) calc(33.3% - 2px),
    rgba(232,146,42,0.35) 33.3%,
    transparent 33.3%
  );
}

/* Fuga: ultra-thin frame */
.door-icon--fuga { border-width: 1px; border-color: rgba(232,146,42,0.4); }
.door-icon--fuga .door-panel { display: none; }
.door-icon--fuga::after {
  content: '—';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(232,146,42,0.5);
  font-size: 1rem;
}

/* Grooved: vertical lines */
.door-icon--grooved .door-panel { display: none; }
.door-icon--grooved {
  background: repeating-linear-gradient(
    to right,
    transparent 0%,
    transparent calc(25% - 1.5px),
    rgba(232,146,42,0.4) calc(25% - 1.5px),
    rgba(232,146,42,0.4) 25%,
    transparent 25%
  );
}

/* Lited: glass top half */
.door-icon--lited .door-panel { display: none; }
.door-icon--lited::after {
  content: '';
  position: absolute;
  top: 10px; left: 12px; right: 12px;
  height: 44%;
  background: rgba(232,146,42,0.1);
  border: 1.5px solid rgba(232,146,42,0.5);
  border-radius: 1px;
}

/* Louvered: horizontal slats */
.door-icon--louvered .door-panel { display: none; }
.door-icon--louvered {
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 5px,
    rgba(232,146,42,0.38) 5px,
    rgba(232,146,42,0.38) 7px
  );
}

/* Bi-fold: center split */
.door-icon--bifold { width: 100px; }
.door-icon--bifold .door-panel { display: none; }
.door-icon--bifold::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 2px;
  background: rgba(232,146,42,0.55);
  transform: translateX(-50%);
}

/* Barn: X-brace */
.door-icon--barn .door-panel { display: none; }
.door-icon--barn::after {
  content: '';
  position: absolute;
  inset: 8px;
  background:
    linear-gradient(to bottom right, transparent calc(50% - 1px), rgba(232,146,42,0.55) calc(50% - 1px), rgba(232,146,42,0.55) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(to bottom left,  transparent calc(50% - 1px), rgba(232,146,42,0.55) calc(50% - 1px), rgba(232,146,42,0.55) calc(50% + 1px), transparent calc(50% + 1px));
}

/* Pocket: arrow right */
.door-icon--pocket .door-panel { display: none; }
.door-icon--pocket::after {
  content: '›';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  color: rgba(232,146,42,0.65);
  line-height: 1;
}

/* Double: two panels side by side */
.door-icon--double { width: 108px; }
.door-icon--double .door-panel { display: none; }
.door-icon--double::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 2px;
  background: rgba(232,146,42,0.55);
  transform: translateX(-50%);
}

/* ── CARD BODY ── */
.series-card-body {
  padding: 18px 18px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.series-card-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 5px;
}
.series-card-desc {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 12px;
}
.series-card-cta {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--amber);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--ease);
}
.series-card:hover .series-card-cta { gap: 8px; }

/* ── CATALOG CTA STRIP ── */
.catalog-cta {
  background: var(--charcoal);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}
.catalog-cta h2 { font-size: 1.7rem; margin-bottom: 12px; }
.catalog-cta p { color: rgba(255,255,255,0.65); margin-bottom: 28px; font-size: 1rem; }

/* ──────────────────────────────────────────────
   RESPONSIVE
────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .series-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .dc-wrap { padding: 24px 20px; }
  .dc-actions { flex-direction: column; }
  .dc-actions a { text-align: center; }
  .series-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .door-trust { grid-template-columns: 1fr 1fr; gap: 16px; }
  .series-card-visual { height: 130px; }
  .door-hero { padding: 56px 0 44px; }
  .catalog-hero { padding: 64px 0 52px; }
}
@media (max-width: 480px) {
  .series-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .series-card-name { font-size: 0.92rem; }
  .series-card-visual { height: 110px; }
  .door-trust { grid-template-columns: 1fr; }
}
