/* Dude Bikes — components */
/* announcement bar */
.announce { background: var(--ink); color: #fff; font-size: .82rem; text-align: center; padding: 8px 16px; }
.announce b { color: var(--accent); }
/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.header-inner > * { flex-shrink: 0; }
.logo { flex: none; }
.logo img { height: 52px; width: auto; max-width: 220px; object-fit: contain; }
.main-nav { display: none; gap: 4px; }
.main-nav a { padding: 10px 14px; font-weight: 600; font-size: .92rem; border-radius: 8px; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--surface); }
@media (min-width: 980px) { .main-nav { display: flex; } }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.icon-btn:hover { background: var(--surface); }
/* mobile nav */
.mobile-nav { display: none; background: var(--ink); color: #fff; padding: 12px 20px 20px; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 10px 0; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (min-width: 980px) { .mobile-nav { display: none !important; } }
/* hero */
.hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,16,16,.85) 0%, rgba(17,16,16,.35) 60%, rgba(17,16,16,.15) 100%); }
.hero-inner { position: relative; padding: 96px 0 110px; max-width: 640px; }
.hero .kicker { background: var(--accent); }
.hero h1 { color: #fff; }
.hero p.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: #e8e8e1; margin: 0 0 26px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-strip { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 34px; }
.hero-strip span { border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 6px 14px; font-size: .82rem; color: #e8e8e1; }
/* category tiles */
.tile { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 240px; display: flex; align-items: flex-end; box-shadow: var(--shadow-1); transition: transform .2s ease, box-shadow .2s ease; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(17,16,16,.78) 100%); }
.tile-label { position: relative; z-index: 1; color: #fff; padding: 18px 20px; }
.tile-label h3 { margin: 0; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .02em; }
.tile-label span { font-size: .85rem; color: #d9d9d0; }
/* product cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.card-media { aspect-ratio: 4/3; background: var(--surface-2); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.card-media img { max-width: 92%; max-height: 92%; width: auto; height: auto; object-fit: contain; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-vendor { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mut); font-weight: 700; }
.card-title { font-weight: 600; font-size: .98rem; margin: 0; font-family: var(--font-body); }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { font-weight: 700; font-size: 1.02rem; }
.price-eur::before { content: "€"; font-size: .8em; margin-right: 2px; }
.badge { display: inline-block; font-size: .7rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.badge-sale { background: var(--sale); color: #fff; }
.badge-outline { background: transparent; border: 1px solid var(--line); color: var(--mut); }
/* brand strip */
.brand-strip { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: center; }
.brand-chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 12px 26px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .85rem; }
.brand-chip:hover { border-color: var(--ink); }
/* feature rows (service) */
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature h3 { display: flex; align-items: center; gap: 10px; }
.feature .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--accent); display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; flex: none; }
/* stores */
.store-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.store-card h3 { font-size: 1.2rem; text-transform: uppercase; }
.hours { font-size: .9rem; color: var(--mut); line-height: 1.7; }
.hours b { color: var(--ink); }
/* story */
.story-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .story-grid { grid-template-columns: 1.1fr .9fr; } }
.story-fact { border-left: 4px solid var(--accent); padding-left: 14px; margin: 18px 0; }
.story-fact b { font-family: var(--font-display); font-size: 1.5rem; }
/* cta band */
.cta-band { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 48px 32px; text-align: center; }
.cta-band h2 { color: #fff; }
/* newsletter */
.newsletter { display: flex; gap: 8px; max-width: 460px; margin: 0 auto; }
.newsletter input { flex: 1; min-height: 44px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 0 18px; background: rgba(255,255,255,.08); color: #fff; font-size: .95rem; }
.newsletter input::placeholder { color: rgba(255,255,255,.55); }
/* footer */
.site-footer { background: var(--ink); color: #e8e8e1; margin-top: 64px; }
.footer-grid { display: grid; gap: 32px; padding: 56px 0 32px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; } }
.site-footer h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #b6b6b6; margin: 0 0 12px; }
.site-footer a { display: block; padding: 4px 0; font-size: .92rem; color: #e8e8e1; }
.site-footer a:hover { color: var(--accent); }
.footer-contact { font-size: .92rem; line-height: 1.8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; font-size: .8rem; color: #b6b6b6; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
/* catalog page */
.catalog-layout { display: grid; gap: 28px; }
@media (min-width: 900px) { .catalog-layout { grid-template-columns: 240px 1fr; } }
.filters { display: none; }
@media (min-width: 900px) { .filters { display: block; position: sticky; top: 88px; align-self: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; } }
.filter-group { margin-bottom: 22px; }
.filter-group:last-child { margin-bottom: 0; }
.filter-group h4 { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 8px; color: var(--mut); }
.filter-group label { display: flex; gap: 8px; align-items: center; padding: 5px 0; font-size: .92rem; cursor: pointer; transition: color .15s ease; }
.filter-group label:hover { color: var(--ink-2); }
.filter-group input { accent-color: var(--ink); width: 16px; height: 16px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.search-input { min-height: 44px; border: 1px solid var(--line); border-radius: 999px; padding: 0 18px; font-size: .95rem; min-width: 220px; background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.search-input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255,205,0,.35); }
select.sort { min-height: 44px; border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; background: #fff; font-size: .92rem; cursor: pointer; }
.count-pill { background: var(--surface); border-radius: 999px; padding: 6px 14px; font-size: .82rem; font-weight: 600; color: var(--ink-2); }
/* empty state */
.empty-state { text-align: center; padding: 60px 20px; color: var(--mut); }
.empty-state .big { font-size: 2.2rem; margin-bottom: 8px; }
/* language switcher */
.lang-switch { display: flex; gap: 1px; background: var(--surface); border-radius: 999px; padding: 2px; flex: none; }
.lang-btn { border: none; background: transparent; border-radius: 999px; padding: 5px 9px; font-size: .74rem; font-weight: 700; cursor: pointer; color: var(--mut); min-height: 30px; }
.lang-btn.active { background: var(--ink); color: var(--accent); }
.lang-btn:hover:not(.active) { color: var(--ink); }
.mobile-nav .lang-switch { margin-top: 14px; align-self: flex-start; background: rgba(255,255,255,.1); }
.mobile-nav .lang-btn.active { background: var(--accent); color: var(--ink); }

/* back to top */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 999px; background: var(--ink); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; box-shadow: var(--shadow-2); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; z-index: 60; cursor: pointer; border: none; }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }
/* breadcrumbs */
.crumbs { font-size: .85rem; color: var(--mut); padding: 18px 0 0; }
.crumbs a:hover { text-decoration: underline; }
/* detail page */
.detail-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .detail-grid { grid-template-columns: 1.05fr .95fr; } }
.detail-media { border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.detail-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.spec-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table td:first-child { font-weight: 600; width: 40%; }
.big-price { font-family: var(--font-display); font-size: 2rem; font-weight: 800; }
/* ── motion ─────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .bc-in { opacity: 0; transform: translateY(14px); animation: rise .6s ease forwards; animation-delay: calc(var(--i, 0) * 70ms); }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

/* hero: slow Ken Burns drift on the photo + content stagger */
@media (prefers-reduced-motion: no-preference) {
  .hero-media img { transform: scale(1.08); animation: kenburns 18s ease-out forwards; }
  @keyframes kenburns { to { transform: scale(1); } }
  .hero .bc-in { animation-duration: .8s; }
}

/* hero badges — corner cluster */
.hero-badges { position: absolute; right: 40px; bottom: 40px; display: none; gap: 14px; z-index: 2; }
@media (min-width: 1100px) { .hero-badges { display: flex; } }
.badge-pop { border-radius: 50%; filter: drop-shadow(0 6px 18px rgba(0,0,0,.45)); transition: transform .25s ease; }
.badge-pop:hover { transform: translateY(-4px) rotate(-4deg); }
@media (prefers-reduced-motion: no-preference) {
  .badge-pop { animation: badgePop .5s ease backwards; animation-delay: calc(var(--bp, 0) * 120ms + .9s); }
  @keyframes badgePop { from { opacity: 0; transform: scale(.6); } }
}

/* stats band */
.stats-band { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
@media (min-width: 900px) { .stats-band { grid-template-columns: repeat(5, 1fr); } }
.stat { text-align: center; padding: 8px 4px; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; line-height: 1; }
.stat span { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mut); font-weight: 600; }
.stat b { color: var(--ink); }
.stat:nth-child(odd) b { color: var(--ink); }
.stats-band .stat + .stat { border-left: 1px solid var(--line); }
@media (max-width: 899px) { .stats-band .stat:nth-child(3) { border-left: none; } }

/* trust badges row */
.trust-badges { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.trust-badges img { filter: drop-shadow(0 3px 10px rgba(17,16,16,.12)); transition: transform .25s ease; }
.trust-badges img:hover { transform: translateY(-4px) rotate(-3deg); }

/* cta band badge */
.cta-band { position: relative; }
.cta-badge { position: absolute; top: -36px; left: 50%; transform: translateX(-50%); filter: drop-shadow(0 6px 16px rgba(0,0,0,.4)); }
@media (prefers-reduced-motion: no-preference) {
  .cta-badge { animation: badgePop .5s ease backwards .2s; }
}

/* scroll-reveal: anything with [data-reveal] fades up once it enters the viewport */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* image reveal: photos unclip + sharpen-in */
.img-reveal { clip-path: inset(6% 6% 6% 6%); filter: saturate(.9); transition: clip-path .9s cubic-bezier(.2,.7,.2,1), filter .9s ease; }
.img-reveal.revealed { clip-path: inset(0 0 0 0); filter: saturate(1); }
@media (prefers-reduced-motion: reduce) { .img-reveal { clip-path: none; filter: none; transition: none; } }

/* product cards: stagger in, lift on hover with accent underline sweep */
.card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { border-color: var(--ink); }
.card .card-media img { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.card:hover .card-media img { transform: scale(1.05); }
.card .card-title a { background-image: linear-gradient(var(--accent), var(--accent)); background-size: 0% 3px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .25s ease; }
.card:hover .card-title a { background-size: 100% 3px; }
.grid > .card { animation: cardIn .5s ease backwards; animation-delay: calc(var(--ci, 0) * 40ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } }

/* buttons: accent shine sweep */
.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); transition: left .5s ease; pointer-events: none; }
.btn:hover::after { left: 130%; }

/* announcement ticker */
.announce { animation: announceIn .5s ease; }
@keyframes announceIn { from { opacity: 0; } }

/* page banner (collection pages) */
.page-banner { border-radius: var(--radius); overflow: hidden; margin-top: 18px; box-shadow: var(--shadow-1); }
.page-banner img { width: 100%; height: clamp(180px, 28vw, 320px); object-fit: cover; }

/* partner badges (service page) */
.partner-badges { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin: 36px 0 8px; }
.partner { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.partner img { filter: drop-shadow(0 4px 12px rgba(17,16,16,.15)); transition: transform .25s ease; }
.partner:hover img { transform: translateY(-4px) rotate(-3deg); }
.partner span { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mut); }

/* feature cards hover */
.feature { transition: transform .2s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.feature:hover .ico { transform: rotate(-8deg) scale(1.1); }
.feature .ico { transition: transform .25s ease; }

/* store cards hover */
.store-card { transition: transform .2s ease, box-shadow .2s ease; }
.store-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }

/* brand chips hover sweep */
.brand-chip { position: relative; overflow: hidden; transition: border-color .2s ease, transform .15s ease; }
.brand-chip::before { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; z-index: -1; }
.brand-chip:hover { border-color: var(--accent); transform: translateY(-1px); }
.brand-chip:hover::before { transform: scaleX(1); }

/* marquee for the brand strip on home (pausable, duplicated track) */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }

/* hero strip pulse on load */
.hero-strip span { animation: stripIn .5s ease backwards; animation-delay: calc(var(--si, 0) * 90ms + .6s); }
@keyframes stripIn { from { opacity: 0; transform: translateY(8px); } }

/* smooth scroll offset for sticky header */
[id] { scroll-margin-top: 84px; }

/* page transition */
@view-transition { navigation: auto; }
