/* ─── MARKET THEME — general retail, multi-category ─── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

body.theme-market {
  /* ── Typography ──────────────────────────────────────────────────────── */
  --font-family: 'Inter', system-ui, sans-serif;
  --font-heading: 'Inter', system-ui, sans-serif;
  --font-sans: var(--font-family);

  /* ── Brand — clean blue ──────────────────────────────────────────────── */
  --color-primary: #1d4ed8;
  --color-primary-hover: #1e40af;
  --color-accent: #0ea5e9;
  --color-on-primary: #ffffff;

  /* ── Surfaces ────────────────────────────────────────────────────────── */
  --color-bg: #ffffff;
  --color-surface: #f8fafc;
  --color-surface-elevated: #ffffff;

  /* ── Text ────────────────────────────────────────────────────────────── */
  --color-text: #0f172a;
  --color-muted: #64748b;
  --color-border: #e2e8f0;

  /* ── Geometry — standard ─────────────────────────────────────────────── */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-xl: 14px;
  --radius-full: 9999px;
  --radius-pill: 999px;
  --border-radius: var(--radius-md);

  /* ── Shadows ─────────────────────────────────────────────────────────── */
  --shadow-header: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-pcard: 0 1px 3px rgba(0, 0, 0, 0.07);
  --shadow-pcard-hover: 0 4px 16px rgba(0, 0, 0, 0.10);
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 6px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-toast: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-drawer: -8px 0 32px rgba(15, 23, 42, 0.12);
  --shadow-offcanvas: -8px 0 32px rgba(15, 23, 42, 0.10);
  --shadow-bottom-bar: 0 -2px 10px rgba(15, 23, 42, 0.06);

  /* ── Header — clean white ────────────────────────────────────────────── */
  --color-header-bg: #ffffff;
  --color-header-text: #0f172a;
  --color-header-icon: #1d4ed8;
  --color-header-icon-hover-bg: #f1f5f9;
  --color-header-logo: #0f172a;
  --color-header-nav: #374151;
  --color-header-nav-hover: #1d4ed8;
  --color-header-nav-active: #1d4ed8;
  --color-header-border: #e2e8f0;
  --color-header-search-bg: #f1f5f9;
  --color-header-search-text: #0f172a;
  --color-header-search-border: #e2e8f0;
  --color-header-search-placeholder: #64748b;

  /* ── Navigation ──────────────────────────────────────────────────────── */
  --nav-text-transform: none;
  --nav-letter-spacing: 0em;
  --nav-font-weight: 500;
  --nav-font-size: 0.9rem;

  /* ── Footer ──────────────────────────────────────────────────────────── */
  --color-footer-bg: #0f172a;
  --color-footer-text: rgba(248, 250, 252, 0.65);
  --color-footer-heading: #f8fafc;
  --color-footer-border: rgba(255, 255, 255, 0.08);
  --color-footer-link: rgba(248, 250, 252, 0.55);
  --color-footer-link-hover: #0ea5e9;
  --color-footer-logo: #f8fafc;

  /* ── Section headings — balanced ─────────────────────────────────────── */
  --section-head-direction: row;
  --section-head-align: flex-end;
  --section-head-justify: space-between;
  --section-title-font: var(--font-heading);
  --section-title-size: 1.5rem;
  --section-title-weight: 600;
  --section-title-transform: none;
  --section-title-spacing: 0em;
  --section-title-color: var(--color-text);
  --section-subtitle-color: var(--color-muted);

  /* ── Product cards — dense, bordered ────────────────────────────────── */
  --pcard-radius: 6px;
  --pcard-bg: var(--color-surface);
  --pcard-border-color: #e2e8f0;
  --pcard-shadow: none;
  --pcard-shadow-hover: 0 4px 14px rgba(0, 0, 0, 0.09);
  --pcard-hover-shadow: var(--pcard-shadow-hover);
  --pcard-aspect-ratio: 1 / 1;
  --pcard-gallery-bg: #f8fafc;
  --pcard-title-font: var(--font-family);
  --pcard-title-weight: 500;
  --pcard-title-size: 0.9rem;
  --pcard-price-color: #1d4ed8;
  --pcard-btn-radius: 5px;
  --pcard-btn-transform: none;
  --pcard-btn-spacing: 0em;
  --pcard-btn-size: 0.85rem;

  /* ── Buttons — standard ──────────────────────────────────────────────── */
  --btn-radius: 6px;
  --btn-font-weight: 600;
  --btn-text-transform: none;
  --btn-letter-spacing: 0em;
  --btn-font-size: 0.9rem;
  --btn-padding-x: 1.4rem;
  --btn-padding-y: 0.65rem;

  /* ── Inputs ──────────────────────────────────────────────────────────── */
  --input-radius: 5px;

  /* ── Badges ──────────────────────────────────────────────────────────── */
  --badge-radius: 4px;

  /* ── Hero — standard snap carousel ──────────────────────────────────── */
  --hero-mode: slide;
  --hero-scroll-behavior: smooth;
  --hero-autoplay-ms: 4000;
  --hero-text-align: left;
  --hero-overlay: rgba(15, 23, 42, 0.35);
  --hero-title-font: var(--font-heading);
  --hero-title-size: clamp(1.8rem, 4vw, 3rem);
  --hero-title-weight: 700;
  --hero-title-transform: none;
  --hero-shell-radius: var(--radius-md);
  --hero-max-height: min(70vh, 520px);
  --hero-dot-color: rgba(30, 64, 175, 0.25);
  --hero-dot-active-color: #1d4ed8;
}
