/* ==========================================================================
   StopSticker.nl — design system
   ========================================================================== */

:root {
  /* Palette */
  --navy: #14181f;
  --navy-soft: #1e2430;
  --navy-line: #2a3142;
  --amber: #f5a623;
  --amber-dark: #d6890a;
  --bg: #f8f8f9;
  --surface: #ffffff;
  --text: #1a1d23;
  --text-muted: #6b7280;
  --text-on-navy: #f3f4f6;
  --text-on-navy-muted: #9aa2b1;
  --border: #e5e3de;

  /* Type */
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-price: var(--font-body);

  /* Scale */
  --container: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(20, 24, 31, 0.06);
  --shadow-md: 0 8px 24px rgba(20, 24, 31, 0.08);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg), white 55%) 0%, var(--bg) 100vh) fixed;
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Rubik", var(--font-body);
}

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

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

button {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--amber);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--amber-dark);
}

.btn-outline {
  background: transparent;
  border-color: var(--navy-line);
  color: var(--text-on-navy);
}

.btn-outline:hover {
  border-color: var(--amber);
  color: var(--amber);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-top-sticky {
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-notice {
  background: #c0392b;
  color: #ffffff;
}

.site-notice-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 24px;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
}

.site-notice-inner svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.site-header {
  position: relative;
  background: linear-gradient(115deg, #ffffff 0%, #e4eefc 100%);
  border-bottom: 1px solid var(--border);
}

.site-header .logo {
  color: var(--text);
}

.site-header .logo-suffix {
  color: var(--text-muted);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Rubik", var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-on-navy);
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.logo-mark {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--amber);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.logo-suffix {
  color: var(--text-on-navy-muted);
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-right: auto;
}

.main-nav a {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 0;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--amber);
  transition: width 0.15s ease;
}

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

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

.main-nav a.is-active {
  color: var(--amber-dark);
}

.main-nav a.is-active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.cart-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--text);
  transition: background-color 0.15s ease;
}

.cart-link:hover {
  background: var(--bg);
}

.cart-link svg {
  width: 20px;
  height: 20px;
}

.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* The nav now carries 6 links (incl. "Stickers tegen verkopers" and
   "Containerstickers") - at nowrap that row alone needs ~900px, plus the
   logo and cart icon push the real fit point past 1200px. Collapsing at
   the old 860px left a wide overlapping/cramped range between 860-1200px,
   so this breakpoint is intentionally much wider than the general 860px
   tablet breakpoint used elsewhere on the page. */
@media (max-width: 1240px) {
  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.2s ease;
  }

  .main-nav.is-open {
    max-height: 320px;
    visibility: visible;
  }

  .main-nav a {
    width: 100%;
    padding: 10px 0;
  }

  .nav-toggle {
    display: flex;
  }

  .header-actions {
    margin-left: auto;
  }
}

.usp-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.usp-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 13px 24px;
  overflow-x: auto;
  scrollbar-width: none;
}

.usp-bar-inner::-webkit-scrollbar {
  display: none;
}

.usp-item {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.usp-item svg {
  width: 18px;
  height: 18px;
  color: var(--amber-dark);
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .usp-bar {
    display: none;
  }
}

/* ==========================================================================
   Main / placeholder content block
   ========================================================================== */

main {
  min-height: 50vh;
  padding: 14px 0 64px;
}

.home-main {
  padding-top: 0;
}

.content-placeholder {
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 96px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.placeholder-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(245, 166, 35, 0.12);
  color: var(--amber-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.content-placeholder h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.content-placeholder p {
  margin: 0;
  max-width: 420px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--navy);
  color: var(--text-on-navy-muted);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--navy-line);
}

.footer-brand .logo {
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 280px;
  margin: 0;
}

.footer-col h3 {
  margin: 0 0 16px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-on-navy);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.9rem;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--amber);
}

.footer-col p {
  font-size: 0.9rem;
  margin: 0 0 6px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 0.8rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a:hover {
  color: var(--amber);
}

@media (max-width: 860px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   Cookie consent banner
   ========================================================================== */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.cookie-banner.is-dismissed {
  transform: translateY(100%);
  opacity: 0;
}

.cookie-banner-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.cookie-banner-text {
  margin: 0;
  flex: 1;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
}

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

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* .btn-outline is styled for dark navy backgrounds (e.g. the header) - this
   banner sits on the light surface color, so it needs its own contrast. */
.cookie-banner-actions .btn-outline {
  border-color: var(--border);
  color: var(--text);
}

.cookie-banner-actions .btn-outline:hover {
  border-color: var(--amber);
  color: var(--amber-dark);
}

@media (max-width: 640px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .cookie-banner-actions {
    justify-content: flex-end;
  }
}

/* ==========================================================================
   Homepage — hero
   ========================================================================== */

.hero {
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    radial-gradient(1400px circle at 80% 20%, var(--navy-soft) 0%, var(--navy) 70%);
  background-size: 12px 12px, 100% 100%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
}

.hero-inner > * {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(245, 166, 35, 0.15);
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 16px 0 20px;
  max-width: 620px;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--text-on-navy);
}

.hero-lead {
  max-width: 540px;
  margin: 0 0 28px;
  color: var(--text-on-navy-muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.hero-mini-usps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.hero-mini-usps li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-on-navy-muted);
}

.hero-mini-usps svg {
  width: 15px;
  height: 15px;
  color: var(--amber);
  flex-shrink: 0;
}

.hero-showcase {
  position: relative;
  height: 320px;
}

.hero-showcase::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 20%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.55), transparent 70%);
  filter: blur(6px);
}

.hero-product {
  position: absolute;
  display: flex;
  flex-direction: column;
  width: 190px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 0.2s ease;
}

.hero-product:hover {
  transform: translateY(-4px) rotate(0deg) !important;
}

.hero-product-0 {
  top: 0;
  left: 10%;
  transform: rotate(-6deg);
  z-index: 1;
}

.hero-product-1 {
  bottom: 0;
  right: 4%;
  width: 210px;
  transform: rotate(5deg);
  z-index: 2;
}

.hero-product-media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: 18px;
  background: #fbfaf8;
}

.hero-product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 3px 8px rgba(20, 24, 31, 0.14));
}

.hero-product-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  border-top: 1px solid var(--border);
}

.hero-product-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-product-price {
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--amber-dark);
}

@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .hero-showcase {
    display: none;
  }

  .hero-product {
    position: static;
    width: 50%;
    transform: none !important;
  }
}

/* ==========================================================================
   Homepage — section headers
   ========================================================================== */

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin: 64px 0 28px;
}

.featured-section .section-header {
  margin-top: 56px;
}

.section-header h2 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
}

.section-header p {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--amber-dark);
  flex-shrink: 0;
}

.section-link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.15s ease;
}

.section-link:hover svg {
  transform: translateX(3px);
}

/* ==========================================================================
   Homepage — category cards
   ========================================================================== */

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.category-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--amber);
}

.category-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(245, 166, 35, 0.12);
  color: var(--amber-dark);
  flex-shrink: 0;
}

.category-icon svg {
  width: 22px;
  height: 22px;
}

.category-card h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.category-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.category-card .card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--amber-dark);
}

.category-card .card-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.15s ease;
}

.category-card:hover .card-link svg {
  transform: translateX(3px);
}

/* ==========================================================================
   Homepage — product tiles
   ========================================================================== */

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

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

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

.product-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  padding: 28px;
  background: #fbfaf8;
  border-bottom: 1px solid var(--border);
}

.product-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(20, 24, 31, 0.14));
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--border);
}

.product-rating .star {
  width: 14px;
  height: 14px;
}

.product-rating .star.is-filled {
  color: var(--amber);
}

.product-body h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.product-body h3 a:hover {
  color: var(--amber-dark);
}

.product-desc {
  flex: 1;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-current {
  font-family: var(--font-price);
  font-size: 1.4rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.price-prev {
  font-family: var(--font-price);
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-body .btn {
  width: 100%;
  margin-top: 4px;
}

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

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

/* Compact tiles for "Andere cijferstickers" - smaller than .product-card,
   just an image, digit label and price, no rating/description/button. */
.digit-tile-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-bottom: 8px;
}

.digit-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.digit-tile:hover {
  border-color: var(--amber);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.digit-tile-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fbfaf8;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.digit-tile-media img {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
}

.digit-tile-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

.digit-tile-price {
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (max-width: 860px) {
  .digit-tile-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 560px) {
  .digit-tile-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   Product detail page
   ========================================================================== */

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--amber-dark);
}

.breadcrumb-current {
  color: var(--text);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 320px;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.gallery {
  min-width: 0;
}

.gallery-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background: #fffefd;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 16px;
}

.gallery-main img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(20, 24, 31, 0.16));
}

.gallery-thumbs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.gallery-thumb {
  width: 72px;
  height: 72px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fbfaf8;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.gallery-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(20, 24, 31, 0.14));
}

.gallery-thumb:hover {
  border-color: var(--amber);
}

.gallery-thumb.is-active {
  border-color: var(--amber-dark);
}

.product-info {
  min-width: 0;
}

.product-info h1 {
  margin: 0 0 12px;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

.product-info .product-rating {
  display: inline-flex;
}

.review-count-link {
  margin-left: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--amber-dark);
}

.price-block {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 24px 0 4px;
}

.price-block-current {
  font-family: var(--font-price);
  font-size: 2.25rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.price-block .price-prev {
  font-size: 1.25rem;
}

.shipping-note {
  margin: 0 0 24px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.spec-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.spec-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
}

.spec-list svg {
  width: 18px;
  height: 18px;
  color: var(--amber-dark);
  flex-shrink: 0;
}

.stock-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.stock-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2e9e5b;
  flex-shrink: 0;
}

.stock-status.is-out .stock-dot {
  background: #c0392b;
}

.stock-status.is-out {
  color: var(--text-muted);
}

.volume-discount {
  margin: 4px 0 20px;
}

.volume-discount-label {
  margin: 0 0 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.volume-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.volume-option {
  position: relative;
  flex: 1;
  min-width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 10px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.volume-option:hover {
  border-color: var(--amber);
}

.volume-option.is-selected {
  border-color: var(--amber);
  background: rgba(245, 166, 35, 0.06);
}

.volume-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.volume-option-top {
  display: flex;
  align-items: center;
  gap: 6px;
}

.volume-option-qty {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.volume-option-badge {
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(46, 158, 91, 0.14);
  color: #2e9e5b;
  font-size: 0.7rem;
  font-weight: 700;
}

.volume-option-price {
  font-size: 1.15rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.volume-option-unit {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.qty-stepper {
  display: block;
  margin-bottom: 16px;
}

.add-to-cart-form {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.qty-stepper input {
  width: 72px;
  height: 44px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
}

.btn-add-to-cart {
  flex: 1;
}

.btn-add-to-cart svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-add-to-cart[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.product-trust {
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.product-trust li {
  color: var(--text-muted);
}

.product-trust svg {
  color: var(--amber-dark);
}

.product-description {
  margin: 16px 0 0;
  color: var(--text);
  line-height: 1.65;
}

.product-description h3 {
  margin-top: 0;
  font-size: 1.05rem;
}

.product-description p {
  margin: 0 0 12px;
  color: var(--text-muted);
}

.product-description p:last-child {
  margin-bottom: 0;
}

.product-description a {
  color: var(--amber-dark);
  font-weight: 600;
  text-decoration: underline;
}

.reviews-section {
  margin-bottom: 64px;
}

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

.review-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.review-text {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
  flex: 1;
}

.review-author {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

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

  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .add-to-cart-form {
    flex-direction: column;
  }

  .qty-stepper input {
    width: 100%;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Cart page
   ========================================================================== */

.cart-title {
  margin: 0 0 8px;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text);
}

.cart-subtitle {
  margin: 0 0 32px;
  color: var(--text-muted);
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  align-items: start;
  gap: 48px;
  margin-bottom: 64px;
}

.cart-list {
  border-top: 1px solid var(--border);
}

.cart-line {
  display: grid;
  grid-template-columns: 88px 1fr 120px 100px 40px;
  grid-template-areas: "media body qty total remove";
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.cart-line-media {
  grid-area: media;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background: #fbfaf8;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px;
}

.cart-line-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cart-line-body {
  grid-area: body;
  min-width: 0;
}

.cart-line-body h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 600;
}

.cart-line-body h3 a:hover {
  color: var(--amber-dark);
}

.cart-line-price {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.cart-line-price span {
  color: var(--text-muted);
}

.cart-line-savings {
  margin: 4px 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #2e9e5b;
}

.cart-line-custom {
  margin: 4px 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--amber-dark);
}

.cart-line-qty {
  grid-area: qty;
  margin-bottom: 0;
}

.cart-line-total {
  grid-area: total;
  margin: 0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  text-align: right;
}

.cart-line-remove {
  grid-area: remove;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.cart-line-remove:hover {
  border-color: var(--amber);
  color: var(--amber-dark);
}

.cart-line-remove svg {
  width: 16px;
  height: 16px;
}

.cart-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: 100px;
}

.cart-summary h2 {
  margin: 0 0 16px;
  font-size: 1.1rem;
  font-weight: 700;
}

.cart-summary-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 8px 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cart-summary-total {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
}

.cart-checkout-btn {
  width: 100%;
  margin-top: 20px;
}

.cart-summary .product-trust {
  margin-top: 20px;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 64px 24px;
  margin-bottom: 64px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.cart-empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(245, 166, 35, 0.12);
  color: var(--amber-dark);
}

.cart-empty-icon svg {
  width: 30px;
  height: 30px;
}

.cart-empty-text {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

@media (max-width: 860px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary {
    position: static;
  }
}

/* ==========================================================================
   Order confirmation (afronden)
   ========================================================================== */

.confirmation-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 56px 24px;
  margin: 8px 0 40px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.confirmation-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
}

.confirmation-icon svg {
  width: 30px;
  height: 30px;
}

.confirmation-icon-success {
  background: rgba(34, 153, 84, 0.12);
  color: #1f7a43;
}

.confirmation-icon-failed {
  background: rgba(214, 69, 69, 0.12);
  color: #c53030;
}

.confirmation-icon-pending {
  background: rgba(245, 166, 35, 0.12);
  color: var(--amber-dark);
}

.confirmation-hero h1 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
}

.confirmation-text {
  max-width: 460px;
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.confirmation-ordernummer {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
}

.confirmation-summary {
  max-width: 480px;
  margin: 0 auto 64px;
  position: static;
}

.confirmation-address {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.confirmation-address h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.confirmation-address p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (max-width: 560px) {
  .cart-line {
    grid-template-columns: 72px 1fr auto;
    grid-template-areas:
      "media body remove"
      "qty qty total";
    row-gap: 12px;
  }

  .cart-line-qty .cart-qty-input {
    width: 100%;
  }
}

/* ==========================================================================
   Category / sticker listing page
   ========================================================================== */

.category-page-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
}

.category-page-header h1 {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text);
}

.category-page-count {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.filter-field select {
  height: 44px;
  padding: 0 36px 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

.filter-field select:hover {
  border-color: var(--amber);
}

.filter-reset {
  margin-left: auto;
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: underline;
  cursor: pointer;
}

.filter-reset:hover {
  color: var(--amber-dark);
}

.sticker-grid {
  min-height: 120px;
}

.sticker-grid-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 48px 24px;
  text-align: center;
  color: var(--text-muted);
}

.category-seo {
  margin: 64px 0;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.category-seo h2 {
  margin: 0 0 12px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
}

.category-seo p {
  margin: 0;
  max-width: 720px;
  color: var(--text-muted);
  line-height: 1.65;
}

@media (max-width: 560px) {
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-field select {
    width: 100%;
  }

  .filter-reset {
    margin-left: 0;
  }
}

/* ==========================================================================
   Add-to-cart confirmation modal
   ========================================================================== */

body.modal-open {
  overflow: hidden;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 24, 31, 0.55);
  z-index: 200;
}

.modal-overlay[hidden] {
  display: none;
}

.modal-panel {
  position: relative;
  width: 100%;
  max-width: 400px;
  padding: 40px 32px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  animation: modal-pop-in 0.18s ease;
}

@keyframes modal-pop-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

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

.modal-close svg {
  width: 18px;
  height: 18px;
}

.modal-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: rgba(46, 158, 91, 0.12);
  color: #2e9e5b;
}

.modal-check svg {
  width: 26px;
  height: 26px;
}

.modal-panel h2 {
  margin: 0 0 20px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
}

.modal-product {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 16px;
  margin-bottom: 24px;
  text-align: left;
  background: var(--bg);
  border-radius: var(--radius-md);
}

.modal-product-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px;
}

.modal-product-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.modal-product-info {
  min-width: 0;
}

.modal-product-title {
  margin: 0 0 4px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.modal-product-price {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--amber-dark);
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

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

.modal-actions .btn-outline {
  border-color: var(--border);
  color: var(--text);
}

.modal-actions .btn-outline:hover {
  border-color: var(--amber);
  color: var(--amber-dark);
}

/* ==========================================================================
   Checkout / bestellen page
   ========================================================================== */

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  align-items: start;
  gap: 48px;
  margin-bottom: 64px;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.form-section {
  padding: 24px;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.form-section-title {
  margin: 0 0 16px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.form-field-optional {
  font-weight: 400;
  color: var(--text-muted);
}

.field-hint {
  margin: 4px 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.personalize-field {
  max-width: 320px;
  margin-bottom: 20px;
}

.klanttype-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.klanttype-option {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.klanttype-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.klanttype-option.is-active {
  border-color: var(--amber);
  background: rgba(245, 166, 35, 0.1);
  color: var(--text);
}

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

.form-field:last-child {
  margin-bottom: 0;
}

.form-field[hidden],
.form-row[hidden] {
  display: none;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.form-field input {
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
}

.form-field input:focus {
  outline: none;
  border-color: var(--amber);
}

.form-field input[readonly] {
  background: var(--bg);
  color: var(--text-muted);
  cursor: not-allowed;
}

.form-field input[readonly]:focus {
  border-color: var(--border);
}

.form-field select {
  height: 44px;
  padding: 0 36px 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  cursor: pointer;
}

.form-field select:focus {
  outline: none;
  border-color: var(--amber);
}

.form-field input[disabled] {
  background: var(--bg);
  color: var(--text-muted);
  cursor: not-allowed;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-row .form-field {
  margin-bottom: 0;
}

.form-row-street {
  grid-template-columns: 1fr 140px;
}

.form-row-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.checkout-submit {
  width: 100%;
}

.checkout-summary {
  top: 100px;
}

.checkout-line-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.checkout-line {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkout-line-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: #fbfaf8;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px;
}

.checkout-line-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.checkout-line-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.checkout-line-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-line-title small {
  display: block;
  margin-top: 2px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--amber-dark);
  white-space: normal;
}

.checkout-line-qty {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.checkout-line-price {
  font-size: 0.85rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    position: static;
  }
}

@media (max-width: 560px) {
  .form-row,
  .form-row-street,
  .form-row-3 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Static content pages (over ons, faq, voorwaarden, cookies, contact)
   ========================================================================== */

.static-page-header {
  max-width: 720px;
  margin-bottom: 32px;
}

.static-page-header h1 {
  margin: 0 0 12px;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text);
}

.static-page-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.static-page-content {
  max-width: 720px;
  margin-bottom: 56px;
  color: var(--text);
  line-height: 1.7;
}

.static-page-content p {
  margin: 0 0 16px;
  color: var(--text-muted);
}

.static-page-content p:last-child {
  margin-bottom: 0;
}

.static-page-content a {
  color: var(--amber-dark);
  font-weight: 600;
  text-decoration: underline;
}

/* Prose: long legal / cookie text */

.prose {
  max-width: 720px;
  margin-bottom: 56px;
  color: var(--text);
  line-height: 1.7;
}

.instructions-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: start;
}

.instructions-layout .prose {
  max-width: none;
  margin-bottom: 0;
}

.instructions-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

@media (max-width: 860px) {
  .instructions-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 40px;
  }

  .instructions-image {
    order: -1;
  }
}

.prose h2 {
  margin: 40px 0 12px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 28px 0 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.prose p {
  margin: 0 0 14px;
  color: var(--text-muted);
}

.prose ol,
.prose ul {
  margin: 0 0 14px;
  padding-left: 20px;
  color: var(--text-muted);
}

.prose li {
  margin-bottom: 6px;
}

.prose a {
  color: var(--amber-dark);
  font-weight: 600;
  text-decoration: underline;
}

.prose-toc {
  margin: 0 0 32px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  list-style: none;
  columns: 2;
  column-gap: 32px;
}

.prose-toc li {
  margin-bottom: 4px;
  font-size: 0.88rem;
}

.prose-toc a {
  color: var(--text-muted);
  font-weight: 500;
  text-decoration: none;
}

.prose-toc a:hover {
  color: var(--amber-dark);
}

@media (max-width: 560px) {
  .prose-toc {
    columns: 1;
  }
}

/* ==========================================================================
   Blog
   ========================================================================== */

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

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

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

.post-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: #fbfaf8;
  border-bottom: 1px solid var(--border);
}

.post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card-category {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
}

.post-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
}

.post-card-date {
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.post-card-body h2 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.post-card-body h2 a:hover {
  color: var(--amber-dark);
}

.post-card-excerpt {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-excerpt a {
  color: inherit;
  text-decoration: underline;
}

.post-card-link {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--amber-dark);
}

.post-detail {
  max-width: 720px;
  margin: 0 auto 24px;
}

.post-detail-header {
  margin-bottom: 24px;
}

.post-detail-category {
  position: static;
  display: inline-block;
  margin-bottom: 12px;
}

.post-detail-header h1 {
  margin: 0 0 8px;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text);
}

.post-detail-date {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.post-detail-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
}

.post-detail .prose {
  max-width: none;
  margin-bottom: 0;
}

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

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

/* FAQ accordion */

.faq-groups {
  max-width: 720px;
  margin-bottom: 56px;
}

.faq-group {
  margin-bottom: 36px;
}

.faq-group h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform 0.15s ease;
}

.faq-item[open] summary .faq-icon {
  transform: rotate(45deg);
  color: var(--amber-dark);
}

.faq-item p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--text-muted);
  line-height: 1.65;
}

.faq-item p a {
  color: var(--amber-dark);
  font-weight: 600;
  text-decoration: underline;
}

/* Contact page */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
  margin-bottom: 64px;
}

.contact-intro {
  margin: 0 0 20px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 480px;
}

.form-field textarea {
  min-height: 140px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-family: inherit;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text);
  resize: vertical;
}

.form-field textarea:focus {
  outline: none;
  border-color: var(--amber);
}

#contact-form {
  transition: opacity 0.25s ease;
}

#contact-form.is-sending {
  opacity: 0.5;
  pointer-events: none;
}

#contact-form.is-fading-out {
  opacity: 0;
}

.form-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  vertical-align: -3px;
  animation: form-spinner-spin 0.7s linear infinite;
}

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

.contact-result {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: rgba(245, 166, 35, 0.1);
  border: 1px solid var(--amber);
  color: var(--text);
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.contact-result.is-visible {
  opacity: 1;
}

.contact-result[hidden] {
  display: none;
}

.contact-result img {
  width: 20px;
  flex-shrink: 0;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.info-card h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.info-card h2 svg {
  width: 18px;
  height: 18px;
  color: var(--amber-dark);
  flex-shrink: 0;
}

.info-card p {
  margin: 0 0 6px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.info-card p:last-child {
  margin-bottom: 0;
}

.info-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.info-card ul a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--amber-dark);
}

@media (max-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}
