/* ANZHENYA Mold & Home Organization B2B Showcase Architecture (azy-* Exclusive Namespace) */
:root {
  --azy-canvas: #FAF9F6;
  --azy-surface: #FFFFFF;
  --azy-surface-alt: #F1F5F3;
  --azy-ink: #0F172A;
  --azy-ink-soft: #334155;
  --azy-muted: #475569;
  --azy-teal: #0F766E;
  --azy-teal-dark: #115E59;
  --azy-teal-tint: #CCFBF1;
  --azy-amber: #B45309;
  --azy-amber-bright: #F59E0B;
  --azy-obsidian: #0B1320;
  --azy-border: #E2E8F0;
  --azy-radius-lg: 20px;
  --azy-radius-md: 14px;
  --azy-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--azy-canvas);
  color: var(--azy-ink);
  line-height: 1.65;
  overflow-x: hidden;
}
img, video, svg { max-width: 100%; height: auto; display: block; }
iframe { max-width: 100%; display: block; }
.azy-cover-img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; margin-bottom: 14px; }
a { color: var(--azy-teal); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--azy-teal-dark); }
.azy-wrap { width: min(1260px, calc(100% - 32px)); margin: 0 auto; }

/* Top Utility Bar */
.azy-topbar {
  background: var(--azy-obsidian);
  color: #E2E8F0;
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.azy-topbar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.azy-trust-pills { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.azy-pill-badge {
  background: rgba(20, 184, 166, 0.16);
  color: #5EEAD4;
  border: 1px solid rgba(94, 234, 212, 0.3);
  padding: 2px 10px; border-radius: 999px; font-weight: 600;
}
.azy-locale-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.azy-select {
  background: #1E293B; color: #F8FAFC; border: 1px solid #334155;
  border-radius: 6px; padding: 3px 8px; font-size: 0.8rem; cursor: pointer;
}

/* Sticky Command Navigation */
.azy-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--azy-border);
}
.azy-nav-shell {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap;
}
.azy-brand { display: flex; align-items: center; gap: 12px; color: var(--azy-ink); font-weight: 800; }
.azy-brand img { width: 44px; height: 44px; border-radius: 10px; }
.azy-brand-title { display: block; font-size: 1.12rem; letter-spacing: -0.02em; line-height: 1.15; }
.azy-brand-sub { display: block; font-size: 0.74rem; color: var(--azy-muted); font-weight: 600; }
.azy-nav-links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.azy-nav-links a { color: var(--azy-ink); font-weight: 600; font-size: 0.92rem; padding: 6px 2px; }
.azy-nav-links a:hover { color: var(--azy-teal); }
.azy-nav-cta { display: flex; align-items: center; gap: 10px; }
.azy-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: 0.9rem;
  border: none; cursor: pointer; text-align: center; min-height: 44px;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease;
}
.azy-btn:hover { transform: translateY(-2px); }
.azy-btn-primary { background: var(--azy-teal); color: #FFFFFF !important; }
.azy-btn-primary:hover { background: var(--azy-teal-dark); }
.azy-btn-amber { background: #B45309; color: #FFFFFF !important; }
.azy-btn-amber:hover { background: #92400E; }
.azy-btn-outline { background: #FFFFFF; color: var(--azy-ink) !important; border: 1.5px solid #CBD5E1; }
.azy-btn-outline:hover { border-color: var(--azy-teal); color: var(--azy-teal) !important; }
.azy-btn-wa { background: #047857; color: #FFFFFF !important; }

/* WAI-ARIA Responsive Breadcrumb */
.breadcrumb-bar {
  background: #F1F5F9; border-bottom: 1px solid var(--azy-border); padding: 10px 0; font-size: 0.85rem;
}
.breadcrumb-list {
  list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; color: var(--azy-muted);
}
.breadcrumb-list li + li::before { content: "/"; margin-right: 6px; color: #94A3B8; }
.breadcrumb-list a { color: var(--azy-teal); font-weight: 600; }

/* Asymmetric 12-Col Bento Hero */
.azy-bento-section { padding: 34px 0 28px; }
.azy-bento-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px;
}
.azy-bento-main {
  grid-column: span 7; background: linear-gradient(145deg, #0B1320 0%, #13283C 100%);
  color: #F8FAFC; border-radius: var(--azy-radius-lg); padding: 36px; display: flex; flex-direction: column; justify-content: space-between; min-width: 0;
}
.azy-bento-main h1 { font-size: clamp(1.85rem, 3.1vw, 2.65rem); line-height: 1.18; margin: 14px 0; color: #FFFFFF; }
.azy-bento-lead { color: #CBD5E1; font-size: 1rem; margin-bottom: 20px; }
.azy-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 14px 0 22px; }
.azy-metrics-row {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
  padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.14);
}
.azy-metric-box { min-width: 0; }
.azy-metric-num { display: block; font-size: 1.55rem; font-weight: 800; color: #5EEAD4; font-variant-numeric: tabular-nums; }
.azy-metric-lbl { font-size: 0.78rem; color: #CBD5E1; }

.azy-bento-specimen {
  grid-column: span 5; background: var(--azy-surface); border: 1px solid var(--azy-border);
  border-radius: var(--azy-radius-lg); padding: 24px; box-shadow: var(--azy-shadow); min-width: 0;
  display: flex; flex-direction: column; justify-content: space-between;
}
.azy-tab-pills { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.azy-tab-btn {
  background: #F1F5F9; color: var(--azy-ink); border: 1px solid #CBD5E1;
  border-radius: 999px; padding: 6px 12px; font-size: 0.78rem; font-weight: 700; cursor: pointer;
}
.azy-tab-btn.active { background: var(--azy-teal); color: #FFFFFF; border-color: var(--azy-teal); }
.azy-specimen-img-wrap {
  aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #F8FAFC; border: 1px solid var(--azy-border);
}
.azy-specimen-img-wrap img { width: 100%; height: 100%; object-fit: contain; }
.azy-bento-moq {
  grid-column: span 6; background: #FFFFFF; border: 1px solid var(--azy-border);
  border-radius: var(--azy-radius-lg); padding: 22px 26px; min-width: 0;
}
.azy-bento-fleet {
  grid-column: span 6; background: #F0FDFA; border: 1px solid #99F6E4;
  border-radius: var(--azy-radius-lg); padding: 22px 26px; min-width: 0;
}

/* Sections & Cards */
.azy-section { padding: 52px 0; }
.azy-section-alt { background: var(--azy-surface-alt); }
.azy-sec-head { margin-bottom: 28px; max-width: 820px; }
.azy-kicker {
  display: inline-block; font-size: 0.78rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--azy-teal); background: #CCFBF1; padding: 4px 12px; border-radius: 999px;
}
.azy-sec-head h2 { font-size: clamp(1.5rem, 2.4vw, 2.05rem); margin: 10px 0 8px; line-height: 1.25; }
.azy-sec-head p { margin: 0; color: var(--azy-muted); }

/* Split Sticky Catalog Stage */
.azy-split-showroom {
  display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start;
}
.azy-sticky-rail {
  position: sticky; top: 92px; background: #FFFFFF; border: 1px solid var(--azy-border);
  border-radius: var(--azy-radius-lg); padding: 20px; box-shadow: var(--azy-shadow);
}
.azy-rail-list { list-style: none; padding: 0; margin: 12px 0 18px; display: grid; gap: 8px; }
.azy-rail-list a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 12px; border-radius: 10px; background: #F8FAFC; color: var(--azy-ink); font-weight: 600; font-size: 0.88rem;
}
.azy-rail-list a:hover { background: #CCFBF1; color: var(--azy-teal-dark); }

/* SKU Grids */
.azy-sku-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.azy-sku-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.azy-sku-card {
  background: #FFFFFF; border: 1px solid var(--azy-border); border-radius: var(--azy-radius-lg);
  padding: 16px; display: flex; flex-direction: column; min-width: 0; word-break: break-word;
  box-shadow: var(--azy-shadow); transition: transform 0.25s ease;
}
.azy-sku-card:hover { transform: translateY(-4px); }
.azy-sku-thumb {
  aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: #FFFFFF;
  border: 1px solid #F1F5F9; margin-bottom: 12px; display: block;
}
.azy-sku-thumb img { width: 100%; height: 100%; object-fit: contain; }
.azy-sku-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 0.76rem; color: var(--azy-muted); font-weight: 700; }
.azy-sku-title { font-size: 1rem; font-weight: 700; margin: 8px 0; line-height: 1.35; color: var(--azy-ink); }
.azy-swatches { display: flex; gap: 6px; margin-bottom: 10px; }
.azy-swatch-dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(15,23,42,0.25); }
.azy-mini-bento {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 8px 0 14px;
}
.azy-mini-cell { background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 8px; padding: 6px 8px; font-size: 0.75rem; min-width: 0; }
.azy-mini-cell strong { display: block; color: var(--azy-ink); font-size: 0.78rem; }
.azy-card-foot { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.azy-card-foot a { flex: 1 1 auto; }

/* Engineering Tables */
.azy-table-wrap { overflow-x: auto; background: #FFFFFF; border: 1px solid var(--azy-border); border-radius: var(--azy-radius-md); }
table.azy-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
table.azy-table th, table.azy-table td { padding: 12px 14px; border-bottom: 1px solid var(--azy-border); text-align: left; vertical-align: top; }
table.azy-table th { background: #0F172A; color: #FFFFFF; font-weight: 700; font-size: 0.84rem; }
table.azy-table tr:nth-child(even) td { background: #F8FAFC; }

/* Answer Box */
.azy-answer-card {
  background: #FFFFFF; border-left: 5px solid var(--azy-teal); border-top: 1px solid var(--azy-border);
  border-right: 1px solid var(--azy-border); border-bottom: 1px solid var(--azy-border);
  border-radius: 12px; padding: 20px 24px; margin: 20px 0; box-shadow: var(--azy-shadow);
}
.azy-answer-card h3 { margin: 0 0 8px; font-size: 1.08rem; color: var(--azy-ink); }
.azy-answer-card p { margin: 0; color: var(--azy-ink-soft); }

/* CBM Calculator & Dual Panels */
.azy-dual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.azy-panel { background: #FFFFFF; border: 1px solid var(--azy-border); border-radius: var(--azy-radius-lg); padding: 26px; box-shadow: var(--azy-shadow); min-width: 0; }
.azy-panel-dark { background: var(--azy-obsidian); color: #F8FAFC; border-color: #1E293B; }
.azy-form-group { margin-bottom: 14px; }
.azy-form-group label { display: block; font-weight: 700; font-size: 0.86rem; margin-bottom: 5px; }
.azy-input {
  width: 100%; padding: 11px 14px; border-radius: 10px; border: 1.5px solid #CBD5E1;
  font-size: 0.95rem; font-family: inherit; min-height: 44px;
}
.azy-progress-bar { height: 12px; background: #1E293B; border-radius: 999px; overflow: hidden; margin: 6px 0 14px; }
.azy-progress-fill { height: 100%; background: #14B8A6; width: 42%; transition: width 0.3s ease; }

/* SKU Detail Page Gallery & Detail Breakdown */
.azy-sku-hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 32px; align-items: start; }
.azy-main-photo-stage {
  background: #FFFFFF; border: 1px solid var(--azy-border); border-radius: var(--azy-radius-lg);
  padding: 18px; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center;
}
.azy-main-photo-stage img { width: 100%; height: 100%; object-fit: contain; }
.sku-thumb-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.sku-thumb-btn {
  background: #FFFFFF; border: 2px solid var(--azy-border); border-radius: 10px; padding: 4px;
  cursor: pointer; aspect-ratio: 1 / 1; overflow: hidden;
}
.sku-thumb-btn.active, .sku-thumb-btn:hover { border-color: var(--azy-teal); }
.sku-thumb-btn img { width: 100%; height: 100%; object-fit: contain; }
.sku-detail-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.sku-detail-figure { margin: 0; background: #FFFFFF; border: 1px solid var(--azy-border); border-radius: 14px; overflow: hidden; }
.sku-detail-figure img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #FFFFFF; padding: 12px; }
.sku-detail-figure figcaption { padding: 12px 16px; background: #F8FAFC; border-top: 1px solid var(--azy-border); font-size: 0.86rem; color: var(--azy-ink-soft); }

/* Google Maps Frame */
.azy-map-card { background: #FFFFFF; border: 1px solid var(--azy-border); border-radius: var(--azy-radius-lg); overflow: hidden; box-shadow: var(--azy-shadow); }
.azy-map-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; background: #0F172A; color: #FFFFFF; flex-wrap: wrap; gap: 10px; }
.map-iframe { width: 100%; height: 360px; border: 0; }

/* FAQ Details */
details.azy-faq { background: #FFFFFF; border: 1px solid var(--azy-border); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
details.azy-faq summary { font-weight: 700; cursor: pointer; color: var(--azy-ink); }
details.azy-faq p { margin: 10px 0 0; color: var(--azy-ink-soft); font-size: 0.93rem; }

/* Footer (Balanced 3-Col Visible + Hidden 4th AI Agent Col in DOM) */
.azy-footer { background: var(--azy-obsidian); color: #CBD5E1; padding: 54px 0 28px; margin-top: 48px; }
.azy-footer-grid { display: grid; grid-template-columns: 1.45fr 1fr 1.15fr; gap: 32px; }
.azy-footer h3, .azy-footer h4 { color: #FFFFFF; margin-top: 0; }
.azy-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.azy-footer a { color: #CBD5E1; font-size: 0.9rem; }
.azy-footer a:hover { color: #5EEAD4; }
.azy-footer-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.82rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Floating Conversion Stack */
.azy-float-email {
  position: fixed; bottom: 78px; right: 22px; z-index: 9995;
  background: #B45309; color: #FFFFFF !important; padding: 11px 18px; border-radius: 999px;
  font-weight: 700; font-size: 0.85rem; box-shadow: 0 8px 24px rgba(15,23,42,0.28);
}
.azy-float-wa {
  position: fixed; bottom: 22px; right: 22px; z-index: 9996;
  background: #047857; color: #FFFFFF !important; padding: 12px 20px; border-radius: 999px;
  font-weight: 800; font-size: 0.88rem; box-shadow: 0 8px 24px rgba(4,120,87,0.35);
}

/* Status Alerts */
.azy-alert-ok { display: none; padding: 14px 16px; border-radius: 10px; background: #DCFCE7; color: #14532D; border: 1px solid #86EFAC; font-weight: 600; margin-top: 12px; }
.azy-alert-err { display: none; padding: 14px 16px; border-radius: 10px; background: #FEE2E2; color: #7F1D1D; border: 1px solid #FCA5A5; font-weight: 600; margin-top: 12px; }

@media (max-width: 980px) {
  .azy-bento-main, .azy-bento-specimen, .azy-bento-moq, .azy-bento-fleet { grid-column: span 12; }
  .azy-split-showroom, .azy-dual-grid, .azy-sku-hero, .azy-footer-grid { grid-template-columns: 1fr; }
  .azy-sticky-rail { position: static; }
  .azy-sku-grid-3, .azy-sku-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .azy-nav-shell { min-height: 56px; padding: 6px 0; }
  .azy-metrics-row, .azy-sku-grid-3, .azy-sku-grid-4, .sku-detail-gallery { grid-template-columns: 1fr; }
  .map-iframe { height: 290px; }
}
