/* ==========================================================================
   ArtisZinc Metalcrafts Co., Ltd. - Editorial Luxury Craft & Precision Metal
   Design System V4.5 (WCAG 2.2 AA/AAA, Defensive Layout, 320px Zero-Overflow)
   ========================================================================== */

:root {
  --bg-ivory: #F6F5F1;
  --bg-sand: #ECEAE3;
  --bg-white: #FFFFFF;
  --bg-obsidian: #202124;
  --bg-charcoal: #202124;
  --bg-charcoal-card: #28292D;

  --gold-bright: #D4AE63;
  --gold-primary: #A9823D;
  --gold-deep: #78591E; /* >= 5.2:1 contrast on #F6F5F1 / #FFFFFF */
  --bronze-accent: #8C682A;
  --cta-flame-start: #202124;
  --cta-flame-end: #2B2D31;

  --text-primary: #202124;
  --text-secondary: #3C4043;
  --text-muted: #5F6368;
  --text-on-dark: #FFFFFF;
  --text-on-dark-sub: #E8EAED;

  --border-light: #DFDCD4;
  --border-subtle: #E8E6DF;
  --border-dark: rgba(169, 130, 61, 0.32);

  --success-green: #15803D;
  --success-bg: #DCFCE7;
  --danger-red: #B91C1C;
  --danger-bg: #FEE2E2;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-card: 0 8px 26px rgba(32, 33, 36, 0.06);
  --shadow-hover: 0 14px 34px rgba(32, 33, 36, 0.11);
  --container-max: 1280px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-ivory);
  color: var(--text-primary);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Georgia", "Playfair Display", "Times New Roman", serif;
  line-height: 1.24;
  margin-top: 0;
  color: var(--text-primary);
  letter-spacing: -0.015em;
}

a {
  color: var(--gold-deep);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

a:hover {
  color: var(--text-primary);
}

:focus-visible {
  outline: 3px solid var(--gold-primary) !important;
  outline-offset: 2px !important;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100000;
  background: var(--bg-obsidian);
  color: #FFFFFF !important;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.skip-link:focus {
  left: 12px;
}

/* Defensive Layout Hardening (Rule 7) */
.grid-item, .flex-item, .spec-item, .product-card, .data-cell, .feature-card, .voc-card, .blog-card {
  min-width: 0;
  word-break: normal;
  overflow-wrap: break-word;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad {
  padding: 84px 0;
}

.section-sand {
  background-color: var(--bg-sand);
}

.section-white {
  background-color: var(--bg-white);
}

/* Zero Low-Contrast Protocol on Dark Sections (Rule 7.10) */
.dark-section,
.hero-fullscreen-cinematic,
.site-footer,
.dark-card,
.cert-banner-dark,
.blog-faq-item {
  background-color: var(--bg-obsidian);
  color: #FFFFFF !important;
}

.dark-section h1, .dark-section h2, .dark-section h3, .dark-section h4,
.hero-fullscreen-cinematic h1, .hero-fullscreen-cinematic h2, .hero-fullscreen-cinematic h3,
.site-footer h2, .site-footer h3, .site-footer h4,
.dark-card h3, .dark-card h4,
.blog-faq-item h3, .blog-faq-item h4, .blog-faq-item summary {
  color: #FFFFFF !important;
}

.dark-section p, .dark-section li, .dark-section td,
.hero-fullscreen-cinematic p,
.site-footer p, .site-footer li,
.dark-card p, .dark-card li,
.blog-faq-item p, .blog-faq-item div {
  color: #E7E5E4 !important;
}

/* Section Headers */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-deep);
  background: rgba(200, 155, 60, 0.14);
  border: 1px solid rgba(138, 98, 10, 0.28);
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.dark-section .eyebrow,
.hero-fullscreen-cinematic .eyebrow {
  color: var(--gold-bright) !important;
  background: rgba(229, 184, 75, 0.14);
  border-color: rgba(229, 184, 75, 0.4);
}

.section-header {
  max-width: 820px;
  margin-bottom: 48px;
}

.section-header.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  margin-bottom: 14px;
}

.section-lead {
  font-size: 1.08rem;
  color: var(--text-secondary);
  margin: 0;
}

/* ==========================================================================
   Top Navigation Bar (Rule 15 Mobile <=58px Hardened)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 9000;
  background: #202124;
  border-bottom: 1px solid rgba(169, 130, 61, 0.28);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 16px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #FFFFFF !important;
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-emblem {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, #E5B84B 0%, #9A6B16 100%);
  color: #12100E;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Georgia", serif;
  font-weight: 900;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #F5F5F4 !important;
  font-size: 0.93rem;
  font-weight: 600;
  padding: 8px 4px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-bright) !important;
  border-bottom-color: var(--gold-bright);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-nav-quote {
  background: linear-gradient(135deg, #E5B84B 0%, #C89B3C 100%);
  color: #12100E !important;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 10px 18px;
  min-height: 44px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
}

.btn-nav-quote:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(229, 184, 75, 0.35);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
}

.mobile-drawer {
  display: none;
  background: #181512;
  border-bottom: 1px solid rgba(229, 184, 75, 0.25);
  padding: 14px 24px 20px;
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer a {
  display: flex;
  align-items: center;
  min-height: 46px;
  color: #FFFFFF !important;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   Buttons (High Contrast Rule 9 & 10)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  text-align: center;
}

.btn-primary-gold {
  background: #D4AE63;
  color: #202124 !important;
  border-color: #A9823D;
  box-shadow: 0 4px 16px rgba(169, 130, 61, 0.22);
}

.btn-primary-gold:hover {
  background: #DEC07D;
  color: #202124 !important;
  transform: translateY(-1px);
}

.btn-dark-solid {
  background: var(--bg-obsidian);
  color: #FFFFFF !important;
  border-color: var(--bg-obsidian);
}

.btn-dark-solid:hover {
  background: #272320;
  color: var(--gold-bright) !important;
}

.btn-outline-light {
  border: 1.5px solid rgba(255, 255, 255, 0.68) !important;
  background-color: rgba(18, 16, 14, 0.45) !important;
  color: #FFFFFF !important;
  backdrop-filter: blur(6px);
}

.btn-outline-light:hover {
  border-color: var(--gold-bright) !important;
  color: var(--gold-bright) !important;
}

.btn-outline-dark {
  border: 1.5px solid var(--text-primary);
  background: transparent;
  color: var(--text-primary) !important;
}

.btn-outline-dark:hover {
  background: var(--text-primary);
  color: #FFFFFF !important;
}

/* ==========================================================================
   Full-Bleed Cinematic Metal Showcase Hero & Specimen Switcher (Rule 3 & 13)
   ========================================================================== */
.hero-fullscreen-cinematic {
  position: relative;
  width: 100%;
  min-height: 74vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 56px 0 64px;
  background-color: #202124;
}

.hero-macro-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.34;
  transition: opacity 0.35s ease;
}

.hero-cinematic-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(32, 33, 36, 0.98) 0%, rgba(32, 33, 36, 0.94) 48%, rgba(32, 33, 36, 0.80) 76%, rgba(32, 33, 36, 0.65) 100%);
  pointer-events: none;
}

.hero-cad-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 40px;
  align-items: center;
}

.hero-title-giant {
  font-size: clamp(2.15rem, 4.2vw, 3.55rem);
  font-weight: 700;
  color: #FFFFFF !important;
  margin-bottom: 18px;
}

.hero-title-giant span {
  color: var(--gold-bright);
}

.hero-subtext {
  font-size: 1.1rem;
  max-width: 620px;
  margin-bottom: 28px;
  color: #E7E5E4 !important;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-specs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.spec-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(229, 184, 75, 0.35);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.84rem;
  color: #FFFFFF !important;
}

.spec-pill strong {
  color: var(--gold-bright);
  margin-right: 4px;
}

/* Macro Specimen Interactive Stage */
.specimen-stage-card {
  background: rgba(24, 21, 18, 0.88);
  border: 1px solid rgba(229, 184, 75, 0.35);
  border-radius: var(--radius-lg);
  padding: 20px;
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.48);
}

.specimen-preview-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #0D0B0A;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.specimen-preview-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.specimen-hud-bar {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: rgba(18, 16, 14, 0.9);
  border: 1px solid rgba(229, 184, 75, 0.42);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: #FFFFFF !important;
}

.specimen-hud-bar span {
  color: var(--gold-bright);
  font-weight: 700;
}

.switcher-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-bright) !important;
  margin-bottom: 10px;
}

.specimen-btn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.macro-switch-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #F5F5F4 !important;
  padding: 10px 12px;
  min-height: 44px;
  border-radius: 10px;
  font-size: 0.83rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.macro-switch-btn:hover,
.macro-switch-btn.active {
  background: rgba(229, 184, 75, 0.22);
  border-color: var(--gold-bright);
  color: #FFFFFF !important;
}

/* ==========================================================================
   Count-Up Metrics & Jelly Pop Bounce (Rule 2 & Check 2)
   ========================================================================== */
@keyframes jellyPop {
  0% { transform: scale(1); }
  35% { transform: scale(1.12, 0.92); }
  65% { transform: scale(0.96, 1.05); }
  100% { transform: scale(1); }
}

.jelly-pop-done {
  animation: jellyPop 0.55s cubic-bezier(0.25, 1, 0.5, 1);
}

.metrics-strip {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  padding: 36px 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.metric-box {
  background: var(--bg-ivory);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  text-align: center;
}

.metric-number {
  font-family: "Georgia", serif;
  font-size: clamp(1.9rem, 3vw, 2.55rem);
  font-weight: 700;
  color: var(--gold-deep);
  line-height: 1.1;
  margin-bottom: 6px;
  display: inline-block;
}

.metric-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.metric-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ==========================================================================
   Pure White Studio Product Catalog Grid (Rule 7.6, 7.7 & 21)
   ========================================================================== */
.filter-bar-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.filter-tags-scroll {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  overflow-x: visible !important;
}

.filter-tab-btn {
  background: var(--bg-white);
  border: 1.5px solid var(--border-light);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 16px;
  min-height: 44px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-tab-btn:hover,
.filter-tab-btn.active {
  background: var(--bg-obsidian);
  border-color: var(--bg-obsidian);
  color: var(--gold-bright) !important;
}

.catalog-search-box {
  min-width: 240px;
  flex: 1;
  max-width: 340px;
}

.catalog-search-box input {
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--border-light);
  background: var(--bg-white);
  font-size: 16px;
  color: var(--text-primary);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

/* Mandatory Pure White Studio Background Protocol (Rule 7.7) */
.product-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #FFFFFF !important;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  background: #FFFFFF !important;
}

.sku-badge-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(18, 16, 14, 0.88);
  color: var(--gold-bright) !important;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.moq-badge-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #F5EFE0;
  color: #6E4E06;
  border: 1px solid #DFCFA8;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.product-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-cat-tag {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-deep);
  margin-bottom: 6px;
}

.product-card-title {
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.35;
}

.product-card-title a {
  color: var(--text-primary);
}

.product-card-title a:hover {
  color: var(--gold-deep);
}

.product-spec-list {
  list-style: none;
  padding: 8px 0 0 0;
  margin: 0 0 16px 0;
  font-size: 0.84rem;
  color: var(--text-secondary);
  border-top: 1px dashed var(--border-light);
}

.product-spec-list li {
  padding: 6px 0;
  border-bottom: 1px dotted var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.product-spec-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.product-spec-list li span {
  white-space: nowrap;
  flex-shrink: 0;
  color: var(--text-muted);
  font-size: 0.81rem;
}

.product-spec-list li strong {
  color: var(--text-primary);
  text-align: right;
  min-width: 0;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  line-height: 1.38;
}

.product-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-card-spec,
.btn-card-quote {
  min-height: 44px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  cursor: pointer;
}

.btn-card-spec {
  background: var(--bg-ivory);
  border: 1px solid var(--border-light);
  color: var(--text-primary) !important;
}

.btn-card-spec:hover {
  border-color: var(--gold-deep);
  color: var(--gold-deep) !important;
}

.btn-card-quote {
  background: var(--bg-obsidian);
  border: 1px solid var(--bg-obsidian);
  color: var(--gold-bright) !important;
}

.btn-card-quote:hover {
  background: #2C2723;
}

/* ==========================================================================
   GEO Direct Answer Chunk (Rule 20: 130-170 Words Engineering Block)
   ========================================================================== */
.geo-answer-box {
  background: var(--bg-white);
  border-left: 5px solid var(--gold-primary);
  border-top: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 26px 30px;
  box-shadow: var(--shadow-card);
  margin: 32px 0;
}

.geo-answer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.geo-badge {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: #FEF3C7;
  color: #78350F;
  padding: 4px 11px;
  border-radius: 999px;
}

/* ==========================================================================
   Reddit VOC Pitfall vs. Factory Countermeasure Cards (Rule 17)
   ========================================================================== */
.voc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.voc-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pitfall-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--danger-bg);
  color: var(--danger-red);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
}

.solution-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--success-bg);
  color: var(--success-green);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
}

/* ==========================================================================
   Factory Reality & Lab Evidence Galleries (Rule 7.8 & 7.9)
   ========================================================================== */
.gallery-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.gallery-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.reality-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.reality-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.reality-card-body {
  padding: 20px 22px;
}

.step-num-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--gold-deep);
  background: #FAF3E0;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.cert-dossier-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.cert-photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(229, 184, 75, 0.45);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   OEM 6-Step SOP & Dual-Track MOQ Cards (Rule 8 & 14)
   ========================================================================== */
.sop-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.sop-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
}

.moq-dual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 32px;
}

.moq-tier-card {
  background: var(--bg-white);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px;
}

.moq-tier-card.featured {
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-hover);
}

/* ==========================================================================
   Interactive CBM Ocean Freight Calculator & RFQ Form
   ========================================================================== */
.calc-rfq-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: start;
}

.panel-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  font-size: 16px;
  border-radius: 10px;
  border: 1.5px solid #D4CFC3;
  background: #FFFFFF;
  color: var(--text-primary);
  font-family: inherit;
}

textarea.form-control {
  min-height: 104px;
  resize: vertical;
}

.file-drop-zone {
  border: 2px dashed var(--gold-primary);
  background: #FDFBF6;
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  cursor: pointer;
}

.cbm-result-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.cbm-stat {
  background: var(--bg-ivory);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 14px;
}

.cbm-stat strong {
  display: block;
  font-size: 1.3rem;
  color: var(--gold-deep);
}

/* ==========================================================================
   Single SKU Static Landing Page Elements (Rule 21)
   ========================================================================== */
.breadcrumb-bar {
  background: var(--bg-sand);
  border-bottom: 1px solid var(--border-light);
  padding: 14px 0;
  font-size: 0.88rem;
}

.breadcrumb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.sku-hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 42px;
  align-items: start;
}

.sku-studio-stage {
  background: #FFFFFF !important;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
}

.sku-studio-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  background: #FFFFFF !important;
}

.cross-ref-badge {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  background: #FEF9EA;
  border: 1.5px solid var(--gold-primary);
  color: #5C4004;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.saving-pill {
  background: var(--success-green);
  color: #FFFFFF !important;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.78rem;
}

.eng-spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  margin: 20px 0;
}

.eng-spec-table th,
.eng-spec-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.92rem;
}

.eng-spec-table th {
  background: var(--bg-sand);
  color: var(--text-primary);
  font-weight: 700;
  width: 34%;
}

/* ==========================================================================
   Technical Blog & Knowledge Hub (Rule 5 & 7.10)
   ========================================================================== */
.article-shell {
  max-width: 860px;
  margin: 0 auto;
}

.article-content {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-card);
}

.article-content h2 {
  margin-top: 38px;
  margin-bottom: 14px;
  font-size: 1.68rem;
  border-bottom: 2px solid var(--bg-sand);
  padding-bottom: 8px;
}

.article-content h3 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 1.28rem;
}

.article-content p,
.article-content li {
  font-size: 1.04rem;
  line-height: 1.78;
  color: var(--text-secondary);
}

.formula-callout {
  background: #FAF6EC;
  border-left: 4px solid var(--gold-primary);
  padding: 18px 22px;
  border-radius: 8px;
  margin: 22px 0;
  font-family: "Consolas", "Courier New", monospace;
  font-size: 0.94rem;
  color: var(--text-primary);
  overflow-x: auto;
}

.blog-figure {
  margin: 28px 0;
  background: var(--bg-obsidian);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.blog-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-figure figcaption {
  padding: 12px 18px;
  font-size: 0.86rem;
  color: #E7E5E4 !important;
  background: #181512;
}

.blog-faq-block {
  margin-top: 32px;
  display: grid;
  gap: 14px;
}

.blog-faq-item {
  background: #181512 !important;
  border: 1px solid rgba(229, 184, 75, 0.35);
  border-radius: 12px;
  padding: 18px 22px;
}

/* ==========================================================================
   Sticky Docked RFQ Button & Global Instant RFQ Modal (Rule 7.10)
   ========================================================================== */
@keyframes rfqPulse {
  0%, 100% { box-shadow: 0 8px 26px rgba(255, 19, 86, 0.42); }
  50% { box-shadow: 0 10px 34px rgba(255, 94, 54, 0.72); }
}

.sku-kpi-strip {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.sticky-rfq-dock {
  position: fixed;
  right: 0;
  top: 68%;
  transform: translateY(-50%);
  z-index: 9998;
  width: 82px;
  background: #202124;
  color: #FFFFFF !important;
  border: 1.5px solid #A9823D;
  border-right: none;
  border-radius: 14px 0 0 14px;
  padding: 12px 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  box-shadow: 0 8px 24px rgba(32, 33, 36, 0.28);
}

.sticky-rfq-dock .rfq-bolt-icon {
  color: #D4AE63 !important;
}

.sticky-rfq-dock .rfq-main-txt {
  font-weight: 800;
  font-size: 0.72rem;
  line-height: 1.15;
  letter-spacing: 0.03em;
  color: #FFFFFF !important;
}

.sticky-rfq-dock .rfq-sub-txt {
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.1;
  background: rgba(0, 0, 0, 0.25);
  padding: 3px 5px;
  border-radius: 6px;
  color: #FFFFFF !important;
}

.rfq-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(12, 10, 9, 0.78);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

.rfq-modal-backdrop.open {
  display: flex;
}

.rfq-modal-dialog {
  background: var(--bg-white);
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 620px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 28px 30px;
  position: relative;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: var(--bg-ivory);
  color: var(--text-primary);
  font-size: 1.25rem;
  cursor: pointer;
}

.receipt-alert {
  background: #ECFDF5;
  border: 1.5px solid #10B981;
  color: #065F46;
  padding: 18px;
  border-radius: 12px;
  margin-top: 14px;
}

/* ==========================================================================
   Prominent Homepage Factory Audit & Credentials Center (Light 70% Surface)
   ========================================================================== */
.audit-highlight-section {
  background: var(--bg-sand);
  color: var(--text-primary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 68px 0;
}

.audit-highlight-section h2,
.audit-highlight-section h3,
.audit-highlight-section h4 {
  color: var(--text-primary);
}

.audit-highlight-section p,
.audit-highlight-section li {
  color: var(--text-secondary);
}

.audit-top-ribbon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--bg-white);
  border: 1.5px solid rgba(169, 130, 61, 0.45);
  border-left: 5px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-card);
}

.audit-cred-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.audit-cred-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-card);
}

.audit-docket-pill {
  display: inline-block;
  align-self: flex-start;
  background: #ECFDF5;
  border: 1px solid #10B981;
  color: #065F46 !important;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.audit-channel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.audit-channel-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  box-shadow: var(--shadow-card);
}

/* ==========================================================================
   Rich Subpage Modules: Swatch Selector, Trend Bars, Timelines & Case Cards
   ========================================================================== */
.subpage-kpi-bar {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  padding: 28px 0;
}

.swatch-selector-wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}

.swatch-btn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.swatch-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  min-height: 54px;
  background: var(--bg-white);
  border: 1.5px solid var(--border-light);
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.swatch-btn:hover,
.swatch-btn.active {
  border-color: var(--gold-primary);
  background: #FEF9EA;
  box-shadow: 0 6px 18px rgba(200, 155, 60, 0.16);
}

.swatch-disc {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid rgba(24, 24, 27, 0.15);
  box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.55);
}

.swatch-detail-card {
  background: var(--bg-obsidian);
  color: #FFFFFF !important;
  border: 1.5px solid rgba(229, 184, 75, 0.4);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.swatch-detail-card h3 {
  color: var(--gold-bright) !important;
  margin-bottom: 10px;
}

.swatch-detail-card p,
.swatch-detail-card li {
  color: #E7E5E4 !important;
}

.trend-chart-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-card);
}

.trend-bar-row {
  margin-bottom: 18px;
}

.trend-bar-row:last-child {
  margin-bottom: 0;
}

.trend-bar-meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.trend-bar-track {
  width: 100%;
  height: 12px;
  background: var(--bg-sand);
  border-radius: 999px;
  overflow: hidden;
}

.trend-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #8A620A 0%, #E5B84B 100%);
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.timeline-step-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-card);
}

.timeline-year {
  font-family: "Georgia", serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--gold-deep);
  margin-bottom: 6px;
}

.case-study-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.compliance-panel {
  display: none;
}

.compliance-panel.active {
  display: block;
}

.author-desk-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
}

/* ==========================================================================
   Footer & FAQ Accordion
   ========================================================================== */
.faq-list {
  display: grid;
  gap: 14px;
}

.faq-details {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 18px 22px;
}

.faq-details summary {
  font-weight: 700;
  font-size: 1.04rem;
  cursor: pointer;
  min-height: 32px;
  color: var(--text-primary);
}

.faq-details p {
  margin: 12px 0 0;
  color: var(--text-secondary);
}

.site-footer {
  padding: 68px 0 32px;
  border-top: 3px solid var(--gold-primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 42px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #E7E5E4 !important;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
}

.footer-links a:hover {
  color: var(--gold-bright) !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
}

/* ==========================================================================
   Responsive Breakpoints (Mobile <=768px & 320px Ultra-Narrow Zero-Overflow)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .cert-dossier-grid,
  .calc-rfq-split,
  .sku-hero-grid,
  .swatch-selector-wrap {
    grid-template-columns: 1fr;
  }
  .product-grid,
  .timeline-grid,
  .case-study-grid,
  .audit-cred-grid,
  .audit-channel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .voc-grid,
  .sop-grid-6,
  .gallery-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  .section-pad {
    padding: 54px 0;
  }
  .nav-inner {
    height: 56px !important;
  }
  .nav-links {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .btn-nav-quote {
    font-size: 13px !important;
    padding: 6px 14px !important;
    min-height: 40px;
  }
  .product-grid,
  .voc-grid,
  .sop-grid-6,
  .gallery-grid-4,
  .gallery-grid-3,
  .moq-dual-grid,
  .form-grid-2,
  .footer-grid,
  .specimen-btn-grid,
  .swatch-btn-grid,
  .timeline-grid,
  .case-study-grid,
  .author-desk-banner,
  .audit-cred-grid,
  .audit-channel-grid {
    grid-template-columns: 1fr !important;
  }
  .metrics-grid,
  .cbm-result-grid {
    grid-template-columns: 1fr 1fr;
  }
  .article-content,
  .panel-card,
  .rfq-modal-dialog {
    padding: 22px 18px;
  }
  .sticky-rfq-dock {
    top: auto;
    bottom: 18px;
    right: 16px;
    transform: none;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    padding: 0;
    justify-content: center;
  }
  .sticky-rfq-dock .rfq-main-txt,
  .sticky-rfq-dock .rfq-sub-txt {
    display: none;
  }
  .sticky-rfq-dock .rfq-bolt-icon {
    font-size: 1.45rem;
  }
}

@media (max-width: 480px) {
  .metrics-grid,
  .cbm-result-grid,
  .product-card-footer,
  .sku-kpi-strip {
    grid-template-columns: 1fr !important;
  }
  .brand-logo span {
    font-size: 0.98rem;
  }
}

/* ==========================================================================
   Hero Manufacturer 3-Pillar Summary & Secondary Production Batch Log Strip
   (70% Warm White #F6F5F1 / 20% Deep Charcoal #202124 / 10% Antique Bronze #A9823D)
   ========================================================================== */
@keyframes batchTickerMarquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.hero-mfg-pillars {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.hero-pillar-row {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 174, 99, 0.28);
  border-left: 3px solid var(--gold-bright);
  border-radius: 10px;
  padding: 11px 15px;
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: baseline;
  gap: 12px;
}

.hero-pillar-tag {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright) !important;
  white-space: nowrap;
}

.hero-pillar-body {
  font-size: 0.9rem;
  line-height: 1.48;
  color: #E8EAED !important;
}

.hero-pillar-body strong {
  color: #FFFFFF !important;
}

/* Secondary Low-Key Anonymized Factory Batch Log Strip (In Page Flow, Below Catalog) */
.secondary-batch-strip {
  background: var(--bg-sand);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
  overflow: hidden;
}

.batch-strip-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.batch-strip-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.batch-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-primary);
  display: inline-block;
}

.batch-ticker-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.batch-ticker-track {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  animation: batchTickerMarquee 68s linear infinite;
}

.batch-ticker-track:hover {
  animation-play-state: paused;
}

.batch-log-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

.batch-id-tag {
  font-family: monospace;
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--gold-deep);
  background: #F6F5F1;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
}

.batch-text strong {
  color: var(--text-primary);
}

.batch-qc-tag {
  font-size: 0.73rem;
  font-weight: 700;
  color: #065F46;
  background: #ECFDF5;
  padding: 2px 8px;
  border-radius: 999px;
}

/* Homepage 3 Commercial Perks & Light-Surface 15s FOB + Mold Rebate Calculator */
.rebate-engine-section {
  background: var(--bg-sand);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.perks-3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.perk-highlight-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.perk-highlight-card.featured-perk {
  border: 2px solid var(--gold-primary);
  background: #FFFFFF;
  box-shadow: 0 12px 30px rgba(32, 33, 36, 0.08);
}

.perk-step-badge {
  display: inline-block;
  align-self: flex-start;
  background: #F6F5F1;
  color: var(--gold-deep) !important;
  border: 1px solid rgba(169, 130, 61, 0.45);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

.btn-perk-action {
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1.5px solid #202124;
  background: #202124;
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-perk-action.gold {
  background: #D4AE63;
  border-color: #A9823D;
  color: #202124 !important;
}

.btn-perk-action:hover {
  transform: translateY(-2px);
}

.rebate-calc-console {
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-top: 4px solid var(--gold-primary);
  border-radius: 20px;
  padding: 32px;
  color: var(--text-primary);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow-card);
  margin-bottom: 32px;
}

.qty-tier-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.qty-tier-btn {
  background: var(--bg-ivory);
  border: 1.5px solid var(--border-light);
  border-radius: 12px;
  padding: 10px 8px;
  color: var(--text-primary) !important;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: all 0.2s ease;
}

.qty-tier-btn span {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold-deep) !important;
}

.qty-tier-btn:hover,
.qty-tier-btn.active {
  background: #202124;
  border-color: #202124;
  color: #FFFFFF !important;
}

.qty-tier-btn:hover span,
.qty-tier-btn.active span {
  color: #D4AE63 !important;
}

.rebate-calc-output {
  background: var(--bg-ivory);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 24px;
}

.rebate-status-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 18px;
  background: #FFFBEB;
  border: 1.5px solid #D97706;
}

.rebate-status-banner.unlocked {
  background: #ECFDF5;
  border-color: #10B981;
}

.rebate-status-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.rebate-status-headline {
  font-size: 0.95rem;
  font-weight: 800;
  color: #065F46 !important;
  letter-spacing: 0.02em;
}

.rebate-status-banner:not(.unlocked) .rebate-status-headline {
  color: #92400E !important;
}

.rebate-status-sub {
  font-size: 0.82rem;
  color: var(--text-secondary) !important;
  margin-top: 2px;
}

.est-price-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.est-price-box {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.est-box-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted) !important;
  font-weight: 700;
}

.est-big-price {
  font-family: "Georgia", serif;
  font-size: 1.48rem;
  color: var(--gold-deep) !important;
}

.est-big-price.green {
  color: #065F46 !important;
}

.est-big-price small {
  font-family: sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted) !important;
}

.est-box-note {
  font-size: 0.76rem;
  color: var(--text-secondary) !important;
}

.est-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* 4-Step Visual Artwork-to-Metal Transformation Bar */
.transform-showcase-bar {
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--shadow-card);
}

.transform-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.transform-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.transform-step-item {
  background: var(--bg-ivory);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 16px;
}

.transform-step-item.highlight {
  background: #FFFBEB;
  border: 1.5px solid var(--gold-primary);
}

.t-step-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--gold-deep) !important;
  margin-bottom: 6px;
}

.transform-step-item strong {
  display: block;
  font-size: 0.96rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.transform-step-item p {
  margin: 0;
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Product Card & Single SKU Page Mold Rebate Strips */
.card-rebate-strip {
  background: #F6F5F1;
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--gold-primary);
  color: var(--text-primary) !important;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 0.78rem;
  margin-bottom: 12px;
  line-height: 1.35;
}

.catalog-rebate-banner {
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-left: 5px solid var(--gold-primary);
  border-radius: 16px;
  padding: 22px 26px;
  margin: 26px 0 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--text-primary);
  box-shadow: var(--shadow-card);
}

.sku-tier-rebate-box {
  background: #F6F5F1;
  border: 1.5px solid var(--border-light);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 20px;
}

.sku-tier-rebate-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.rebate-pill-green {
  background: #065F46;
  color: #FFFFFF !important;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.73rem;
}

.sku-tier-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.sku-tier-col {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sku-tier-col.best {
  background: #ECFDF5;
  border: 1.5px solid #059669;
}

.sku-tier-col .t-qty {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 700;
}

.sku-tier-col .t-val {
  font-size: 1.05rem;
  color: var(--text-primary);
}

.sku-tier-col.best .t-val {
  color: #065F46;
}

.sku-tier-col .t-sub {
  font-size: 0.7rem;
  color: var(--gold-deep);
  font-weight: 700;
}

.sku-tier-col.best .t-sub {
  color: #047857;
}

/* Modal Perks Checkboxes & WhatsApp Fast-Track */
.modal-perks-box {
  background: #F6F5F1;
  border: 1px solid rgba(169, 130, 61, 0.45);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.modal-perks-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--gold-deep);
  margin-bottom: 8px;
}

.modal-perks-grid {
  display: grid;
  gap: 6px;
}

.perk-check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-primary);
  cursor: pointer;
}

.perk-check-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--gold-deep);
}

.modal-wa-fasttrack {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-light);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.btn-wa-inline {
  color: #065F46 !important;
  background: #ECFDF5;
  border: 1px solid #10B981;
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.8rem;
  text-decoration: none;
}

@media (max-width: 1024px) {
  .perks-3-grid,
  .rebate-calc-console {
    grid-template-columns: 1fr;
  }
  .transform-steps-grid,
  .sku-tier-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-pillar-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .batch-strip-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .qty-tier-pills {
    grid-template-columns: repeat(2, 1fr);
  }
  .est-price-cards,
  .transform-steps-grid,
  .sku-tier-cols {
    grid-template-columns: 1fr !important;
  }
  .rebate-calc-console {
    padding: 20px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
