/* ============================================================
   MH Hill Photography - style.css
   ============================================================ */

/* ============================================================
   Design Tokens
   White-label theming: tenants override --magenta and --teal at
   runtime via site.js setProperty (driven by admin Settings).
   All other tokens cascade from these or are neutral.
   ============================================================ */
:root {
  /* Brand */
  --magenta: #E64FA7;
  --magenta-dark: color-mix(in srgb, var(--magenta) 85%, black);
  /* CTA-grade darker magenta. Pure --magenta with white text is 3.48:1
     (WCAG AA fail for body text). --magenta-cta is ~30% darker so white
     text on a button hits 6.33:1 (well past WCAG AA, near AAA). The
     brand still reads as pink, just deep raspberry instead of hot pink. */
  --magenta-cta: color-mix(in srgb, var(--magenta) 70%, black);
  --magenta-cta-hover: color-mix(in srgb, var(--magenta) 55%, black);
  --teal: #5BA5B0;

  /* Neutrals */
  --white: #FFFFFF;
  --bg: #FAFAFA;
  --text: #1a1a1a;
  --text-dim: #666;
  --border: #e5e5e5;

  /* Stage backgrounds for slideshow + filmstrip hero (gallery-controls.js).
     Pure black so colored photos pop and EXIF metadata stays unaffected. */
  --surface-stage: #000000;

  /* Brand-color tokens for share tiles (lightbox share menu) */
  --color-facebook: #1877f2;
  --color-twitter: #1a1a1a;

  /* Color filter swatches (gallery-controls.js) */
  --swatch-red: #dc2626;
  --swatch-orange: #ea580c;
  --swatch-yellow: #eab308;
  --swatch-green: #16a34a;
  --swatch-cyan: #06b6d4;
  --swatch-blue: #2563eb;
  --swatch-purple: #9333ea;
  --swatch-pink: #db2777;

  /* Status colors (bg + fg pairs) */
  --color-success: #2e7d32;
  --color-success-bg: #e8f5e9;
  --color-error: #c62828;
  --color-error-bg: #fce4ec;
  --color-warning: #f57f17;
  --color-warning-bg: #fff8e1;
  --color-info: #1565c0;
  --color-info-bg: #e3f2fd;
  --color-neutral: #757575;
  --color-neutral-bg: #f5f5f5;
  --color-shipped: #1565c0;
  --color-shipped-bg: #e3f2fd;
  --color-fulfillment-failed: #bf360c;
  --color-fulfillment-failed-bg: #fbe9e7;
  --color-refunded: #e65100;
  --color-refunded-bg: #fff3e0;
  --color-online: #4caf50;
  --color-offline: #9e9e9e;

  /* Surface neutrals (cookie banner, dark UI bits) */
  --surface-dark: #1a1a1a;
  --surface-dark-text: #ccc;
  --surface-dark-muted: #999;
  --surface-dark-border: #333;

  /* Phase 8 added tokens */
  --gold-star: #f4b400;
  --pinterest-red: #e60023;

  /* Sprint 1+2+3 added tokens (cards, switches, growth surfaces) */
  --surface: #ffffff;
  --surface-hover: #f5f5f5;
  --switch-off: #cccccc;
  --review-star: #d4a017;

  /* Skeleton/shimmer loading state */
  --shimmer-base: #f0f0f0;
  --shimmer-highlight: #fafafa;

  /* Typography */
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --text-xs: 0.75rem;
  --text-sm: 0.85rem;
  --text-base: 1rem;
  --text-md: 1.1rem;
  --text-lg: 1.3rem;
  --text-xl: 1.6rem;
  --text-2xl: 2rem;
  --text-3xl: 2.8rem;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;
  --leading-tight: 1.1;
  --leading-snug: 1.3;
  --leading-normal: 1.5;
  --leading-relaxed: 1.8;

  /* Spacing scale */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;

  /* Radius */
  --radius: 2px;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-pill: 30px;
  --radius-full: 9999px;

  /* Effects */
  --shadow: 0 2px 12px rgba(0,0,0,0.10);
  --shadow-hover: 0 6px 24px rgba(0,0,0,0.16);
  --transition: 0.2s ease;

  /* Layout */
  --nav-height: 64px;
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ============================================================
   Accessibility
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--magenta);
  color: var(--white);
  padding: 8px 16px;
  z-index: 9999;
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: 0 0 4px 0;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 0;
}

:focus-visible {
  outline: 2px solid var(--magenta);
  outline-offset: 2px;
}

/* ============================================================
   Utility classes
   Use these instead of inline style="" for one-off layout,
   alignment, and state. Anything more semantic should get a
   named component class.
   ============================================================ */

/* Visibility */
.hidden,
.is-hidden {
  display: none !important;
}

.is-visible {
  display: inline !important;
}

/* Layout container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container.is-flush {
  padding-left: 0;
  padding-right: 0;
}

/* Text alignment */
.text-left    { text-align: left; }
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-justify { text-align: justify; }

/* Text color states */
.is-error    { color: var(--color-error); }
.is-success  { color: var(--color-success); }
.is-warning  { color: var(--color-warning); }
.is-muted    { color: var(--text-dim); }

/* Background state (used on buttons during async feedback) */
.bg-success  { background: var(--color-success) !important; }
.bg-error    { background: var(--color-error) !important; }

/* Common content patterns extracted from inline JS */
.empty-state {
  color: var(--text-dim);
  padding: var(--space-md) 0;
}

.error-state {
  color: var(--color-error);
  padding: var(--space-md) 0;
}

.toolbar-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.is-clickable {
  cursor: pointer;
}

/* Lock body scroll when a modal, drawer, or lightbox is open */
.is-scroll-locked {
  overflow: hidden;
}

.text-link {
  color: var(--magenta);
  font-weight: var(--weight-semibold);
}
.text-link:hover {
  color: var(--magenta-dark);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--magenta-cta);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  border: 2px solid var(--magenta-cta);
  text-decoration: none;
  line-height: 1;
  min-height: 44px;  /* WCAG 2.5.5 tap target */
  min-width: 44px;
}

.btn:hover {
  background: var(--magenta-cta-hover);
  border-color: var(--magenta-cta-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(230, 79, 167, 0.35);
}

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

.btn:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  background: transparent;
  color: var(--magenta);
  border: 2px solid var(--magenta);
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  line-height: 1;
}

.btn-outline:hover {
  background: var(--magenta);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(230, 79, 167, 0.35);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.78rem;
}

/* Make any .btn span the full width of its container, centered. */
.btn.is-fullwidth {
  display: block;
  width: 100%;
  text-align: center;
}

/* Common spacing modifier for buttons that submit a form */
.btn.is-form-submit {
  margin-top: 1rem;
}

/* ============================================================
   Navigation
   ============================================================ */
#nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 24px;
}

/* Logo */
.logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 1;
}

.logo .logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.logo .m,
.logo .h {
  color: var(--magenta);
}

.logo .p {
  color: var(--teal);
}

@media (max-width: 375px) {
  .logo { font-size: 1.35rem; }
  .logo .logo-img { height: 30px; }
}

/* Nav links wrapper */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  color: var(--text-dim);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--transition);
  white-space: nowrap;
}

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

.nav-links .btn {
  color: var(--white);
  text-transform: uppercase;
}

/* Nav dropdowns */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dim);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 6px 4px;
  min-height: 44px;
  font-family: var(--font);
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown-trigger:hover {
  color: var(--text);
}

.nav-arrow {
  font-size: 0.6rem;
  transition: transform 0.2s;
}

.nav-dropdown.open .nav-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  /* -16px so the menu items' inner padding lines up with the trigger text */
  left: -16px;
  min-width: 220px;
  max-height: 400px;
  overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  /* Padding-top doubles as a visual gap from the trigger AND keeps the
     hover area contiguous so the menu doesn't close while the mouse
     traverses from trigger to first item. */
  padding: 18px 0 6px 0;
  margin-top: 0;
  z-index: 1000;
}

.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 8px 16px;
  color: var(--text) !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-decoration: none;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: var(--bg);
  color: var(--magenta) !important;
}

.nav-dropdown-loading,
.nav-dropdown-empty {
  display: block;
  padding: 8px 16px;
  color: var(--text-dim);
  font-size: 0.82rem;
  font-style: italic;
}

/* Hierarchical dropdown (gallery-parent type): subbucket sections */
.nav-dropdown-section {
  border-bottom: 1px solid var(--border);
  padding: 6px 0;
}
.nav-dropdown-section:last-child {
  border-bottom: 0;
}
.nav-dropdown-menu a.nav-dropdown-header {
  font-weight: 700 !important;
  font-size: 0.78rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  color: var(--text) !important;
}
.nav-dropdown-menu a.nav-dropdown-sub {
  padding-left: 28px;
  font-weight: 400 !important;
  color: var(--text-dim) !important;
}
.nav-dropdown-menu a.nav-dropdown-sub:hover {
  color: var(--magenta) !important;
}

/* Mobile: dropdowns expand inline instead of absolute */
@media (max-width: 1023px) {
  .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    margin-top: 0;
    padding: 0 0 0 16px;
    min-width: 0;
    max-height: none;
    border-left: 2px solid var(--border);
  }

  .nav-dropdown-menu a {
    padding: 6px 12px;
  }
}

/* Cart badge */
.cart-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dim) !important;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--magenta);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  line-height: 1;
}

/* Hamburger - hidden checkbox trick */
#nav-toggle {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Animate hamburger when checked */
#nav-toggle:checked ~ .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
#nav-toggle:checked ~ .hamburger span:nth-child(2) {
  opacity: 0;
}
#nav-toggle:checked ~ .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
@media (max-width: 768px) {
  #nav {
    flex-wrap: wrap;
    height: auto;
    min-height: var(--nav-height);
    padding: 0 16px;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    padding: 8px 0 16px;
    border-top: 1px solid var(--border);
    margin-left: 0;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 14px 4px;
    min-height: 44px;
    border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
  }

  /* Section "View All →" links and footer/inline links get a 44px tap area */
  .view-all,
  a.view-all,
  footer a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 6px 0;
  }

  /* Footer social-icon anchors: WCAG 2.5.5, make tap target 44x44 even
     though the 20x20 icon stays visually small. */
  footer .social a {
    min-width: 44px;
    justify-content: center;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-links .btn {
    margin-top: 8px;
    width: 100%;
    text-align: center;
  }

  #nav-toggle:checked ~ .nav-links {
    display: flex;
  }
}

/* ============================================================
   Hero
   ============================================================ */
#hero {
  text-align: center;
  padding: 6rem 24px 5rem;
  background: var(--white);
}

#hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--text);
}

#hero .tagline {
  font-size: 1.15rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* ============================================================
   Sections
   ============================================================ */
.section {
  padding: 4rem 24px;
  max-width: var(--container);
  margin: 0 auto;
}

.section h2 {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--text);
  position: relative;
  display: inline-block;
}

.section h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--magenta);
  margin-top: 6px;
  border-radius: 2px;
}

.view-all {
  display: inline-block;
  margin-top: 1.5rem;
  /* Brand teal alone hits ~1.88:1 on the light bg (WCAG fail).
     Mix with text color to stay on-brand while clearing AA 4.5:1. */
  color: color-mix(in srgb, var(--teal) 30%, var(--text));
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color var(--transition);
}

.view-all:hover {
  color: var(--magenta);
}

/* ============================================================
   Image download deterrents

   Pairs with site.js's contextmenu/dragstart blockers. CSS prevents
   the browser-native drag affordance and text-selection box on any
   image inside a photo-display surface. Determined users can still
   open DevTools, which is why the LR daemon also watermarks the
   display WebPs. site.js doesn't load on /admin so this scope is
   public-facing only.
   ============================================================ */
.gallery-cards img,
.lightbox img,
.lightbox-img-wrap img,
.fav-grid img,
.photo-grid img,
.also-like img,
.recent-galleries img,
.home-recent img,
.product-gallery img {
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* ============================================================
   Gallery Cards (listing pages)
   ============================================================ */
.gallery-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--border);
  text-decoration: none;
  display: block;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-card:hover img {
  transform: scale(1.04);
}

.gallery-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 55%);
  transition: opacity var(--transition);
}

.gallery-card:hover .card-overlay {
  opacity: 0.85;
}

.gallery-card .card-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.gallery-card .card-subtitle {
  font-size: 0.78rem;
  font-weight: 400;
  opacity: 0.8;
  margin-top: 2px;
  display: block;
}

/* Card hover lift */
.gallery-card {
  transition: transform var(--transition), box-shadow var(--transition);
}

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

/* Placeholder for loading state */
.gallery-card.placeholder {
  background: linear-gradient(90deg, var(--shimmer-base) 25%, var(--shimmer-highlight) 50%, var(--shimmer-base) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@media (max-width: 1024px) {
  .gallery-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-cards {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Masonry Gallery Grid
   ============================================================ */
.masonry-grid {
  column-count: 3;
  column-gap: 12px;
  padding: 0;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
}

.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.masonry-item:hover img {
  transform: scale(1.025);
  box-shadow: var(--shadow-hover);
}

@media (max-width: 1024px) {
  .masonry-grid {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .masonry-grid {
    column-count: 1;
  }
}

/* ============================================================
   Lightbox
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox img {
  max-width: 90vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: var(--radius);
  display: block;
  transition: opacity 0.2s ease;
  opacity: 1;
}

.lightbox img.is-loading {
  opacity: 0;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  color: var(--white);
  font-size: 2rem;
  font-weight: 300;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: none;
  border: none;
  opacity: 0.8;
  transition: opacity var(--transition);
  z-index: 9100;
  line-height: 1;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  width: 56px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--transition), background var(--transition);
  z-index: 9100;
  border-radius: 4px;
}

.lightbox-prev {
  left: 12px;
}

.lightbox-next {
  right: 12px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 1;
  background: rgba(255,255,255,0.2);
}

.lightbox-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 16px 24px;
  z-index: 9100;
}

.lightbox-counter {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

.lightbox-title {
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  flex: 1;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lightbox-buy-btn {
  background: var(--magenta-cta);
  color: var(--white);
  border: none;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  min-height: 40px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.lightbox-buy-btn::before {
  content: "🖼️ ";
  margin-right: 4px;
  font-size: 0.95rem;
}

.lightbox-buy-btn:hover {
  background: var(--magenta-cta-hover);
  transform: scale(1.04);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.lightbox-buy-btn:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

/* ============================================================
   Buy Print Panel (lightbox overlay)
   ============================================================ */
.buy-panel {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 420px;
  max-height: 80vh;
  overflow-y: auto;
  background: var(--white);
  color: var(--text);
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
  z-index: 9200;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.buy-panel.hidden {
  transform: translateX(-50%) translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.buy-panel-inner {
  padding: 20px 24px 24px;
  position: relative;
}

.buy-panel-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--text-dim);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.buy-panel-close:hover {
  color: var(--text);
}

.buy-panel-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.buy-panel-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.buy-panel-title {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
}

.buy-panel-subtitle {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 2px;
}

.buy-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.buy-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}

.buy-option:hover {
  border-color: var(--magenta);
  background: rgba(230, 79, 167, 0.04);
}

.buy-option input[type="radio"] {
  accent-color: var(--magenta);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.buy-option:has(input:checked) {
  border-color: var(--magenta);
  background: rgba(230, 79, 167, 0.06);
}

.buy-option-label {
  font-weight: 600;
  font-size: 0.9rem;
  flex: 1;
}

.buy-option-type {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.buy-option-price {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--magenta);
}

.buy-add-btn {
  width: 100%;
  background: var(--magenta);
  color: var(--white);
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
}

.buy-add-btn:hover {
  background: var(--magenta-dark);
}

/* Shop page intro */
.shop-intro {
  grid-column: 1 / -1;
  text-align: center;
  padding: 0.5rem 0 1rem;
  color: var(--text-dim);
}

.shop-starting {
  font-weight: 600;
  color: var(--magenta);
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

/* ============================================================
   Gallery Page
   ============================================================ */
.gallery-header {
  padding: 3rem 24px 1.5rem;
  max-width: var(--container);
  margin: 0 auto;
}

.gallery-header h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.gallery-header p {
  color: var(--text-dim);
  max-width: 640px;
  margin-bottom: 1.25rem;
}

.gallery-body {
  padding: 0 24px 4rem;
  max-width: var(--container);
  margin: 0 auto;
}

/* ============================================================
   Contact Form
   ============================================================ */
.contact-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 24px 5rem;
}

.contact-wrap h1 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.type-selector {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.type-selector input[type="radio"] {
  display: none;
}

.type-selector label {
  padding: 8px 18px;
  border: 2px solid var(--border);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-dim);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  white-space: nowrap;
}

.type-selector input[type="radio"]:checked + label {
  border-color: var(--magenta);
  color: var(--magenta);
  background: rgba(230, 79, 167, 0.06);
}

.type-selector label:hover {
  border-color: var(--magenta);
  color: var(--magenta);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-bottom: 2px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--transition);
  border-radius: 0;
}

/* Required-field marker (red asterisk in label) */
.form-group label .req-mark,
label .req-mark {
  color: var(--color-error);
  margin-left: 2px;
}

/* Per-field error message slot (role=alert) */
.field-error {
  display: block;
  min-height: 1.1em;
  margin-top: 4px;
  font-size: 0.85rem;
  color: var(--color-error);
  line-height: 1.3;
}
.field-error:empty { min-height: 0; }

/* Invalid input visual: thicker red bottom border + matching focus color */
.form-group input.is-invalid,
.form-group textarea.is-invalid,
.form-group select.is-invalid,
.form-group input[aria-invalid="true"],
.form-group textarea[aria-invalid="true"],
.form-group select[aria-invalid="true"] {
  border-bottom-color: var(--color-error);
  border-bottom-width: 2px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-bottom-color: var(--magenta);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input[type="number"] {
  -moz-appearance: textfield;
}

.form-group input[type="number"]::-webkit-outer-spin-button,
.form-group input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

#contact-result,
#payment-result,
#tip-result {
  margin-top: 1.25rem;
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
}

#contact-result.success,
#payment-result.success,
#tip-result.success {
  display: block;
  background: var(--color-success-bg);
  color: var(--color-success);
  border: 1px solid color-mix(in srgb, var(--color-success) 40%, white);
}

#contact-result.error,
#payment-result.error,
#tip-result.error {
  display: block;
  background: var(--color-error-bg);
  color: var(--color-error);
  border: 1px solid color-mix(in srgb, var(--color-error) 40%, white);
}

/* ============================================================
   Payment / Tip
   ============================================================ */
.payment-wrap {
  max-width: 560px;
  margin: 0 auto;
  padding: 3rem 24px 5rem;
}

.payment-wrap h1 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.payment-wrap > p {
  color: var(--text-dim);
  margin-bottom: 2rem;
}

.amount-presets {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.amount-preset {
  padding: 10px 20px;
  border: 2px solid var(--border);
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: var(--text-dim);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  font-family: var(--font);
}

.amount-preset:hover,
.amount-preset.selected {
  border-color: var(--magenta);
  color: var(--magenta);
  background: rgba(230, 79, 167, 0.06);
}

#payment-element,
#tip-payment-element {
  margin: 1.5rem 0;
  min-height: 60px;
}

/* ============================================================
   Checkout success (post-Stripe redirect)
   ============================================================ */
.checkout-success {
  text-align: center;
  padding: 3rem 1rem;
}

.checkout-success-title {
  font-size: 1.5rem;
  font-weight: var(--weight-bold);
  margin-bottom: 0.5rem;
}

.checkout-success-detail {
  color: var(--text-dim);
}

/* ============================================================
   Shop Grid
   ============================================================ */
.shop-header {
  padding: 3rem 24px 1.5rem;
  max-width: var(--container);
  margin: 0 auto;
}

.shop-header h1 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.shop-header p {
  color: var(--text-dim);
  max-width: 600px;
}

.shop-body {
  padding: 0 24px 5rem;
  max-width: var(--container);
  margin: 0 auto;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  text-decoration: none;
  color: var(--text);
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  background: var(--white);
}

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

.product-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--border);
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover .product-card-img img {
  transform: scale(1.05);
}

.product-card-info {
  padding: 14px 16px;
}

.product-card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.product-card-price {
  font-size: 0.85rem;
  color: var(--text-dim);
}

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Product Detail Page
   ============================================================ */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 3rem 24px 5rem;
  max-width: var(--container);
  margin: 0 auto;
  align-items: start;
}

.product-detail-img img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.product-detail-info h1 {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.product-detail-info .product-description {
  color: var(--text-dim);
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.size-selector {
  margin-bottom: 1.75rem;
}

.size-selector h3 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.size-option input[type="radio"] {
  display: none;
}

.size-option label {
  padding: 8px 16px;
  border: 2px solid var(--border);
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
  color: var(--text-dim);
  user-select: none;
}

.size-option input[type="radio"]:checked + label {
  border-color: var(--magenta);
  color: var(--magenta);
}

.size-option label:hover {
  border-color: var(--magenta);
  color: var(--magenta);
}

.product-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.product-price span {
  color: var(--magenta);
}

@media (max-width: 768px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.product-fineprint {
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: var(--leading-normal);
}

.back-link-wrap {
  padding: 0 var(--space-lg) 3rem;
  max-width: var(--container);
  margin: 0 auto;
}

.back-link {
  color: var(--teal);
  font-weight: var(--weight-semibold);
  font-size: 0.9rem;
}

/* ============================================================
   Cookie consent banner
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface-dark);
  color: var(--surface-dark-text);
  padding: 14px 24px;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 99999;
  flex-wrap: wrap;
}

.cookie-banner-link {
  color: var(--teal);
  text-decoration: underline;
}

.cookie-banner-btn {
  padding: 12px 22px;
  min-height: 44px;
  min-width: 44px;
  border-radius: 6px;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cookie-banner-accept {
  background: var(--teal);
  color: var(--surface-dark);
  border: none;
  font-weight: var(--weight-semibold);
}

.cookie-banner-decline {
  background: transparent;
  color: var(--surface-dark-muted);
  border: 1px solid var(--surface-dark-border);
}

/* ============================================================
   Cart Toast (transient "added to cart" confirmation pill)
   ============================================================ */
.cart-toast {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 10001;
  background: var(--magenta);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: var(--weight-semibold);
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
  max-width: 340px;
}

.cart-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Cart Drawer
   ============================================================ */
.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 95vw;
  height: 100vh;
  background: var(--white);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 24px rgba(0,0,0,0.15);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.cart-drawer.open {
  transform: translateX(0);
  display: flex;
}

.cart-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.cart-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.cart-close {
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--text-dim);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  transition: color var(--transition);
}

.cart-close:hover {
  color: var(--text);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-empty {
  text-align: center;
  color: var(--text-dim);
  padding: 3rem 0;
  font-size: 0.9rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--border);
}

.cart-item-title {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.cart-item-size {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 24px;
  height: 24px;
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  background: none;
  color: var(--text);
  transition: background var(--transition);
}

.qty-btn:hover {
  background: var(--bg);
}

.cart-item-price {
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.cart-item-remove {
  font-size: 0.75rem;
  color: var(--text-dim);
  cursor: pointer;
  background: none;
  border: none;
  text-decoration: underline;
  margin-top: 4px;
  display: block;
  transition: color var(--transition);
}

.cart-item-remove:hover {
  color: var(--magenta);
}

.cart-footer {
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.cart-checkout-btn {
  width: 100%;
  text-align: center;
}

.cart-email-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  margin: 12px 0 4px;
}

.cart-email-hint {
  font-weight: 500;
  font-size: 0.72rem;
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  margin-left: 4px;
}

.cart-email-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.cart-email-input:focus {
  outline: none;
  border-color: var(--magenta);
}

/* ============================================================
   CTA Section
   ============================================================ */
.cta-section {
  background: var(--white);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 5rem 24px;
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.cta-section p {
  color: var(--text-dim);
  max-width: 540px;
  margin: 0 auto 1.75rem;
}

/* ============================================================
   Footer
   ============================================================ */
footer {
  background: var(--magenta);
  color: var(--white);
  padding: 2.5rem 24px;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
}

.social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 1rem;
}

.social a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: color var(--transition);
}

.social a:hover {
  color: var(--white);
}

.social a svg {
  display: block;
}

footer p {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-bottom: 0.4rem;
}

footer p.sub {
  font-size: 0.78rem;
  opacity: 0.7;
}

footer p.sub a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

footer p.sub a:hover {
  opacity: 1;
}

/* Admin styles moved to admin.css (loaded only by admin.html) */

/* ============================================================
   Page Hero (non-home)
   ============================================================ */
.page-hero {
  background: var(--white);
  padding: 3rem 24px 2rem;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: var(--text-dim);
  max-width: 560px;
}

/* ============================================================
   Also Like section
   ============================================================ */
.also-like {
  padding: 3rem 24px;
  max-width: var(--container);
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.also-like h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

/* ============================================================
   Loading spinner
   ============================================================ */
.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--magenta);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 3rem auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-wrap {
  text-align: center;
  padding: 4rem 0;
}

/* ============================================================
   Portfolio page
   ============================================================ */
.portfolio-intro {
  padding: 3rem 24px 2rem;
  max-width: var(--container);
  margin: 0 auto;
}

.portfolio-intro h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.portfolio-intro p {
  color: var(--text-dim);
}

.portfolio-body {
  padding: 0 24px 5rem;
  max-width: var(--container);
  margin: 0 auto;
}

/* ============================================================
   CMS / static content pages
   Used by: terms, privacy, disclaimer, dmca, shipping, pricing.
   These pages share a centered text-content wrapper plus a
   small set of typography primitives. Width modifiers let each
   page choose its line-length.
   ============================================================ */
.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.contact-wrap.is-medium { max-width: 780px; }
.contact-wrap.is-wide   { max-width: 840px; }

/* CMS sections (privacy, shipping) */
.cms-section {
  margin-bottom: 2rem;
}

.cms-section--spaced {
  margin-bottom: 2.5rem;
}

.cms-section-title {
  font-size: 1.15rem;
  font-weight: var(--weight-bold);
  margin-bottom: 0.75rem;
}

.cms-text {
  line-height: var(--leading-relaxed);
  color: var(--text-dim);
}

.cms-text + .cms-text {
  margin-top: 0.75rem;
}

.cms-text strong {
  color: var(--text);
}

.cms-list {
  color: var(--text-dim);
  line-height: 2;
  list-style: disc;
  padding-left: 1.25rem;
  margin-top: 0.5rem;
}

.cms-meta {
  color: var(--text-dim);
  margin-bottom: 2rem;
}

/* Inline accent links inside CMS content */
.link-magenta {
  color: var(--magenta);
  font-weight: var(--weight-semibold);
}

.link-teal {
  color: var(--teal);
}

/* ============================================================
   Contact page (direct-contact block at the bottom of the form)
   ============================================================ */
.contact-direct {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.contact-direct-label {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* ============================================================
   Section variants
   ============================================================ */
.section.is-tight {
  padding-top: 2rem;
}

/* ============================================================
   About page
   ============================================================ */
.about-bio {
  line-height: var(--leading-relaxed);
  margin-bottom: 1.5rem;
}

.about-bio--lead {
  font-size: var(--text-md);
}

.about-bio:last-of-type {
  margin-bottom: 2.5rem;
}

.about-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   Pricing page
   ============================================================ */
.pricing-card {
  margin-bottom: 2.5rem;
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.pricing-card h2 {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  margin-bottom: 1rem;
}

.pricing-card h2 + .pricing-headline {
  margin-top: -0.5rem;
}

.pricing-headline {
  font-size: 1.5rem;
  font-weight: var(--weight-extrabold);
  color: var(--magenta);
  margin-bottom: 0.75rem;
}

.pricing-detail {
  color: var(--text-dim);
  line-height: var(--leading-relaxed);
}

.pricing-list {
  color: var(--text-dim);
  line-height: 2.2;
  list-style: none;
  padding-left: 0;
}

.pricing-list strong {
  color: var(--text);
}

.pricing-package {
  margin-bottom: 1.25rem;
}

.pricing-package:last-child {
  margin-bottom: 0;
}

.pricing-package-title {
  font-weight: var(--weight-bold);
  margin-bottom: 0.25rem;
}

.pricing-price {
  color: var(--magenta);
  font-weight: var(--weight-extrabold);
}

.pricing-note {
  color: var(--text-dim);
  margin-top: 0.75rem;
}

.pricing-disclaimer {
  color: var(--text-dim);
  font-size: 0.9rem;
  font-style: italic;
}

.pricing-travel {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.pricing-cta {
  margin-bottom: 2rem;
  display: inline-block;
}

/* ============================================================
   Auth pages (login, passkey-setup)
   Shared shell for the magic-link sign-in flow and passkey
   enrollment. Distinct from the main .btn - these use
   border-radius 10px and full-width block buttons appropriate
   for a focused single-purpose form.
   ============================================================ */
.auth-wrap,
.pk-wrap {
  max-width: 520px;
  margin: 80px auto;
  padding: var(--space-xl) 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.auth-wrap {
  max-width: 420px;
}

.auth-eyebrow,
.pk-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--magenta);
  font-weight: var(--weight-bold);
  margin: 0 0 12px;
}

.auth-title,
.pk-title {
  font-size: 26px;
  font-weight: var(--weight-extrabold);
  margin: 0 0 12px;
  color: var(--text);
}

.auth-intro,
.pk-intro {
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0 0 22px;
  font-size: 14px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--space-md);
}

.auth-field label {
  font-size: 13px;
  font-weight: var(--weight-semibold);
  color: var(--text);
}

.auth-field input {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
}

.auth-field input:focus {
  outline: 2px solid var(--magenta);
  outline-offset: -1px;
  border-color: transparent;
}

.auth-actions,
.pk-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: var(--space-md);
}

.pk-actions {
  flex-direction: row;
  flex-wrap: wrap;
}

.btn-block {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: var(--weight-semibold);
  font-size: 14px;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-block.btn-primary {
  background: var(--magenta);
  color: var(--white);
}

.btn-block.btn-secondary {
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: var(--text-dim);
  font-size: 12px;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-status,
.pk-status {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  margin-top: 12px;
  display: none;
}

.auth-status.error,
.pk-status.error {
  background: var(--color-error-bg);
  color: var(--color-error);
  display: block;
}

.auth-status.success,
.pk-status.success {
  background: var(--color-success-bg);
  color: var(--color-success);
  display: block;
}

.auth-meta {
  margin-top: 18px;
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
}

.auth-meta a {
  color: var(--teal);
  text-decoration: none;
}

.exchange-state {
  text-align: center;
  padding: var(--space-lg) 0;
}

.pk-list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pk-list li {
  padding-left: var(--space-lg);
  position: relative;
  color: var(--text);
  font-size: 14px;
  line-height: var(--leading-normal);
}

.pk-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-success);
  font-weight: var(--weight-bold);
}

/* ============================================================
   Favorites page
   Local-storage gallery of saved photos.
   ============================================================ */
.fav-wrap {
  max-width: var(--container);
  margin: 40px auto;
  padding: 0 1.5rem;
}

.fav-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.fav-header h1 {
  margin: 0;
  font-size: 28px;
  font-weight: var(--weight-extrabold);
}

.fav-header p.lead {
  margin: 0.25rem 0 0;
  color: var(--text-dim);
  font-size: 14px;
}

.fav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.fav-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}

.fav-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.fav-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  background: var(--bg);
}

.fav-meta {
  padding: 10px 12px;
  font-size: 13px;
}

.fav-meta .title {
  font-weight: var(--weight-semibold);
  color: var(--text);
}

.fav-meta .added {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 2px;
}

.fav-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-dim);
}

.fav-empty h2 {
  margin: 0 0 0.5rem;
  font-size: 22px;
  color: var(--text);
}

.fav-actions {
  margin-bottom: 1rem;
}

.btn-text {
  background: none;
  border: none;
  color: var(--magenta);
  font-weight: var(--weight-semibold);
  cursor: pointer;
  font-size: 14px;
  padding: 6px 0;
}

.fav-card .remove-btn {
  display: block;
  width: 100%;
  padding: 8px;
  background: var(--white);
  border: none;
  border-top: 1px solid var(--border);
  color: var(--color-error);
  font-size: 12px;
  cursor: pointer;
}

.fav-card .remove-btn:hover {
  background: var(--color-error-bg);
}

/* ============================================================
   Order tracking page (customer-facing)
   ============================================================ */
.track-wrap {
  max-width: 640px;
  margin: 60px auto;
  padding: 0 1.5rem;
}

.track-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 1.5rem;
}

.track-card h2 {
  margin: 0 0 .25rem;
  font-size: 22px;
  font-weight: var(--weight-bold);
}

.track-card p.lead {
  margin: 0 0 1.25rem;
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.55;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.field label {
  font-size: 13px;
  font-weight: var(--weight-semibold);
  color: var(--text);
}

.field input {
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
}

.field input:focus {
  outline: 2px solid var(--magenta);
  outline-offset: -1px;
  border-color: transparent;
}

.row-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.status-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.status-pill.status-paid {
  background: var(--color-warning-bg);
  color: var(--color-warning);
}

.status-pill.status-fulfilled {
  background: var(--color-success-bg);
  color: var(--color-success);
}

.status-pill.status-fulfillment_pending_config,
.status-pill.status-fulfillment_failed {
  background: var(--color-error-bg);
  color: var(--color-error);
}

.order-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
}

.order-table th,
.order-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  text-align: left;
}

.order-table th {
  color: var(--text-dim);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: var(--weight-semibold);
}

.order-meta {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 14px;
  font-size: 13px;
  color: var(--text);
  margin-top: 14px;
}

.order-meta dt {
  color: var(--text-dim);
}

.order-meta dd {
  margin: 0;
}

.alert {
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-top: 12px;
}

.alert.error {
  background: var(--color-error-bg);
  color: var(--color-error);
}

.alert.success {
  background: var(--color-success-bg);
  color: var(--color-success);
}

/* ============================================================
   Responsive overrides
   ============================================================ */
@media (max-width: 768px) {
  .section {
    padding: 3rem 16px;
  }

  #hero {
    padding: 4rem 16px 3.5rem;
  }
}

/* Admin Phase 7 styles moved to admin.css */

/* ============================================================
   Reduced motion
   Respects users who set "Reduce motion" in OS accessibility
   settings. WCAG 2.3.3 Animation from Interactions. Kills
   animations + transitions; leaves static layouts intact.
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ============================================================
   Phase 8 components: reviews, press, newsletter, booking,
   client proofing, account, blog, search, quiz, plans, gift
   cards. Strict-CSP-clean: no inline styles anywhere.
   ============================================================ */

.visually-hidden {
  position: absolute !important; clip: rect(1px,1px,1px,1px);
  width: 1px; height: 1px; overflow: hidden;
}

.page-narrow {
  max-width: 920px;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

.page-head {
  text-align: center;
  margin-bottom: 2rem;
}

.error { color: var(--color-error); margin-top: 0.5rem; }

/* Reviews ----------------------------------------------------- */
.reviews-section { padding: 3rem 16px; }
.reviews-summary {
  text-align: center;
  font-size: 1.1rem;
  margin: 0 0 1.5rem;
  color: var(--text);
}
.reviews-stars { color: var(--gold-star); letter-spacing: 0.1em; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}
.review-card .review-stars {
  color: var(--gold-star);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}
.review-card h3 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.review-card p { margin: 0 0 1rem; line-height: 1.55; }
.review-card footer { font-size: 0.92rem; color: var(--text-dim); }

/* Press logos ------------------------------------------------- */
.press-section { padding: 2.5rem 16px; background: var(--bg); }
.press-heading { text-align: center; font-size: 1.05rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1.5rem; }
.press-grid {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem;
  align-items: center;
}
.press-logo img { max-height: 40px; opacity: 0.7; transition: opacity 0.2s; }
.press-logo a:hover img { opacity: 1; }

/* Newsletter -------------------------------------------------- */
.newsletter-section { padding: 3rem 16px; background: var(--bg); }
.newsletter-block { max-width: 560px; text-align: center; }
.newsletter-form { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1rem; }
.newsletter-form input[type=email] { padding: 0.75rem 1rem; font-size: 1rem; border: 1px solid var(--border); border-radius: 8px; }
.newsletter-status { margin: 0; font-size: 0.92rem; color: var(--text-dim); min-height: 1.2em; }
@media (min-width: 600px) {
  .newsletter-form { flex-direction: row; }
  .newsletter-form input[type=email] { flex: 1; }
}

/* Booking flow ----------------------------------------------- */
.step-heading { font-size: 1.3rem; margin-bottom: 1rem; }
.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.package-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex; flex-direction: column;
}
.package-card h2 { margin: 0 0 0.25rem; font-size: 1.2rem; }
.package-card .pkg-price { font-weight: 600; color: var(--magenta); margin: 0 0 0.75rem; }
.package-card .pkg-deposit { display: inline-block; margin-left: 0.5rem; font-weight: normal; color: var(--text-dim); font-size: 0.92em; }
.package-card .pkg-includes { padding-left: 1.2rem; margin: 0.5rem 0 1rem; font-size: 0.95rem; }
.package-card .package-pick { margin-top: auto; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 0.5rem; margin-top: 1rem; }
.slot-btn { padding: 0.6rem; border: 1px solid var(--border); background: var(--white); border-radius: 8px; cursor: pointer; }
.slot-btn:hover:not(:disabled) { border-color: var(--magenta); }
.slot-btn.is-selected { background: var(--magenta); color: var(--white); border-color: var(--magenta); }
.slot-btn:disabled, .slot-unavailable { opacity: 0.4; cursor: not-allowed; }
.booking-summary { background: var(--bg); padding: 0.75rem; border-radius: 8px; margin: 1rem 0; }
#book-info-form { display: flex; flex-direction: column; gap: 0.5rem; max-width: 540px; }
#book-info-form input, #book-info-form textarea { padding: 0.6rem; border: 1px solid var(--border); border-radius: 6px; }

/* Client portal (command) ------------------------------------ */
.cmd-header { text-align: center; margin-bottom: 2rem; }
.cmd-status { color: var(--magenta); font-size: 1.05rem; }
.cmd-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.cmd-step.is-done { border-color: var(--color-success); background: var(--color-success-bg); }
.cmd-step h2 { margin-top: 0; font-size: 1.15rem; }
.contract-text pre {
  background: var(--shimmer-base);
  padding: 1rem;
  border-radius: 6px;
  overflow-x: auto;
  font-size: 0.9rem;
  white-space: pre-wrap;
}

/* Client gallery (proofing) ---------------------------------- */
.proof-unlock {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
  background: var(--surface-dark);
  color: var(--white);
}
.proof-cover { background-size: cover; background-position: center; }
.proof-unlock-form-wrap { padding: 3rem 2rem; max-width: 480px; }
.proof-unlock-form-wrap form { display: flex; flex-direction: column; gap: 0.5rem; }
.proof-unlock-form-wrap input { padding: 0.6rem; border-radius: 6px; border: 1px solid var(--surface-dark-border); background: var(--surface-dark); color: var(--white); }
@media (max-width: 768px) {
  .proof-unlock { grid-template-columns: 1fr; }
  .proof-cover { min-height: 200px; }
}
.proof-gallery { padding: 2rem 1rem; }
.proof-head { text-align: center; margin-bottom: 1.5rem; }
.proof-actions { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.5rem;
}
.proof-tile {
  position: relative; aspect-ratio: 4/5; overflow: hidden;
  border: none; padding: 0; cursor: pointer; background: var(--border);
}
.proof-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.2s; }
.proof-tile:hover img { transform: scale(1.04); }
.proof-tile .fav-mark {
  position: absolute; top: 8px; right: 8px;
  font-size: 1.4rem; color: rgba(255,255,255,0.6);
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.proof-tile.is-favorite .fav-mark { color: var(--magenta); }
.lb-toolbar { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,0.7); color: var(--white); padding: 0.75rem; display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.lb-toolbar button { background: rgba(255,255,255,0.1); color: var(--white); border: 1px solid rgba(255,255,255,0.2); padding: 0.5rem 0.9rem; border-radius: 6px; cursor: pointer; }

/* Account dashboard ------------------------------------------ */
.acct-head { margin-bottom: 1.5rem; }
.acct-tabs { display: flex; gap: 0.25rem; flex-wrap: wrap; border-bottom: 1px solid var(--border); margin-bottom: 1.5rem; }
.acct-tab {
  background: transparent; border: none; padding: 0.6rem 1rem;
  cursor: pointer; border-bottom: 2px solid transparent;
}
.acct-tab.is-active { border-bottom-color: var(--magenta); font-weight: 600; }
.acct-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.acct-stat { background: var(--bg); padding: 1rem; border-radius: 10px; text-align: center; }
.acct-stat strong { display: block; font-size: 2rem; color: var(--magenta); }
.acct-form { display: grid; gap: 0.5rem; max-width: 500px; margin-top: 1.5rem; }
.acct-form input { padding: 0.5rem; border: 1px solid var(--border); border-radius: 6px; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { padding: 0.6rem; border-bottom: 1px solid var(--border); text-align: left; }
.pill { background: var(--magenta); color: var(--white); padding: 2px 8px; border-radius: 999px; font-size: 0.8em; }
.favorites-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.75rem; }
.fav-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 8px; }
.fav-card figcaption { font-size: 0.85rem; color: var(--text-dim); padding: 0.4rem 0; }

/* Blog -------------------------------------------------------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.blog-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.blog-card a { color: inherit; text-decoration: none; display: block; }
.blog-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.blog-card h2 { margin: 1rem 1rem 0.5rem; font-size: 1.2rem; }
.blog-card p { margin: 0 1rem 1rem; font-size: 0.95rem; color: var(--text-dim); }
.blog-card footer { padding: 0 1rem 1rem; font-size: 0.85rem; color: var(--text-dim); }
.blog-post { max-width: 720px; margin: 0 auto; padding: 0 1rem 4rem; }
.blog-cover { width: 100%; max-height: 480px; object-fit: cover; border-radius: 12px; margin-bottom: 2rem; }
.blog-post-head h1 { font-size: 2.2rem; }
.blog-body { line-height: 1.7; font-size: 1.05rem; }
.blog-body h2 { margin-top: 2rem; }
.blog-post-foot { margin-top: 3rem; display: flex; gap: 0.5rem; }

/* Search ------------------------------------------------------ */
#search-form { display: flex; gap: 0.5rem; max-width: 600px; margin: 1rem auto; }
#search-form input { flex: 1; padding: 0.65rem; border: 1px solid var(--border); border-radius: 8px; }
.search-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.5rem; }
.search-card { display: block; color: inherit; text-decoration: none; }
.search-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 6px; }
.search-card span { display: block; font-size: 0.85rem; color: var(--text-dim); padding: 0.3rem 0; }

/* Quiz -------------------------------------------------------- */
#quiz-root { max-width: 540px; margin: 0 auto; text-align: center; }
.quiz-progress { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 0.75rem; }
.quiz-q { font-size: 1.4rem; margin-bottom: 1.5rem; }
.quiz-opts { display: grid; gap: 0.5rem; }
.quiz-opt {
  padding: 0.75rem 1rem; border: 1px solid var(--border);
  background: var(--white); border-radius: 8px; cursor: pointer;
  font-size: 1rem;
}
.quiz-opt:hover { border-color: var(--magenta); }
.quiz-result { background: var(--bg); padding: 2rem; border-radius: 12px; }
.quiz-price { font-size: 1.6rem; color: var(--magenta); font-weight: 600; }

/* Plans / subscriptions -------------------------------------- */
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.plan-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; }
.plan-card h2 { margin: 0 0 0.25rem; }
.plan-price { font-size: 2rem; color: var(--magenta); margin: 0; font-weight: 600; }
.plan-price span { font-size: 1rem; color: var(--text-dim); font-weight: normal; }
.plan-form { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; }
.plan-form input { padding: 0.5rem; border: 1px solid var(--border); border-radius: 6px; }

/* Gift cards -------------------------------------------------- */
.gc-form-section { max-width: 600px; margin: 0 auto; }
.gc-form-section fieldset { margin-bottom: 1.5rem; border: 1px solid var(--border); padding: 1rem; border-radius: 8px; }
.gc-form-section fieldset label { display: inline-block; margin-right: 1rem; }
.gc-form-section .custom-amount { display: block; margin-top: 0.75rem; }
.gc-form-section input, .gc-form-section textarea { padding: 0.5rem; border: 1px solid var(--border); border-radius: 6px; width: 100%; }

/* Pinterest pin button --------------------------------------- */
.pin-btn {
  position: absolute; top: 8px; left: 8px;
  background: var(--pinterest-red); color: var(--white);
  font-size: 0.85rem; padding: 0.35rem 0.7rem;
  border-radius: 999px; text-decoration: none;
  opacity: 0; transition: opacity 0.2s;
}
[data-pin-wrap] { position: relative; }
[data-pin-wrap]:hover .pin-btn,
[data-pin-wrap]:focus-within .pin-btn { opacity: 1; }

/* EXIF panel in lightbox ------------------------------------- */
.lb-exif {
  position: absolute; top: 12px; right: 12px;
  background: rgba(0,0,0,0.7); color: var(--white);
  padding: 0.5rem 0.75rem; border-radius: 6px;
  font-family: ui-monospace, monospace; font-size: 0.85rem;
  max-width: 280px;
}
.lb-exif dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0.2rem 0.6rem; }
.lb-exif dt { color: var(--text-dim); }


/* Phase 8 misc helpers */
.proof-cover { background: var(--surface-dark); overflow: hidden; }
.proof-cover-img { width: 100%; height: 100%; object-fit: cover; }
.proof-cover-fallback { width: 100%; height: 100%; background: var(--surface-dark); }
.press-thumb { max-height: 30px; }
.upper-input { text-transform: uppercase; }
.ai-actions { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ai-job-result { margin-top: 1rem; font-family: ui-monospace, monospace; }
.footer-newsletter-wrap { max-width: 360px; margin: 1rem auto; }
.footer-newsletter { display: flex; gap: 0.5rem; }
.footer-newsletter input { flex: 1; padding: 0.5rem; border: 1px solid var(--border); border-radius: 6px; }

/* Lightbox EXIF + Pinterest + Share buttons (match existing fav/buy button style) */
.lightbox-exif-btn,
.lightbox-share-btn,
.lightbox-pin-btn {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  font-size: 1rem;
  margin-left: 0.4rem;
}
.lightbox-exif-btn:hover,
.lightbox-share-btn:hover,
.lightbox-pin-btn:hover { background: rgba(255,255,255,0.2); }

/* Share panel (lightbox toolbar > Share button) */
.share-panel {
  position: absolute;
  bottom: 80px;
  right: 16px;
  width: 340px;
  max-width: calc(100vw - 32px);
  background: var(--white);
  color: var(--text);
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  padding: 14px 16px;
  z-index: 10010;
}

.share-panel.hidden { display: none; }

.share-panel-close {
  position: absolute;
  top: 6px;
  right: 6px;
  background: transparent;
  border: 0;
  font-size: 1rem;
  cursor: pointer;
  color: var(--text-dim);
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

.share-panel-close:hover { background: var(--bg); color: var(--text); }

.share-panel-title {
  font-size: 0.92rem;
  font-weight: 800;
  margin: 0 24px 10px 0;
}

.share-link-row {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.share-link-input {
  flex: 1;
  font-size: 0.78rem;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--bg);
  color: var(--text);
}

.share-copy-btn {
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid var(--magenta-cta);
  background: var(--magenta-cta);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.share-copy-btn:hover { background: var(--magenta-cta-hover); border-color: var(--magenta-cta-hover); }

.share-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.share-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

.share-tile:hover { background: var(--bg); border-color: var(--magenta-cta); }

.share-tile-pinterest { color: var(--pinterest-red); }
.share-tile-facebook  { color: var(--color-facebook); }
.share-tile-twitter   { color: var(--color-twitter); }
.share-tile-email     { color: var(--text-dim); }
.share-tile-native    { color: var(--text); }

@media (max-width: 480px) {
  .share-panel {
    right: 8px;
    bottom: 72px;
    width: calc(100vw - 16px);
  }
}

/* Seasonal banner: slim full-width bar above the nav. site.js injects it. */
.seasonal-banner {
  background: var(--magenta);
  color: var(--white);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.seasonal-banner a {
  color: var(--white);
  text-decoration: underline;
}
.seasonal-banner a:hover { opacity: 0.9; }

/* Add-to-calendar button row used after booking confirmations */
.add-to-cal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.add-to-cal a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
}
.add-to-cal a:hover { background: var(--surface-hover); }

/* SLA past-due chip in admin tables */
.sla-past-due {
  background: var(--color-error-bg);
  color: var(--color-error);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* Card grid for /services /locations /mini-sessions /reviews lists */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.card h2 { margin: 0; font-size: 1.2rem; }
.card .meta { color: var(--text-dim); font-size: 0.9rem; }
.card .price { font-weight: 600; }
.card a.btn { margin-top: auto; align-self: flex-start; }

/* Slots grid (mini-session + team-event) */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.5rem;
  margin: 1.5rem 0;
}

/* Reviews page */
.review {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}
.review .rating { color: var(--review-star); font-size: 1.2rem; margin: 0; }
.review h3 { margin: 0.4rem 0; }
.review .meta { color: var(--text-dim); font-size: 0.9rem; margin-top: 0.4rem; }

/* Smart Files progress tracker on /c/<token> */
.cmd-progress {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0;
  padding: 0;
  flex-wrap: wrap;
}
.cmd-progress li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.85rem;
  color: var(--text-dim);
}
.cmd-progress li.is-done {
  background: var(--magenta);
  color: var(--white);
  border-color: var(--magenta);
}
.cmd-progress .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--white);
  color: var(--magenta);
  font-weight: 700;
}
.cmd-progress li:not(.is-done) .step-num {
  background: var(--surface-hover);
  color: var(--text-dim);
}

/* Inbox details rows */
.inbox-row {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  background: var(--surface);
}
.inbox-row[open] { background: var(--surface-hover); }
.inbox-body { padding-top: 0.5rem; }
.inbox-body pre { white-space: pre-wrap; background: var(--white); padding: 0.5rem; border-radius: 6px; }
.inbox-draft {
  width: 100%;
  min-height: 120px;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
  margin-bottom: 0.5rem;
}

/* Switch */
.switch { position: relative; display: inline-block; width: 36px; height: 20px; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span {
  position: absolute; cursor: pointer; inset: 0;
  background: var(--switch-off); border-radius: 999px; transition: 0.2s;
}
.switch span::before {
  content: ""; position: absolute; height: 16px; width: 16px;
  left: 2px; top: 2px; background: var(--white); border-radius: 50%;
  transition: 0.2s;
}
.switch input:checked + span { background: var(--magenta); }
.switch input:checked + span::before { transform: translateX(16px); }

/* Admin photo-picker modal */
.photo-picker-modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.photo-picker-inner {
  background: var(--white);
  border-radius: 12px;
  width: min(960px, 100%);
  max-height: 90vh;
  display: flex; flex-direction: column;
  padding: 1rem;
  gap: 0.75rem;
}
.photo-picker-inner .picker-head {
  display: flex; justify-content: space-between; align-items: center;
}
.photo-picker-inner #picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.5rem;
  overflow-y: auto;
  flex: 1;
}
.picker-thumb {
  position: relative;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
}
.picker-thumb input { position: absolute; top: 6px; left: 6px; }
.picker-thumb img { width: 100%; height: 110px; object-fit: cover; display: block; }
.picker-thumb:has(input:checked) { border-color: var(--magenta); }
.picker-foot { display: flex; justify-content: flex-end; }

/* ============================================================
   Wall preview (wall-preview.js): see-it-on-your-wall mockup
   inside the buy panel. CSS-only rooms (no image dependencies).
   ============================================================ */

.buy-wall-preview {
  margin: 1rem 0 1.25rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
}

.wp-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.wp-eyebrow {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.wp-room-tabs {
  display: flex;
  gap: 4px;
  background: var(--white);
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.wp-room-tab {
  padding: 5px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-dim);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.wp-room-tab:hover { color: var(--text); }

.wp-room-tab.is-active {
  background: var(--magenta-cta);
  color: var(--white);
}

.wp-size-readout {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.wp-size-readout strong {
  color: var(--text);
  font-weight: 800;
}

.wp-size-readout.wp-digital strong {
  display: none;
}

.wp-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  width: 100%;
  background: var(--surface-stage);
  overflow: hidden;
}

.wp-room-bg,
.wp-room-bg svg.wp-room-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* The frame: width is a percent of the room width (driven by
   --wp-frame-pct), aspect ratio matches the print (--wp-frame-ar).
   Anchored to the upper-mid of the wall area. */
.wp-frame {
  position: absolute;
  top: 24%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: var(--wp-frame-pct, 12%);
  aspect-ratio: var(--wp-frame-ar, 1.5);
  background: var(--white);
  padding: 6px;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.2),
    0 8px 24px rgba(0, 0, 0, 0.35);
  border: 2px solid var(--surface-stage);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.wp-frame.is-hidden {
  display: none;
}

.wp-frame-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 600px) {
  .wp-toolbar { padding: 8px 10px; }
  .wp-stage { aspect-ratio: 4 / 3; }
  .wp-room-tabs { font-size: 0.7rem; }
  .wp-size-readout { width: 100%; margin-left: 0; }
}

/* ============================================================
   Gallery controls bar + per-photo card chrome (gallery-controls.js)
   ============================================================ */

#gc-controls-bar {
  max-width: var(--container);
  margin: 0 auto 1.5rem;
  padding: 0 1rem;
}

.gc-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.gc-control-group {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.gc-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

.gc-pill {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.gc-pill:hover {
  border-color: var(--magenta-cta);
  color: var(--magenta-cta);
}

.gc-pill.is-active {
  background: var(--magenta-cta);
  border-color: var(--magenta-cta);
  color: var(--white);
}

.gc-select {
  padding: 6px 28px 6px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%23666' d='M0 0l5 6 5-6z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 8px center;
}

.gc-select:focus-visible {
  outline: 2px solid var(--magenta-cta);
  outline-offset: 2px;
}

.gc-color-swatches {
  gap: 0.3rem;
}

.gc-swatch {
  width: 28px;
  height: 28px;
  min-height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.gc-swatch-red    { background: var(--swatch-red); }
.gc-swatch-orange { background: var(--swatch-orange); }
.gc-swatch-yellow { background: var(--swatch-yellow); }
.gc-swatch-green  { background: var(--swatch-green); }
.gc-swatch-cyan   { background: var(--swatch-cyan); }
.gc-swatch-blue   { background: var(--swatch-blue); }
.gc-swatch-purple { background: var(--swatch-purple); }
.gc-swatch-pink   { background: var(--swatch-pink); }
.gc-swatch-mono   { background: linear-gradient(135deg, var(--white) 0%, var(--text) 100%); }

.gc-swatch:hover {
  transform: scale(1.12);
}

.gc-swatch.is-active {
  border-color: var(--text);
  box-shadow: 0 0 0 2px var(--white) inset;
}

.gc-swatch-clear {
  padding: 0 12px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-dim);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.gc-swatch-clear.is-active {
  background: var(--text);
  color: var(--white);
  border-color: var(--text);
}

.gc-result-count {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 600;
}

.gc-link {
  background: none;
  border: 0;
  color: var(--magenta-cta);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  padding: 0 4px;
}

/* Date headings between groups */
.gc-date-heading {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 2.2rem 0 1rem;
  padding: 0 0 0.5rem;
  border-bottom: 2px solid var(--magenta-cta);
  display: inline-block;
}

.gc-date-heading:first-child {
  margin-top: 0;
}

/* Hover price chip on every photo card */
.gc-card {
  position: relative;
  overflow: hidden;
}

.gc-price-chip {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.78);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--transition), transform var(--transition);
  text-transform: uppercase;
}

.gc-card:hover .gc-price-chip,
.gc-card:focus-visible .gc-price-chip {
  opacity: 1;
  transform: translateY(0);
}

.gc-price-chip-large {
  position: absolute;
  bottom: 16px;
  right: 16px;
  font-size: 0.95rem;
  padding: 8px 14px;
  opacity: 1;
  transform: none;
}

/* Justified layout */
.gc-layout-justified {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gc-just-row {
  display: flex;
  gap: 8px;
  width: 100%;
  height: var(--row-h, 280px);
}

.gc-just-cell {
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
  border-radius: 4px;
  overflow: hidden;
  width: var(--cell-w, auto);
}

.gc-just-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Square grid layout */
.gc-layout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

.gc-grid-cell {
  position: relative;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg);
}

.gc-grid-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Slideshow layout */
.gc-layout-slideshow {
  position: relative;
  background: var(--surface-stage);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gc-slide-stage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  position: relative;
}

.gc-slide-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.gc-slide-prev,
.gc-slide-next,
.gc-slide-play {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.55);
  color: var(--white);
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
  transition: background var(--transition);
}

.gc-slide-prev { left: 16px; }
.gc-slide-next { right: 16px; }
.gc-slide-play {
  top: auto;
  bottom: 16px;
  right: 16px;
  transform: none;
  width: 38px;
  height: 38px;
  font-size: 0.85rem;
}

.gc-slide-prev:hover,
.gc-slide-next:hover,
.gc-slide-play:hover {
  background: rgba(0, 0, 0, 0.85);
}

.gc-slide-counter {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.55);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 2;
}

/* Filmstrip layout */
.gc-layout-filmstrip {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gc-film-hero {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--surface-stage);
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gc-film-hero img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.gc-film-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 12px;
  scrollbar-width: thin;
}

.gc-film-thumb {
  flex: 0 0 auto;
  width: 110px;
  height: 80px;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg);
  cursor: pointer;
  padding: 0;
  transition: border-color var(--transition), transform var(--transition);
}

.gc-film-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gc-film-thumb:hover { transform: translateY(-2px); }
.gc-film-thumb.is-active { border-color: var(--magenta-cta); }

/* Mobile breakpoint adjustments for the controls bar */
@media (max-width: 640px) {
  .gc-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .gc-control-group {
    justify-content: flex-start;
    overflow-x: auto;
  }
  .gc-result-count {
    margin-left: 0;
  }
  .gc-layout-slideshow {
    min-height: 240px;
    aspect-ratio: 4 / 3;
  }
}

/* ============================================================
   Large-screen breakpoints (StanHattie standard: 1440 / 1920 / 2560)
   Photo portfolio benefits from denser grids and larger thumbnails
   on big monitors. Container stays narrow for text content.
   ============================================================ */

@media (min-width: 1440px) {
  .gallery-cards {
    grid-template-columns: repeat(4, 1fr);
  }
  .product-grid,
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1920px) {
  :root {
    --container: 1400px;
  }
  .gallery-cards {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
  .gallery-card img {
    min-height: 320px;
  }
}

@media (min-width: 2560px) {
  :root {
    --container: 1800px;
  }
  .gallery-cards {
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
  }
  .gallery-card img {
    min-height: 420px;
  }
  .product-grid,
  .blog-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
