

@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url('/fonts/oswald-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url('/fonts/oswald-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {

  --paper:       #f5f0e6;
  --paper-deep:  #ebe4d3;
  --card:        #fffdf7;
  --ink:         #26272b;
  --ink-soft:    #5b5c63;
  --ink-faint:   #636369;
  --line:        #ded4c0;
  --red:         #a01b1f;
  --red-dark:    #83161a;
  --red-deep:    #5c0f12;
  --red-wash:    #f4e3de;
  --green:       #2e7d43;
  --amber:       #b97e14;
  --amber-wash:  #f7ecd4;
  --board:       #202126;
  --board-text:  #f2e9d4;


  --font-head: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;


  --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;   --sp-7: 3rem;    --sp-8: 4rem;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 3px rgb(38 39 43 / .08);
  --shadow-md: 0 4px 14px rgb(38 39 43 / .10);
  --shadow-lg: 0 12px 32px rgb(38 39 43 / .16);
  --container: 74rem;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1; }

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

a { color: inherit; text-decoration: none; }
p a, li a, .text-link { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
p a:hover, li a:hover, .text-link:hover { color: var(--red-dark); }

button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }
hr { border: none; border-top: 1px solid var(--line); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); text-transform: uppercase; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

.lead { font-size: 1.125rem; color: var(--ink-soft); max-width: 46rem; }
.muted { color: var(--ink-soft); }
.small { font-size: 0.875rem; }
.tiny  { font-size: 0.75rem; }

::selection { background: var(--red); color: #fff; }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius);
  transition: top 0.15s ease;
}
.skip-link:focus-visible { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--sp-4); }
.container--narrow { max-width: 50rem; }
.container--medium { max-width: 62rem; }

.section { padding-block: var(--sp-7); }
.section--tight { padding-block: var(--sp-6); }
.section--deep { background: var(--paper-deep); }

.grid { display: grid; gap: var(--sp-5); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.stack > * + * { margin-top: var(--sp-4); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

.track-divider {
  height: 10px;
  color: var(--red);
  background-image:
    linear-gradient(to bottom, transparent 30%, currentColor 30%, currentColor 40%, transparent 40%, transparent 60%, currentColor 60%, currentColor 70%, transparent 70%),
    repeating-linear-gradient(to right, currentColor 0, currentColor 4px, transparent 4px, transparent 14px);
}
.track-divider--light { color: rgb(255 255 255 / .5); }

.station-sign {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.5rem 1.6rem;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 2px var(--red), inset 0 0 0 4px rgb(255 255 255 / .85), var(--shadow-md);
  text-align: center;
}
.station-sign--dark {
  background: var(--board);
  box-shadow: inset 0 0 0 2px var(--board), inset 0 0 0 4px rgb(255 255 255 / .7), var(--shadow-md);
}
h1.station-sign, h2.station-sign { font-size: clamp(1.5rem, 3vw, 2.1rem); }

.departure-board {
  background: var(--board);
  color: var(--board-text);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  box-shadow: var(--shadow-md);
  font-family: var(--font-head);
  letter-spacing: 0.04em;
}
.departure-board__title {
  display: flex; align-items: center; gap: var(--sp-2);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--amber);
  border-bottom: 1px solid rgb(255 255 255 / .15);
  padding-bottom: var(--sp-3);
  margin-bottom: var(--sp-3);
}
.departure-board__row {
  display: flex; align-items: baseline; gap: var(--sp-2);
  padding-block: 0.4rem;
  font-size: 1.02rem;
  text-transform: uppercase;
}
.departure-board__row .dots {
  flex: 1;
  border-bottom: 2px dotted rgb(255 255 255 / .25);
  transform: translateY(-4px);
}
.departure-board__row .time { color: var(--amber); font-weight: 500; white-space: nowrap; }

.departure-board__now {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.9rem;
  font-weight: 500;
  padding-bottom: var(--sp-3);
  margin-bottom: var(--sp-3);
  border-bottom: 1px solid rgb(255 255 255 / .15);
}
.status-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  flex-shrink: 0;
  background: currentColor;
}
.status-dot--open   { color: var(--green); box-shadow: 0 0 0 3px rgb(255 255 255 / .12); }
.status-dot--closed { color: var(--ink-faint); }

.stamp {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  border: 2px solid currentColor;
  border-radius: 4px;
  padding: 0.1rem 0.5rem;
  transform: rotate(-2deg);
  background: rgb(255 255 255 / .72);
}
.stamp--green { color: var(--green); }
.stamp--amber { color: var(--amber); }
.stamp--ink   { color: var(--ink); }

.ticket {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  --hole: var(--paper);
}
.ticket::before, .ticket::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 12px;
}
.ticket::before {
  left: -1px;
  background-image: radial-gradient(circle 5px at 0 50%, var(--hole) 98%, transparent);
  background-size: 12px 22px;
}
.ticket::after {
  right: -1px;
  background-image: radial-gradient(circle 5px at 100% 50%, var(--hole) 98%, transparent);
  background-size: 12px 22px;
}
.ticket__body { padding: var(--sp-5); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s, transform .1s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn svg, .btn i { width: 1.1em; height: 1.1em; }

.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: #3a3b41; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--card); color: var(--red); border-color: var(--card); }
.btn--light:hover { background: var(--paper-deep); border-color: var(--paper-deep); }
.btn--ghost { color: var(--ink-soft); }
.btn--ghost:hover { color: var(--ink); background: rgb(38 39 43 / .06); }
.btn--block { width: 100%; }
.btn--lg { padding: 0.85rem 2rem; font-size: 1.05rem; }
.btn--sm { padding: 0.35rem 0.9rem; font-size: 0.8rem; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.card__body { padding: var(--sp-5); }

.card__title {
  display: flex; align-items: center; gap: var(--sp-2);
  color: var(--red);
  margin-bottom: var(--sp-3);
  font-size: 1.25rem;
  text-transform: none;
}
.subhead { font-size: 1.25rem; text-transform: none; }
.card--hover { transition: transform .25s, box-shadow .25s, border-color .25s; }
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--red); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(245 240 230 / .95);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--red);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  height: 5.25rem;
  transition: height .3s;
}
.site-header.is-scrolled .site-header__inner { height: 4.25rem; }
.site-header__logo img { height: 3.6rem; width: auto; transition: height .3s; border-radius: 4px; }
.site-header.is-scrolled .site-header__logo img { height: 3rem; }

.site-nav { display: flex; align-items: center; gap: var(--sp-5); }
.site-nav__link {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.02rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  padding-block: 0.3rem;
  position: relative;
}
.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 0;
  background: var(--red);
  transition: width .25s;
}
.site-nav__link:hover { color: var(--ink); }
.site-nav__link:hover::after, .site-nav__link.is-active::after { width: 100%; }
.site-nav__link.is-active { color: var(--ink); }

.nav-dd { position: relative; display: flex; align-items: center; }
.nav-dd::after {
  content: "";
  position: absolute;
  top: 100%; left: 0; right: 0;
  height: 0.9rem;
}
.nav-dd__menu {
  position: absolute;
  top: calc(100% + 0.9rem);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 13rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-2);
  display: grid;
  gap: 1px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 60;
}
.nav-dd:hover .nav-dd__menu,
.nav-dd:focus-within .nav-dd__menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dd__item {
  display: block;
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius);
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  color: var(--ink-soft);
  white-space: nowrap;
}
.nav-dd__item:hover, .nav-dd__item:focus-visible { background: var(--paper-deep); color: var(--red); }

.header-actions { display: flex; align-items: center; gap: var(--sp-3); }
.cart-button {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.6rem; height: 2.6rem;
  border-radius: 50%;
  transition: background-color .15s;
}
.cart-button:hover { background: rgb(38 39 43 / .08); }
.cart-button svg { width: 1.4rem; height: 1.4rem; }
.cart-button__badge {
  position: absolute;
  top: -2px; right: -2px;
  min-width: 18px; height: 18px;
  padding-inline: 4px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.cart-button__badge.hidden { display: none; }

.menu-toggle { display: none; width: 2.6rem; height: 2.6rem; border-radius: var(--radius); align-items: center; justify-content: center; }
.menu-toggle:hover { background: rgb(38 39 43 / .08); }

.mobile-menu { display: none; border-top: 1px solid var(--line); background: var(--paper); }
.mobile-menu.is-open { display: block; }
.mobile-menu__link {
  display: block;
  padding: 0.7rem var(--sp-4);
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-soft);
  border-radius: var(--radius);
}
.mobile-menu__link:hover, .mobile-menu__link.is-active { background: var(--paper-deep); color: var(--ink); }

.mobile-menu__link--sub {
  padding-left: 2.2rem;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  position: relative;
}
.mobile-menu__link--sub::before {
  content: "";
  position: absolute;
  left: 1.1rem; top: 50%;
  width: 0.6rem; height: 2px;
  background: var(--red);
  transform: translateY(-50%);
}
.mobile-menu__list { padding: var(--sp-3); display: grid; gap: 2px; }

.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgb(20 15 12 / .68), rgb(20 15 12 / .35) 55%, var(--paper) 100%);
}
.hero--flat .hero__overlay { background: rgb(20 15 12 / .55); }
.hero__content { position: relative; z-index: 2; padding-block: var(--sp-8); }

.hero__kicker {
  display: inline-block;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--board-text);
  border: 2px solid rgb(255 255 255 / .55);
  border-radius: 4px;
  padding: 0.2rem 0.7rem;
  margin-bottom: var(--sp-4);
  backdrop-filter: blur(4px);
}

.hero__content .hero__kicker { transform: rotate(-2deg); }
.hero h1 { text-shadow: 0 2px 12px rgb(0 0 0 / .4); }
.hero .lead { color: rgb(255 255 255 / .92); text-shadow: 0 1px 6px rgb(0 0 0 / .4); }

.panel-dark {
  position: relative;
  background: linear-gradient(135deg, var(--red-deep), var(--red-dark) 55%, var(--red));
  color: #fff;
  overflow: hidden;
}
.panel-dark--ink { background: linear-gradient(160deg, #1b1c20, var(--board) 60%, #2c2d33); }
.panel-dark .lead { color: rgb(255 255 255 / .88); }
.panel-dark__track { position: absolute; bottom: 0; left: 0; right: 0; }

.section-head { margin-bottom: var(--sp-6); }
.section-head .station-sign { margin-bottom: var(--sp-4); }

.site-footer {
  background: var(--board);
  color: var(--board-text);
}
.site-footer__track { color: var(--red); background-color: var(--ink); }
.site-footer__grid {
  display: grid;

  grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr));
  gap: var(--sp-6);
  padding-block: var(--sp-6);
}
.site-footer h2 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--amber);
  margin-bottom: var(--sp-3);
}
.site-footer li { padding-block: 0.22rem; font-size: 0.9rem; color: rgb(242 233 212 / .8); }

.site-footer li a, .site-footer li button {
  color: inherit; font-size: inherit; text-align: left;
  text-decoration: underline; text-underline-offset: 3px;
}
.site-footer li a:hover, .site-footer li button:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer__brand img { height: 4rem; width: auto; border-radius: 4px; margin-bottom: var(--sp-3); }
.site-footer__brand p { font-size: 0.9rem; color: rgb(242 233 212 / .7); }
.site-footer__bottom {
  border-top: 1px solid rgb(255 255 255 / .12);
  padding-block: var(--sp-4);
  text-align: center;
  font-size: 0.75rem;
  color: rgb(242 233 212 / .55);
}
.site-footer .icon-line { display: flex; gap: 0.5rem; align-items: flex-start; }
.site-footer .icon-line svg, .site-footer .icon-line i { width: 1rem; height: 1rem; flex-shrink: 0; margin-top: 3px; color: var(--amber); }

.field { display: grid; gap: 0.35rem; }
.field > label { font-size: 0.875rem; font-weight: 600; }
.field .hint { font-size: 0.75rem; color: var(--ink-faint); }
.field-error { font-size: 0.75rem; color: var(--red); }
.field-error.hidden { display: none; }

.input, .select, .textarea {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.6rem 0.8rem;
  font-size: 0.95rem;
  transition: border-color .15s, box-shadow .15s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgb(160 27 31 / .15);
}
.textarea { min-height: 7rem; resize: vertical; }
.select { appearance: none; }
.select-wrap { position: relative; }
.select-wrap i, .select-wrap svg { position: absolute; right: 0.8rem; top: 50%; transform: translateY(-50%); width: 1rem; height: 1rem; pointer-events: none; opacity: .5; }

.checkbox-row { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.875rem; color: var(--ink-soft); cursor: pointer; }
.checkbox-row input { width: 1rem; height: 1rem; margin-top: 3px; accent-color: var(--red); flex-shrink: 0; }
.checkbox-row a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.option-card {
  display: flex; gap: 0.7rem; align-items: flex-start;
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  cursor: pointer;
  background: var(--card);
  transition: border-color .15s, background-color .15s;
}
.option-card:hover { border-color: var(--red); }
.option-card.is-selected { border-color: var(--red); background: var(--red-wash); }
.option-card input { accent-color: var(--red); margin-top: 4px; }
.option-card__title { font-weight: 600; font-size: 0.95rem; display: flex; align-items: center; gap: 0.4rem; }
.option-card__title i, .option-card__title svg { width: 1rem; height: 1rem; color: var(--red); }
.option-card__desc { font-size: 0.8rem; color: var(--ink-soft); margin-top: 2px; }

.notice { display: flex; gap: 0.7rem; align-items: flex-start; border-radius: var(--radius-lg); padding: var(--sp-4); font-size: 0.9rem; border: 1px solid; }
.notice i, .notice svg { width: 1.2rem; height: 1.2rem; flex-shrink: 0; margin-top: 1px; }
.notice--error { background: var(--red-wash); border-color: rgb(160 27 31 / .35); color: var(--red-dark); }
.notice--success { background: #e5efe2; border-color: rgb(46 125 67 / .4); color: var(--green); }
.notice--warn { background: var(--amber-wash); border-color: rgb(185 126 20 / .4); color: var(--amber); }
.notice.hidden { display: none; }

.toast { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 80; }
.toast.hidden { display: none; }
.toast__inner {
  display: flex; align-items: center; gap: 0.7rem;
  background: var(--board); color: var(--board-text);
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
}
.toast__inner svg { width: 1.2rem; height: 1.2rem; color: #7bc47f; flex-shrink: 0; }
.toast__inner a { color: #f0b356; font-weight: 600; white-space: nowrap; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; font-size: 0.85rem; color: var(--ink-soft); margin-bottom: var(--sp-5); }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .current { color: var(--ink); font-weight: 500; }

.steps { display: flex; align-items: center; justify-content: center; gap: 0.7rem; margin-bottom: var(--sp-6); font-size: 0.85rem; }
.steps__item { display: flex; align-items: center; gap: 0.45rem; color: var(--ink-soft); font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.06em; }
.steps__item.is-active { color: var(--ink); font-weight: 600; }
.steps__dot {
  width: 1.7rem; height: 1.7rem; border-radius: 50%;
  border: 2px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700;
}
.steps__item.is-done .steps__dot { border-color: var(--red); color: var(--red); }
.steps__item.is-active .steps__dot { background: var(--red); border-color: var(--red); color: #fff; }
.steps__line { width: 2.4rem; height: 2px; background: var(--line); }
.steps__line.is-done { background: var(--red); }

.order-progress { justify-content: space-between; width: 100%; margin-bottom: 0; }
.order-progress .steps__line { flex: 1; width: auto; min-width: 1.5rem; }
@media (max-width: 640px) {
  .order-progress { flex-wrap: wrap; row-gap: 1rem; }
  .order-progress .steps__line { display: none; }
}

.info-card iframe { width: 100%; aspect-ratio: 16/9; border: 0; }
.map-consent {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--sp-3);
  background: var(--paper-deep);
  text-align: center; padding: var(--sp-5);
}

.map-consent[hidden] { display: none; }
.map-consent i, .map-consent svg { width: 2rem; height: 2rem; color: var(--red); }
.map-wrap { position: relative; aspect-ratio: 16/9; }

.media-card__img { position: relative; display: block; height: 12rem; overflow: hidden; }
.media-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.media-card:hover .media-card__img img { transform: scale(1.05); }

.ai-badge {
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: rgb(20 15 12 / .55);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.14rem 0.42rem;
  border-radius: 999px;
  backdrop-filter: blur(3px);
  pointer-events: none;
}
.ai-badge svg, .ai-badge i { width: 0.62rem; height: 0.62rem; flex-shrink: 0; }
.media-card__kicker {
  display: flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.14em;
  font-size: 0.72rem; color: var(--red); margin-bottom: var(--sp-2);
}
.media-card__kicker i, .media-card__kicker svg { width: 1rem; height: 1rem; }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4); }
.product-card {
  display: flex; flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid transparent;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-top-color: var(--red); }
.product-card__img { position: relative; aspect-ratio: 4/3; background: var(--paper-deep); overflow: hidden; }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-card__img img { transform: scale(1.04); }
.product-card__img .placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.product-card__badges { position: absolute; top: 0.6rem; left: 0.6rem; display: flex; gap: 0.35rem; }
.product-card__body { display: flex; flex-direction: column; flex: 1; padding: var(--sp-4); }
.product-card__brand { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-faint); margin-bottom: 2px; }
.product-card__name { font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; line-height: 1.35; text-transform: none; letter-spacing: 0; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card__desc { font-size: 0.82rem; color: var(--ink-soft); flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: var(--sp-3); }

.description-clamp p { margin: 0 0 0.9em; }
.description-clamp p:last-child { margin-bottom: 0; }
.product-card__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2); margin-top: auto; }
.price { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; }
.price--big { font-size: 1.9rem; }
.price--ask { font-size: 0.95rem; color: var(--red); font-weight: 600; }

.badge-pill {
  display: inline-block;
  padding: 0.12rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--board);
  color: var(--board-text);
}
.badge-pill--red { background: var(--red); color: #fff; }
.badge-pill--amber { background: var(--amber); color: #fff; }
.badge-pill--green { background: var(--green); color: #fff; }

.filter-bar { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; margin-bottom: var(--sp-5); }
.filter-dd { position: relative; }
.filter-dd__btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.85rem; font-weight: 500;
  transition: border-color .15s, color .15s;
}
.filter-dd__btn:hover, .filter-dd:focus-within .filter-dd__btn { border-color: var(--red); color: var(--red); }
.filter-dd__btn i, .filter-dd__btn svg { width: 0.9rem; height: 0.9rem; }
.filter-dd__menu {
  display: none;
  position: absolute; left: 0; top: calc(100% + 6px);
  min-width: 12rem; max-height: 16rem; overflow-y: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 0.3rem;
  z-index: 40;
}
.filter-dd:focus-within .filter-dd__menu { display: block; }
.filter-dd__item { display: block; padding: 0.45rem 0.7rem; border-radius: var(--radius); font-size: 0.85rem; }
.filter-dd__item:hover { background: var(--paper-deep); }
.filter-dd__item.is-active { color: var(--red); font-weight: 700; }
.filter-reset { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.85rem; color: var(--red); font-weight: 600; background: var(--red-wash); border-radius: 999px; padding: 0.45rem 1rem; }
.filter-reset:hover { text-decoration: underline; }
.filter-reset i, .filter-reset svg { width: 0.9rem; height: 0.9rem; }

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  grid-template-areas: "image buy" "desc specs";
  gap: var(--sp-6) var(--sp-5);
}
.detail-image-col { grid-area: image; }
.detail-buy { grid-area: buy; }
.detail-desc { grid-area: desc; }
.detail-specs-col { grid-area: specs; }

.detail-image { position: relative; border-radius: var(--radius-lg); overflow: hidden; cursor: zoom-in; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 9; background: var(--card); }
.detail-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.detail-image .placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 5rem; }

.detail-buy {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-6) var(--sp-5);
  display: flex;
  flex-direction: column;
}

.detail-specs-col { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--sp-5); }
.detail-specs-col .spec-table { border: none; border-radius: 0; }
.detail-image__zoom {
  position: absolute; bottom: 0.8rem; right: 0.8rem;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
}
.detail-image__zoom i, .detail-image__zoom svg { width: 1rem; height: 1rem; }
.detail-thumbs { display: flex; gap: 0.6rem; margin-top: 0.8rem; flex-wrap: wrap; }
.detail-thumb {
  width: 4.2rem; height: 4.2rem; border-radius: var(--radius); overflow: hidden;
  border: 2px solid transparent; background: var(--paper-deep); padding: 0; flex-shrink: 0;
}
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-thumb.is-active { border-color: var(--red); }
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgb(0 0 0 / .88);
  display: flex; align-items: center; justify-content: center; padding: 2rem;
  cursor: zoom-out;
}
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: default; }
.lightbox__close {
  position: absolute; top: 1.2rem; right: 1.2rem;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: rgb(255 255 255 / .1); color: #fff; display: flex; align-items: center; justify-content: center;
}
.lightbox__close:hover { background: rgb(255 255 255 / .2); }
.gewaehrleistung-label { text-align: center; }
.gewaehrleistung-label__title { font-weight: 600; margin-bottom: 0.8rem; }
.gewaehrleistung-label__img { display: block; width: 100%; max-width: 22rem; margin: 0 auto; border-radius: var(--radius); border: 1px solid var(--line); }
.spec-table { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; font-size: 0.875rem; }
.spec-table__row { display: flex; }
.spec-table__row:nth-child(odd) { background: var(--paper-deep); }
.spec-table__key { width: 10rem; flex-shrink: 0; padding: 0.55rem 0.9rem; color: var(--ink-soft); font-weight: 500; border-right: 1px solid var(--line); }
.spec-table__val { flex: 1; padding: 0.55rem 0.9rem; }
.qty-picker { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.qty-picker button { padding: 0.4rem 0.85rem; font-size: 1.1rem; font-weight: 700; }
.qty-picker button:hover { background: var(--paper-deep); }
.qty-picker input { width: 2.8rem; text-align: center; border: none; background: transparent; font-weight: 600; }
.qty-picker input:focus { outline: none; }
.mobile-buybar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: var(--card);
  border-top: 1px solid var(--line);
  padding: var(--sp-3) var(--sp-4);
  box-shadow: 0 -6px 20px rgb(38 39 43 / .12);
  align-items: center; gap: var(--sp-3);
}

.cart-line {
  display: flex; align-items: center; gap: var(--sp-4);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
}
.cart-line__thumb { width: 4rem; height: 4rem; border-radius: var(--radius); background: var(--paper-deep); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; flex-shrink: 0; overflow: hidden; }
.cart-line__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__info { flex: 1; min-width: 0; }
.cart-line__name { font-weight: 600; font-size: 0.95rem; line-height: 1.35; }
.cart-line__qty { display: flex; align-items: center; gap: 0.4rem; flex-shrink: 0; }
.cart-line__qty button { width: 1.9rem; height: 1.9rem; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 700; }
.cart-line__qty button:hover { background: var(--paper-deep); }
.cart-line__sub { text-align: right; width: 6rem; flex-shrink: 0; }
.cart-line__remove { font-size: 0.75rem; color: var(--red); }
.cart-line__remove:hover { text-decoration: underline; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 22rem; gap: var(--sp-5); align-items: start; }
.ticket--sticky { position: sticky; top: 6.5rem; }
.summary-rows { display: grid; gap: 0.45rem; font-size: 0.9rem; color: var(--ink-soft); }
.summary-rows .row { display: flex; justify-content: space-between; gap: var(--sp-3); }
.summary-rows .row--total { font-weight: 700; font-size: 1.15rem; color: var(--ink); border-top: 1px solid var(--line); padding-top: 0.6rem; margin-top: 0.3rem; }

.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 24rem; gap: var(--sp-5); align-items: start; }
.checkout-section h2 { font-size: 1.15rem; display: flex; align-items: center; gap: 0.6rem; margin-bottom: var(--sp-4); text-transform: none; letter-spacing: 0.02em; }
.checkout-section h2 .num {
  width: 1.6rem; height: 1.6rem; border-radius: 50%;
  background: var(--red); color: #fff;
  font-size: 0.8rem; display: inline-flex; align-items: center; justify-content: center;
}
.form-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--sp-4); }
.form-grid .span-2 { grid-column: span 2; }
.form-grid .span-3 { grid-column: span 3; }
.form-grid .span-4 { grid-column: span 4; }
.form-grid .span-6 { grid-column: span 6; }

.bild-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr)); gap: var(--sp-3); margin-bottom: var(--sp-3); }
.bild-raster:empty { display: none; }
.bild-karte { position: relative; aspect-ratio: 1; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper-deep); cursor: grab; }
.bild-karte img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bild-karte--ziel { outline: 3px solid var(--amber); outline-offset: -3px; }
.bild-karte__titel { position: absolute; left: 0; bottom: 0; right: 0; padding: 0.2rem 0.4rem; font-size: 0.7rem; font-weight: 600; text-align: center; background: var(--red); color: #fff; }
.bild-karte__vor { position: absolute; left: 0; bottom: 0; right: 0; padding: 0.2rem 0.4rem; font-size: 0.7rem; border: 0; cursor: pointer; background: rgb(32 33 38 / 0.75); color: #fff; opacity: 0; transition: opacity 0.15s; }
.bild-karte:hover .bild-karte__vor, .bild-karte__vor:focus-visible { opacity: 1; }
.bild-karte__weg { position: absolute; top: 0.3rem; right: 0.3rem; width: 1.6rem; height: 1.6rem; border: 0; border-radius: 50%; cursor: pointer; font-size: 1.1rem; line-height: 1; background: rgb(32 33 38 / 0.75); color: #fff; }
.bild-karte__weg:hover { background: var(--red); }
.dropzone { display: flex; align-items: center; justify-content: center; gap: var(--sp-3); padding: var(--sp-6) var(--sp-4); border: 2px dashed var(--line); border-radius: var(--radius); background: var(--paper-deep); color: var(--ink-soft, var(--ink-faint)); text-align: center; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.dropzone:hover, .dropzone--aktiv { border-color: var(--red); background: var(--red-wash); }
.dropzone svg { width: 1.6rem; height: 1.6rem; flex-shrink: 0; }
.field--auto > label::after { content: " · automatisch erkannt"; font-weight: 400; font-size: 0.75rem; color: var(--ink-faint); }
.order-lines { display: grid; gap: 0; }
.order-lines li { display: flex; align-items: center; gap: var(--sp-3); padding-block: var(--sp-3); border-bottom: 1px solid var(--line); }
.order-lines li:last-child { border-bottom: none; }
.order-lines .thumb { width: 3rem; height: 3rem; border-radius: var(--radius); background: var(--paper-deep); overflow: hidden; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.order-lines .thumb img { width: 100%; height: 100%; object-fit: cover; }
.order-lines .info { flex: 1; min-width: 0; }
.order-lines .name { font-size: 0.875rem; font-weight: 500; line-height: 1.35; }
.order-lines .meta { font-size: 0.75rem; color: var(--ink-faint); }
.order-lines .sum { font-weight: 600; font-size: 0.875rem; white-space: nowrap; }

.confirm-head { text-align: center; margin-bottom: var(--sp-6); }
.confirm-head__icon {
  width: 4rem; height: 4rem; border-radius: 50%;
  background: #e5efe2; color: var(--green);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-4);
}
.confirm-head__icon svg, .confirm-head__icon i { width: 2rem; height: 2rem; }
.bank-box { background: var(--amber-wash); border: 2px solid rgb(185 126 20 / .4); border-radius: var(--radius-lg); padding: var(--sp-5); }
.bank-box table { width: 100%; font-size: 0.9rem; border-collapse: collapse; }
.bank-box td { padding-block: 0.3rem; }
.bank-box td:first-child { color: var(--ink-soft); width: 40%; }
.bank-box .mono { font-family: ui-monospace, monospace; font-weight: 600; }

.legal-hero { background: var(--board); color: var(--board-text); padding-block: var(--sp-6); position: relative; }
.legal-hero p { text-transform: uppercase; letter-spacing: 0.25em; font-size: 0.75rem; color: var(--amber); font-family: var(--font-head); margin-bottom: var(--sp-2); }
.legal-content { padding-block: var(--sp-6); display: grid; gap: var(--sp-6); font-size: 0.925rem; }
.legal-content h2 { font-size: 1.25rem; text-transform: none; letter-spacing: 0.01em; margin-bottom: var(--sp-2); }
.legal-content p, .legal-content li { color: var(--ink-soft); }
.legal-content ul { list-style: disc; padding-left: 1.3rem; }
.legal-content .box { background: var(--paper-deep); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--sp-4); }

.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: var(--sp-4); }
.cookie-banner.hidden { display: none; }
.cookie-banner__inner {
  max-width: 46rem; margin-inline: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-5);
}
.cookie-banner__text { display: flex; gap: var(--sp-3); margin-bottom: var(--sp-4); }
.cookie-banner__text .emoji { font-size: 1.6rem; }
.cookie-banner__actions { display: flex; gap: var(--sp-2); justify-content: flex-end; flex-wrap: wrap; }

.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 240px; gap: var(--sp-3); }
.bento__item { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.bento__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.bento__item:hover img { transform: scale(1.06); }
.bento__item--w2 { grid-column: span 2; }
.bento__item--h2 { grid-row: span 2; }
.bento__cta { background: var(--red); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: var(--sp-5); gap: var(--sp-2); }
.bento__cta h3 { text-transform: uppercase; }
.bento__cta p { font-size: 0.875rem; color: rgb(255 255 255 / .85); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-6); align-items: center; }
.split__img { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); min-height: 300px; }
.split__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kicker-pill {
  display: inline-block;
  background: var(--red-wash); color: var(--red);
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.75rem; font-weight: 600;
  border-radius: 999px; padding: 0.3rem 1rem;
}

.faq { display: grid; gap: 0.5rem; margin-top: var(--sp-4); }
.faq__item {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
}

.faq__item summary {
  cursor: pointer;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::before {
  content: "+";
  color: var(--red);
  font-size: 1.2rem;
  line-height: 1.25;
  flex: none;
  transition: transform .18s;
}
.faq__item[open] summary::before { content: "−"; }
.faq__item summary:hover { color: var(--red); }
.faq__answer { padding: 0 1rem 0.9rem 2.2rem; color: var(--ink-soft); }

.order-toggle { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.8rem; font-weight: 600; color: var(--ink-soft); margin-top: 0.8rem; }
.order-toggle::-webkit-details-marker { display: none; }
.order-toggle::before { content: "+"; color: var(--red); font-size: 1rem; }
details[open] > .order-toggle::before { content: "−"; }
.order-toggle:hover { color: var(--red); }
.order-details-body { margin-top: 0.7rem; padding-top: 0.7rem; border-top: 1px solid var(--line); display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.order-details-body .order-line { display: flex; justify-content: space-between; gap: 0.6rem; font-size: 0.85rem; padding: 0.2rem 0; }
.faq__answer > *:first-child { margin-top: 0; }

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
  gap: var(--sp-3);
}
.brand-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.brand-card strong {
  font-family: var(--font-head);
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.brand-card span { font-size: 0.85rem; color: var(--ink-soft); line-height: 1.45; }

.js-motion .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s cubic-bezier(.22,.61,.36,1),
              transform .55s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.js-motion .reveal.is-revealed {
  opacity: 1;
  transform: none;
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  .js-motion .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.check-list { display: grid; gap: 0.6rem; color: var(--ink-soft); }
.check-list li { display: flex; gap: 0.6rem; align-items: flex-start; }
.check-list i, .check-list svg { width: 1.1rem; height: 1.1rem; color: var(--green); flex-shrink: 0; margin-top: 4px; }

.process-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--sp-4); }

.process-steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.process-step { position: relative; padding-top: 0.4rem; }
.process-step__num {
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--red); color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  display: inline-flex; align-items: center; justify-content: center;

  box-shadow: 0 0 0 4px var(--step-ring, var(--paper));
  position: relative; z-index: 2;
}

.process-step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: calc(0.4rem + 1.2rem);
  left: 2.4rem; right: calc(-1 * var(--sp-4));
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}
.process-step h3 { font-size: 1rem; margin-top: var(--sp-3); }
.process-step p { font-size: 0.875rem; color: var(--ink-soft); margin-top: 0.3rem; }

.cross-link {
  display: flex; align-items: center; gap: var(--sp-4);
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: var(--radius-lg);
  padding: var(--sp-4) var(--sp-5);
  flex-wrap: wrap;
}
.cross-link__icon {
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--red-wash); color: var(--red);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cross-link__icon i, .cross-link__icon svg { width: 1.3rem; height: 1.3rem; }
.cross-link__text { flex: 1; min-width: 14rem; }
.cross-link__text strong { display: block; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.06em; }
.cross-link__text span { font-size: 0.875rem; color: var(--ink-soft); }

.news-card__date { font-size: 0.75rem; color: var(--ink-faint); }
.post-content { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.8; }
.post-content p { margin-bottom: 1.4rem; }
.post-content h1, .post-content h2, .post-content h3 { color: var(--ink); margin-top: 2.2rem; margin-bottom: 0.8rem; text-transform: none; }
.post-content ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1.4rem; }
.post-content ol { list-style: decimal; padding-left: 1.4rem; margin-bottom: 1.4rem; }
.post-content li::marker { color: var(--red); }
.post-content figure { margin: 2.4rem 0; text-align: center; }
.post-content img { max-height: 500px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); display: inline-block; object-fit: contain; }
.post-content a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.post-content strong { color: var(--ink); }

.post-content table { width: 100%; max-width: 32rem; border-collapse: collapse; margin-bottom: 1.4rem; font-size: 1rem; }
.post-content th, .post-content td { padding: 0.6rem 0.9rem; text-align: left; border-bottom: 1px solid var(--line); }
.post-content th { color: var(--ink); font-family: var(--font-head); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.85rem; border-bottom: 2px solid var(--red); }
.post-content td:first-child { color: var(--ink); font-weight: 600; }

@media (prefers-reduced-motion: no-preference) {
  .fade-up { animation: fadeUp .5s ease-out both; }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}

.hidden { display: none !important; }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process-steps, .process-steps--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .process-step:not(:last-child)::before { display: none; }
  .detail-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "image buy" "desc specs";
  }
}

@media (max-width: 900px) {
  .site-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checkout-layout, .cart-layout { grid-template-columns: minmax(0, 1fr); }

  .ticket--sticky { position: static; }
  .split { grid-template-columns: 1fr; }
  .split--swap .split__img { order: -1; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; }
}

@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .process-steps, .process-steps--3 { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .detail-grid {
    grid-template-columns: 1fr;

    grid-template-areas: "image" "buy" "specs" "desc";
  }

  .description-clamp { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
  .description-clamp.is-expanded { display: block; -webkit-line-clamp: unset; overflow: visible; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .form-grid .span-2, .form-grid .span-3, .form-grid .span-4 { grid-column: span 6; }
  .bento { grid-template-columns: 1fr; }
  .bento__item--w2 { grid-column: auto; }
  .bento__item--h2 { grid-row: auto; }
  .mobile-buybar { display: flex; }
  .steps__line { width: 1.2rem; }

  .cart-line {
    display: grid;
    grid-template-columns: 4rem minmax(0, 1fr);
    grid-template-areas: "thumb info" "qty sub";
    gap: 0.7rem 1rem;
  }
  .cart-line__thumb { grid-area: thumb; }
  .cart-line__info { grid-area: info; }
  .cart-line__qty { grid-area: qty; }
  .cart-line__sub { grid-area: sub; width: auto; }
  .hero { min-height: 60vh; }
}

.autor-box { display: flex; gap: 1rem; align-items: flex-start; margin-top: 3rem; padding: 1.25rem 1.5rem; border-left: 3px solid var(--red); background: var(--card); border-radius: var(--radius); }
.autor-box__foto { border-radius: 50%; object-fit: cover; flex: none; }
.autor-box__name { margin: 0 0 .25rem; font-weight: 700; color: var(--ink); }
.autor-box__text { margin: 0; font-size: .95rem; color: var(--ink-soft); line-height: 1.6; }

.opening-wrap { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.opening-wrap > .departure-board { flex: 1; }
