/*
 * Five storefront themes, selected per shop via shops.theme_key → body.theme-<key>.
 * Each changes colour, shape, typography and surfaces, not just the accent.
 */

/* Classic — warm paper, serif headings, soft corners. */
.theme-classic {
  --bg: #f7f5f0; --surface: #ffffff; --text: #22201c; --muted: #6b655c; --border: #e6e1d6;
  --primary: #2f5d50; --primary-text: #ffffff; --accent: #c8862a; --accent-text: #ffffff; --price: #2f5d50;
  --heading-font: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --radius: 10px; --btn-radius: 6px;
  --header-bg: #ffffff;
  --hero-bg: linear-gradient(180deg, #ffffff, #f1ece1);
  --shadow: 0 1px 2px rgb(60 50 30 / .06);
  --shadow-hover: 0 10px 24px rgb(60 50 30 / .12);
}

/* Ocean — cool blues, pill buttons, airy rounded cards, gradient header. */
.theme-ocean {
  --bg: #eef5fb; --surface: #ffffff; --text: #0f2638; --muted: #4c6478; --border: #d3e2ee;
  --primary: #1667a8; --primary-text: #ffffff; --accent: #0fa3a0; --accent-text: #ffffff; --price: #1667a8;
  --radius: 18px; --btn-radius: 999px;
  --header-bg: linear-gradient(90deg, #0f4c81, #1590b8); --header-text: #ffffff;
  --hero-bg: radial-gradient(circle at 20% 0%, #d7ecfb, transparent 60%), linear-gradient(135deg, #e6f3fc, #d8f1ef);
  --card-border: 1px solid transparent;
  --shadow: 0 4px 14px rgb(15 76 129 / .08);
  --shadow-hover: 0 14px 32px rgb(15 76 129 / .18);
}

/* Forest — earthy greens, square-ish outlined cards, uppercase section titles. */
.theme-forest {
  --bg: #f1f4ec; --surface: #fbfcf8; --text: #1c2a19; --muted: #56634f; --border: #c9d4bb;
  --primary: #3c6a27; --primary-text: #ffffff; --accent: #a5682a; --accent-text: #ffffff; --price: #6b4316;
  --heading-font: "Trebuchet MS", "Segoe UI", sans-serif;
  --heading-transform: uppercase; --heading-spacing: .04em;
  --radius: 4px; --btn-radius: 3px;
  --header-bg: #24391b; --header-text: #eef3e6;
  --hero-bg: repeating-linear-gradient(135deg, #e7eedc 0 14px, #edf2e4 14px 28px);
  --card-border: 2px solid var(--border);
  --shadow: none;
  --shadow-hover: 0 0 0 2px #3c6a27;
}

/* Sunset — warm coral-to-gold gradients, bold rounded shapes. */
.theme-sunset {
  --bg: #fff6f0; --surface: #ffffff; --text: #33201a; --muted: #7a5a4e; --border: #f2d9ca;
  --primary: #d2482b; --primary-text: #ffffff; --accent: #e6a619; --accent-text: #2b1a00; --price: #d2482b;
  --heading-weight: 800;
  --radius: 22px; --btn-radius: 14px;
  --header-bg: #ffffff;
  --hero-bg: linear-gradient(120deg, #ff7a59, #ffb347 55%, #ffd56b); --hero-text: #2b1205;
  --card-border: 1px solid #f7e3d7;
  --shadow: 0 6px 18px rgb(210 72 43 / .10);
  --shadow-hover: 0 16px 34px rgb(210 72 43 / .22);
}

/* Noir — dark, gold accents, sharp corners, spaced headings. */
.theme-noir {
  --bg: #111317; --surface: #1b1e24; --text: #eceff3; --muted: #a1a8b3; --border: #2e333b;
  --primary: #e0b354; --primary-text: #16181b; --accent: #e0b354; --accent-text: #16181b; --price: #e0b354;
  --heading-font: "Didot", "Bodoni MT", Georgia, serif; --heading-spacing: .06em;
  --radius: 2px; --btn-radius: 0;
  --header-bg: #0b0c0f;
  --hero-bg: linear-gradient(160deg, #1b1e24, #0b0c0f);
  --card-border: 1px solid #2e333b;
  --shadow: none;
  --shadow-hover: 0 0 0 1px #e0b354;
  color-scheme: dark;
}
.theme-noir .placeholder { background: linear-gradient(135deg, #1b1e24, #2e333b); }
.theme-noir .lightbox::backdrop { background: rgb(0 0 0 / .85); }
.theme-forest .btn-primary, .theme-noir .btn-primary { text-transform: uppercase; letter-spacing: .05em; font-size: .9em; }
.theme-sunset .btn-primary { background: linear-gradient(120deg, #d2482b, #ef7b2c); border-color: transparent; }
.theme-ocean .search-hero input, .theme-sunset .search-hero input { border-radius: 999px; }
