/* Alexander Kippe Fine Art — Brand System Stylesheet */
/* Palette + typography extracted from rebrand ad campaign (AlexKippeAd1-4of4) */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* Brand palette — from rebrand ads */
  --aubergine: #3A2330;
  --aubergine-deep: #251523;
  --plum: #7A5968;
  --plum-soft: #A68892;
  --gold: #A3762F;
  --gold-light: #C89A4C;
  --gold-soft: #D9BA86;
  --rose-muted: #C9A6A9;
  --cream: #F4EFE7;
  --cream-alt: #EBE4D7;
  --parchment: #FBF8F2;
  --charcoal: #2A2421;
  --charcoal-soft: #4A403A;
  --neutral: #6F645D;
  --line: #E3DACB;
  --line-soft: #EFE7D8;

  /* Semantic */
  --bg: var(--parchment);
  --bg-alt: var(--cream);
  --bg-dark: var(--aubergine);
  --text: var(--charcoal);
  --heading: var(--aubergine-deep);
  --accent: var(--gold);
  --accent-light: var(--gold-light);
  --link: var(--plum);
  --muted: var(--neutral);
  --card: #ffffff;

  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(58, 35, 48, 0.06);
  --shadow: 0 10px 28px rgba(58, 35, 48, 0.10);
  --shadow-lg: 0 18px 50px rgba(58, 35, 48, 0.14);

  --radius: 4px;
  --radius-lg: 8px;

  --serif: 'Cormorant Garamond', 'Baskerville', 'Georgia', serif;
  --display: 'Cinzel', 'Trajan Pro', 'Times New Roman', serif;
  --ui: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.0625rem;
  color: var(--text);
  background: var(--bg);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--link); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }

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

.skip-link {
  position: absolute; left: -9999px; top: auto;
  background: var(--aubergine); color: var(--cream); padding: 8px 16px;
  z-index: 1000; border-radius: var(--radius);
}
.skip-link:focus { left: 16px; top: 16px; }

/* ── Wordmark ── */
.wordmark {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--plum);
  line-height: 1.1;
}
.wordmark--light { color: var(--cream); }
.wordmark-sub {
  display: block;
  font-family: var(--display);
  font-size: 0.68em;
  letter-spacing: 0.4em;
  opacity: 0.8;
  margin-top: 0.3em;
}
.wordmark-loc {
  display: block;
  font-family: var(--display);
  font-size: 0.5em;
  letter-spacing: 0.55em;
  opacity: 0.65;
  margin-top: 0.6em;
}

/* ── Header ── */
header {
  background: var(--parchment);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; height: 84px;
  gap: 24px;
}
.logo {
  display: flex; align-items: center; gap: 14px;
}
.logo-stamp {
  width: 42px; height: 42px; flex-shrink: 0;
}
.logo-text {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--plum);
  line-height: 1.1;
}
.logo-text span {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.4em;
  margin-top: 3px;
  color: var(--plum-soft);
  font-weight: 400;
}

nav { display: flex; align-items: center; gap: 2px; }
nav a {
  font-family: var(--ui);
  color: var(--charcoal-soft); font-size: 0.78rem; font-weight: 400;
  padding: 8px 12px; border-radius: var(--radius);
  letter-spacing: 0.16em; text-transform: uppercase;
  transition: color 0.2s;
}
nav a:hover { color: var(--gold); }
nav a.active { color: var(--gold); }

.nav-cart {
  font-family: var(--ui);
  border: 1px solid var(--plum);
  color: var(--plum) !important;
  padding: 8px 14px !important;
  margin-left: 8px;
}
.nav-cart:hover { background: var(--plum); color: var(--cream) !important; }
.cart-count {
  display: inline-block; background: var(--gold); color: #fff;
  border-radius: 999px; min-width: 20px; height: 20px; padding: 0 6px;
  font-size: 0.68rem; line-height: 20px; margin-left: 6px; font-weight: 600;
}

.menu-toggle {
  display: none; background: none; border: none; color: var(--plum);
  font-size: 1.4rem; cursor: pointer; padding: 8px;
}

/* ── Hero ── */
.hero {
  background: var(--aubergine);
  text-align: center; padding: 120px 24px 100px;
  position: relative; overflow: hidden;
  color: var(--cream);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('/assets/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.55;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(37,21,35,0.35) 0%, rgba(37,21,35,0.75) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.hero .tagline {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 28px;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  letter-spacing: 0.3em;
  color: var(--cream);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hero .hero-sub {
  font-family: var(--display);
  letter-spacing: 0.4em;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 36px;
}
.hero-wax {
  width: 70px; height: 70px; margin: 20px auto 36px;
  display: block;
}

.cta {
  display: inline-block;
  font-family: var(--display);
  padding: 16px 40px;
  background: var(--gold); color: var(--cream);
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  border-radius: var(--radius); border: 1px solid var(--gold);
  cursor: pointer;
  transition: all 0.25s;
}
.cta:hover { background: var(--gold-light); color: #fff; }
.cta--outline {
  background: transparent; color: var(--gold-soft);
  border: 1px solid var(--gold-soft);
}
.cta--outline:hover { background: var(--gold); color: var(--cream); }
.cta--plum { background: var(--plum); border-color: var(--plum); }
.cta--plum:hover { background: var(--aubergine); border-color: var(--aubergine); color: var(--cream); }

/* ── Sections ── */
.section {
  padding: 80px 24px;
  max-width: 1280px; margin: 0 auto;
}
.section--alt { background: var(--cream); max-width: none; }
.section--alt > .section-inner { max-width: 1280px; margin: 0 auto; }
.section--dark {
  background: var(--aubergine); color: var(--cream);
  max-width: none;
}
.section--dark > .section-inner { max-width: 1280px; margin: 0 auto; padding: 80px 24px; }
.section--dark h2, .section--dark h3, .section--dark p { color: var(--cream); }
.section--dark p { color: rgba(244,239,231,0.78); }

.section-header {
  text-align: center; margin-bottom: 56px;
  position: relative;
}
.section-header .eyebrow {
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-header h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  color: var(--heading);
  margin-bottom: 14px;
  letter-spacing: 0;
}
.section--dark .section-header h2 { color: var(--cream); }
.section-header p {
  font-family: var(--serif);
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 640px; margin: 0 auto;
  line-height: 1.6;
}
.section--dark .section-header p { color: rgba(244,239,231,0.72); }
.section-header .wax-divider {
  display: block;
  width: 44px; height: 44px;
  margin: 20px auto 0;
  opacity: 0.8;
}

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--serif); color: var(--heading); line-height: 1.28; }
h1 { font-size: clamp(2rem, 3.4vw, 2.6rem); font-weight: 400; font-style: italic; }
h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); font-weight: 400; font-style: italic; margin-top: 20px; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.28rem); font-weight: 500; }
h4 {
  font-family: var(--display);
  font-size: 0.82rem; font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.26em; color: var(--plum);
}
p { margin-top: 14px; font-size: 1.0625rem; line-height: 1.72; }
p.lead { font-size: 1.22rem; font-weight: 300; font-style: italic; line-height: 1.6; color: var(--charcoal-soft); }

/* ── Grid ── */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* ── Cards ── */
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ── Product Cards ── */
.product-card {
  background: var(--card); border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.product-card a { color: inherit; display: block; }
.product-card .product-img {
  position: relative; overflow: hidden;
  background: var(--cream-alt);
}
.product-card .product-img img {
  width: 100%; height: 320px; object-fit: cover;
  transition: transform 0.6s;
}
.product-card:hover .product-img img { transform: scale(1.04); }
.product-card .product-info {
  padding: 20px 22px 26px;
  text-align: center;
}
.product-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.08rem;
  color: var(--heading);
  margin-bottom: 10px;
  min-height: 3rem;
}
.product-card .price {
  font-family: var(--display);
  color: var(--plum);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  font-weight: 500;
}
.product-card .category-tag {
  display: inline-block;
  font-family: var(--display);
  font-size: 0.64rem;
  color: var(--gold); text-transform: uppercase;
  letter-spacing: 0.32em; margin-bottom: 10px;
}

/* ── Collections grid ── */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 4px;
}
.collection-tile {
  position: relative; overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--aubergine);
}
.collection-tile img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.7; transition: opacity 0.5s, transform 0.6s;
}
.collection-tile:hover img { opacity: 0.4; transform: scale(1.05); }
.collection-tile .tile-text {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--cream); text-align: center; padding: 20px;
}
.collection-tile .tile-text h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--cream);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.collection-tile .tile-text .count {
  font-family: var(--display);
  font-size: 0.64rem; letter-spacing: 0.3em;
  color: var(--gold-soft); margin-top: 8px;
  text-transform: uppercase;
}

/* ── Shop layout ── */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  max-width: 1280px; margin: 0 auto; padding: 60px 24px;
}
.shop-sidebar {
  padding-right: 24px; border-right: 1px solid var(--line);
}
.shop-sidebar h4 {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.facet-list { list-style: none; margin-bottom: 36px; }
.facet-list li { padding: 6px 0; }
.facet-list a {
  font-family: var(--serif);
  font-size: 1.02rem;
  color: var(--charcoal);
  padding: 4px 0;
  display: block;
  transition: color 0.2s, padding-left 0.2s;
}
.facet-list a:hover, .facet-list a.active {
  color: var(--gold);
  padding-left: 8px;
}
.facet-list .count {
  color: var(--muted); font-size: 0.85rem;
  margin-left: 6px;
}

.price-filter .range-slider {
  margin: 16px 0;
}
.price-filter .range-display {
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--plum); margin-top: 12px;
}
.price-filter .range-display strong { color: var(--gold); font-weight: 500; }
.price-filter .filter-btn {
  display: inline-block;
  margin-top: 14px; padding: 10px 26px;
  font-family: var(--display);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  background: var(--plum); color: var(--cream);
  border: none; border-radius: var(--radius); cursor: pointer;
  transition: background 0.2s;
}
.price-filter .filter-btn:hover { background: var(--aubergine); }

.shop-main .results-header {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line);
}
.shop-main .results-count {
  font-family: var(--display);
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ── Product Detail ── */
.pdp {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: start;
  gap: 64px;
  max-width: 1280px; margin: 0 auto;
  padding: 60px 24px;
}
.pdp-gallery {
  background: var(--cream-alt);
  box-shadow: var(--shadow);
  display: flex;
  justify-content: center;
  overflow: hidden;
}
.pdp-gallery img {
  max-width: 100%;
  max-height: 720px;
  width: auto;
  height: auto;
  display: block;
}

/* ── PDP frame overlay ── */
.pdp-frame {
  display: inline-block;
  position: relative;
  line-height: 0;
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}
.pdp-frame img {
  display: block;
  max-width: 100%;
  max-height: 720px;
  width: auto;
  height: auto;
}
/* When a frame is active, the wrapper grows a chunky transparent border that
   border-image fills with the chosen frame's photo. */
.pdp-frame.frame-active {
  padding: 0;
  border-style: solid;
  border-color: transparent;
  border-width: clamp(22px, 4.6vw, 56px);
  border-image-slice: 30% fill;
  border-image-repeat: round;
  background-clip: padding-box;
  box-shadow: 0 18px 36px -16px rgba(37, 21, 35, 0.45);
}
/* When the user picks "No External Frame" (Chromaluxe inner-only), float the
   panel off the back wall with a soft drop shadow — no moulding overlay. */
.pdp-frame.frame-floating {
  padding: 0;
  border: none;
  background: transparent;
  box-shadow:
    0 2px 0 rgba(0,0,0,0.12),
    0 14px 28px -8px rgba(37, 21, 35, 0.32),
    0 28px 60px -22px rgba(37, 21, 35, 0.28);
  outline: 1px solid rgba(108, 113, 120, 0.35);
  outline-offset: -1px;
}
.pdp-frame-caption {
  font-family: var(--display);
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  color: var(--gold);
  text-transform: uppercase;
  text-align: center;
  margin: 14px 0 0;
  min-height: 1em;
}
@media (max-width: 880px) {
  .pdp-frame.frame-active { border-width: clamp(14px, 6vw, 32px); }
}
.pdp-info h1 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 8px;
}
.pdp-info .eyebrow {
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.pdp-info .price-badge {
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: var(--plum);
  margin: 16px 0 28px;
}
.pdp-info .desc {
  font-size: 1.08rem;
  color: var(--charcoal-soft);
  margin-bottom: 36px;
  line-height: 1.7;
}
.pdp-option { margin-bottom: 28px; }
.pdp-option .opt-label {
  font-family: var(--display);
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  color: var(--aubergine);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}
.pdp-option .chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp-option .chip {
  font-family: var(--ui);
  font-size: 0.88rem;
  padding: 10px 18px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--charcoal);
  cursor: pointer;
  border-radius: var(--radius);
  transition: all 0.2s;
}
.pdp-option .chip:hover { border-color: var(--plum); }
.pdp-option .chip.selected {
  background: var(--plum); color: var(--cream); border-color: var(--plum);
}

.frame-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.frame-thumb {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid var(--line);
  cursor: pointer;
  border-radius: var(--radius);
  transition: all 0.2s;
}
.frame-thumb.selected { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(163,118,47,0.15); }
.frame-thumb img { width: 100%; height: 100%; object-fit: cover; }
.frame-thumb .frame-name {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(37,21,35,0.85);
  color: var(--cream);
  font-family: var(--display);
  font-size: 0.54rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px; text-align: center;
}

.frame-preview {
  margin-top: 18px; padding: 18px;
  background: var(--cream);
  border-radius: var(--radius-lg);
  display: none;
}
.frame-preview.active { display: block; }
.frame-preview-label {
  font-family: var(--display);
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.frame-preview-stage {
  position: relative;
  background: var(--cream-alt);
  padding: 14px;
  display: inline-block;
  border: 6px solid transparent;
  background-clip: padding-box;
}
.frame-preview-stage img { max-width: 100%; max-height: 300px; }

.pdp-cta {
  display: flex; gap: 12px; align-items: center; margin-top: 28px;
}
.qty-input {
  width: 72px; padding: 12px; border: 1px solid var(--line);
  font-family: var(--ui); font-size: 1rem;
  border-radius: var(--radius);
  text-align: center;
}

/* ── Feature rows ── */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
  padding: 56px 0;
}
.feature-row--reverse { direction: rtl; }
.feature-row--reverse > * { direction: ltr; }
.feature-img { overflow: hidden; box-shadow: var(--shadow-lg); }
.feature-img img { width: 100%; height: 520px; object-fit: cover; }
.feature-text h2 { margin-top: 0; }
.feature-text .eyebrow {
  font-family: var(--display);
  font-size: 0.76rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* ── Process steps ── */
.process-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px; counter-reset: step;
}
.process-step {
  text-align: center; padding: 24px;
}
.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: inline-block;
  font-family: var(--display);
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-bottom: 14px;
}
.process-step h3 { margin-bottom: 10px; }

/* ── Forms ── */
.lead-form {
  display: flex; flex-direction: column; gap: 18px;
  max-width: 560px;
}
.lead-form label {
  font-family: var(--display);
  font-size: 0.72rem; font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--plum);
  text-transform: uppercase;
}
.lead-form input, .lead-form textarea, .lead-form select {
  width: 100%; padding: 14px 16px; font-size: 1rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--serif); background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lead-form input:focus, .lead-form textarea:focus, .lead-form select:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(163, 118, 47, 0.12);
}
.lead-form textarea { min-height: 140px; resize: vertical; }
.lead-form button {
  padding: 16px 32px;
  font-family: var(--display);
  background: var(--plum);
  color: var(--cream); border: none; border-radius: var(--radius);
  font-size: 0.78rem; font-weight: 500; cursor: pointer;
  letter-spacing: 0.22em; text-transform: uppercase;
  transition: background 0.2s;
}
.lead-form button:hover { background: var(--aubergine); }
.form-msg { padding: 14px 16px; border-radius: var(--radius); font-size: 0.95rem; display: none; margin-top: 10px; }
.form-msg--ok { background: rgba(163,118,47,0.12); color: var(--gold); border: 1px solid var(--gold-soft); }
.form-msg--err { background: #fde8e8; color: #b8242a; border: 1px solid #f5c3c3; }

/* ── Cart ── */
.cart-page { max-width: 1080px; margin: 0 auto; padding: 80px 24px; }
.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 36px; }
.cart-table th {
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--plum);
  text-align: left;
  padding: 16px 12px;
  border-bottom: 1px solid var(--line);
}
.cart-table td {
  padding: 20px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.cart-item-img { width: 96px; height: 96px; object-fit: cover; }
.cart-item-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--heading);
}
.cart-item-meta {
  font-family: var(--display);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 6px;
}
.cart-item-remove {
  font-family: var(--ui);
  font-size: 0.82rem;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0; margin-top: 10px;
}
.cart-item-remove:hover { color: var(--gold); }
.cart-totals { margin-left: auto; max-width: 420px; }
.cart-totals .row {
  display: flex; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px dashed var(--line);
  font-family: var(--serif); font-size: 1rem;
}
.cart-totals .row.total {
  border-top: 2px solid var(--aubergine);
  border-bottom: none;
  margin-top: 10px; padding-top: 16px;
  font-family: var(--display);
  font-size: 0.92rem;
  letter-spacing: 0.22em;
  color: var(--aubergine);
  text-transform: uppercase;
}
.cart-totals .row.total strong { font-weight: 600; color: var(--gold); }
.cart-empty {
  text-align: center; padding: 80px 24px;
}
.cart-empty h2 {
  font-style: italic; margin-bottom: 20px;
}
.cart-item-actions {
  display: flex; gap: 18px; margin-top: 10px;
}
.cart-item-edit {
  font-family: var(--ui);
  font-size: 0.82rem;
  color: var(--plum);
  background: none; border: none; cursor: pointer; padding: 0;
}
.cart-item-edit:hover { color: var(--gold); }
.cart-qty-input {
  width: 64px; padding: 8px 10px;
  border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--serif); font-size: 1rem;
  text-align: center;
}
.cart-keep-shopping {
  display: block; margin-top: 14px; text-align: center;
  font-family: var(--display); font-size: 0.74rem; letter-spacing: 0.22em;
  color: var(--plum); text-transform: uppercase; text-decoration: none;
}
.cart-keep-shopping:hover { color: var(--gold); }

/* ── Recently viewed rail ── */
.recently-viewed {
  margin: 80px auto 40px; max-width: 1280px; padding: 0 24px;
}
.recently-viewed .eyebrow {
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.recent-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
}
.recent-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--cream-alt); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.2s;
}
.recent-card:hover { transform: translateY(-3px); }
.recent-card-img {
  aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream);
}
.recent-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.recent-card-name {
  padding: 12px 14px;
  font-family: var(--serif); font-style: italic; font-size: 0.95rem;
  color: var(--charcoal);
}

/* ── Framing tile: No External Frame variant ── */
.framing-tile--no-frame img {
  background: var(--cream-alt);
  padding: 20px;
}
.frame-info-desc {
  font-family: var(--ui);
  font-size: 0.82rem;
  color: var(--muted);
  padding: 0 14px 14px;
  margin: -6px 0 0;
  line-height: 1.5;
}

/* ── Order Summary (checkout) ── */
.order-summary {
  background: var(--cream); border-radius: var(--radius-lg);
  padding: 28px; margin-bottom: 36px;
}
.order-summary h2 {
  font-family: var(--display); font-size: 0.86rem; letter-spacing: 0.28em;
  color: var(--plum); text-transform: uppercase; margin-bottom: 20px;
}
.order-summary-row {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 18px;
  padding: 14px 0; border-bottom: 1px dashed var(--line);
}
.order-summary-row .osr-name {
  font-family: var(--serif); font-style: italic; font-size: 1.05rem;
}
.order-summary-row .osr-qty {
  font-family: var(--ui); font-style: normal; color: var(--muted); font-size: 0.9rem;
}
.order-summary-row .osr-meta {
  grid-column: 1 / -1;
  font-family: var(--display); font-size: 0.66rem; letter-spacing: 0.2em;
  color: var(--muted); text-transform: uppercase;
}
.order-summary-row .osr-price {
  font-family: var(--serif); font-size: 1rem; color: var(--charcoal);
  align-self: start;
}
.order-summary-totals {
  margin-top: 20px;
}
.order-summary-totals .row {
  display: flex; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px dashed var(--line);
  font-family: var(--serif); font-size: 1rem;
}
.order-summary-totals .row em {
  font-family: var(--ui); font-size: 0.78rem; color: var(--muted); font-style: normal;
}
.order-summary-totals .row.total {
  border-top: 2px solid var(--aubergine); border-bottom: none;
  margin-top: 10px; padding-top: 14px;
  font-family: var(--display); font-size: 0.92rem; letter-spacing: 0.22em;
  color: var(--aubergine); text-transform: uppercase;
}
.order-summary-totals .row.total strong { font-weight: 600; color: var(--gold); }

/* ── Lead form: T&C agreement ── */
.lead-form-check {
  display: flex; align-items: flex-start; gap: 10px;
  font-family: var(--ui); font-size: 0.88rem; color: var(--charcoal-soft);
  line-height: 1.5;
}
.lead-form-check input[type="checkbox"] { margin-top: 4px; flex-shrink: 0; }
.lead-form-check a { color: var(--plum); text-decoration: underline; }

/* ── Trust Bar ── */
.trust-bar {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-item {
  text-align: center; padding: 36px 20px;
  border-right: 1px solid var(--line);
}
.trust-item:last-child { border-right: none; }
.trust-item .stat {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--aubergine);
  line-height: 1.2;
}
.trust-item .label {
  font-family: var(--display);
  font-size: 0.68rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.28em;
  margin-top: 8px;
}

/* ── Ad banner ── */
.ad-banner {
  background: var(--aubergine-deep);
  padding: 0;
  position: relative;
  overflow: hidden;
}
.ad-banner img {
  width: 100%; max-height: 640px; object-fit: cover; object-position: center;
  display: block;
}

/* ── Framing picker ── */
.framing-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.framing-tile {
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
}
.framing-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.framing-tile img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.framing-tile .frame-info {
  padding: 14px 12px;
  font-family: var(--display);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--plum);
}

/* ── CRM signup ── */
.crm-signup {
  background: var(--aubergine);
  color: var(--cream);
  padding: 64px 24px;
  text-align: center;
}
.crm-signup h2 { color: var(--cream); font-style: italic; }
.crm-signup p { color: rgba(244,239,231,0.78); margin: 12px auto 28px; max-width: 520px; }
.crm-inline-form {
  display: flex; gap: 10px; max-width: 560px; margin: 0 auto;
}
.crm-inline-form input {
  flex: 1; padding: 14px 16px; font-family: var(--serif); font-size: 1rem;
  border: 1px solid var(--gold-soft); background: rgba(244,239,231,0.06);
  color: var(--cream); border-radius: var(--radius);
}
.crm-inline-form input::placeholder { color: rgba(244,239,231,0.5); }
.crm-inline-form button {
  padding: 14px 28px;
  font-family: var(--display);
  background: var(--gold); color: var(--cream);
  border: none; border-radius: var(--radius); cursor: pointer;
  font-size: 0.76rem; letter-spacing: 0.22em; text-transform: uppercase;
}
.crm-inline-form button:hover { background: var(--gold-light); }
.crm-inline-form--full {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr auto;
  gap: 10px;
  max-width: 820px;
  margin: 0 auto;
  align-items: stretch;
}
.crm-inline-form--full input { flex: initial; min-width: 0; }
.crm-inline-form--full button { white-space: nowrap; }
.crm-privacy {
  font-family: var(--ui);
  font-size: 0.78rem;
  color: rgba(244,239,231,0.6) !important;
  margin-top: 14px !important;
}

/* ── Footer ── */
footer {
  background: var(--aubergine-deep); color: rgba(244,239,231,0.7);
  padding: 64px 24px 28px;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand .logo-text { color: var(--gold-soft); }
.footer-brand .logo-text span { color: var(--plum-soft); }
.footer-brand p { font-size: 0.95rem; margin-top: 18px; line-height: 1.6; color: rgba(244,239,231,0.6); }
.footer-stamp { width: 72px; height: 72px; margin-top: 24px; opacity: 0.85; }
.footer-links h4 {
  color: var(--gold-soft);
  margin-bottom: 18px;
}
.footer-links a {
  display: block; color: rgba(244,239,231,0.55);
  font-family: var(--serif); font-size: 1rem;
  padding: 5px 0;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom {
  max-width: 1280px; margin: 48px auto 0;
  padding-top: 28px; border-top: 1px solid rgba(244,239,231,0.12);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244,239,231,0.5);
}
.footer-bottom a { color: rgba(244,239,231,0.55); margin-left: 20px; }
.footer-bottom a:hover { color: var(--gold-light); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  nav { display: none; flex-direction: column; position: absolute; top: 84px; left: 0; right: 0; background: var(--parchment); padding: 16px; border-top: 1px solid var(--line); box-shadow: var(--shadow); }
  nav.active { display: flex; }
  nav a { padding: 14px 16px; width: 100%; text-align: center; }
  .menu-toggle { display: block; }
  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-row--reverse { direction: ltr; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { border-right: none; border-bottom: 1px solid var(--line); padding-bottom: 24px; padding-right: 0; margin-bottom: 24px; }
  .pdp { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  .header-inner { padding: 0 16px; height: 72px; }
  .logo-text { font-size: 0.82rem; }
  .logo-text span { font-size: 0.5rem; }
  .hero { padding: 80px 20px; }
  .hero .tagline { font-size: 1.6rem; }
  .hero h1 { font-size: 1.3rem; }
  .section { padding: 48px 16px; }
  .grid, .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .product-card .product-img img { height: 260px; }
  .trust-bar { grid-template-columns: 1fr; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--line); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .crm-inline-form { flex-direction: column; }
  .crm-inline-form--full { grid-template-columns: 1fr; }
  .cart-table { font-size: 0.9rem; }
  .cart-item-img { width: 64px; height: 64px; }
}

/* ── Focus / Accessibility ── */
*:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ── Print ── */
@media print {
  header, footer, .cta, .menu-toggle, .crm-signup { display: none; }
  body { background: #fff; color: #000; }
}

/* ── Utility ── */
.center { text-align: center; }
.mt-lg { margin-top: 48px; }
.mt-md { margin-top: 24px; }
.hidden { display: none !important; }

/* ── Shop-by-price slider ── */
input[type=range].price-range {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px;
  background: var(--line); border-radius: 2px;
  outline: none;
}
input[type=range].price-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold); border: 2px solid var(--cream);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
input[type=range].price-range::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold); border: 2px solid var(--cream);
  cursor: pointer;
}
