/* FunSat store — funsat.nl */
:root {
  --ink: #16171a;
  --ink-soft: #2a2c31;
  --paper: #f3f4f5;
  --paper-2: #ffffff;
  --muted: #5e626b;
  --line: #d5d7db;
  --signal: #c8102e;
  --signal-ink: #9a0c23;
  --ok: #1f6b4a;
  --warn-bg: #fff8e8;
  --warn-line: #e6c96a;
  --warn-ink: #5c4a12;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--signal); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--signal-ink); }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* —— header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 244, 245, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  flex-shrink: 0;
}

.brand span {
  color: var(--signal);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  align-items: center;
  font-size: 0.95rem;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--signal);
}

.nav .cta {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  background: var(--ink);
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.25s var(--ease);
}

.nav .cta:hover { background: var(--signal); }

.cart-count {
  display: inline-block;
  min-width: 1.25rem;
  padding: 0.05rem 0.35rem;
  margin-left: 0.15rem;
  background: var(--signal);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper-2);
  border: 1px solid var(--line);
}

.cart-table th,
.cart-table td {
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.cart-table th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.cart-total {
  margin: 1.25rem 0;
  font-size: 1.2rem;
}

.qty-btn {
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.linkish {
  border: 0;
  background: none;
  color: var(--signal);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.ship-box {
  margin: 1.5rem 0 0;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  background: var(--paper-2);
}

.ship-box legend {
  padding: 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.ship-opt {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.ship-opt:last-child { border-bottom: 0; }

.ship-opt input {
  margin-top: 0.35rem;
  accent-color: var(--signal);
}

.cust-grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .cust-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cust-grid .full { grid-column: 1 / -1; }
}

.cust-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.cust-grid input {
  font: inherit;
  font-weight: 400;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.cust-grid input:focus {
  outline: 2px solid rgba(200, 16, 46, 0.25);
  border-color: var(--signal);
}

button.btn {
  font: inherit;
  cursor: pointer;
}

/* —— hero —— */
.hero {
  padding: 3.25rem 0 2.75rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -10% -40% 45%;
  height: 120%;
  background:
    linear-gradient(115deg, transparent 0%, rgba(200, 16, 46, 0.06) 40%, transparent 70%),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 11px,
      rgba(22, 23, 26, 0.035) 11px,
      rgba(22, 23, 26, 0.035) 12px
    );
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: end;
  }
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(2.4rem, 5.5vw, 3.85rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 14ch;
}

.hero .lede {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 38ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.15rem;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

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

.btn-primary {
  background: var(--signal);
  color: #fff;
}

.btn-primary:hover {
  background: var(--signal-ink);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
}

.hero-aside {
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 1.25rem 1.35rem;
}

.hero-aside h2 {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.hero-aside ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-aside li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.hero-aside li:last-child { border-bottom: 0; }

.hero-aside .tag {
  color: var(--muted);
  font-size: 0.85rem;
}

/* —— sections —— */
.section {
  padding: 2.75rem 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-head h2 {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 42ch;
}

/* product rows — not floating card deck */
.catalog {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.product-row {
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  animation: rise 0.7s var(--ease) both;
}

.product-row:nth-child(2) { animation-delay: 0.08s; }
.product-row:nth-child(3) { animation-delay: 0.16s; }
.product-row:nth-child(4) { animation-delay: 0.24s; }

@media (min-width: 760px) {
  .product-row {
    grid-template-columns: 220px 1fr auto;
    gap: 1.75rem;
  }
}

.product-row figure {
  margin: 0;
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 0.85rem;
  min-height: 140px;
  display: grid;
  place-items: center;
}

.product-row img {
  max-height: 130px;
  width: auto;
}

.product-row h3 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}

.product-row .meta {
  margin: 0 0 0.65rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.specs-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.specs-inline li::before {
  content: "";
  display: inline-block;
  width: 0.35rem;
  height: 0.35rem;
  margin-right: 0.45rem;
  margin-bottom: 0.1rem;
  background: var(--signal);
  vertical-align: middle;
}

.buy {
  text-align: left;
}

@media (min-width: 760px) {
  .buy { text-align: right; min-width: 9.5rem; }
}

.price {
  margin: 0 0 0.65rem;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.price small {
  font-size: 0.55em;
  font-weight: 600;
  color: var(--muted);
}

/* notice */
.notice {
  margin: 0 0 1.75rem;
  padding: 1rem 1.15rem;
  background: var(--warn-bg);
  border-left: 3px solid var(--warn-line);
  color: var(--warn-ink);
  font-size: 0.92rem;
}

.notice strong { color: var(--ink); }
.notice ul { margin: 0.5rem 0 0; padding-left: 1.15rem; }
.notice li { margin: 0.25rem 0; }

/* app band */
.app-band {
  display: grid;
  gap: 1.5rem;
  background: var(--ink);
  color: #f3f4f5;
  padding: 2rem 1.35rem;
}

@media (min-width: 800px) {
  .app-band {
    grid-template-columns: 1.2fr 0.8fr;
    padding: 2.4rem 2rem;
    align-items: center;
  }
}

.app-band h2 {
  margin: 0 0 0.6rem;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 400;
}

.app-band p {
  margin: 0 0 1rem;
  color: #b8bbc2;
  max-width: 48ch;
}

.app-band .btn-primary {
  background: #fff;
  color: var(--ink);
}

.app-band .btn-primary:hover {
  background: var(--signal);
  color: #fff;
}

.app-points {
  margin: 0;
  padding: 0;
  list-style: none;
}

.app-points li {
  padding: 0.55rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
}

.app-points li:first-child { border-top: 0; }

/* page title */
.page-hero {
  padding: 2.25rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 58ch;
}

/* detail tables */
.detail {
  padding: 1.75rem 0 2.5rem;
}

.detail-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 900px) {
  .detail-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.detail-block {
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 1.15rem 1.15rem 1.25rem;
}

.detail-block h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.detail-block .price {
  font-size: 1.4rem;
}

.detail-block figure {
  margin: 0 0 0.85rem;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0.75rem;
  min-height: 150px;
  display: grid;
  place-items: center;
}

.detail-block img { max-height: 140px; }

.specs {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  margin-top: 0.75rem;
}

.specs th,
.specs td {
  padding: 0.45rem 0.2rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.specs th {
  width: 38%;
  color: var(--muted);
  font-weight: 600;
}

.pdf {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
}

/* contact */
.contact-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-panel {
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 1.35rem;
}

.contact-panel h2 {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
}

.contact-panel p { margin: 0.4rem 0; }

/* footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0 2.25rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer .cols {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 700px) {
  .site-footer .cols {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.site-footer strong { color: var(--ink); }
.site-footer a { color: var(--ink-soft); font-weight: 600; text-decoration: none; }
.site-footer a:hover { color: var(--signal); }

.site-footer .fine {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .product-row { animation: none; }
  html { scroll-behavior: auto; }
}


/* catalog product detail */
.product-detail {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}
.product-gallery {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
}
.product-gallery img {
  width: 100%;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}
.product-buy {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: sticky;
  top: 5rem;
}
.product-buy .btn { text-align: center; }
.product-copy {
  grid-column: 1 / -1;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem 1.4rem;
}
.product-copy p { margin: 0 0 0.85rem; }
.product-copy-body {
  position: relative;
}
.product-copy[data-readmore]:not(.is-expanded) .product-copy-body {
  max-height: 11rem;
  overflow: hidden;
}
.product-copy[data-readmore]:not(.is-expanded) .product-copy-body::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3.5rem;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--paper-2) 85%);
  pointer-events: none;
}
.read-toggle {
  appearance: none;
  border: 0;
  background: none;
  padding: 0.35rem 0 0;
  margin-top: 0.25rem;
  font: inherit;
  font-weight: 700;
  color: var(--signal);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.read-toggle:hover { color: var(--signal-ink); }
.stock { font-weight: 600; margin: 0; }
.stock-ok { color: var(--ok); }
.stock-out { color: var(--signal-ink); }
@media (max-width: 800px) {
  .product-detail { grid-template-columns: 1fr; }
  .product-buy { position: static; }
}


/* shop-card professional grid */
.hero-shop { padding: 2.75rem 0 2.5rem; }
.hero-shop-grid {
  position: relative;
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-shop-grid { grid-template-columns: 1.15fr 0.85fr; gap: 2.5rem; }
}
.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-shop h1 {
  margin: 0 0 0.75rem;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.hero-highlight { margin: 0; }
.hero-product {
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.hero-product:hover {
  border-color: rgba(200, 16, 46, 0.35);
  transform: translateY(-2px);
}
.hero-product img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
}
.hero-product div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.85rem;
}
.hero-product strong { font-size: 1.15rem; }
.hero-product .price { margin: 0; margin-left: auto; font-size: 1.35rem; }

.shop-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.shop-card {
  display: flex;
  flex-direction: column;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  min-height: 100%;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.shop-card:hover {
  border-color: rgba(22, 23, 26, 0.22);
  box-shadow: 0 10px 28px rgba(22, 23, 26, 0.06);
}
.shop-card-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  background: linear-gradient(180deg, #fafafa 0%, #f0f1f3 100%);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.shop-card-media img {
  max-width: 86%;
  max-height: 86%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.shop-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.shop-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.05rem 0.35rem;
  flex: 1;
}
.shop-card-body h2,
.shop-card-body h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.shop-card-body h2 a,
.shop-card-body h3 a {
  color: var(--ink);
  text-decoration: none;
}
.shop-card-body h2 a:hover,
.shop-card-body h3 a:hover { color: var(--signal); }
.shop-card-body .meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.shop-specs {
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.2rem;
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.shop-specs li::before {
  content: "";
  display: inline-block;
  width: 0.32rem;
  height: 0.32rem;
  margin-right: 0.4rem;
  margin-bottom: 0.08rem;
  background: var(--signal);
  vertical-align: middle;
}
.shop-card-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1.05rem 1.1rem;
  margin-top: auto;
}
.shop-card-foot .price { margin: 0 0 0.2rem; font-size: 1.4rem; }
.shop-card-foot .stock { font-size: 0.82rem; }
.stock-order { color: #8a6d1d; font-weight: 600; }
.section-more {
  margin: 1.25rem 0 0;
  font-weight: 600;
}
.section-more a { text-decoration: none; }
.assort-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0;
}
.assort-jump a {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--paper-2);
}
.assort-jump a:hover {
  color: var(--signal);
  border-color: rgba(200, 16, 46, 0.35);
}
