:root {
  --bg: #f5efe7;
  --bg-soft: #fbf7f2;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --muted-soft: #9aa4b2;
  --line: rgba(148, 163, 184, 0.22);
  --primary: #d76b2d;
  --primary-deep: #9f3d18;
  --accent: #1d4d4f;
  --accent-soft: #d9ece7;
  --surface-tint: #fff4ea;
  --warning: #b66623;
  --success: #1d7d57;
  --danger: #b42318;
  --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 25px 80px rgba(15, 23, 42, 0.16);
  --radius: 22px;
  --radius-sm: 16px;
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(29, 77, 79, 0.12), transparent 34%),
    radial-gradient(circle at top right, rgba(215, 107, 45, 0.18), transparent 28%),
    linear-gradient(180deg, #fffdf9 0%, var(--bg) 100%);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-shell {
  min-height: 100vh;
}

body[data-theme-preset="amber"] {
  --primary: #7c2d12;
  --primary-deep: #431407;
  --accent: #f59e0b;
  --surface-tint: #fff7ed;
}

body[data-theme-preset="mono"] {
  --primary: #18181b;
  --primary-deep: #09090b;
  --accent: #52525b;
  --surface-tint: #f4f4f5;
}

.promo-strip {
  background: linear-gradient(90deg, var(--accent), #35696b);
  color: #ecfeff;
  font-size: 0.85rem;
}

.promo-strip__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: center;
  padding: 0.75rem 0;
}

#promo-center {
  text-align: center;
}

#promo-right {
  text-align: right;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(255, 251, 246, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
}

.topbar {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding: 0.95rem 0;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand__mark {
  width: 3rem;
  height: 3rem;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  box-shadow: 0 14px 35px rgba(159, 61, 24, 0.32);
}

.brand__copy {
  display: grid;
  gap: 0.15rem;
}

.brand__copy strong {
  font-size: 1.1rem;
}

.brand__copy small {
  color: var(--muted);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 1.35rem;
  font-weight: 600;
}

.main-nav > a,
.nav-dropdown > a {
  position: relative;
  padding: 0.55rem 0.2rem;
  color: var(--muted);
}

.main-nav > a:hover,
.nav-dropdown > a:hover,
.main-nav > a.is-active,
.nav-dropdown > a.is-active {
  color: var(--text);
}

.main-nav > a.is-active::after,
.nav-dropdown > a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.1rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), #f3a864);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.nav-chip--icon {
  position: relative;
  font-size: 0.92rem;
}

.nav-chip,
.button,
.ghost-button,
.soft-button {
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.button {
  background: linear-gradient(135deg, var(--primary), #ef9658);
  color: #fff;
  padding: 0.95rem 1.35rem;
  box-shadow: 0 16px 40px rgba(215, 107, 45, 0.24);
}

.button:hover,
.ghost-button:hover,
.soft-button:hover,
.nav-chip:hover {
  transform: translateY(-1px);
}

.ghost-button {
  padding: 0.9rem 1.25rem;
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(29, 77, 79, 0.18);
}

.soft-button {
  padding: 0.9rem 1.25rem;
  background: #fff;
  color: var(--text);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.nav-chip {
  min-width: 2.85rem;
  min-height: 2.85rem;
  padding: 0.75rem 0.95rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: var(--shadow-sm);
}

.cart-badge {
  position: absolute;
  top: -0.15rem;
  right: -0.15rem;
  width: 1.2rem;
  height: 1.2rem;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  border-radius: 999px;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown__panel {
  position: absolute;
  top: calc(100% + 0.85rem);
  left: 0;
  min-width: 320px;
  display: none;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 24px;
  padding: 1rem;
  box-shadow: var(--shadow-lg);
}

.nav-dropdown:hover .nav-dropdown__panel {
  display: grid;
  gap: 0.85rem;
}

.category-menu-card {
  display: grid;
  gap: 0.35rem;
  padding: 0.8rem 0.9rem;
  border-radius: 18px;
  background: var(--bg-soft);
}

.category-menu-card strong {
  font-size: 0.95rem;
}

.category-menu-card span {
  color: var(--muted);
  font-size: 0.85rem;
}

.menu-toggle,
.mobile-panel {
  display: none;
}

.page-root {
  min-height: calc(100vh - 260px);
}

.page-section {
  padding: 2.25rem 0 4rem;
}

.hero {
  padding: 2rem 0 1rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: stretch;
}

.hero-card,
.glass-card,
.panel,
.product-card,
.summary-card,
.faq-card,
.auth-card,
.legal-card,
.stat-card {
  background: var(--surface);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.hero-card {
  position: relative;
  overflow: hidden;
  min-height: 560px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  padding: 3rem;
  display: grid;
  align-content: end;
  color: #fff8f3;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide__backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(29, 77, 79, 0.45), rgba(25, 35, 49, 0.68)),
    radial-gradient(circle at 20% 20%, rgba(255, 200, 145, 0.38), transparent 25%);
}

.hero-slide__content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  max-width: 560px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.18);
}

.hero-slide h1,
.section-heading h2,
.legal-card h1,
.account-hero h1 {
  margin: 0;
  font-family: "Clash Display", "Trebuchet MS", sans-serif;
}

.hero-slide h1 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.98;
}

.hero-slide p {
  margin: 0;
  color: rgba(255, 248, 243, 0.9);
  font-size: 1.02rem;
  line-height: 1.7;
}

.hero-actions,
.stack-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.meta-chip {
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.16);
}

.meta-chip strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}

.hero-side {
  display: grid;
  gap: 1.2rem;
}

.feature-list,
.spotlight-list,
.summary-list,
.footer-grid,
.filter-stack,
.faq-list,
.account-grid,
.order-list,
.cart-list,
.checkout-grid,
.auth-grid,
.legal-grid,
.feature-grid,
.category-grid,
.product-grid {
  display: grid;
  gap: 1rem;
}

.glass-card {
  padding: 1.4rem;
}

.glass-card h3,
.panel h3,
.faq-card h3,
.auth-card h2,
.legal-card h3 {
  margin: 0 0 0.65rem;
}

.feature-list article,
.spotlight-list article {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.icon-badge {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 16px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--accent);
  background: linear-gradient(135deg, rgba(29, 77, 79, 0.18), rgba(215, 107, 45, 0.14));
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.section-heading p,
.panel p,
.glass-card p,
.faq-answer,
.muted {
  color: var(--muted);
  line-height: 1.7;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.stat-card,
.panel,
.product-card,
.summary-card,
.faq-card,
.auth-card,
.legal-card {
  padding: 1.35rem;
}

.stat-card {
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -50% 35%;
  height: 130px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(215, 107, 45, 0.18), transparent 70%);
}

.category-grid {
  grid-template-columns: repeat(3, 1fr);
}

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: end;
  border-radius: var(--radius);
  background:
    linear-gradient(140deg, rgba(29, 77, 79, 0.78), rgba(215, 107, 45, 0.78)),
    linear-gradient(180deg, #e4b185 0%, #b0542b 100%);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.category-card small {
  color: rgba(255, 255, 255, 0.85);
}

.product-grid {
  grid-template-columns: repeat(4, 1fr);
}

.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-art {
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.58), transparent 26%),
    linear-gradient(135deg, #fde8cc, #f0c89b);
  display: grid;
  place-items: center;
  font-size: 2.5rem;
}

.product-card h3,
.product-card p {
  margin: 0;
}

.product-card__meta,
.line-between,
.order-card__footer,
.summary-line,
.inline-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.price {
  color: var(--primary-deep);
  font-weight: 800;
  font-size: 1.25rem;
}

.shop-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 1.25rem;
}

.sidebar {
  position: sticky;
  top: 7rem;
  align-self: start;
}

.field,
.select,
.textarea {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  outline: none;
}

.textarea {
  min-height: 120px;
  resize: vertical;
}

.field:focus,
.select:focus,
.textarea:focus {
  border-color: rgba(215, 107, 45, 0.48);
  box-shadow: 0 0 0 4px rgba(215, 107, 45, 0.12);
}

.field-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.segmented {
  display: inline-flex;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.segmented button {
  border: none;
  background: transparent;
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  color: var(--muted);
  font-weight: 700;
}

.segmented button.is-active {
  background: linear-gradient(135deg, var(--accent), #347074);
  color: #fff;
}

.product-grid.list {
  grid-template-columns: 1fr;
}

.product-grid.list .product-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: stretch;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.tag.restricted {
  background: #fff2e8;
  color: var(--warning);
}

.tag.status-open {
  background: #ebf5ff;
  color: #2357b8;
}

.tag.status-paid {
  background: #ecfdf3;
  color: var(--success);
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.qty-control button {
  width: 2.4rem;
  height: 2.4rem;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
}

.qty-control input {
  width: 3rem;
  text-align: center;
  border: none;
  background: transparent;
}

.cart-layout,
.checkout-grid,
.auth-grid,
.account-grid,
.legal-grid {
  grid-template-columns: 1fr 360px;
}

.cart-item,
.order-card {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 1rem;
  align-items: center;
}

.art-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.5), transparent 25%),
    linear-gradient(135deg, #f7d5b6, #efb67f);
  display: grid;
  place-items: center;
  font-size: 2rem;
}

.summary-card {
  position: sticky;
  top: 7rem;
  align-self: start;
}

.summary-list {
  margin-top: 1rem;
}

.summary-line strong {
  font-size: 1.15rem;
}

.auth-card {
  max-width: 520px;
  margin: 0 auto;
}

.auth-grid {
  gap: 1.5rem;
}

.auth-side {
  padding: 2rem;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(29, 77, 79, 0.94), rgba(19, 30, 43, 0.95)),
    radial-gradient(circle at top left, rgba(255, 174, 108, 0.26), transparent 30%);
  color: #f8fafc;
  box-shadow: var(--shadow-lg);
}

.auth-side p {
  color: rgba(248, 250, 252, 0.82);
}

.faq-list {
  max-width: 940px;
  margin: 0 auto;
}

.faq-card button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  background: transparent;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid var(--line);
}

.faq-card.is-open .faq-answer {
  display: block;
}

.account-hero {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.tabs {
  display: flex;
  gap: 0.8rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1rem;
}

.tabs button {
  background: transparent;
  border: none;
  padding: 0.9rem 0.15rem;
  cursor: pointer;
  color: var(--muted);
  font-weight: 700;
  position: relative;
}

.tabs button.is-active {
  color: var(--text);
}

.tabs button.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), #f3a864);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.34);
  display: grid;
  justify-content: end;
  z-index: 100;
}

.drawer {
  width: min(520px, 100vw);
  height: 100vh;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  padding: 1.4rem;
  box-shadow: var(--shadow-lg);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.38);
  z-index: 110;
  padding: 1rem;
}

.modal-card {
  width: min(520px, 100%);
  padding: 1.5rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-lg);
}

.site-footer {
  margin-top: 2rem;
  padding: 3rem 0 1.25rem;
  background:
    linear-gradient(135deg, rgba(20, 31, 45, 0.98), rgba(29, 77, 79, 0.95)),
    linear-gradient(180deg, transparent, rgba(255,255,255,0.05));
  color: #e5eef6;
}

.footer-grid {
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 1.5rem;
}

.footer-grid h4 {
  margin: 0 0 0.85rem;
}

.footer-grid a,
.footer-grid p,
.footer-note {
  display: block;
  color: rgba(229, 238, 246, 0.76);
  margin: 0.45rem 0;
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 1.5rem;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: rgba(229, 238, 246, 0.65);
}

.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.75);
  border: 1px dashed rgba(148, 163, 184, 0.4);
}

.hide {
  display: none !important;
}

@media (max-width: 1080px) {
  .hero-grid,
  .shop-layout,
  .cart-layout,
  .checkout-grid,
  .account-grid,
  .legal-grid,
  .auth-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .category-grid,
  .product-grid,
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .sidebar,
  .summary-card {
    position: static;
  }

  .product-grid.list .product-card,
  .cart-item,
  .order-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .topbar {
    grid-template-columns: auto 1fr auto;
  }

  .main-nav,
  #header-actions {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    width: 2.9rem;
    height: 2.9rem;
    padding: 0;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-sm);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.24rem;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 1rem;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
  }

  .mobile-panel {
    display: none;
    padding: 0 1rem 1rem;
  }

  .mobile-panel.is-open {
    display: block;
  }

  .mobile-panel__card {
    padding: 1rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(148, 163, 184, 0.18);
  }

  .mobile-panel__card a,
  .mobile-panel__card button {
    display: block;
    width: 100%;
    padding: 0.85rem 0;
    background: transparent;
    border: none;
    text-align: left;
    color: var(--text);
    font-weight: 700;
  }

  .hero-card {
    min-height: 500px;
  }

  .hero-slide {
    padding: 2rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 1.2rem), var(--container));
  }

  .feature-grid,
  .category-grid,
  .product-grid,
  .stats-row,
  .hero-meta {
    grid-template-columns: 1fr;
  }

  .hero-slide h1 {
    font-size: 2.35rem;
  }

  .page-section {
    padding-bottom: 3rem;
  }
}

.page-section--tight {
  padding: 1.5rem 0 2.5rem;
}

.container--narrow {
  width: min(calc(100% - 2rem), 820px);
}

.hero-grid--compact {
  grid-template-columns: minmax(0, 1.4fr) 280px;
  gap: 1rem;
}

.hero-card--clean {
  min-height: 360px;
  border-radius: 28px;
}

.hero-slide--static {
  position: relative;
  opacity: 1;
  padding: 2.2rem;
  align-content: stretch;
}

.hero-slide__content--compact {
  gap: 0.8rem;
  max-width: 480px;
  justify-content: end;
}

.hero-slide__content--compact h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.02;
}

.hero-slide__content--compact p {
  max-width: 46ch;
  font-size: 0.96rem;
  line-height: 1.6;
}

.hero-side--compact {
  gap: 0.85rem;
}

.section-heading--tight {
  margin-bottom: 0.9rem;
  align-items: center;
}

.section-heading--tight h2 {
  font-size: 1.45rem;
}

.category-grid--tight {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.category-card--tight {
  min-height: 260px;
  padding: 0;
  justify-content: flex-start;
  overflow: hidden;
  background: #fff;
  color: var(--text);
}

.category-card__visual {
  height: 155px;
  background: linear-gradient(135deg, rgba(29, 77, 79, 0.12), rgba(215, 107, 45, 0.14));
  display: grid;
  place-items: center;
  overflow: hidden;
}

.category-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card__icon {
  width: 74px !important;
  height: 74px !important;
  object-fit: contain !important;
}

.category-card__visual--fallback span {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}

.category-card__content {
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
}

.category-card--tight h3 {
  margin: 0;
  font-size: 1.05rem;
}

.category-card--tight small {
  margin-top: auto;
}

.product-grid--tight,
.product-grid--shop {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.product-card--tight {
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 20px;
}

.product-card__body {
  display: grid;
  gap: 0.55rem;
}

.product-card--tight h3 {
  font-size: 1rem;
  line-height: 1.35;
}

.product-card--tight p {
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.92rem;
}

.product-art {
  height: 150px;
  aspect-ratio: auto;
  border-radius: 18px;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}

.shop-layout--clean {
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.panel--tight,
.legal-card--clean,
.faq-list--clean .faq-card,
.empty-state,
.stat-card {
  border-radius: 20px;
}

.panel--tight {
  padding: 1rem;
}

.filter-stack {
  gap: 0.75rem;
}

.field,
.select,
.textarea {
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
}

.faq-list--clean {
  gap: 0.85rem;
}

.faq-list--clean .faq-card {
  padding: 1rem 1.1rem;
}

.legal-card--clean {
  padding: 1.35rem;
}

.prose-lite,
.prose-lite p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

.prose-lite p:first-child {
  margin-top: 0;
}

.empty-state {
  padding: 2rem 1.25rem;
}

.site-footer {
  margin-top: 1rem;
  padding: 2.2rem 0 1rem;
}

.footer-grid {
  grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.footer-grid > div:last-child p {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-grid a,
.footer-grid p,
.footer-note {
  line-height: 1.55;
}

@media (max-width: 1080px) {
  .hero-grid--compact,
  .shop-layout--clean,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .product-grid--tight,
  .product-grid--shop,
  .category-grid--tight {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .page-section--tight {
    padding: 1.15rem 0 2rem;
  }

  .hero-slide--static {
    padding: 1.4rem;
  }

  .product-grid--tight,
  .product-grid--shop,
  .category-grid--tight {
    grid-template-columns: 1fr;
  }

  .hero-card--clean {
    min-height: 300px;
  }
}

.hero-grid--feature {
  grid-template-columns: minmax(0, 1.35fr) 280px;
}

.hero-card--feature {
  min-height: 430px;
}

.hero-slide__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.8rem;
  height: 2.8rem;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}

.hero-nav--prev { left: 1rem; }
.hero-nav--next { right: 1rem; }

.hero-dots {
  position: absolute;
  left: 1.5rem;
  bottom: 1.2rem;
  z-index: 2;
  display: flex;
  gap: 0.45rem;
}

.hero-dots button {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.hero-dots button.is-active {
  background: #fff;
}

.feature-grid--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  padding: 1.1rem 1.2rem;
}

.feature-card h3,
.auth-header h1,
.empty-state h2,
.cart-item h3,
.summary-card h3 {
  margin: 0 0 0.45rem;
}

.product-card--shop {
  padding: 0;
  overflow: hidden;
}

.product-card__media {
  display: block;
  background: #fff;
}

.product-card__media img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  padding: 1rem;
}

.product-grid--shop.is-list {
  grid-template-columns: 1fr;
}

.product-grid--shop.is-list .product-card--shop {
  display: grid;
  grid-template-columns: 280px 1fr;
}

.product-grid--shop.is-list .product-card__media img {
  height: 100%;
}

.product-card__footer,
.cart-item__tools,
.auth-actions-row,
.order-tags,
.hero-actions--center {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.qty-inline {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.qty-inline button {
  width: 2rem;
  height: 2rem;
  border: none;
  background: transparent;
  cursor: pointer;
}

.qty-inline input {
  width: 2.8rem;
  border: none;
  text-align: center;
  background: transparent;
}

.button--small,
.soft-button--small {
  padding: 0.65rem 0.95rem;
}

.soft-button--block,
.checkout-button {
  width: 100%;
}

.auth-card--clean,
.auth-card--wide {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
}

.container--wide {
  width: min(calc(100% - 2rem), 1080px);
}

.auth-header {
  margin-bottom: 1.25rem;
}

.auth-header p,
.account-hero--clean p,
.empty-state p {
  color: var(--muted);
}

.auth-stack {
  display: grid;
  gap: 0.9rem;
}

.auth-link-button {
  border: none;
  background: transparent;
  color: var(--primary);
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.auth-inline-links {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.auth-inline-links--center {
  justify-content: center;
}

.terms-card {
  margin-top: 1.1rem;
  padding: 1rem 1rem 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 18px;
  background: rgba(251, 247, 242, 0.9);
}

.terms-card .prose-lite {
  max-height: 260px;
  overflow-y: auto;
  padding-right: 0.55rem;
  scroll-behavior: smooth;
}

.terms-card .prose-lite::-webkit-scrollbar {
  width: 8px;
}

.terms-card .prose-lite::-webkit-scrollbar-thumb {
  background: rgba(255, 122, 77, 0.28);
  border-radius: 999px;
}

.terms-card .prose-lite::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.06);
  border-radius: 999px;
}

.terms-check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-top: 0.9rem;
  color: var(--text);
  font-weight: 600;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-span-3 {
  grid-column: 1 / -1;
}

.cart-layout,
.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 1rem;
  align-items: start;
}

.cart-item--clean {
  grid-template-columns: 120px minmax(0, 1fr) auto;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 20px;
}

.art-thumb {
  overflow: hidden;
  color: var(--accent);
  font-weight: 800;
}

.art-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkout-stack,
.account-shell {
  display: grid;
  gap: 1rem;
}

.summary-list--scroll {
  max-height: 320px;
  overflow-y: auto;
}

.summary-line--total {
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
}

.account-hero--clean {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 24px;
  padding: 1.25rem 1.4rem;
}

.eyebrow--dark {
  color: var(--accent);
  background: rgba(29, 77, 79, 0.08);
}

.detail-list,
.detail-grid {
  display: grid;
  gap: 0.8rem;
}

.detail-list div,
.detail-grid div {
  display: grid;
  gap: 0.2rem;
}

.detail-list strong,
.detail-grid strong {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.detail-list span,
.detail-grid span {
  color: var(--text);
  font-weight: 600;
}

.detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.order-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 20px;
  padding: 1rem;
}

.modal-card--compact h3,
.drawer h3 {
  margin-top: 0;
}

@media (max-width: 1080px) {
  .hero-grid--feature,
  .cart-layout,
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid--compact,
  .form-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .promo-strip__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .home-story-card {
    grid-template-columns: 1fr;
  }

  #promo-right,
  #promo-center {
    text-align: center;
  }

  .product-grid--shop.is-list .product-card--shop,
  .cart-item--clean {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .feature-grid--compact,
  .form-grid--two,
  .form-grid--three,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .product-card__media img {
    height: 180px;
  }
}

/* Reference-style override layer */
:root {
  --bg: #f7f7f7;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --text: #2f3138;
  --muted: #7d818a;
  --line: #ececef;
  --primary: #ff7a4d;
  --primary-deep: #ff6b3c;
  --shadow-sm: 0 10px 28px rgba(19, 19, 19, 0.05);
  --shadow-lg: 0 24px 48px rgba(19, 19, 19, 0.09);
  --radius: 18px;
}

body {
  background: var(--bg);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.promo-strip {
  background: var(--primary);
}

.promo-strip__inner {
  min-height: 44px;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.topbar {
  padding: 0.8rem 0;
}

.brand__mark {
  width: 72px;
  height: 72px;
  background: #fff;
  border: 2px solid #2f3138;
  color: #2f3138;
  border-radius: 20px;
  box-shadow: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  line-height: 0.88;
  text-align: center;
  letter-spacing: 0;
  padding: 0.38rem;
}

.brand__mark--image {
  padding: 0.35rem;
}

.brand__mark--image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand__copy {
  display: none;
}

.main-nav {
  gap: 0.45rem;
  justify-content: center;
  align-items: center;
  padding: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fbfbfc;
  box-shadow: 0 8px 20px rgba(19, 19, 19, 0.04);
}

.main-nav > a,
.nav-dropdown > a {
  padding: 0.82rem 1.1rem;
  border-radius: 999px;
  color: #59606d;
  font-weight: 700;
}

.main-nav > a:hover,
.nav-dropdown > a:hover,
.main-nav > a.is-active,
.nav-dropdown > a.is-active {
  color: #1f2430;
  background: #fff3ed;
}

.main-nav > a.is-active::after,
.nav-dropdown > a.is-active::after {
  display: none;
}

.nav-icon,
.user-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-icon {
  width: 42px;
  height: 42px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  position: relative;
}

.nav-icon__glyph {
  font-size: 1rem;
}

.user-pill {
  min-height: 42px;
  padding: 0 0.9rem;
  background: #f3f5f8;
  border-radius: 10px;
  color: #4f5868;
  font-weight: 700;
}

.logout-link {
  border: none;
  background: transparent;
  color: var(--primary);
  font-weight: 700;
  cursor: pointer;
}

.ghost-button--accent {
  border-color: rgba(255, 122, 77, 0.7);
  color: var(--primary-deep);
}

.button--header {
  min-width: 112px;
}

.hero-reference {
  background: #fff;
}

.hero-banner--reference {
  min-height: clamp(360px, 46vw, 520px);
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 122, 77, 0.12), rgba(255, 172, 109, 0.08)),
    #fff;
}

.hero-slide__backdrop--feature {
  background:
    linear-gradient(180deg, rgba(19, 19, 19, 0.08), rgba(19, 19, 19, 0.48)),
    linear-gradient(90deg, rgba(255, 122, 77, 0.18), transparent 42%);
}

.hero-slide__image--feature {
  object-fit: cover;
  object-position: center center;
  transform: scale(1.01);
}

.hero-slide__content--compact {
  max-width: 860px;
  margin: 0 auto;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.hero-slide__content--compact .eyebrow {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.hero-slide__content--compact h1 {
  text-transform: uppercase;
  font-weight: 900;
  line-height: 0.94;
}

.hero-slide__content--compact p {
  max-width: 700px;
}

.hero-nav {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.92);
  color: #2f3138;
}

.reference-feature-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-box--centered {
  text-align: center;
}

.feature-box--centered.feature-box--aligned {
  grid-template-columns: 1fr;
  justify-items: center;
}

.feature-box--centered .feature-box__icon {
  margin-bottom: 0.35rem;
}

.feature-box {
  padding: 1.6rem 1.2rem;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.feature-box--aligned {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1rem;
  align-items: start;
  min-height: 160px;
}

.feature-box--aligned .feature-box__icon {
  margin: 0;
  width: 52px;
  height: 52px;
  font-size: 1.1rem;
}

.feature-box--aligned h3 {
  margin: 0 0 0.35rem;
}

.feature-box--aligned p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.feature-box__icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 0.9rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fff1eb;
  color: var(--primary);
}

.section-heading--center {
  justify-content: center;
}

.section-link {
  color: var(--primary);
  font-weight: 700;
}

.category-grid--reference {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.category-pill-row {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.35rem 0 0.9rem;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}

.category-pill {
  min-width: 118px;
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  color: var(--text);
  scroll-snap-align: start;
}

.category-pill__icon {
  width: 92px;
  height: 92px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0.9rem;
}

.category-pill__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.category-pill__icon span {
  color: var(--primary);
  font-size: 1.6rem;
  font-weight: 800;
}

.category-pill__label {
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.category-pill__meta {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  white-space: nowrap;
}

.location-selector {
  display: grid;
  gap: 0.45rem;
  width: 100%;
}

.location-selector span {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--muted);
}

.category-card--reference {
  min-height: 110px;
  padding: 1.1rem 1rem;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  background: linear-gradient(180deg, #ff885e, #ff784b);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(255, 122, 77, 0.2);
}

.category-card--reference h3,
.category-card--reference small {
  margin: 0;
  color: inherit;
}

.category-card--reference small {
  margin-top: 0.3rem;
  opacity: 0.9;
}

.shop-page {
  padding-top: 1.75rem;
}

.page-intro h1 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 900;
  line-height: 1;
}

.shop-layout--reference {
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1rem;
}

.panel--filters,
.toolbar--reference,
.auth-card--reference,
.register-shell,
.content-card,
.empty-state--card {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.toolbar--reference {
  padding: 0.95rem 1rem;
  border-radius: 14px;
}

.toolbar--reference p {
  margin: 0;
  color: var(--muted);
}

.toolbar-view {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.toolbar-view button {
  width: 42px;
  height: 40px;
  border: none;
  background: #fff;
  color: #81868f;
  cursor: pointer;
}

.toolbar-view button.is-active {
  color: var(--primary);
  background: #fff3ed;
}

.product-grid--shop,
.product-grid--home {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card--shop {
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(19, 19, 19, 0.04);
  background: #fff;
}

.product-card__media img {
  height: 220px;
  object-fit: contain;
  padding: 1rem;
  background: #fff;
}

.product-card__body {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
}

.price-note {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.product-card__body h3 {
  font-size: 1rem;
  line-height: 1.35;
  min-height: 2.7em;
}

.product-card__body p {
  margin: 0;
  color: var(--muted);
  min-height: 2.7em;
}

.product-card__footer {
  justify-content: space-between;
  align-items: center;
}

.price {
  color: var(--primary-deep);
  font-size: 1.15rem;
}

.button--small {
  min-width: 84px;
  min-height: 38px;
  padding: 0.65rem 0.95rem;
}

.qty-inline {
  min-height: 38px;
}

.qty-inline input {
  font-weight: 700;
}

.product-pill {
  display: inline-flex;
  width: fit-content;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: #fff1eb;
  color: var(--primary-deep);
  font-size: 0.76rem;
  font-weight: 700;
}

.auth-page {
  min-height: calc(100vh - 260px);
  display: flex;
  align-items: center;
}

.panel--filters {
  padding: 1rem;
  border-radius: 16px;
}

.panel--filters h3 {
  margin-top: 0;
}

.page-intro p {
  color: var(--muted);
  margin-top: 0.65rem;
}

.auth-layout {
  grid-template-columns: 1fr minmax(0, 420px);
  align-items: center;
  gap: 2rem;
}

.auth-side-panel {
  min-height: 460px;
  padding: 2.4rem;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(140deg, rgba(255, 122, 77, 0.96), rgba(255, 164, 96, 0.84));
  box-shadow: var(--shadow-lg);
}

.auth-side-panel .section-kicker {
  color: #fff7f3;
}

.auth-side-panel h2 {
  margin: 0.75rem 0 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.auth-side-panel p {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.92);
}

.auth-card--reference {
  max-width: 420px;
  margin: 0 auto;
  border-radius: 22px;
}

.auth-card--solo {
  max-width: 460px;
  padding: 2rem 1.9rem;
}

.auth-card--recovery {
  max-width: 480px;
}

.auth-header--center {
  text-align: center;
}

.auth-header--center h1 {
  color: var(--primary);
  font-size: 2.15rem;
  font-weight: 900;
}

.auth-link-button--center {
  justify-self: center;
}

.register-page {
  min-height: calc(100vh - 260px);
  padding: 2rem 0 3rem;
}

.container--form {
  width: min(calc(100% - 2rem), 920px);
}

.register-shell {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.08);
}

.register-hero {
  padding: 2.75rem 2.75rem 2.2rem;
  text-align: left;
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.24), transparent 28%),
    linear-gradient(135deg, #cb5824, #ef8d52 58%, #f7b37c 100%);
}

.register-hero__icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 0.8rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
}

.register-body {
  padding: 2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 248, 242, 0.96));
}

.register-section {
  padding: 1.35rem 0 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.register-section + .register-section {
  margin-top: 1.25rem;
}

.register-section:last-of-type {
  border-bottom: none;
}

.register-section h3 {
  margin: 0 0 1rem;
  font-size: 1.02rem;
  font-weight: 800;
  color: #172033;
  letter-spacing: 0.01em;
}

.auth-actions-row--register {
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 0.5rem;
}

.director-stack,
.trade-reference-grid {
  display: grid;
  gap: 1rem;
}

.trade-reference-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.director-card,
.trade-reference-card,
.marketing-card {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  padding: 1.15rem 1.15rem 1.05rem;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.04);
}

.director-card h4,
.trade-reference-card h4 {
  margin: 0;
}

.signature-pad {
  width: 100%;
  height: 180px;
  display: block;
  margin-top: 0.45rem;
  border-radius: 18px;
  border: 1px dashed rgba(255, 122, 77, 0.45);
  background:
    linear-gradient(180deg, rgba(255, 122, 77, 0.04), rgba(255, 122, 77, 0.01)),
    #fff;
  touch-action: none;
}

.textarea--compact {
  min-height: 110px;
}

.marketing-card {
  margin-top: 1rem;
  background: linear-gradient(180deg, #fff8f4, #fffdfb);
}

.marketing-card p,
.marketing-card small {
  color: var(--muted);
}

.radio-option {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-top: 0.75rem;
}

.loading-shell {
  display: grid;
  gap: 1rem;
}

.loading-hero,
.loading-card,
.loading-product {
  border-radius: 16px;
  background: #ececf1;
}

.loading-hero {
  min-height: 320px;
}

.loading-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.loading-card {
  min-height: 120px;
}

.loading-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.loading-product {
  min-height: 320px;
}

.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: storefront-shimmer 1.15s infinite;
}

@keyframes storefront-shimmer {
  100% {
    transform: translateX(100%);
  }
}

@media (max-width: 1080px) {
  .auth-layout,
  .shop-layout--reference,
  .reference-feature-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .product-grid--shop,
  .product-grid--home,
  .category-grid--reference,
  .loading-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .auth-card--reference {
    max-width: none;
    margin: 0 auto;
  }
}

@media (max-width: 860px) {
  .header-actions {
    display: none;
  }

  .brand__mark {
    width: 58px;
    height: 58px;
    font-size: 0.82rem;
  }

  .auth-layout,
  .shop-layout--reference {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .product-grid--shop,
  .product-grid--home,
  .category-grid--reference,
  .loading-grid,
  .reference-feature-row {
    grid-template-columns: 1fr;
  }

  .hero-slide__content--compact h1 {
    font-size: 2.25rem;
  }

  .register-body,
  .auth-card--reference {
    padding: 1rem;
  }

  .hero-banner--reference {
    min-height: 320px;
  }

  .trade-reference-grid {
    grid-template-columns: 1fr;
  }

  .feature-box--aligned {
    grid-template-columns: 1fr;
  }

  .auth-actions-row--register {
    justify-content: stretch;
    flex-direction: column;
  }

  .auth-actions-row--register > * {
    width: 100%;
  }
}
.home-story-card {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.6fr);
  padding: 1.5rem 1.6rem;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(135deg, #fff, var(--surface-tint));
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.home-story-card__meta {
  display: grid;
  gap: 0.45rem;
  align-content: start;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

body[data-home-layout="catalogue"] .product-grid--home {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body[data-home-layout="showcase"] .reference-feature-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body[data-home-layout="showcase"] .feature-box:last-child {
  grid-column: 1 / -1;
}

.faq-page {
  padding-top: 2.2rem;
}

.faq-page__intro {
  text-align: center;
  margin-bottom: 1.5rem;
}

.faq-page__intro h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  color: #2f3138;
}

.faq-page__intro p {
  margin: 0.6rem auto 0;
  max-width: 520px;
  color: var(--muted);
}

.faq-shell {
  display: grid;
  gap: 1rem;
}

.faq-search-wrap {
  display: flex;
  justify-content: center;
}

.faq-search-field {
  max-width: 520px;
  border-radius: 999px;
  padding-left: 1.2rem;
  background: #fff;
}

.faq-category-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.faq-chip {
  border: 1px solid var(--line);
  background: #fff;
  color: #666d78;
  border-radius: 999px;
  padding: 0.62rem 1rem;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.faq-chip:hover,
.faq-chip.is-active {
  background: #fff1eb;
  color: var(--primary-deep);
  border-color: rgba(255, 122, 77, 0.28);
}

.faq-list--clean {
  gap: 0.8rem;
}

.faq-card--reference {
  padding: 1rem 1.15rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 8px 24px rgba(19, 19, 19, 0.04);
}

.faq-card--reference button {
  align-items: center;
}

.faq-card--reference h3 {
  margin: 0.35rem 0 0;
  font-size: 1rem;
  line-height: 1.45;
}

.faq-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
}

.faq-toggle {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  color: #9095a1;
  font-size: 1.25rem;
  line-height: 1;
}

.faq-card--reference .faq-answer {
  padding-top: 0.9rem;
  margin-top: 0.9rem;
  font-size: 0.95rem;
  color: #636977;
}

.faq-support-card {
  text-align: center;
  padding: 1.75rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(19, 19, 19, 0.04);
}

.faq-support-card h3 {
  margin: 0;
  font-size: 1.3rem;
}

.faq-support-card p {
  margin: 0.65rem auto 1rem;
  max-width: 440px;
  color: var(--muted);
}

@media (max-width: 640px) {
  .faq-page {
    padding-top: 1.4rem;
  }

  .faq-card--reference {
    padding: 0.95rem 1rem;
  }

  .faq-card--reference button {
    align-items: flex-start;
  }

  .faq-toggle {
    margin-top: 0.15rem;
  }
}

.future-hero {
  position: relative;
  padding: 2rem 0 0.5rem;
}

.future-hero--full {
  padding-top: 1.2rem;
}

.future-hero__shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(29, 78, 216, 0.1), transparent 28%),
    radial-gradient(circle at bottom left, rgba(255, 122, 77, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 252, 0.94));
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.future-hero__shell--banner {
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
}

.future-hero__eyebrow,
.future-section-head span,
.future-story__copy span,
.register-hero__eyebrow,
.auth-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #667085;
}

.future-hero__copy h1 {
  margin: 0.75rem 0 0;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: #121826;
}

.future-hero__copy p {
  max-width: 640px;
  margin: 1.1rem 0 0;
  font-size: 1rem;
  line-height: 1.8;
  color: #667085;
}

.future-hero__actions,
.future-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.future-hero__meta span {
  display: inline-flex;
  align-items: center;
  padding: 0.62rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.86);
  color: #475467;
  font-size: 0.82rem;
  font-weight: 600;
}

.future-hero__visual {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
}

.future-hero__banner {
  position: relative;
  min-height: clamp(360px, 44vw, 560px);
  border-radius: 26px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.16);
}

.future-hero__banner--full {
  min-height: clamp(420px, 52vw, 680px);
  border-radius: 32px;
}

.future-hero__banner .hero-slide {
  min-height: clamp(360px, 44vw, 560px);
  border-radius: 0;
}

.future-hero__banner--full .hero-slide {
  min-height: clamp(420px, 52vw, 680px);
}

.future-hero__banner .hero-slide__backdrop--feature {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.12), rgba(15, 23, 42, 0.56)),
    linear-gradient(90deg, rgba(15, 23, 42, 0.58), rgba(15, 23, 42, 0.06) 56%);
}

.future-hero__banner .hero-slide__content {
  max-width: 540px;
}

.future-hero__banner--full .hero-slide__content {
  max-width: 620px;
  padding: clamp(2rem, 5vw, 4rem);
}

.future-orbit {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.24);
}

.future-orbit--one {
  inset: 10% 12%;
  animation: futureSpin 18s linear infinite;
}

.future-orbit--two {
  inset: 20% 4%;
  border-style: dashed;
  animation: futureSpinReverse 16s linear infinite;
}

.future-display {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  padding: 1rem;
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(242, 246, 250, 0.92));
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.16);
}

.future-display__bar {
  height: 10px;
  width: 72px;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), rgba(37, 99, 235, 0.72));
}

.future-display__screen {
  padding: 1rem;
  border-radius: 22px;
  background: #0f172a;
}

.future-display__line {
  height: 10px;
  margin-top: 0.7rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.3);
}

.future-display__line--strong {
  width: 64%;
  margin-top: 0;
  background: linear-gradient(90deg, #f8fafc, rgba(59, 130, 246, 0.45));
}

.future-display__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.future-display__grid span {
  min-height: 88px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.9), rgba(59, 130, 246, 0.2));
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.future-display__footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  color: #344054;
  font-size: 0.82rem;
}

.future-signal {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.future-signal > div,
.future-story__stack > div,
.register-intro-card {
  padding: 1.15rem 1.2rem;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.05);
}

.future-signal small,
.future-story__stack small {
  display: block;
  color: #98a2b3;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.future-signal strong,
.future-story__stack strong,
.register-intro-card strong {
  display: block;
  margin-top: 0.5rem;
  color: #101828;
  font-size: 1.05rem;
}

.future-signal p,
.future-story__stack p,
.register-intro-card p {
  margin: 0.6rem 0 0;
  color: #667085;
  line-height: 1.7;
}

.future-section-head,
.future-story {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
}

.future-section-head h2,
.future-story__copy h2 {
  margin: 0.45rem 0 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.future-story {
  align-items: stretch;
  padding: 1.5rem 0 0;
}

.future-story__copy {
  max-width: 620px;
}

.future-story__copy p {
  margin: 1rem 0 0;
  color: #667085;
  line-height: 1.85;
}

.future-story__stack {
  display: grid;
  gap: 1rem;
  min-width: 320px;
}

.loading-stage {
  min-height: calc(100vh - 190px);
  display: grid;
  place-items: center;
  padding: 2rem 0 3rem;
}

.loading-stage .container {
  display: grid;
  justify-items: center;
  gap: 1.5rem;
}

.loading-character {
  position: relative;
  width: 220px;
  height: 220px;
  display: grid;
  place-items: center;
}

.loading-character__orb {
  position: absolute;
  inset: 18px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), transparent 22%),
    linear-gradient(180deg, rgba(255, 122, 77, 0.26), rgba(37, 99, 235, 0.18));
  filter: blur(0.5px);
  animation: loaderPulse 2.4s ease-in-out infinite;
}

.loading-character__body {
  position: relative;
  z-index: 1;
  width: 92px;
  height: 120px;
  display: grid;
  justify-items: center;
  animation: loaderFloat 2s ease-in-out infinite;
}

.loading-character__body::before {
  content: "";
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: linear-gradient(180deg, #0f172a, #334155);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.22);
}

.loading-character__body::after {
  content: "";
  width: 56px;
  height: 76px;
  margin-top: -8px;
  border-radius: 22px 22px 18px 18px;
  background: linear-gradient(180deg, #111827, #1e293b);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.24);
}

.loading-character__body span {
  position: absolute;
  top: 24px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #fff;
}

.loading-character__body span:nth-child(1) {
  left: 28px;
}

.loading-character__body span:nth-child(2) {
  right: 28px;
}

.loading-character__body span:nth-child(3) {
  top: 88px;
  width: 54px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.loading-character__shadow {
  position: absolute;
  bottom: 22px;
  width: 110px;
  height: 22px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  filter: blur(10px);
  animation: loaderShadow 2s ease-in-out infinite;
}

.loading-copy {
  text-align: center;
}

.loading-copy small {
  color: #667085;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
}

.loading-copy h2 {
  margin: 0.65rem 0 0;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #101828;
}

.loading-copy p {
  margin: 0.8rem auto 0;
  max-width: 520px;
  color: #667085;
}

.auth-notice {
  margin: 1rem 0 1.15rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  font-size: 0.92rem;
  font-weight: 600;
}

.auth-notice--success {
  background: rgba(18, 183, 106, 0.1);
  color: #067647;
  border: 1px solid rgba(18, 183, 106, 0.18);
}

.auth-notice--error {
  background: rgba(217, 45, 32, 0.08);
  color: #b42318;
  border: 1px solid rgba(217, 45, 32, 0.16);
}

.auth-helper {
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(243, 247, 250, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.16);
  color: #475467;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.register-shell--future {
  border-radius: 30px;
  overflow: hidden;
}

.register-hero--future {
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.12), transparent 24%),
    linear-gradient(135deg, #111827, #1d4ed8 58%, #ff7a4d 120%);
}

.register-hero__steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.register-hero__steps span {
  padding: 0.58rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  font-weight: 600;
}

.register-page .field,
.register-page .select,
.register-page .textarea {
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
}

.register-page .field:focus,
.register-page .select:focus,
.register-page .textarea:focus {
  border-color: rgba(215, 107, 45, 0.45);
  box-shadow: 0 0 0 4px rgba(215, 107, 45, 0.08);
}

.register-page .field-label {
  margin-bottom: 0.4rem;
  color: #394150;
  font-weight: 700;
}

.register-page .terms-check {
  padding: 0.75rem 0;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.register-page .terms-check:first-of-type {
  border-top: none;
  padding-top: 0.2rem;
}

@keyframes futureSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes futureSpinReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

/* Uniform BizBeez-inspired theme overrides */
:root {
  --bg: #f7f1ea;
  --bg-soft: #fdf8f3;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --text: #1f2937;
  --muted: #667085;
  --muted-soft: #98a2b3;
  --line: rgba(148, 163, 184, 0.2);
  --primary: #d76b2d;
  --primary-deep: #9f3d18;
  --accent: #17494d;
  --accent-soft: rgba(23, 73, 77, 0.1);
  --surface-tint: #fff6ed;
  --shadow-sm: 0 16px 42px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 28px 72px rgba(15, 23, 42, 0.12);
  --radius: 24px;
  --radius-sm: 18px;
  --container: 1220px;
}

body {
  background:
    radial-gradient(circle at top left, rgba(23, 73, 77, 0.1), transparent 35%),
    radial-gradient(circle at top right, rgba(215, 107, 45, 0.14), transparent 28%),
    linear-gradient(180deg, #fffdf9 0%, var(--bg) 100%);
  font-family: "Segoe UI", "Space Grotesk", sans-serif;
}

.page-section,
.page-section--tight,
.shop-page,
.faq-page,
.register-page {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.site-header {
  background: rgba(255, 251, 246, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: 0 6px 30px rgba(15, 23, 42, 0.04);
}

.promo-strip {
  background: linear-gradient(90deg, var(--accent), #2b6568);
}

.brand__mark {
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  box-shadow: 0 16px 40px rgba(159, 61, 24, 0.24);
}

.button,
.ghost-button,
.soft-button,
.nav-chip,
.b2b-add-btn,
.b2b-view-btn,
.shop-pagination__nav,
.shop-pagination__page,
.faq-chip,
.tabs button,
.user-pill,
.logout-link {
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.button,
.b2b-add-btn {
  background: linear-gradient(135deg, var(--primary), #eb9255);
  color: #fff;
  border: none;
  box-shadow: 0 18px 38px rgba(215, 107, 45, 0.2);
}

.ghost-button,
.soft-button,
.logout-link,
.user-pill,
.b2b-view-btn,
.faq-chip,
.tabs button,
.shop-pagination__nav,
.shop-pagination__page {
  border-color: var(--line);
}

.ghost-button {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.72);
}

.soft-button,
.user-pill,
.logout-link,
.nav-chip,
.b2b-view-btn,
.shop-pagination__nav,
.shop-pagination__page,
.faq-chip {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
}

.button:hover,
.ghost-button:hover,
.soft-button:hover,
.nav-chip:hover,
.b2b-add-btn:hover,
.shop-pagination__nav:hover,
.shop-pagination__page:hover,
.faq-chip:hover {
  transform: translateY(-1px);
}

.panel,
.panel--tight,
.summary-card,
.legal-card,
.legal-card--clean,
.content-card,
.empty-state,
.empty-state--card,
.auth-card,
.auth-card--reference,
.b2b-login-card,
.register-shell,
.faq-card,
.product-card--shop,
.b2b-table-wrap,
.account-shell,
.summary-card,
.director-card,
.trade-reference-card,
.marketing-card,
.register-intro-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius);
}

.panel,
.panel--tight,
.summary-card,
.legal-card,
.legal-card--clean,
.empty-state,
.empty-state--card,
.b2b-login-card,
.faq-card {
  padding: 1.3rem;
}

.field,
.select,
.textarea,
.b2b-search-field,
.b2b-filter-select {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--text);
  min-height: 52px;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
}

.textarea {
  min-height: 128px;
}

.field:focus,
.select:focus,
.textarea:focus,
.b2b-search-field:focus,
.b2b-filter-select:focus {
  border-color: rgba(215, 107, 45, 0.45);
  box-shadow: 0 0 0 4px rgba(215, 107, 45, 0.1);
}

.field-label,
.register-page .field-label {
  color: #344054;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.future-hero__banner,
.future-hero__banner--full,
.b2b-login-brand,
.account-hero,
.b2b-welcome,
.b2b-gate,
.b2b-success-card {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.b2b-login-brand,
.account-hero,
.b2b-welcome {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 24%),
    linear-gradient(135deg, var(--accent), #1c3550 58%, var(--primary) 125%);
}

.b2b-login-brand p,
.b2b-login-support,
.b2b-login-support a,
.b2b-welcome__meta,
.b2b-welcome__eyebrow,
.account-hero p {
  color: rgba(245, 247, 250, 0.8);
}

.b2b-gate {
  padding: 1.4rem;
  gap: 1.4rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 249, 243, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.76);
}

.product-card--shop,
.b2b-table-wrap,
.faq-card,
.empty-state,
.summary-card,
.panel--tight {
  overflow: hidden;
}

.b2b-table thead {
  background: linear-gradient(180deg, rgba(23, 73, 77, 0.06), rgba(215, 107, 45, 0.04));
}

.b2b-table th {
  color: #344054;
  font-weight: 800;
}

.b2b-table td {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.tabs {
  gap: 0.4rem;
  padding: 0.35rem;
  border-bottom: none;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  width: fit-content;
  box-shadow: var(--shadow-sm);
}

.tabs button {
  padding: 0.78rem 1rem;
  border-radius: 999px;
}

.tabs button.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #2f6a6d);
}

.tabs button.is-active::after {
  display: none;
}

.stats-row,
.b2b-stats-strip,
.product-grid,
.product-grid--shop,
.faq-list,
.account-grid {
  gap: 1rem;
}

.site-footer {
  margin-top: 2.5rem;
  background: linear-gradient(135deg, #17202b, #17494d);
}

.footer-grid,
.cart-layout,
.b2b-checkout-layout,
.b2b-login-layout,
.account-grid,
.trade-reference-grid,
.form-grid,
.form-grid--two,
.form-grid--three {
  gap: 1.1rem;
}

.faq-page__intro,
.page-intro,
.b2b-cart-head,
.account-hero {
  margin-bottom: 1.25rem;
}

@media (max-width: 720px) {
  .page-section,
  .page-section--tight,
  .shop-page,
  .faq-page,
  .register-page {
    padding-top: 1.35rem;
    padding-bottom: 1.35rem;
  }

  .panel,
  .panel--tight,
  .summary-card,
  .legal-card,
  .legal-card--clean,
  .empty-state,
  .empty-state--card,
  .b2b-login-card,
  .faq-card {
    padding: 1rem;
  }
}

@keyframes loaderFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(0.98); opacity: 0.75; }
  50% { transform: scale(1.04); opacity: 1; }
}

@keyframes loaderShadow {
  0%, 100% { transform: scaleX(1); opacity: 0.18; }
  50% { transform: scaleX(0.84); opacity: 0.1; }
}

@media (max-width: 980px) {
  .future-hero__shell,
  .future-story,
  .future-signal {
    grid-template-columns: 1fr;
  }

  .future-story,
  .future-section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .future-story__stack {
    min-width: 0;
    width: 100%;
  }

  .future-hero__visual {
    min-height: 340px;
  }
}

@media (max-width: 640px) {
  .future-hero__shell {
    padding: 1.2rem;
    border-radius: 24px;
  }

  .future-hero__copy h1 {
    font-size: 2.45rem;
  }

  .future-display {
    max-width: 290px;
  }

  .loading-stage {
    min-height: calc(100vh - 140px);
  }

  .loading-character {
    width: 180px;
    height: 180px;
  }

  .register-hero__steps {
    justify-content: flex-start;
  }
}

.price-uom {
  font-size: 0.82em;
  font-weight: 600;
  color: var(--color-text-soft, #6b7280);
}

.shop-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.shop-pagination__pages {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.shop-pagination__nav,
.shop-pagination__page {
  border: 1px solid rgba(15, 23, 42, 0.09);
  background: #fff;
  color: #1f2937;
  border-radius: 999px;
  min-width: 42px;
  height: 42px;
  padding: 0 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.shop-pagination__nav:hover,
.shop-pagination__page:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 111, 60, 0.35);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.shop-pagination__page.is-active {
  background: linear-gradient(135deg, #ff824d, #ff6f3c);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 16px 30px rgba(255, 111, 60, 0.24);
}

.shop-pagination__nav[disabled],
.shop-pagination__page[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

@media (max-width: 640px) {
  .shop-pagination {
    justify-content: center;
  }
}

/* ============================================================ */
/* B2B ORDERING ENHANCEMENTS                                    */
/* ============================================================ */

/* Top search + filter bar */
.b2b-topbar {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
  padding: 0.9rem 1.1rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.b2b-search-wrap {
  position: relative;
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: center;
}

.b2b-search-icon {
  position: absolute;
  left: 0.85rem;
  width: 1.05rem;
  height: 1.05rem;
  color: var(--muted);
  pointer-events: none;
  flex-shrink: 0;
}

.b2b-search-field {
  width: 100%;
  padding: 0.78rem 2.6rem 0.78rem 2.45rem;
  border: 1.5px solid rgba(148, 163, 184, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-size: 0.93rem;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.b2b-search-field:focus {
  border-color: rgba(215, 107, 45, 0.5);
  box-shadow: 0 0 0 3px rgba(215, 107, 45, 0.1);
}

.b2b-clear-btn {
  position: absolute;
  right: 0.7rem;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.15rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.2rem 0.3rem;
  border-radius: 4px;
}

.b2b-clear-btn:hover { color: var(--danger); background: rgba(180, 35, 24, 0.08); }

.b2b-filter-select {
  padding: 0.72rem 0.9rem;
  border: 1.5px solid rgba(148, 163, 184, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font: inherit;
  font-size: 0.88rem;
  outline: none;
  min-width: 150px;
  cursor: pointer;
}

.b2b-filter-select:focus {
  border-color: rgba(215, 107, 45, 0.5);
  box-shadow: 0 0 0 3px rgba(215, 107, 45, 0.1);
}

.b2b-filter-select:disabled { opacity: 0.5; cursor: not-allowed; }

.b2b-view-btns {
  display: flex;
  gap: 0.2rem;
  padding: 0.2rem;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid rgba(148, 163, 184, 0.18);
  flex-shrink: 0;
}

.b2b-view-btn {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.b2b-view-btn.is-active { background: var(--accent); color: #fff; }

.b2b-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.6rem;
  font-size: 0.855rem;
  color: var(--muted);
}

.b2b-results-location {
  font-weight: 600;
  color: var(--accent);
  font-size: 0.82rem;
}

/* Product / Cart / Orders table */
.b2b-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-sm);
}

.b2b-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.b2b-table thead {
  background: linear-gradient(90deg, rgba(29, 77, 79, 0.06), rgba(215, 107, 45, 0.04));
  border-bottom: 2px solid rgba(148, 163, 184, 0.18);
}

.b2b-table th {
  padding: 0.82rem 0.9rem;
  text-align: left;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  white-space: nowrap;
}

.b2b-sort-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}

.b2b-sort-btn span {
  min-width: 0.85rem;
  color: rgba(29, 77, 79, 0.7);
}

.b2b-sort-btn.is-active {
  color: var(--accent);
}

.b2b-th--img { width: 52px; }
.b2b-th--qty { min-width: 148px; }

.b2b-row {
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  transition: background 0.1s;
}

.b2b-row:last-child { border-bottom: none; }
.b2b-row:hover { background: rgba(215, 107, 45, 0.035); }

.b2b-table td {
  padding: 0.7rem 0.9rem;
  vertical-align: middle;
}

.b2b-td-img { width: 52px; padding: 0.45rem 0.5rem; }

.b2b-thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

.b2b-thumb-fallback {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
  background: linear-gradient(135deg, rgba(29, 77, 79, 0.12), rgba(215, 107, 45, 0.1));
}

.b2b-sku {
  font-family: "Courier New", monospace;
  font-size: 0.78rem;
  color: var(--muted);
  background: rgba(148, 163, 184, 0.12);
  padding: 0.12rem 0.38rem;
  border-radius: 5px;
  white-space: nowrap;
}

.b2b-name {
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 0.15rem;
}

.b2b-desc {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

.b2b-cat {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
}

.b2b-subcat { font-size: 0.76rem; color: var(--muted); }

.b2b-badge {
  display: inline-block;
  padding: 0.14rem 0.42rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.b2b-badge--warn { background: #fff2e8; color: var(--warning); }

.b2b-price {
  font-weight: 800;
  font-size: 0.97rem;
  color: var(--primary-deep);
}

.b2b-uom { font-size: 0.78rem; color: var(--muted); }

.b2b-login-link {
  font-size: 0.8rem;
  color: var(--primary);
  text-decoration: underline;
  font-weight: 600;
}

/* Quantity control */
.b2b-qty-ctrl {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid rgba(148, 163, 184, 0.28);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.b2b-qty-btn {
  width: 1.9rem;
  height: 1.9rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text);
  display: grid;
  place-items: center;
  transition: background 0.13s;
}

.b2b-qty-btn:hover { background: rgba(215, 107, 45, 0.1); color: var(--primary-deep); }

.b2b-qty-inp {
  width: 3.4rem;
  text-align: center;
  border: none;
  border-left: 1px solid rgba(148, 163, 184, 0.2);
  border-right: 1px solid rgba(148, 163, 184, 0.2);
  padding: 0.3rem 0.15rem;
  font-size: 0.88rem;
  font-weight: 600;
  outline: none;
  background: transparent;
  -moz-appearance: textfield;
}

.b2b-qty-inp::-webkit-outer-spin-button,
.b2b-qty-inp::-webkit-inner-spin-button { -webkit-appearance: none; }

/* Add to Cart / Action button */
.b2b-add-btn {
  padding: 0.52rem 0.88rem;
  background: linear-gradient(135deg, var(--primary), #ef9658);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s, transform 0.15s;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.b2b-add-btn:hover { opacity: 0.9; transform: translateY(-1px); }

.b2b-add-btn--ghost {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid rgba(29, 77, 79, 0.25);
}

.b2b-remove-btn {
  width: 1.9rem;
  height: 1.9rem;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 1.1rem;
  cursor: pointer;
  border-radius: 6px;
  display: grid;
  place-items: center;
  transition: background 0.13s, color 0.13s;
}

.b2b-remove-btn:hover { background: #fef2f2; color: var(--danger); }

/* Cart page */
.b2b-cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.b2b-cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.6rem;
  height: 1.6rem;
  padding: 0 0.4rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 999px;
  vertical-align: middle;
  margin-left: 0.35rem;
}

.b2b-cart-wrap {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-sm);
}

.b2b-td-total { text-align: right; white-space: nowrap; }
.b2b-td-remove { text-align: right; padding-right: 0.6rem; }
.b2b-td-total strong { color: var(--primary-deep); font-size: 0.97rem; }

/* Orders table status badges */
.b2b-order-num { font-size: 0.9rem; }
.b2b-order-actions { display: flex; gap: 0.35rem; align-items: center; white-space: nowrap; }
.b2b-status { font-size: 0.72rem; }
.b2b-status--pending { background: #fef3c7; color: #92400e; }
.b2b-status--approved, .b2b-status--confirmed { background: #dbeafe; color: #1e40af; }
.b2b-status--delivered, .b2b-status--completed { background: #d1fae5; color: #065f46; }
.b2b-status--cancelled { background: #fee2e2; color: #991b1b; }
.b2b-status--partdelivered, .b2b-status--invoiced { background: #ede9fe; color: #5b21b6; }
.b2b-payment { background: rgba(148, 163, 184, 0.14); color: var(--muted); font-size: 0.72rem; }

/* Responsive */
@media (max-width: 860px) {
  .b2b-topbar { flex-direction: column; align-items: stretch; }
  .b2b-filter-select { min-width: 100%; }
  .b2b-view-btns { align-self: flex-end; }
  .b2b-table th:nth-child(4),
  .b2b-table td:nth-child(4) { display: none; }
}

@media (max-width: 640px) {
  .b2b-table th:nth-child(2),
  .b2b-table td:nth-child(2) { display: none; }
  .b2b-qty-inp { width: 2.8rem; }
}

/* ============================================================ */
/* B2B HOME DASHBOARD                                           */
/* ============================================================ */

.b2b-dashboard { padding-bottom: 3rem; }

.b2b-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.1rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(29, 77, 79, 0.94), rgba(19, 31, 43, 0.97));
  box-shadow: var(--shadow-lg);
  color: #f0f9f9;
}

.b2b-welcome__left { display: flex; align-items: center; gap: 1rem; }

.b2b-welcome__logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: contain;
  background: rgba(255,255,255,0.12);
  padding: 4px;
  flex-shrink: 0;
}

.b2b-welcome__eyebrow {
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.2rem;
  display: block;
}

.b2b-welcome__name {
  font-size: 1.45rem;
  font-weight: 700;
  margin: 0 0 0.2rem;
  color: #fff;
  line-height: 1.2;
}

.b2b-welcome__name span { color: #7dd3d6; }

.b2b-welcome__meta {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.58);
  margin: 0;
}

.b2b-welcome__actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  align-items: center;
}

.b2b-add-btn--lg {
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  border-radius: 12px;
}

/* Stats strip */
.b2b-stats-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.b2b-stat {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.b2b-stat strong {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.b2b-stat span {
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.b2b-stat--hi strong { color: var(--accent); }
.b2b-stat--muted strong { font-size: 0.95rem; }

/* Category chips */
.b2b-section-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.b2b-section-hd h3 { margin: 0; font-size: 1rem; }
.b2b-section-hd--mt { margin-top: 1.75rem; }
.b2b-link { font-size: 0.85rem; font-weight: 600; color: var(--primary); }
.b2b-link:hover { text-decoration: underline; }

.b2b-cat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.b2b-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem 0.5rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.b2b-cat-chip:hover {
  background: rgba(29, 77, 79, 0.07);
  border-color: rgba(29, 77, 79, 0.3);
  transform: translateY(-1px);
}

.b2b-cat-chip__icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(29,77,79,0.12), rgba(215,107,45,0.1));
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  overflow: hidden;
  flex-shrink: 0;
}

.b2b-cat-chip__icon img { width: 100%; height: 100%; object-fit: cover; }
.b2b-cat-chip__name { font-size: 0.86rem; font-weight: 600; color: var(--text); }

.b2b-cat-chip__count {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.1rem 0.38rem;
  border-radius: 999px;
  background: rgba(29, 77, 79, 0.1);
  color: var(--accent);
}

.b2b-empty-orders {
  padding: 1.5rem;
  text-align: center;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.75);
  border: 1px dashed rgba(148, 163, 184, 0.35);
  color: var(--muted);
}

.b2b-empty-orders a { color: var(--primary); font-weight: 600; }

/* ============================================================ */
/* B2B PORTAL GATE (home, not logged in)                        */
/* ============================================================ */

.b2b-gate-section { background: transparent; }

.b2b-gate {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2rem;
  align-items: start;
  padding: 2.25rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: var(--shadow-lg);
}

.b2b-gate__brand {
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, rgba(29, 77, 79, 0.94), rgba(19, 31, 43, 0.97));
  color: #e8f5f5;
}

.b2b-gate__logo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: contain;
  background: rgba(255,255,255,0.12);
  padding: 6px;
  margin-bottom: 1rem;
  display: block;
}

.b2b-gate__mark {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), #ef9658);
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}

.b2b-gate__brand h2 {
  margin: 0 0 0.6rem;
  font-size: 1.5rem;
  color: #fff;
}

.b2b-gate__brand p {
  color: rgba(232, 245, 245, 0.75);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0 0 1rem;
}

.b2b-gate__contacts {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 1rem;
}

.b2b-gate__contact-item {
  font-size: 0.84rem;
  color: rgba(232, 245, 245, 0.7);
  text-decoration: none;
}

.b2b-gate__contact-item:hover { color: #fff; }

.b2b-gate__hours {
  margin: 0.6rem 0 0;
  font-size: 0.82rem;
  color: rgba(232, 245, 245, 0.6);
}

.b2b-gate__right { padding: 0.5rem 0; }

.b2b-gate__features {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.b2b-gate__feat {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.b2b-gate__feat-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 2.2rem;
  text-align: center;
}

.b2b-gate__feat strong { display: block; margin-bottom: 0.2rem; font-size: 0.95rem; }
.b2b-gate__feat p { margin: 0; color: var(--muted); font-size: 0.84rem; line-height: 1.55; }

.b2b-gate__ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ============================================================ */
/* B2B PORTAL LOGIN                                             */
/* ============================================================ */

.b2b-portal-login { padding: 2rem 0 4rem; }

.b2b-login-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}

.b2b-login-brand {
  padding: 2rem;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(29, 77, 79, 0.95), rgba(19, 31, 43, 0.97));
  color: #e8f5f5;
  box-shadow: var(--shadow-lg);
}

.b2b-login-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: contain;
  background: rgba(255,255,255,0.12);
  padding: 5px;
  margin-bottom: 1rem;
  display: block;
}

.b2b-login-mark {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), #ef9658);
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}

.b2b-login-brand h2 { margin: 0 0 0.6rem; color: #fff; font-size: 1.4rem; }
.b2b-login-brand p { color: rgba(232, 245, 245, 0.72); font-size: 0.88rem; line-height: 1.65; margin: 0 0 1.25rem; }

.b2b-login-features { display: grid; gap: 0.55rem; margin: 1.25rem 0; }

.b2b-login-feat {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.86rem;
  color: rgba(232, 245, 245, 0.82);
}

.b2b-login-feat span:first-child {
  color: #7dd3d6;
  font-weight: 700;
  flex-shrink: 0;
}

.b2b-login-support {
  margin: 1.5rem 0 0;
  font-size: 0.82rem;
  color: rgba(232, 245, 245, 0.55);
}

.b2b-login-support a { color: rgba(232, 245, 245, 0.8); text-decoration: underline; }

.b2b-login-card {
  padding: 2rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 0;
}

.b2b-login-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(29, 77, 79, 0.08);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.85rem;
  width: fit-content;
}

.b2b-login-card h3 { margin: 0 0 0.35rem; font-size: 1.3rem; }
.b2b-login-helper { font-size: 0.82rem; color: var(--muted); margin: 0 0 1.1rem; }
.b2b-login-submit { width: 100%; margin-top: 1rem; padding: 0.95rem; border-radius: 12px; justify-content: center; }

.b2b-login-bottom {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.b2b-login-bottom .auth-link-button { font-size: 0.82rem; }

/* ============================================================ */
/* B2B CHECKOUT                                                 */
/* ============================================================ */

.b2b-page-title {
  font-size: 1.4rem;
  margin: 0 0 1.25rem;
  color: var(--text);
}

.b2b-checkout-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 1.5rem;
  align-items: start;
}

.b2b-checkout-form-col { display: grid; gap: 1rem; }

.b2b-checkout-review-col { position: sticky; top: 7rem; }

.b2b-checkout-review-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 1rem;
}

.b2b-table-wrap--tight .b2b-table th,
.b2b-table-wrap--tight .b2b-table td {
  padding: 0.55rem 0.75rem;
}

.b2b-checkout-totals {
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
  display: grid;
  gap: 0.5rem;
}

.b2b-success-card {
  text-align: center;
  padding: 3rem 2rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.97);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: var(--shadow-lg);
}

.b2b-success-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 999px;
  background: #d1fae5;
  color: #065f46;
  font-size: 1.8rem;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
}

.b2b-success-card h2 { margin: 0 0 0.6rem; }
.b2b-success-card p { color: var(--muted); margin: 0 0 1rem; }
.b2b-success-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

/* ============================================================ */
/* B2B ORDER DRAWER                                             */
/* ============================================================ */

.b2b-drawer { padding: 1.5rem; display: grid; gap: 1rem; align-content: start; }

.b2b-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.b2b-drawer-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.b2b-drawer-head h3 { margin: 0 0 0.2rem; }
.b2b-drawer-date { margin: 0; font-size: 0.84rem; color: var(--muted); }

.b2b-drawer-meta { }

.b2b-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1rem;
}

.b2b-meta-grid div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.b2b-meta-grid span {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.b2b-meta-grid strong { font-size: 0.9rem; }

.b2b-drawer-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  margin-top: 0.5rem;
  border-top: 2px solid rgba(148, 163, 184, 0.15);
  font-weight: 600;
}

/* ============================================================ */
/* RESPONSIVE — new layout breakpoints                          */
/* ============================================================ */

@media (max-width: 1080px) {
  .b2b-checkout-layout { grid-template-columns: 1fr; }
  .b2b-checkout-review-col { position: static; }
  .b2b-login-layout { grid-template-columns: 1fr; }
  .b2b-gate { grid-template-columns: 1fr; }
  .b2b-stats-strip { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .b2b-welcome { flex-direction: column; align-items: flex-start; }
  .b2b-stats-strip { grid-template-columns: repeat(2, 1fr); }
  .b2b-stat--muted { display: none; }
}

@media (max-width: 640px) {
  .b2b-stats-strip { grid-template-columns: 1fr 1fr; }
  .b2b-checkout-layout { grid-template-columns: 1fr; }
}

/* ============================================================ */
/* B2B QUICK ORDER REFINEMENTS                                  */
/* ============================================================ */

.header-quick-search {
  flex: 1 1 320px;
  max-width: 460px;
}

.header-search-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 46px;
  padding: 0.35rem 0.4rem 0.35rem 2.5rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 22px rgba(19, 19, 19, 0.04);
}

.header-search-shell__icon {
  position: absolute;
  left: 0.9rem;
  width: 1rem;
  height: 1rem;
  color: var(--muted);
}

.header-search-shell__input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font: inherit;
  color: var(--text);
  outline: none;
}

.header-search-shell__button {
  border: none;
  border-radius: 10px;
  background: rgba(215, 107, 45, 0.12);
  color: var(--primary-deep);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.55rem 0.85rem;
  cursor: pointer;
  white-space: nowrap;
}

.b2b-ops-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.b2b-home-card {
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: var(--shadow-sm);
}

.b2b-home-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
  color: var(--text);
}

.b2b-home-card p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.55;
}

.b2b-panel-eyebrow {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.b2b-home-search {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: 1rem;
}

.b2b-home-search__input {
  flex: 1;
  min-width: 0;
  padding: 0.85rem 0.95rem;
  border: 1.5px solid rgba(148, 163, 184, 0.25);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  color: var(--text);
  outline: none;
}

.b2b-home-search__input:focus {
  border-color: rgba(215, 107, 45, 0.45);
  box-shadow: 0 0 0 3px rgba(215, 107, 45, 0.08);
}

.b2b-home-shortcuts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.b2b-home-shortcut {
  display: block;
  padding: 0.9rem 0.95rem;
  border-radius: 12px;
  background: rgba(244, 247, 249, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.16);
  text-decoration: none;
}

.b2b-home-shortcut strong,
.b2b-summary-list strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--text);
  font-size: 0.9rem;
}

.b2b-home-shortcut span,
.b2b-summary-list span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.b2b-summary-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.b2b-summary-list div {
  padding: 0.9rem 0.95rem;
  border-radius: 12px;
  background: rgba(244, 247, 249, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.b2b-shop-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1.2rem 1.3rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(29, 77, 79, 0.95), rgba(19, 31, 43, 0.98));
  color: #edf7f7;
  box-shadow: var(--shadow-lg);
}

.b2b-shop-intro h1 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  color: #fff;
}

.b2b-shop-intro p {
  margin: 0;
  max-width: 640px;
  color: rgba(237, 247, 247, 0.74);
}

.b2b-shop-intro__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  min-width: 320px;
}

.b2b-shop-intro__meta div {
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.b2b-shop-intro__meta strong {
  display: block;
  font-size: 1rem;
  color: #fff;
}

.b2b-shop-intro__meta span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(237, 247, 247, 0.62);
}

@media (max-width: 1180px) {
  .header-quick-search {
    order: 3;
    flex-basis: 100%;
    max-width: none;
  }

  .b2b-ops-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .b2b-home-shortcuts,
  .b2b-summary-list,
  .b2b-shop-intro__meta {
    grid-template-columns: 1fr;
  }

  .b2b-shop-intro {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .header-quick-search {
    display: none;
  }

  .b2b-home-search {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ============================================================ */
/* RESPONSIVE ALIGNMENT CLEANUP                                 */
/* ============================================================ */

.topbar > *,
.b2b-ops-grid > *,
.cart-layout > *,
.checkout-grid > *,
.b2b-checkout-layout > *,
.b2b-login-layout > *,
.account-grid > *,
.account-shell > *,
.b2b-gate > *,
.b2b-shop-intro > *,
.footer-grid > * {
  min-width: 0;
}

@media (max-width: 1024px) {
  .container,
  .container--wide,
  .container--narrow {
    width: min(calc(100% - 1.5rem), var(--container));
  }

  .page-section,
  .page-section--tight,
  .shop-page,
  .faq-page,
  .register-page,
  .auth-page,
  .b2b-gate-section,
  .b2b-dashboard {
    padding-top: 1.6rem;
    padding-bottom: 1.6rem;
  }

  .topbar {
    gap: 0.85rem;
  }

  .header-actions {
    gap: 0.55rem;
  }

  .tabs {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    border-radius: 22px;
  }

  .stats-row,
  .detail-grid,
  .b2b-summary-list,
  .b2b-home-shortcuts,
  .b2b-shop-intro__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .toolbar,
  .toolbar--shop,
  .b2b-topbar,
  .b2b-results-bar,
  .b2b-section-hd,
  .account-hero,
  .account-hero--clean,
  .b2b-drawer-head {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .toolbar,
  .toolbar--shop,
  .b2b-topbar {
    gap: 0.75rem;
  }

  .b2b-search-wrap,
  .b2b-filter-select,
  .toolbar .field,
  .toolbar .select {
    width: 100%;
    min-width: 0;
  }

  .b2b-view-btns {
    margin-left: auto;
  }

  .b2b-gate,
  .b2b-login-brand,
  .b2b-login-card,
  .b2b-checkout-review-card,
  .b2b-home-card,
  .b2b-shop-intro,
  .account-hero--clean {
    padding: 1.2rem;
  }

  .b2b-gate {
    gap: 1.25rem;
  }

  .b2b-gate__features,
  .b2b-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .b2b-checkout-review-col {
    position: static;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .container,
  .container--wide,
  .container--narrow {
    width: min(calc(100% - 1.2rem), var(--container));
  }

  .site-header {
    backdrop-filter: blur(14px);
  }

  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.7rem;
    padding: 0.8rem 0;
  }

  .brand {
    gap: 0.7rem;
  }

  .brand__mark {
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 14px;
  }

  .brand__copy strong {
    font-size: 0.98rem;
  }

  .brand__copy small {
    font-size: 0.76rem;
  }

  .mobile-panel {
    padding: 0 0 0.85rem;
  }

  .mobile-panel__card {
    border-radius: 20px;
  }

  .stats-row,
  .b2b-stats-strip,
  .detail-grid,
  .b2b-summary-list,
  .b2b-home-shortcuts,
  .b2b-shop-intro__meta,
  .b2b-gate__features,
  .b2b-meta-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .tabs {
    gap: 0.45rem;
    padding: 0.45rem;
    border-radius: 18px;
  }

  .tabs button {
    flex: 1 1 calc(50% - 0.45rem);
    justify-content: center;
    min-width: 0;
    padding: 0.72rem 0.85rem;
  }

  .account-hero,
  .account-hero--clean,
  .b2b-section-hd,
  .b2b-drawer-head,
  .b2b-cart-head {
    flex-direction: column;
    gap: 0.7rem;
  }

  .b2b-home-search,
  .b2b-gate__ctas,
  .b2b-welcome__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .b2b-home-search .b2b-add-btn,
  .b2b-gate__ctas .button,
  .b2b-gate__ctas .soft-button,
  .b2b-welcome__actions .b2b-add-btn,
  .b2b-welcome__actions .soft-button,
  .checkout-button {
    width: 100%;
    justify-content: center;
  }

  .b2b-shop-intro {
    flex-direction: column;
  }

  .b2b-shop-intro__meta {
    min-width: 0;
    width: 100%;
  }

  .b2b-results-bar {
    flex-direction: column;
    gap: 0.35rem;
  }

  .b2b-view-btns {
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }

  .b2b-order-actions {
    flex-wrap: wrap;
    white-space: normal;
  }

  .b2b-order-actions > * {
    flex: 1 1 140px;
    justify-content: center;
  }

  .b2b-drawer,
  .drawer {
    width: min(100vw - 1rem, 720px);
    max-height: calc(100vh - 1rem);
    padding: 1.1rem;
    border-radius: 22px;
  }

  .b2b-table th,
  .b2b-table td {
    padding: 0.72rem 0.65rem;
  }
}

@media (max-width: 640px) {
  .container,
  .container--wide,
  .container--narrow {
    width: min(calc(100% - 1rem), var(--container));
  }

  .page-section,
  .page-section--tight,
  .shop-page,
  .faq-page,
  .register-page,
  .auth-page,
  .b2b-gate-section,
  .b2b-dashboard {
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
  }

  .topbar {
    gap: 0.6rem;
  }

  .brand__copy small {
    display: none;
  }

  .button,
  .ghost-button,
  .soft-button,
  .nav-chip {
    min-height: 2.7rem;
  }

  .panel,
  .panel--tight,
  .summary-card,
  .legal-card,
  .legal-card--clean,
  .empty-state,
  .empty-state--card,
  .b2b-login-card,
  .b2b-home-card,
  .b2b-checkout-review-card,
  .b2b-gate,
  .b2b-shop-intro,
  .account-hero--clean,
  .b2b-welcome {
    padding: 1rem;
    border-radius: 18px;
  }

  .b2b-welcome__left {
    align-items: flex-start;
  }

  .b2b-welcome__name,
  .b2b-shop-intro h1,
  .account-hero h1,
  .account-hero--clean h1,
  .auth-header h1 {
    font-size: 1.25rem;
  }

  .tabs button {
    flex-basis: 100%;
  }

  .toolbar,
  .toolbar--shop,
  .b2b-topbar {
    padding: 0.85rem;
  }

  .b2b-search-field,
  .b2b-filter-select,
  .b2b-home-search__input,
  .field,
  .select,
  .textarea {
    font-size: 0.92rem;
  }

  .b2b-table {
    font-size: 0.84rem;
  }

  .b2b-qty-ctrl {
    width: 100%;
  }

  .b2b-qty-inp {
    min-width: 3.4rem;
  }

  .b2b-add-btn,
  .b2b-remove-btn,
  .checkout-button,
  .soft-button,
  .button {
    width: 100%;
  }

  .b2b-checkout-totals,
  .summary-card,
  .detail-list,
  .detail-grid,
  .b2b-drawer-total {
    gap: 0.65rem;
  }

  .b2b-drawer,
  .drawer {
    width: min(100vw - 0.6rem, 100%);
    max-height: calc(100vh - 0.6rem);
    padding: 0.9rem;
    border-radius: 18px;
  }

  .footer-grid {
    gap: 1rem;
  }
}
