:root {
  --orange: #cc0000;
  --orange-light: #e60000;
  --ink: #141414;
  --ink-soft: #1f1f1f;
  --gray: #6b6b6b;
  --gray-light: #f4f4f4;
  --white: #ffffff;
  --border: #e0e0e0;
  --green: #2d6a4f;
  --red: #c1121f;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  padding-top: var(--header-h);
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: var(--orange);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 3px solid var(--orange-light);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  padding: 0.65rem 1rem;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1100px, 92vw);
  margin-inline: auto;
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--ink);
  border-bottom: 3px solid var(--orange);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn--ghost-header {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.btn--ghost-header:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

.logo__icon {
  display: grid;
  place-items: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.35rem;
  background: var(--orange);
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.logo__tag {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.65);
}

.nav--desktop {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav--desktop a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav--desktop a:hover,
.nav--desktop a.is-active {
  color: var(--orange-light);
  text-decoration: none;
}

.nav--mobile {
  display: none;
  flex-direction: column;
  background: var(--ink-soft);
  padding: 0.5rem 1rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nav--mobile.is-open {
  display: flex;
}

.nav--mobile a {
  color: var(--white);
  padding: 0.75rem 0;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.2s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
  text-decoration: none;
}

.btn--primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.btn--primary:hover {
  background: var(--orange-light);
  border-color: var(--orange-light);
  color: var(--ink);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn--outline:hover {
  background: var(--white);
  color: var(--ink);
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
}

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

.btn--ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: clamp(420px, 70vh, 620px);
  display: flex;
  align-items: center;
  background: var(--ink);
  overflow: hidden;
}

.hero--shop {
  min-height: clamp(360px, 55vh, 520px);
}

.hero--shop h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(20, 20, 20, 0.92) 0%, rgba(20, 20, 20, 0.65) 50%, rgba(204, 0, 0, 0.3) 100%),
    url("assets/images/tibomoto-ducati-916.jpg") center / cover no-repeat;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 4rem 0;
  color: var(--white);
}

.hero__eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange-light);
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero__lead {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  max-width: 36rem;
  margin-bottom: 0.75rem;
}

.hero__sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 32rem;
  margin-bottom: 2rem;
  line-height: 1.65;
}

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

.page-hero {
  background: var(--ink);
  color: var(--white);
  padding: 3rem 0;
  border-bottom: 3px solid var(--orange);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.page-hero .section-sub {
  color: rgba(255, 255, 255, 0.75);
}

.page-hero__eyebrow {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-light);
  margin-bottom: 0.5rem;
}

.section-sub--light {
  color: rgba(255, 255, 255, 0.72) !important;
}

/* Stats bar */
.stats-bar {
  background: var(--orange);
  color: var(--white);
  padding: 1.75rem 0;
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.9;
}

/* Story & quote */
.section-eyebrow {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.section-eyebrow--light {
  color: var(--orange-light);
}

.story-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.story-block__text p {
  color: var(--gray);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.quote {
  margin: 2rem 0;
  padding: 1.5rem 1.75rem;
  border-left: 4px solid var(--orange);
  background: var(--gray-light);
  border-radius: 0 10px 10px 0;
}

.quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 1rem !important;
}

.quote footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.quote cite {
  font-style: normal;
  font-weight: 700;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.quote footer span {
  font-size: 0.85rem;
  color: var(--gray);
}

.visual-frame {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Dark section — collection */
.section--dark {
  background: var(--ink);
  color: var(--white);
}

.section--dark h2 {
  color: var(--white);
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.collection-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 1.35rem;
  transition: border-color 0.2s, background 0.2s;
}

.collection-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--orange);
}

.collection-card__years {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-light);
  margin-bottom: 0.35rem;
}

.collection-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.collection-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.card--museum {
  background: var(--gray-light);
}

/* Locations */
.location-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.location-card {
  background: var(--gray-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
}

.location-card--accent {
  border-color: var(--orange);
  border-top-width: 3px;
  background: var(--white);
}

.location-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.location-card__address {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.location-card p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Catalog banner */
.catalog-banner {
  background: linear-gradient(135deg, var(--ink) 0%, #2a0000 100%);
  color: var(--white);
}

.catalog-banner h2 {
  color: var(--white);
}

.catalog-banner .section-sub {
  color: rgba(255, 255, 255, 0.75);
}

.catalog-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact__legal {
  font-size: 0.82rem;
  color: var(--gray);
  margin-top: 0.5rem;
}

.contact__trade-note {
  font-size: 0.9rem;
  color: var(--gray);
  font-weight: 500;
}

.contact__social {
  margin-top: 0.75rem;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section--alt {
  background: var(--gray-light);
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.section-sub {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 42rem;
  margin-bottom: 2rem;
}

/* Presentation */
.presentation__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 2rem;
}

.presentation__text p {
  margin-bottom: 1.5rem;
  color: var(--gray);
  font-size: 1.05rem;
}

.presentation__placeholder {
  aspect-ratio: 4 / 3;
  background: var(--gray-light);
  border: 2px dashed var(--border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  color: var(--gray);
  font-weight: 600;
}

.presentation__placeholder small {
  font-weight: 400;
  font-size: 0.85rem;
}

.presentation__figure {
  margin: 0;
}

.presentation__figure img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-credit {
  padding: 0.65rem 1rem;
  font-size: 0.78rem;
  color: var(--gray);
  background: var(--gray-light);
  border-top: 1px solid var(--border);
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.photo-gallery__item {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
}

.photo-gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.photo-gallery__item figcaption {
  padding: 0.55rem 0.85rem;
  font-size: 0.75rem;
  color: var(--gray);
  background: var(--gray-light);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  border-top: 3px solid var(--orange);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--gray);
  font-size: 0.95rem;
}

/* Catalog teaser */
.catalog-teaser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.catalog-teaser__cats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.catalog-teaser__cats li {
  background: var(--gray-light);
  border: 1px solid var(--border);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.page-hero--compact {
  padding: 2.5rem 0;
}

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

.section-head .section-sub {
  margin-bottom: 0;
}

/* Shop CTA */
.shop-cta {
  background: var(--gray-light);
  text-align: center;
}

.shop-cta__inner p {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.shop-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Motos grid */
.motos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.moto-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.moto-card:hover {
  border-color: var(--orange);
  box-shadow: 0 4px 20px rgba(204, 0, 0, 0.12);
}

.moto-card__photo {
  aspect-ratio: 4 / 3;
  min-height: 220px;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.moto-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #111;
}

.moto-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.moto-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.moto-card__year {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--orange);
}

.moto-card__condition {
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--gray-light);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  color: var(--gray);
}

.moto-card__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.moto-card__meta {
  font-size: 0.88rem;
  color: var(--gray);
  font-weight: 600;
}

.moto-card__desc {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.5;
  flex: 1;
}

.moto-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  margin-top: auto;
  border-top: 1px solid var(--border);
}

.moto-card__price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
}

.location-card .btn--sm {
  margin-top: 1rem;
}

/* Contact */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.contact__info {
  font-style: normal;
  line-height: 1.9;
}

.contact__info a {
  color: var(--orange);
  font-weight: 600;
}

.contact__hours h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.hours__list {
  list-style: none;
}

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

.hours__day {
  font-weight: 600;
}

.hours__time.muted {
  color: var(--gray);
}

/* Catalog page */
.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.catalog-search {
  flex: 1 1 220px;
}

.catalog-search input,
.catalog-filter select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  background: var(--white);
}

.catalog-filter {
  flex: 0 1 220px;
}

.catalog-count {
  flex: 0 0 auto;
  font-weight: 600;
  color: var(--gray);
  font-size: 0.9rem;
}

.pieces-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.piece-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.piece-card--has-photo {
  padding: 0;
  overflow: hidden;
  gap: 0;
}

.piece-card__photo {
  aspect-ratio: 4 / 3;
  min-height: 180px;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.piece-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #111;
}

.piece-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  padding: 1.25rem;
}

.piece-card--has-photo .piece-card__body {
  padding: 1.25rem;
}

.piece-card:hover {
  border-color: var(--orange);
  box-shadow: 0 4px 20px rgba(204, 0, 0, 0.12);
}

.piece-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.piece-card__category {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange);
}

.piece-card__condition {
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--gray-light);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  color: var(--gray);
}

.piece-card__model {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  background: var(--orange);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  width: fit-content;
}

.piece-card__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.piece-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.85rem;
  color: var(--gray);
}

.piece-card__compat {
  font-size: 0.82rem;
  color: var(--gray);
  flex: 1;
}

.piece-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.piece-card__price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
}

.piece-card__stock {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.piece-card__stock.in-stock {
  background: #d8f3dc;
  color: var(--green);
}

.piece-card__stock.out-of-stock {
  background: #fde8e8;
  color: var(--red);
}

.catalog-cta {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--gray-light);
  border-radius: 12px;
  text-align: center;
}

.catalog-cta p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.empty-msg,
.error-msg {
  text-align: center;
  color: var(--gray);
  padding: 2rem;
}

.error-msg {
  color: var(--red);
}

/* Footer */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 2rem 0;
  margin-top: auto;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.footer__nav {
  display: flex;
  gap: 1.25rem;
}

.footer__nav a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.footer__nav a:hover {
  color: var(--orange-light);
}

.footer__contact {
  flex-basis: 100%;
  font-size: 0.9rem;
}

.footer__contact a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.footer__contact a:hover {
  color: var(--orange-light);
}

.footer__legal-line a {
  color: rgba(255, 255, 255, 0.65);
}

.footer__legal-line a:hover {
  color: var(--orange-light);
}

.legal-form-box {
  background: var(--gray-light);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  margin: 1rem 0 1.5rem;
}

.legal-form-box ul {
  margin: 1rem 0 0 1.25rem;
}

.sitemap-list {
  margin: 0 0 1.5rem 1.25rem;
}

.sitemap-list a {
  font-weight: 600;
}

.footer__legal-line {
  flex-basis: 100%;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  flex-basis: 100%;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__legal a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
  text-decoration: none;
}

.footer__legal a:hover {
  color: var(--orange-light);
}

/* Legal pages */
.legal-prose {
  max-width: 48rem;
}

.legal-prose h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 2rem 0 0.75rem;
}

.legal-prose h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.25rem 0 0.5rem;
}

.legal-prose p,
.legal-prose li {
  color: var(--gray);
  margin-bottom: 0.75rem;
  line-height: 1.65;
}

.legal-prose ul {
  margin: 0 0 1rem 1.25rem;
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.legal-table th,
.legal-table td {
  border: 1px solid var(--border);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: var(--gray-light);
  font-weight: 700;
}

.legal-table code {
  font-size: 0.82rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 10000;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.88);
  border-top: 3px solid var(--orange);
  padding: 1.25rem 0;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.25);
}

.cookie-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-banner__title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.cookie-banner__text {
  flex: 1 1 280px;
  font-size: 0.9rem;
  line-height: 1.55;
}

.cookie-banner__text a {
  color: var(--orange-light);
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.catalog-legal-note {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 0.75rem;
}

/* Admin */
.admin-body {
  background: var(--gray-light);
}

.admin-login__box {
  max-width: 420px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}

.admin-login__box h1 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.admin-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.admin-tabs__btn {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.65rem 1.25rem;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 8px;
  cursor: pointer;
}

.admin-tabs__btn.is-active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.admin-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.admin-list-wrap,
.admin-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
}

.admin-list-wrap h2,
.admin-form-wrap h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.admin-photo-preview {
  max-width: 100%;
  max-height: 160px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--gray-light);
}

.admin-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: 520px;
  overflow-y: auto;
}

.admin-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--gray-light);
}

.admin-item__meta {
  display: block;
  font-size: 0.82rem;
  color: var(--gray);
  margin-top: 0.2rem;
}

.admin-item__actions {
  display: flex;
  gap: 0.35rem;
  flex-shrink: 0;
}

.admin-btn-danger {
  color: var(--red) !important;
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.admin-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.admin-field input,
.admin-field select,
.admin-field textarea {
  font: inherit;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.admin-field--check {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.admin-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.admin-form__actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.admin-status {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  background: var(--white);
  border: 1px solid var(--border);
}

.admin-status:empty {
  display: none;
  padding: 0;
  margin: 0;
  border: none;
}

.admin-status--ok {
  border-color: var(--green);
  color: var(--green);
}

.admin-status--warn {
  border-color: #c9a227;
  color: #8a6914;
}

.admin-status--error {
  border-color: var(--red);
  color: var(--red);
}

.admin-error {
  color: var(--red);
  font-size: 0.88rem;
  min-height: 1.25rem;
}

.admin-hint {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 1rem;
}

.admin-empty {
  color: var(--gray);
  font-size: 0.95rem;
  padding: 1rem 0;
}

/* Mobile */
@media (max-width: 768px) {
  .nav--desktop {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .story-block,
  .location-cards,
  .contact__grid {
    grid-template-columns: 1fr;
  }

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

  .catalog-banner__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .catalog-count {
    text-align: center;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-field-row {
    grid-template-columns: 1fr;
  }
}
