:root {
  /* Warm Irish Linen & Boutique Gallery Palette */
  --bg-cream: #f6f1e7;
  --bg-paper: #fffdf9;
  --bg-warm-tint: #efe8da;
  --bg-studio-wood: #26221e;
  --bg-studio-card: #322d27;

  --ink: #221f1b;
  --ink-muted: #524c43;
  --ink-light: #756d62;

  /* Rich, mature Pop-Art & Irish tones (high contrast, easy on the eyes) */
  --accent-terracotta: #c84b31;
  --accent-terracotta-hover: #ad3b23;
  --accent-emerald: #1c6758;
  --accent-emerald-soft: #e6f2ef;
  --accent-amber: #d48c28;
  --accent-amber-soft: #fdf3e1;

  /* Keep compatibility variables mapped to warm tones */
  --neon-pink: #c84b31;
  --neon-emerald: #1c6758;
  --neon-yellow: #f5e6c8;
  --neon-cyan: #2b6cb0;
  --neon-orange: #c84b31;

  --border-subtle: 1px solid #dfd6c7;
  --border-strong: 1.5px solid #cabda8;
  --shadow-soft: 0 8px 24px -6px rgba(34, 31, 27, 0.08), 0 2px 6px -1px rgba(34, 31, 27, 0.04);
  --shadow-hover: 0 16px 36px -8px rgba(34, 31, 27, 0.14), 0 4px 12px -2px rgba(34, 31, 27, 0.06);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 17px;
  overflow-x: clip;
}

body {
  margin: 0;
  background-color: var(--bg-cream);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.7;
  letter-spacing: -0.004em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

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

.container {
  width: min(1220px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Top Studio Welcome Ribbon */
.top-ribbon {
  background: var(--bg-studio-wood);
  color: #f7f3eb;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-ribbon__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.ribbon-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.ribbon-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #52b788;
  flex-shrink: 0;
}

/* Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 253, 249, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: var(--border-subtle);
  box-shadow: 0 2px 12px rgba(34, 31, 27, 0.04);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  gap: 1.5rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--ink);
}

.brand-logo__mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--accent-emerald);
  color: #fff;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
}

.brand-logo__domain {
  background: var(--bg-warm-tint);
  color: var(--accent-emerald);
  padding: 0.14rem 0.5rem;
  border-radius: 6px;
  font-size: 0.88rem;
  font-family: var(--font-sans);
  font-weight: 700;
  margin-left: 0.2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.45rem;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--ink);
}

.nav-links a {
  position: relative;
  padding: 0.35rem 0;
  white-space: nowrap;
  transition: color 0.18s ease;
}

.nav-links a:hover {
  color: var(--accent-terracotta);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent-terracotta);
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

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

.btn.nav-links__mobile-cta,
.nav-links__mobile-cta {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.78rem 1.4rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(34, 31, 27, 0.12);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--accent-terracotta);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-terracotta-hover);
}

.btn--emerald {
  background: var(--accent-emerald);
  color: #fff;
}

.btn--emerald:hover {
  background: #145044;
}

.btn--yellow {
  background: var(--bg-warm-tint);
  color: var(--ink);
  border-color: #cabda8;
}

.btn--dark {
  background: var(--bg-studio-wood);
  color: #fff;
}

.btn--outline {
  background: var(--bg-paper);
  color: var(--ink);
  border-color: #cabda8;
}

.btn--outline:hover {
  border-color: var(--ink);
  background: #fff;
}

.btn--sm {
  padding: 0.55rem 1.05rem;
  font-size: 0.92rem;
}

.cart-pill {
  background: var(--bg-paper);
  border-color: #cabda8;
}

.cart-pill__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: var(--radius-pill);
  background: var(--accent-emerald);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

/* Flash Messages */
.toast-stack {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.toast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.35rem;
  background: var(--bg-paper);
  border: 1.5px solid var(--accent-emerald);
  border-left: 6px solid var(--accent-emerald);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  font-weight: 600;
  font-size: 1rem;
}

.toast--warning,
.toast--error {
  border-color: var(--accent-terracotta);
  border-left-color: var(--accent-terracotta);
}

.toast__close {
  background: transparent;
  border: none;
  font-size: 1.35rem;
  color: var(--ink-muted);
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 3.5rem 0 4.25rem;
  border-bottom: var(--border-subtle);
  background: linear-gradient(180deg, #faf6ee 0%, var(--bg-cream) 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 3.25rem;
  align-items: center;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 0.95rem;
  background: var(--bg-warm-tint);
  color: var(--accent-emerald);
  border: 1px solid #d5c9b4;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.1vw, 3.5rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  font-weight: 700;
  color: var(--ink);
}

.hero__highlight {
  color: var(--accent-terracotta);
  font-style: italic;
}

.hero__highlight-emerald {
  color: var(--accent-emerald);
}

.hero__lead {
  font-size: 1.12rem;
  line-height: 1.72;
  color: var(--ink-muted);
  max-width: 56ch;
  margin: 0 0 2rem;
}

.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: var(--border-subtle);
}

.metric-card {
  background: var(--bg-paper);
  border: var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  box-shadow: var(--shadow-soft);
}

.metric-card__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.22rem;
  color: var(--ink);
  display: block;
  margin-bottom: 0.15rem;
}

.metric-card__label {
  font-size: 0.88rem;
  color: var(--ink-muted);
}

/* Hero Featured Canvas Card */
.hero-showcase {
  position: relative;
}

.hero-canvas-card {
  background: var(--bg-paper);
  border: var(--border-strong);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  box-shadow: var(--shadow-hover);
  position: relative;
}

.hero-canvas-card__sticker {
  position: absolute;
  top: 24px;
  left: 24px;
  background: rgba(255, 253, 249, 0.96);
  color: var(--ink);
  border: 1px solid #d5c9b4;
  padding: 0.38rem 0.85rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.82rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  z-index: 3;
}

.hero-canvas-card__frame {
  display: block;
  position: relative;
  border: 6px solid #2c2620;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 4.5;
  background: #23201c;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.hero-canvas-card__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-canvas-card:hover .hero-canvas-card__frame img {
  transform: scale(1.02);
}

.hero-canvas-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.15rem;
}

.hero-canvas-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0.35rem 0 0.25rem;
}

.hero-canvas-card__specs {
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.hero-canvas-card__price {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--accent-emerald);
  background: var(--accent-emerald-soft);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
}

/* Catalog Section */
.section {
  padding: 4.5rem 0;
}

.section--bordered {
  border-bottom: var(--border-subtle);
}

.section--dark {
  background: var(--bg-studio-wood);
  color: #f7f3eb;
  border-bottom: var(--border-subtle);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 700;
  line-height: 1.18;
  margin: 0;
}

.section-subtitle {
  color: var(--ink-muted);
  font-size: 1.06rem;
  margin: 0.55rem 0 0;
  max-width: 62ch;
}

/* Filter Bar */
.catalog-controls {
  background: var(--bg-paper);
  border: var(--border-strong);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-soft);
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.52rem 1.1rem;
  border: 1.5px solid #d5c9b4;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--bg-cream);
  color: var(--ink);
  transition: all 0.18s ease;
}

.category-pill:hover {
  border-color: var(--ink);
  background: #fff;
}

.category-pill.is-active {
  background: var(--accent-emerald);
  border-color: var(--accent-emerald);
  color: #fff;
}

.category-pill__swatch {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}

.filter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: var(--border-subtle);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.filter-input,
.filter-select {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.6rem 0.95rem;
  border: 1.5px solid #cabda8;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
}

/* Catalog Grid & Cards */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr));
  gap: 2rem;
}

.hero__grid > *,
.detail-grid > *,
.split-card > *,
.cart-layout > *,
.catalog-grid > *,
.error-card > *,
.footer-grid > * {
  min-width: 0;
}

.art-card {
  background: var(--bg-paper);
  border: var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  position: relative;
}

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

.art-card__media {
  display: block;
  position: relative;
  aspect-ratio: 4 / 4.5;
  background: #eae2d3;
  padding: 14px;
  border-bottom: var(--border-subtle);
  overflow: hidden;
}

.art-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 4px solid #2b2621;
  border-radius: 4px;
  box-shadow: 0 6px 16px rgba(34, 31, 27, 0.16);
  transition: transform 0.4s ease;
}

.art-card:hover .art-card__media img {
  transform: scale(1.015);
}

.art-card__badges {
  position: absolute;
  top: 24px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  pointer-events: none;
  z-index: 2;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.78rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(255, 253, 249, 0.96);
  color: var(--ink);
  border: 1px solid rgba(34, 31, 27, 0.18);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.badge--available {
  background: #e6f4ee;
  color: #135346;
  border-color: #a3d9c9;
}

.badge--reserved {
  background: #fef3c7;
  color: #92400e;
  border-color: #f6ad55;
}

.badge--sold {
  background: #37322d;
  color: #fff;
}

.art-card__palette {
  position: absolute;
  bottom: 24px;
  right: 24px;
  display: flex;
  gap: 5px;
  background: rgba(255, 253, 249, 0.94);
  padding: 5px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(34, 31, 27, 0.2);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.palette-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.25);
}

.art-card__body {
  padding: 1.4rem 1.5rem 1.55rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.art-card__meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 0.45rem;
}

.art-card__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 0.45rem;
  line-height: 1.25;
  color: var(--ink);
}

.art-card__subtitle {
  font-size: 0.98rem;
  line-height: 1.58;
  color: var(--ink-muted);
  margin: 0 0 1.15rem;
  flex: 1;
}

.art-card__specs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.spec-chip {
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--bg-cream);
  color: var(--ink);
  border: 1px solid #d8cebe;
  border-radius: 6px;
  padding: 0.28rem 0.65rem;
}

.art-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1.1rem;
  border-top: var(--border-subtle);
}

.art-card__price {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ink);
}

.art-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Process / About Studio Section */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.5rem;
  margin-top: 2.25rem;
}

.process-card {
  background: var(--bg-studio-card);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  position: relative;
}

.process-card__step {
  font-size: 0.85rem;
  font-weight: 700;
  color: #f3c677;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  display: block;
}

.process-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #fff;
  margin: 0 0 0.65rem;
}

.process-card__desc {
  color: rgba(247, 243, 235, 0.88);
  font-size: 0.98rem;
  line-height: 1.65;
  margin: 0;
}

/* Artwork Detail Page */
.detail-section {
  padding: 3rem 0 4.5rem;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.94rem;
  color: var(--ink-muted);
  margin-bottom: 1.75rem;
}

.breadcrumb a:hover {
  color: var(--accent-terracotta);
  text-decoration: underline;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: start;
}

.gallery-stage {
  background: var(--bg-paper);
  border: var(--border-strong);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.gallery-stage__viewport {
  position: relative;
  border: 6px solid #2b2621;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 4.5;
  background: #23201c;
}

.gallery-stage__viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Room Mockup Overlay View */
.room-visualizer {
  display: none;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #ede6da 0%, #ded4c4 74%, #9c8974 74%, #82705c 100%);
  position: relative;
  place-items: center;
  padding: 2rem;
}

.room-visualizer.is-active {
  display: grid;
}

.room-visualizer__canvas {
  width: 54%;
  max-width: 310px;
  border: 5px solid #23201c;
  box-shadow: 0 18px 32px rgba(34, 31, 27, 0.32);
  transform: translateY(-16px);
}

.room-visualizer__scale-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(35, 32, 28, 0.9);
  color: #fff;
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.gallery-tabs {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.1rem;
  flex-wrap: wrap;
}

.gallery-tab {
  flex: 1;
  padding: 0.68rem 0.95rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1.5px solid #cabda8;
  border-radius: var(--radius-sm);
  background: var(--bg-cream);
  color: var(--ink);
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}

.gallery-tab.is-active {
  background: var(--accent-emerald);
  border-color: var(--accent-emerald);
  color: #fff;
}

.detail-panel {
  background: var(--bg-paper);
  border: var(--border-strong);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-soft);
}

.detail-panel__title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2.8vw, 2.45rem);
  font-weight: 700;
  margin: 0.65rem 0 0.45rem;
  line-height: 1.18;
}

.detail-panel__subtitle {
  font-size: 1.08rem;
  color: var(--ink-muted);
  margin: 0 0 1.5rem;
}

.detail-price-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.35rem;
  background: var(--bg-cream);
  border: var(--border-subtle);
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
}

.detail-price-box__amount {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--ink);
}

.detail-price-box__note {
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.detail-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-bottom: 1.75rem;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.98rem;
}

.specs-table tr {
  border-bottom: var(--border-subtle);
}

.specs-table th {
  text-align: left;
  padding: 0.75rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-muted);
  width: 38%;
}

.specs-table td {
  padding: 0.75rem 0;
  font-weight: 600;
  color: var(--ink);
}

/* Commission & Checkout Forms */
.split-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.75rem;
  background: var(--bg-paper);
  border: var(--border-strong);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.78rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  border: 1.5px solid #cabda8;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-emerald);
  box-shadow: 0 0 0 3px rgba(28, 103, 88, 0.15);
}

/* FAQ & Shipping Cards */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.faq-card {
  background: var(--bg-paper);
  border: var(--border-strong);
  border-radius: var(--radius-md);
  padding: 1.65rem;
  box-shadow: var(--shadow-soft);
}

.faq-card h3 {
  font-family: var(--font-display);
  margin: 0 0 0.6rem;
  font-size: 1.22rem;
  color: var(--ink);
}

.faq-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* Cart & Checkout Layouts */
.cart-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 2.25rem;
  align-items: start;
}

.cart-item {
  display: grid;
  grid-template-columns: 115px 1fr auto;
  gap: 1.35rem;
  align-items: center;
  background: var(--bg-paper);
  border: var(--border-strong);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  box-shadow: var(--shadow-soft);
  margin-bottom: 1rem;
}

.cart-item__thumb {
  width: 115px;
  height: 130px;
  border: 3px solid #2b2621;
  border-radius: 6px;
  overflow: hidden;
}

.cart-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.summary-box {
  background: var(--bg-paper);
  border: var(--border-strong);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 100px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.7rem 0;
  border-bottom: var(--border-subtle);
  font-size: 1rem;
}

.summary-row--total {
  border-bottom: none;
  padding-top: 1.1rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
}

.payment-option-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.1rem 1.25rem;
  border: 1.5px solid #cabda8;
  border-radius: var(--radius-sm);
  background: var(--bg-cream);
  margin-bottom: 0.85rem;
  cursor: pointer;
}

.payment-option-card:has(input:checked) {
  background: #fff;
  border-color: var(--accent-emerald);
  box-shadow: 0 0 0 2px rgba(28, 103, 88, 0.15);
}

/* Footer */
.site-footer {
  background: var(--bg-studio-wood);
  color: #f7f3eb;
  padding: 4rem 0 2.75rem;
  border-top: var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.98rem;
}

.footer-links a {
  color: rgba(247, 243, 235, 0.84);
}

.footer-links a:hover {
  color: #f3c677;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: rgba(247, 243, 235, 0.72);
}

.footer-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-sep {
  color: rgba(247, 243, 235, 0.4);
  user-select: none;
}

.footer-bottom a {
  transition: color 0.15s ease;
}

.footer-bottom a:hover {
  color: #f3c677;
  text-decoration: underline;
}

.footer-link {
  color: rgba(247, 243, 235, 0.94);
  font-weight: 600;
}

/* Studio Error Pages (400, 403, 404, 500) */
.error-section {
  padding: 4rem 0 4.5rem;
}

.error-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  background: var(--bg-paper);
  border: var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: var(--shadow-soft);
}

.error-code-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 1rem;
  background: var(--bg-warm-tint);
  color: var(--accent-terracotta);
  border: 1px solid #d5c9b4;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.error-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  line-height: 1.18;
  margin: 0 0 1rem;
  color: var(--ink);
}

.error-lead {
  font-size: 1.08rem;
  line-height: 1.72;
  color: var(--ink-muted);
  margin: 0 0 1.75rem;
  max-width: 54ch;
}

.error-search {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
  max-width: 500px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.error-easel {
  background: var(--bg-cream);
  border: var(--border-strong);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  text-align: center;
}

.error-easel__frame {
  background: #fdfbf6;
  border: 6px solid #2c2620;
  border-radius: 6px;
  padding: 2.25rem 1.5rem;
  box-shadow: inset 0 0 0 10px #efe8da, 0 10px 24px rgba(34, 31, 27, 0.12);
  position: relative;
}

.error-easel__number {
  font-family: var(--font-display);
  font-size: 4.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent-terracotta);
  margin-bottom: 0.5rem;
}

.error-easel__caption {
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--ink);
  margin: 0 0 0.35rem;
}

.error-easel__sub {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin: 0;
}

/* Order Tracking Stepper & Email Banner */
.email-confirm-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  background: var(--accent-emerald-soft);
  border: 1.5px solid #9ad0c2;
  border-radius: var(--radius-md);
  margin-bottom: 1.75rem;
}

.tracking-stepper {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.5rem 0 2rem;
}

.tracking-step {
  background: var(--bg-cream);
  border: 1.5px solid #dfd6c7;
  border-radius: var(--radius-md);
  padding: 1.15rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: relative;
}

.tracking-step--completed {
  background: #f2f9f6;
  border-color: #9ad0c2;
}

.tracking-step--current {
  background: #fff;
  border: 2px solid var(--accent-terracotta);
  box-shadow: var(--shadow-soft);
}

.tracking-step__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.9rem;
  background: #e5dccd;
  color: var(--ink-muted);
  margin-bottom: 0.25rem;
}

.tracking-step--completed .tracking-step__badge {
  background: var(--accent-emerald);
  color: #fff;
}

.tracking-step--current .tracking-step__badge {
  background: var(--accent-terracotta);
  color: #fff;
}

.tracking-step__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.tracking-step__desc {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink-muted);
  margin: 0;
}

/* Legal & Policy Pages (Terms of Use / Privacy) */
.legal-card {
  background: var(--bg-paper);
  border: var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: var(--shadow-soft);
}

.legal-section {
  padding: 1.65rem 0;
  border-bottom: var(--border-subtle);
}

.legal-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.legal-section h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--ink);
  margin: 0 0 0.65rem;
}

.legal-section p,
.legal-section li {
  color: var(--ink-muted);
  font-size: 1.02rem;
  line-height: 1.72;
}

.legal-section ul {
  margin: 0.5rem 0 0;
  padding-left: 1.35rem;
}

@media (max-width: 960px) {
  .hero__grid,
  .detail-grid,
  .split-card,
  .cart-layout,
  .footer-grid,
  .error-card,
  .tracking-stepper {
    grid-template-columns: 1fr;
  }

  .nav-bar {
    height: 70px;
    gap: 0.75rem;
    position: relative;
  }

  .btn.nav-actions__cta,
  .nav-actions__cta {
    display: none;
  }

  .btn.mobile-menu-toggle,
  .mobile-menu-toggle {
    display: inline-flex;
    padding: 0.5rem 0.85rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: -1.25rem;
    right: -1.25rem;
    background: var(--bg-paper);
    border-bottom: var(--border-strong);
    box-shadow: var(--shadow-hover);
    padding: 1rem 1.25rem 1.35rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    z-index: 100;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 0.5rem;
    border-bottom: var(--border-subtle);
    font-size: 1.05rem;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links .btn.nav-links__mobile-cta,
  .nav-links .nav-links__mobile-cta {
    display: inline-flex;
    margin-top: 0.65rem;
    padding: 0.8rem 1rem;
    border-bottom: none;
    color: #fff;
    text-align: center;
    justify-content: center;
  }

  .summary-box {
    position: static;
  }
}

@media (max-width: 640px) {
  html {
    font-size: 16px;
  }

  .container {
    width: calc(100% - 1.5rem);
  }

  .nav-links {
    left: -0.75rem;
    right: -0.75rem;
  }

  .hide-xs {
    display: none;
  }

  .top-ribbon {
    font-size: 0.78rem;
    padding: 0.45rem 0;
  }

  .top-ribbon__inner {
    justify-content: center;
    text-align: center;
  }

  .top-ribbon .ribbon-tag:nth-child(2) {
    display: none;
  }

  .brand-logo {
    font-size: 1.12rem;
    gap: 0.4rem;
  }

  .brand-logo__mark {
    width: 32px;
    height: 32px;
    font-size: 0.88rem;
    border-radius: 8px;
  }

  .brand-logo__domain {
    font-size: 0.74rem;
    padding: 0.08rem 0.34rem;
    margin-left: 0.1rem;
  }

  .nav-actions {
    gap: 0.4rem;
  }

  .btn--sm,
  .mobile-menu-toggle {
    padding: 0.42rem 0.65rem;
    font-size: 0.82rem;
  }

  .cart-pill__badge {
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    font-size: 0.75rem;
  }

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

  .hero__grid {
    gap: 2rem;
  }

  .eyebrow-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    white-space: normal;
    line-height: 1.35;
  }

  .hero__title {
    font-size: 2.05rem;
    line-height: 1.15;
  }

  .hero__lead {
    font-size: 1.02rem;
    margin-bottom: 1.5rem;
  }

  .hero__cta-group {
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
  }

  .hero__cta-group .btn {
    width: 100%;
  }

  .hero-canvas-card,
  .catalog-controls,
  .detail-panel,
  .gallery-stage,
  .split-card,
  .legal-card,
  .error-card,
  .summary-box,
  .faq-card {
    padding: 1.15rem;
  }

  .hero-canvas-card__sticker {
    top: 18px;
    left: 18px;
    font-size: 0.76rem;
    padding: 0.3rem 0.68rem;
  }

  .hero-canvas-card__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .hero-canvas-card__price {
    font-size: 1.3rem;
  }

  .section,
  .detail-section,
  .error-section {
    padding: 2.75rem 0;
  }

  .section-header {
    margin-bottom: 1.5rem;
    gap: 0.75rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .category-pills {
    gap: 0.45rem;
  }

  .category-pill {
    padding: 0.42rem 0.82rem;
    font-size: 0.85rem;
  }

  .filter-form,
  .filter-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .filter-input,
  .filter-select,
  .filter-group .btn {
    width: 100%;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .art-card__media {
    padding: 10px;
  }

  .art-card__badges {
    top: 18px;
    left: 18px;
    right: 18px;
    flex-wrap: wrap;
  }

  .badge {
    font-size: 0.74rem;
    padding: 0.25rem 0.6rem;
  }

  .art-card__body {
    padding: 1.15rem;
  }

  .art-card__footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .art-card__actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .art-card__actions form,
  .art-card__actions .btn {
    width: 100%;
  }

  .gallery-tabs {
    flex-direction: column;
    gap: 0.5rem;
  }

  .gallery-tab {
    width: 100%;
  }

  .detail-price-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .detail-price-box > div:last-child {
    text-align: left !important;
  }

  .form-grid,
  .detail-cta-row,
  .hero__metrics {
    grid-template-columns: 1fr;
  }

  .specs-table th,
  .specs-table td {
    display: block;
    width: 100%;
    padding: 0.35rem 0;
  }

  .specs-table th {
    padding-top: 0.65rem;
    font-size: 0.82rem;
  }

  .specs-table td {
    padding-bottom: 0.65rem;
  }

  .cart-item {
    grid-template-columns: 80px 1fr;
    gap: 0.9rem;
  }

  .cart-item__thumb {
    width: 80px;
    height: 92px;
  }

  .cart-item > div:last-child {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.65rem;
    border-top: var(--border-subtle);
    text-align: left !important;
  }

  .cart-item > div:last-child > div {
    margin-bottom: 0 !important;
  }

  .email-confirm-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .email-confirm-banner form,
  .email-confirm-banner .btn {
    width: 100%;
  }

  .error-search,
  .error-actions {
    flex-direction: column;
  }

  .error-actions .btn {
    width: 100%;
  }
}
