/* ==========================================================================
   QUANZHOU CHAOQUN CRAFTS CO., LTD. — HERITAGE LUXURY METALCRAFT UI
   Visual Architecture: Pure White Gallery (#FFFFFF) · Obsidian Topbar (#18120D)
   Royal Brass Gold (#D4AF37) · Cool Mist Footer (#ECF0F3) · Sharp 0px Geometry
   Typography: Poppins & Playfair Display · WCAG 2.2 AA Verified Contrast
   ========================================================================== */

:root {
  --ep-white: #FFFFFF;
  --ep-obsidian: #18120D;
  --ep-ink: #111111;
  --ep-body: #333333;
  --ep-muted: #555555;
  --ep-gold: #D4AF37;
  --ep-gold-dark: #73560A;
  --ep-gold-soft: #FAF5E4;
  --ep-mist: #ECF0F3;
  --ep-mist-alt: #F6F7F8;
  --ep-border: #E5E7EB;
  --ep-border-dark: #111111;
  --ep-green: #146C43;
  --ep-font-sans: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ep-font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --max-w: 1320px;

  /* Compatibility variables for all inner pages */
  --t4-cyan: #18120D;
  --t4-orange: #73560A;
  --t4-text: #111111;
  --t4-muted: #555555;
  --t4-border: #E5E7EB;
  --t4-mono: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
  --t5-cream: #FFFFFF;
  --t5-peach-soft: #F6F7F8;
  --t5-mint-soft: #ECF0F3;
  --t5-teal: #18120D;
  --t5-orange: #73560A;
  --t5-ink: #111111;
  --t5-muted: #555555;
  --t5-border: #E5E7EB;
}

*, *::before, *::after {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-size: 15px;
}

body,
body.ep-heritage-ui {
  margin: 0;
  padding: 0;
  background-color: var(--ep-white);
  color: var(--ep-body);
  font-family: var(--ep-font-sans);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
  word-break: break-word;
  -webkit-font-smoothing: antialiased;
}

img, iframe, video, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--ep-ink);
  font-family: var(--ep-font-sans);
  font-weight: 600;
  letter-spacing: -0.01em;
}

p, li {
  color: var(--ep-body);
}

a {
  color: var(--ep-ink);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

a:hover {
  color: var(--ep-gold-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--ep-gold-dark);
  outline-offset: 2px;
}

code {
  background: #F3F4F6;
  color: #18120D;
  border: 1px solid #D1D5DB;
  padding: 1px 6px;
  font-size: 0.85em;
  font-weight: 500;
  font-family: Consolas, "Courier New", monospace;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--ep-obsidian);
  color: #FFFFFF !important;
  padding: 0.6rem 1.2rem;
  z-index: 100000;
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.skip-link:focus {
  top: 0;
}

/* ==========================================================================
   1. OBSIDIAN TOPBAR (#18120D) WITH ROYAL BRASS GOLD (#D4AF37) RFQ BLOCK
   ========================================================================== */
.ep-topbar {
  background-color: var(--ep-obsidian);
  color: #FFFFFF;
  min-height: 40px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  z-index: 1050;
}

.ep-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
  flex-wrap: wrap;
}

.ep-topbar-left {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex-wrap: wrap;
  padding: 6px 0;
}

.ep-topbar-left a,
.ep-topbar-left span {
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.ep-topbar-left a:hover {
  color: var(--ep-gold);
}

.ep-topbar-right {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.ep-topbar-select-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 5px 0;
}

.ep-topbar-select-wrap label {
  color: #E5E7EB;
  font-size: 10.5px;
  letter-spacing: 0.8px;
}

.switcher-select {
  background-color: #18120D;
  color: #FFFFFF;
  border: 1px solid #3F362E;
  border-radius: 0;
  padding: 3px 8px;
  font-family: var(--ep-font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  cursor: pointer;
}

.ep-topbar-gold-cta {
  background-color: var(--ep-gold);
  color: #18120D !important;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.1px;
  padding: 0 18px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  white-space: nowrap;
}

.ep-topbar-gold-cta:hover {
  background-color: #E5C14A;
  color: #18120D !important;
}

/* ==========================================================================
   2. PURE WHITE STICKY HEADER (SHARP ARCHITECTURAL LUXURY NAV)
   ========================================================================== */
.ep-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #EAEAEA;
}

.ep-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 82px;
  padding: 10px 0;
  flex-wrap: wrap;
}

.ep-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: #111111;
}

.ep-brand-lockup:hover {
  color: #111111;
}

.ep-brand-title {
  font-family: var(--ep-font-serif);
  font-size: 1.38rem;
  font-weight: 700;
  line-height: 1.1;
  color: #111111;
  display: block;
  letter-spacing: 0.01em;
}

.ep-brand-sub {
  font-family: var(--ep-font-serif);
  font-style: italic;
  font-size: 0.8rem;
  color: #555555;
  display: block;
  margin-top: 2px;
}

.ep-main-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex-wrap: wrap;
}

.ep-main-nav a {
  color: #111111;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.ep-main-nav a:hover,
.ep-main-nav a.active {
  color: var(--ep-gold-dark);
  border-bottom-color: var(--ep-gold);
}

.ep-header-search-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.ep-search-box {
  display: inline-flex;
  align-items: center;
  border: 1px solid #111111;
  background: #FFFFFF;
  height: 38px;
  padding: 0 12px;
  gap: 8px;
  font-size: 12px;
  color: #111111;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.ep-search-box:hover {
  background: #111111;
  color: #FFFFFF;
}

/* ==========================================================================
   3. BUTTONS (SHARP 0px LUXURY GEOMETRY, WCAG AA CONTRAST)
   ========================================================================== */
.btn,
.btn-ep-solid,
.btn-ep-outline,
.btn-ep-white,
.btn-ep-gold,
.btn-peach-pill,
.btn-cad-orange,
.btn-secondary,
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 12px 24px;
  border-radius: 0 !important;
  font-family: var(--ep-font-sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.22s ease;
  text-align: center;
  line-height: 1.25;
}

.btn-ep-white {
  background: #FFFFFF !important;
  color: #18120D !important;
  border: 1px solid #FFFFFF !important;
  font-weight: 600;
}
.btn-ep-white:hover {
  background: var(--ep-gold) !important;
  border-color: var(--ep-gold) !important;
  color: #18120D !important;
}

.btn-ep-solid,
.btn-peach-pill,
.btn-cad-orange {
  background: #18120D !important;
  color: #FFFFFF !important;
  border: 1px solid #18120D !important;
  font-weight: 600;
}
.btn-ep-solid:hover,
.btn-peach-pill:hover,
.btn-cad-orange:hover {
  background: var(--ep-gold-dark) !important;
  border-color: var(--ep-gold-dark) !important;
  color: #FFFFFF !important;
}

.btn-ep-gold {
  background: var(--ep-gold) !important;
  color: #18120D !important;
  border: 1px solid var(--ep-gold) !important;
  font-weight: 700;
}
.btn-ep-gold:hover {
  background: #C49E26 !important;
  border-color: #C49E26 !important;
  color: #18120D !important;
}

.btn-ep-outline,
.btn-secondary {
  background: #FFFFFF !important;
  color: #111111 !important;
  border: 1px solid #111111 !important;
  font-weight: 500;
}
.btn-ep-outline:hover,
.btn-secondary:hover {
  background: #18120D !important;
  color: #FFFFFF !important;
  border-color: #18120D !important;
}

.btn-whatsapp,
.floating-wa-btn {
  background: var(--ep-green) !important;
  color: #FFFFFF !important;
  border: 1px solid var(--ep-green) !important;
  font-weight: 600;
}
.btn-whatsapp:hover,
.floating-wa-btn:hover {
  background: #0F5132 !important;
  border-color: #0F5132 !important;
  color: #FFFFFF !important;
}

/* ==========================================================================
   4. BREADCRUMB BAR
   ========================================================================== */
.breadcrumb-bar {
  background: #F8F9FA;
  border-bottom: 1px solid #ECEEEF;
  padding: 0.65rem 0;
  font-size: 12px;
}

.breadcrumb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #555555;
  font-weight: 400;
}

.breadcrumb-list li a {
  color: #333333;
}

.breadcrumb-list li strong {
  color: #111111;
  font-weight: 600;
}

.breadcrumb-list li + li::before {
  content: "/";
  color: #9CA3AF;
}

/* ==========================================================================
   5. FULL-BLEED DARK-GOLD LUXURY HERO BANNER (1:1 BENCHMARK DNA)
   ========================================================================== */
.ep-hero-banner {
  width: 100%;
  background:
    radial-gradient(circle at 74% 38%, rgba(212, 175, 55, 0.24) 0%, rgba(212, 175, 55, 0.06) 35%, transparent 62%),
    radial-gradient(circle at 38% 18%, rgba(212, 175, 55, 0.14) 0%, transparent 40%),
    linear-gradient(100deg, #0E0B08 0%, #18120D 46%, #241B11 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  padding: 64px 0 60px;
}

.ep-hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}

.ep-hero-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ep-gold);
  margin-bottom: 14px;
}

.ep-hero-title {
  font-size: clamp(2.15rem, 3.4vw, 3.15rem);
  font-weight: 700;
  line-height: 1.15;
  color: #FFFFFF !important;
  margin: 0 0 18px;
  letter-spacing: -0.015em;
}

.ep-hero-sub {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: #E5E7EB !important;
  margin: 0 0 28px;
  max-width: 580px;
}

.ep-hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 30px;
}

.ep-hero-ghost-btn {
  background: transparent !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.65) !important;
  padding: 12px 22px;
  min-height: 44px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ep-hero-ghost-btn:hover {
  background: #FFFFFF !important;
  color: #18120D !important;
  border-color: #FFFFFF !important;
}

.ep-hero-metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.ep-hero-metric-val {
  font-family: var(--ep-font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ep-gold);
  line-height: 1.15;
}

.ep-hero-metric-lbl {
  font-size: 11px;
  color: #D1D5DB;
  letter-spacing: 0.4px;
  margin-top: 4px;
}

.ep-hero-stage {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.32);
  padding: 20px;
}

.ep-hero-img-frame {
  background: #FFFFFF;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 310px;
  position: relative;
}

.ep-hero-img-frame img {
  max-height: 274px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.ep-hero-caption-bar {
  background: #120E0A;
  color: #F3F4F6;
  padding: 12px 14px;
  font-size: 12px;
  line-height: 1.5;
  border-top: 1px solid rgba(212, 175, 55, 0.35);
}

.ep-hero-switcher {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.ep-specimen-btn {
  background: rgba(255, 255, 255, 0.06);
  color: #E5E7EB;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  padding: 9px 6px;
  font-family: var(--ep-font-sans);
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.ep-specimen-btn:hover,
.ep-specimen-btn.active {
  background: var(--ep-gold);
  color: #18120D;
  border-color: var(--ep-gold);
  font-weight: 700;
}

/* ==========================================================================
   6. 4-COLUMN LINE-ICON TRUST STRIP & EDITORIAL STATEMENT
   ========================================================================== */
.ep-trust-strip {
  background: #FFFFFF;
  padding: 42px 0 36px;
  border-bottom: 1px solid #F0F0F0;
}

.ep-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  text-align: center;
}

.ep-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.ep-trust-item svg {
  width: 38px;
  height: 38px;
  stroke: #111111;
  stroke-width: 1.45;
  fill: none;
}

.ep-trust-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: #111111;
}

.ep-editorial-statement {
  background: #FFFFFF;
  padding: 46px 0 24px;
  text-align: center;
}

.ep-editorial-statement p {
  max-width: 820px;
  margin: 0 auto 12px;
  font-size: 16.5px;
  font-weight: 300;
  line-height: 1.75;
  color: #333333;
}

/* ==========================================================================
   7. SHARP-EDGE COLLECTION GALLERY (5-COL & 4-COL PURE WHITE CARDS)
   ========================================================================== */
.section {
  padding: 3.6rem 0;
  background: #FFFFFF;
}

.section-alt,
.section-mint {
  background: #F6F7F8;
  border-top: 1px solid #EAECEF;
  border-bottom: 1px solid #EAECEF;
}

.section-header {
  max-width: 820px;
  margin: 0 auto 2.4rem;
  text-align: center;
}

.section-eyebrow,
.t4-mono-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--ep-gold-dark);
  border-bottom: 1px solid var(--ep-gold);
  padding-bottom: 4px;
  margin-bottom: 12px;
  background: transparent;
}

.section-title {
  font-size: clamp(1.45rem, 2.3vw, 1.95rem);
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: #111111;
}

.ep-collection-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

.ep-collection-card {
  display: flex;
  flex-direction: column;
  text-align: center;
  background: #FFFFFF;
}

.ep-collection-thumb {
  display: block;
  aspect-ratio: 1 / 1;
  background: #F6F7F8;
  overflow: hidden;
  border: 1px solid #ECEEEF;
  margin-bottom: 16px;
}

.ep-collection-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.ep-collection-card:hover .ep-collection-thumb img {
  transform: scale(1.04);
}

.ep-collection-card h3 {
  font-size: 15.5px;
  font-weight: 600;
  color: #111111;
  margin: 0 0 10px;
}

.ep-collection-card p {
  font-size: 12.8px;
  font-weight: 300;
  line-height: 1.68;
  color: #444444;
  margin: 0 0 18px;
  flex: 1;
}

/* Filter Bar */
.visual-pill-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.pill-filter-btn {
  background: #FFFFFF;
  color: #111111;
  border: 1px solid #D1D5DB;
  border-radius: 0;
  padding: 9px 18px;
  font-family: var(--ep-font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pill-filter-btn:hover,
.pill-filter-btn.active {
  background: #18120D;
  color: #FFFFFF;
  border-color: #18120D;
}

/* Product Cards Grid (4-Col & 3-Col Clean Gallery Cards) */
.retail-pill-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.cad-spec-cards-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ep-product-card,
.retail-pill-card,
.cad-spec-card,
.product-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid #EAECEF;
  border-radius: 0;
  padding: 16px;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.ep-product-card:hover,
.retail-pill-card:hover,
.cad-spec-card:hover,
.product-card:hover {
  border-color: #18120D;
  box-shadow: 0 12px 30px rgba(24, 18, 13, 0.07);
}

.product-thumb-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 215px;
  background: #F8F9FA;
  border: 1px solid #F0F1F3;
  overflow: hidden;
  padding: 12px;
}

.product-thumb-link img {
  max-height: 192px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.ep-product-card:hover .product-thumb-link img,
.cad-spec-card:hover .product-thumb-link img {
  transform: scale(1.04);
}

.sku-pill-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #18120D;
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.8px;
  padding: 3px 8px;
  text-transform: uppercase;
}

.moq-pill-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--ep-gold);
  color: #18120D;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  padding: 3px 8px;
  text-transform: uppercase;
}

.color-swatch-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 12px 0 8px;
}

.swatch-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid rgba(17, 17, 17, 0.25);
  display: inline-block;
}

.product-spec-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  font-size: 12.5px;
  color: #444444;
}

.product-spec-list li {
  padding: 4px 0;
  border-bottom: 1px solid #F1F2F4;
}

.product-card-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.btn-sku-action {
  min-height: 40px;
  padding: 8px 12px;
  font-size: 11.5px;
  letter-spacing: 0.9px;
}

/* ==========================================================================
   8. "A HERITAGE OF METAL CRAFTSMANSHIP" MONOCHROME FEATURE BANNER
   ========================================================================== */
.ep-craft-banner {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #14110E;
  border: 1px solid #E5E7EB;
}

.ep-craft-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(85%) contrast(1.08) brightness(0.42);
  transition: transform 0.6s ease;
}

.ep-craft-banner:hover .ep-craft-banner-bg {
  transform: scale(1.02);
}

/* SKU Multi-Angle Thumbnail Strip & Detail Breakdown Gallery */
.sku-thumb-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.sku-thumb-btn {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 4px;
  background: #FFFFFF;
  border: 1px solid #D9DFE5;
  border-radius: 0;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.sku-thumb-btn:hover,
.sku-thumb-btn.active {
  border-color: #18120D;
  box-shadow: inset 0 0 0 1px #D4AF37;
}

.sku-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sku-detail-gallery {
  margin-top: 2.5rem;
  padding: 2rem;
  background: #F6F7F8;
  border: 1px solid #E5E7EB;
}

.detail-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 1.4rem;
}

.detail-photo-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  overflow: hidden;
}

.detail-photo-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.detail-photo-card figcaption {
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.55;
  color: #333333;
}

.detail-photo-card figcaption strong {
  display: block;
  color: #18120D;
  font-size: 13.5px;
  margin-bottom: 4px;
}

@media (max-width: 760px) {
  .detail-photo-grid {
    grid-template-columns: 1fr;
  }
}

.ep-craft-banner-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 42px 24px;
  color: #FFFFFF;
}

.ep-craft-banner-content h2 {
  font-family: var(--ep-font-serif);
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 400;
  color: #FFFFFF !important;
  letter-spacing: 0.04em;
  margin: 0 0 14px;
}

.ep-craft-banner-content p {
  color: #E5E7EB !important;
  font-size: 14.5px;
  margin: 0 0 24px;
}

/* ==========================================================================
   9. WORKBENCH CARDS, GEO ANSWER BOXES, FORMS & ULTRA-LEGIBLE TABLES
   ========================================================================== */
.workbench-grid,
.logistics-map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.workbench-card,
.faq-item,
.factory-photo-card,
.geo-answer-box,
.metric-card,
.map-embed-box,
.tonnage-metrology-matrix,
.vacuum-cbm-calculator {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 0;
  padding: 26px;
  color: #333333;
}

.geo-answer-box {
  border-left: 4px solid var(--ep-obsidian);
  background: #FAFBFD;
  margin: 1.5rem 0;
}

.geo-answer-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ep-gold-dark);
  margin-bottom: 8px;
}

.calc-result-panel {
  background: var(--ep-mist);
  border-left: 3px solid var(--ep-obsidian);
  padding: 14px 18px;
  margin-top: 14px;
  font-size: 13px;
  color: #111111;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #111111;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #CBD5E1;
  border-radius: 0;
  background: #FFFFFF;
  color: #111111;
  font-family: var(--ep-font-sans);
  font-size: 13.5px;
}

.form-control:focus {
  border-color: #18120D;
  outline: none;
}

/* Ultra-Legible Sharp Luxury Alternating Tables (Contrast > 15:1) */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  margin: 1.25rem 0;
}

.eng-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
  background: #FFFFFF;
  color: #111111;
}

.eng-table th {
  background: #18120D !important;
  color: #FFFFFF !important;
  padding: 13px 16px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 2px solid var(--ep-gold) !important;
}

.eng-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #E5E7EB !important;
  color: #111111 !important;
  font-weight: 400;
}

.eng-table tbody tr:nth-child(odd) td {
  background: #FFFFFF !important;
  color: #111111 !important;
}

.eng-table tbody tr:nth-child(even) td {
  background: #F4F6F8 !important;
  color: #111111 !important;
}

.eng-table tbody tr.highlight-row td {
  background: #FAF5E4 !important;
  color: #111111 !important;
  font-weight: 500;
  border-top: 1px solid #E6D5A1 !important;
  border-bottom: 1px solid #E6D5A1 !important;
}

.eng-table tbody tr:hover td {
  background: #EDF1F5 !important;
}

.eng-table td strong {
  color: #111111 !important;
  font-weight: 600;
}

/* Factory Photo Cards & Storyboard */
.factory-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.factory-photo-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.factory-photo-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.factory-photo-body {
  padding: 18px 20px;
}

.factory-photo-body h3 {
  font-size: 14.5px;
  font-weight: 600;
  color: #111111;
  margin: 0 0 8px;
}

.factory-photo-body p {
  font-size: 12.8px;
  color: #444444;
  margin: 0;
}

.sketch-to-shelf-storyboard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.storyboard-step-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.storyboard-step-num {
  display: inline-block;
  background: #18120D;
  color: var(--ep-gold);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  padding: 4px 10px;
  text-transform: uppercase;
  margin-bottom: 12px;
  align-self: flex-start;
}

.tonnage-tabs-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.tonnage-tab-btn {
  background: #FFFFFF;
  color: #111111;
  border: 1px solid #D1D5DB;
  border-radius: 0;
  padding: 12px 14px;
  font-family: var(--ep-font-sans);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.tonnage-tab-btn:hover,
.tonnage-tab-btn.active {
  background: #18120D;
  color: #FFFFFF;
  border-color: #18120D;
}

/* SKU Detail Page Grid */
.sku-cad-hero-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 32px;
  align-items: start;
}

.sku-cad-gallery-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  padding: 20px;
  position: sticky;
  top: 96px;
}

.sku-cad-img-stage {
  height: 280px;
  background: #F8F9FA;
  border: 1px solid #ECEEEF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.sku-cad-img-stage img {
  max-height: 245px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.sku-cad-info-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  padding: 28px;
}

.sku-quick-kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.sku-quick-kpi-cell {
  background: #F6F7F8;
  border: 1px solid #E5E7EB;
  padding: 10px 12px;
  font-size: 12.5px;
  color: #111111;
}

.sku-quick-kpi-cell strong {
  display: block;
  font-size: 10.5px;
  color: var(--ep-gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 3px;
}

/* Maps */
.map-embed-box {
  padding: 0;
  display: flex;
  flex-direction: column;
}

.map-iframe {
  width: 100%;
  height: 360px;
  border: 0;
}

/* ==========================================================================
   10. COOL MIST-SLATE FOOTER (#ECF0F3) — 1:1 BENCHMARK DNA
   ========================================================================== */
.ep-trade-band {
  background: var(--ep-mist);
  border-top: 1px solid #DCE2E7;
  padding: 44px 0 36px;
  text-align: center;
}

.ep-trade-band h3 {
  font-size: 19px;
  font-weight: 600;
  color: #000000;
  margin: 0 0 8px;
}

.ep-trade-band p {
  font-size: 13px;
  color: #363636;
  margin: 0 0 20px;
}

.ep-trade-bar {
  display: inline-flex;
  max-width: 480px;
  width: 100%;
  border: 1px solid #D1D5DB;
  background: #FFFFFF;
}

.ep-trade-bar input {
  flex: 1;
  border: 0;
  padding: 12px 16px;
  font-size: 13px;
  color: #111111;
  outline: none;
}

.ep-trade-bar a,
.ep-trade-bar button {
  background: var(--ep-gold);
  color: #18120D !important;
  border: 0;
  padding: 12px 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}

.ep-trade-bar a:hover,
.ep-trade-bar button:hover {
  background: #C49E26;
}

.site-footer {
  background: var(--ep-mist);
  color: #363636;
  padding: 40px 0 28px;
  border-top: 1px solid #DCE2E7;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 32px;
}

.site-footer h3,
.site-footer h4 {
  color: #000000 !important;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 14px;
}

.site-footer p,
.site-footer li,
.site-footer span {
  color: #363636 !important;
  font-size: 12.8px;
  line-height: 1.75;
}

.site-footer a {
  color: #111111 !important;
  font-weight: 400;
}

.site-footer a:hover {
  color: var(--ep-gold-dark) !important;
  text-decoration: underline;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 7px;
}

.footer-ai-agent-col {
  display: none !important;
}

/* Dual Floating Conversion Stack (Sharp Luxury Style) */
.floating-email-btn {
  position: fixed;
  bottom: 76px;
  right: 22px;
  z-index: 9995;
  background: #18120D;
  color: #FFFFFF !important;
  width: 48px;
  height: 48px;
  border: 1px solid var(--ep-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.floating-email-btn:hover {
  background: var(--ep-gold);
}

.floating-email-btn:hover svg {
  stroke: #18120D;
}

.floating-wa-btn {
  position: fixed;
  bottom: 20px;
  right: 22px;
  z-index: 9995;
  padding: 11px 18px;
  font-size: 12px;
  letter-spacing: 0.7px;
  box-shadow: 0 8px 22px rgba(20, 108, 67, 0.28);
}

/* ==========================================================================
   11. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1120px) {
  .ep-collection-grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .retail-pill-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .ep-hero-grid,
  .workbench-grid,
  .logistics-map-grid,
  .sku-cad-hero-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .ep-trust-grid,
  .sketch-to-shelf-storyboard,
  .tonnage-tabs-bar,
  .sku-quick-kpi-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cad-spec-cards-grid,
  .factory-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sku-cad-gallery-card { position: static; }
}

@media (max-width: 640px) {
  .ep-collection-grid-5,
  .retail-pill-grid,
  .cad-spec-cards-grid,
  .factory-gallery-grid,
  .sketch-to-shelf-storyboard,
  .ep-trust-grid,
  .ep-hero-metrics-bar { grid-template-columns: 1fr; }
  .ep-hero-switcher { grid-template-columns: repeat(2, 1fr); }
  .ep-topbar-gold-cta { width: 100%; justify-content: center; }
}
