/* ==========================================================================
   FotoExpert Pro — Premium Camera Store
   Design system · Base · Components · Sections
   Accent: Deep Red #D90429 | Typography: Manrope
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
  --color-white: #ffffff;
  --color-bg: #f7f7f8;
  --color-bg-soft: #f0f0f2;
  --color-surface: #ffffff;
  --color-graphite: #1a1a1d;
  --color-graphite-soft: #2c2c31;
  --color-black: #0a0a0b;
  --color-text: #1a1a1d;
  --color-text-muted: #6b6b70;
  --color-text-soft: #8a8a90;
  --color-border: #e6e6ea;
  --color-border-strong: #d0d0d6;
  --color-accent: #d90429;
  --color-accent-hover: #b80322;
  --color-accent-soft: rgba(217, 4, 41, 0.08);
  --color-success: #1f7a4d;
  --color-success-bg: #e8f6ef;
  --color-warning: #b86e00;
  --color-warning-bg: #fff4e5;
  --color-info: #0057d9;
  --color-info-bg: #e8f0ff;

  --shadow-xs: 0 1px 2px rgba(10, 10, 11, 0.04);
  --shadow-sm: 0 4px 14px rgba(10, 10, 11, 0.06);
  --shadow-md: 0 10px 30px rgba(10, 10, 11, 0.08);
  --shadow-lg: 0 20px 50px rgba(10, 10, 11, 0.12);
  --shadow-hover: 0 16px 40px rgba(10, 10, 11, 0.14);
  --shadow-accent: 0 10px 28px rgba(217, 4, 41, 0.28);

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 1.875rem;
  --fs-3xl: 2.25rem;
  --fs-4xl: 2.75rem;
  --fs-5xl: 3.5rem;

  --lh-tight: 1.15;
  --lh-snug: 1.3;
  --lh-normal: 1.55;
  --lh-relaxed: 1.7;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 2rem;
  --space-8: 2.5rem;
  --space-9: 3rem;
  --space-10: 4rem;
  --space-11: 5rem;
  --space-12: 6.5rem;

  --container: 1200px;
  --container-narrow: 760px;
  --header-h: 68px;
  --topbar-h: 36px;
  --bottom-nav-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 0.35s;
  --duration-fast: 0.2s;
  --z-header: 100;
  --z-overlay: 200;
  --z-modal: 300;
  --z-toast: 400;
  --z-bottom: 90;
}

/* --------------------------------------------------------------------------
   2. Reset & Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  background: var(--color-bg-soft);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease);
}

a:hover {
  color: var(--color-accent);
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

address {
  font-style: normal;
}

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

::selection {
  background: var(--color-accent);
  color: var(--color-white);
}

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

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: var(--z-toast);
  background: var(--color-black);
  color: var(--color-white);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-sm);
  transition: top var(--duration-fast) var(--ease);
}

.skip-link:focus {
  top: var(--space-4);
}

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 2rem, var(--container-narrow));
}

.section {
  padding: var(--space-10) 0;
}

.section--soft {
  background: var(--color-bg);
}

.section__header {
  margin-bottom: var(--space-8);
  max-width: 640px;
}

.section__header--row {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  max-width: none;
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.03em;
  line-height: var(--lh-tight);
  color: var(--color-black);
  margin-bottom: var(--space-3);
}

.section__desc {
  color: var(--color-text-muted);
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
}

.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

/* --------------------------------------------------------------------------
   4. Icons
   -------------------------------------------------------------------------- */
.icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.icon--sm {
  width: 16px;
  height: 16px;
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  letter-spacing: 0.01em;
  transition:
    transform var(--duration-fast) var(--ease),
    background var(--duration-fast) var(--ease),
    color var(--duration-fast) var(--ease),
    border-color var(--duration-fast) var(--ease),
    box-shadow var(--duration-fast) var(--ease);
  white-space: nowrap;
  text-align: center;
  border: 1.5px solid transparent;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: var(--shadow-accent);
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  color: var(--color-white);
  transform: translateY(-2px);
}

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

.btn--outline:hover {
  border-color: var(--color-black);
  color: var(--color-black);
  transform: translateY(-2px);
}

.btn--lg {
  min-height: 54px;
  padding: 1rem 1.75rem;
  font-size: var(--fs-base);
}

.btn--block {
  width: 100%;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  color: var(--color-accent);
  background: none;
  border: none;
  padding: 0;
}

.link-btn:hover {
  color: var(--color-accent-hover);
}

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  transition: background var(--duration-fast) var(--ease), color var(--duration-fast) var(--ease);
}

.icon-btn:hover {
  background: var(--color-bg);
  color: var(--color-accent);
}

.badge-count {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 0.65rem;
  font-weight: var(--fw-bold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.badge-count[hidden] {
  display: none;
}

/* --------------------------------------------------------------------------
   6. Pills, badges, availability
   -------------------------------------------------------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 0.65rem;
  border-radius: var(--radius-xs);
  font-size: 0.7rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.pill--sale {
  background: var(--color-accent);
  color: var(--color-white);
}

.pill--new {
  background: var(--color-black);
  color: var(--color-white);
}

.pill--used {
  background: var(--color-info);
  color: var(--color-white);
}

.condition {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 0.65rem;
  border-radius: var(--radius-xs);
  font-size: 0.7rem;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.condition--ideal {
  background: var(--color-success-bg);
  color: var(--color-success);
}

.condition--vgood {
  background: var(--color-info-bg);
  color: var(--color-info);
}

.condition--good {
  background: var(--color-warning-bg);
  color: var(--color-warning);
}

.availability {
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
}

.availability--ok {
  color: var(--color-success);
}

/* --------------------------------------------------------------------------
   7. Topbar
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--color-black);
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--fs-xs);
  min-height: var(--topbar-h);
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Running ticker — two identical lists placed back-to-back scroll left
   forever; because both copies (plus their trailing gap) are identical,
   the loop is seamless when translated by exactly one copy's width. */
.topbar__marquee {
  width: 100%;
  overflow: hidden;
}

.topbar__track {
  display: flex;
  width: max-content;
  animation: topbarMarquee 28s linear infinite;
}

.topbar__track:hover,
.topbar__track:focus-within {
  animation-play-state: paused;
}

@keyframes topbarMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.topbar__list {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-2) 0;
  padding-inline-end: var(--space-5);
  white-space: nowrap;
  flex-shrink: 0;
}

.topbar__list li,
.topbar__list a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  white-space: nowrap;
  color: inherit;
}

.topbar__list a:hover {
  color: var(--color-white);
}

.topbar .icon {
  color: var(--color-accent);
}

@media (prefers-reduced-motion: reduce) {
  .topbar__track {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   8. Header
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition:
    box-shadow var(--duration) var(--ease),
    border-color var(--duration) var(--ease),
    background var(--duration) var(--ease);
}

.header.is-scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.96);
}

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

.header__menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  flex-shrink: 0;
}

.header__menu-btn:hover {
  background: var(--color-bg);
}

/* Logo sits in normal flex flow (never overlaps neighbours) and shares
   remaining space between the menu button and the action icons. On very
   narrow screens it shrinks to the icon-only mark so it can never cover
   the cart button. */
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.logo__img {
  width: auto;
  height: 30px;
  max-width: 100%;
  background: transparent;
}

.logo__img--mark {
  display: block;
  height: 34px;
  width: 34px;
}

.logo__img--full {
  display: none;
}

/* Photographic logo asset — the source photo (1024x682) has a large blank
   margin above the camera icon and the tagline line below the wordmark.
   Crop both away so only the icon + wordmark fill the box, centered. */
.logo__photo {
  height: 58px;
  aspect-ratio: 1024 / 375;
  object-fit: cover;
  object-position: 50% 40%;
}

.logo:hover {
  color: inherit;
  opacity: 0.9;
}

.nav {
  display: none;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 0.7rem;
  border-radius: var(--radius-xs);
  font-size: 0.9rem;
  font-weight: var(--fw-medium);
  color: var(--color-graphite);
  transition: background var(--duration-fast) var(--ease), color var(--duration-fast) var(--ease);
}

.nav__list a:hover {
  background: var(--color-bg);
  color: var(--color-black);
}

.nav__promo {
  color: var(--color-accent) !important;
  font-weight: var(--fw-bold) !important;
}

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

/* --------------------------------------------------------------------------
   9. Mobile navigation
   -------------------------------------------------------------------------- */
.mobile-nav[hidden] {
  display: none;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
}

.mobile-nav__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 11, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: fadeIn 0.25s var(--ease);
}

.mobile-nav__panel {
  position: absolute;
  top: 0;
  left: 0;
  width: min(88vw, 360px);
  height: 100%;
  background: var(--color-white);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  box-shadow: var(--shadow-lg);
  animation: slideInLeft 0.35s var(--ease-out);
}

.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav__head img {
  height: 42px;
  width: auto;
  background: transparent;
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
}

.mobile-nav__list a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 var(--space-2);
  border-bottom: 1px solid var(--color-border);
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
}

.mobile-nav__footer {
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
}

.mobile-nav__footer a {
  color: var(--color-accent);
  font-weight: var(--fw-semibold);
}

/* --------------------------------------------------------------------------
   11. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: flex-end;
  color: var(--color-white);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  will-change: transform;
  background: #111;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 11, 0.35) 0%, rgba(10, 10, 11, 0.55) 45%, rgba(10, 10, 11, 0.88) 100%),
    linear-gradient(90deg, rgba(10, 10, 11, 0.55) 0%, transparent 70%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: var(--space-10) 0 calc(var(--space-10) + 1rem);
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  width: min(100% - 2rem, var(--container));
  text-align: center;
}

.hero__eyebrow {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--space-4);
}

.hero__title {
  font-size: clamp(1.85rem, 6.5vw, 2.4rem);
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.035em;
  line-height: var(--lh-tight);
  margin-bottom: var(--space-5);
  max-width: 100%;
  margin-inline: auto;
  text-wrap: balance;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  line-height: var(--lh-relaxed);
  color: rgba(255, 255, 255, 0.82);
  max-width: 42ch;
  margin-bottom: var(--space-7);
  margin-inline: auto;
}

.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }

/* --------------------------------------------------------------------------
   12. Brand categories
   -------------------------------------------------------------------------- */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

.brand-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: var(--space-5);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition:
    transform var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    border-color var(--duration) var(--ease),
    background var(--duration) var(--ease);
}

.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
  background: var(--color-white);
  color: var(--color-black);
}

.brand-card__name {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
}

.brand-card__name::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  margin-top: 0.35rem;
  transition: width var(--duration) var(--ease);
}

.brand-card:hover .brand-card__name::after {
  width: 100%;
}

/* --------------------------------------------------------------------------
   13. Filters & catalog
   -------------------------------------------------------------------------- */
.filters-toggle {
  align-self: flex-start;
}

.catalog {
  display: grid;
  gap: var(--space-6);
}

.filters {
  display: none;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-xs);
}

.filters.is-open {
  display: block;
  animation: slideUp 0.3s var(--ease-out);
}

.filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

.filters__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
}

.filter-group {
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border);
}

.filter-group:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.filter-group__title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-3);
  letter-spacing: 0.02em;
}

.check {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 36px;
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  cursor: pointer;
}

.check input {
  width: 18px;
  height: 18px;
  accent-color: var(--color-accent);
  flex-shrink: 0;
}

.price-range {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.price-range input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xs);
  padding: 0 var(--space-3);
  background: var(--color-bg);
}

.price-range input:focus {
  outline: none;
  border-color: var(--color-accent);
  background: var(--color-white);
}

/* --------------------------------------------------------------------------
   14. Product cards & grids
   -------------------------------------------------------------------------- */
.products-carousel {
  position: relative;
}

.products-carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 82%);
  gap: var(--space-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: var(--space-3);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.products-carousel__track::-webkit-scrollbar {
  display: none;
}

.products-carousel__track > * {
  scroll-snap-align: start;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

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

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.product-card__media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: linear-gradient(160deg, #f4f4f6 0%, #e9e9ed 100%);
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
  background: transparent;
  position: relative;
  z-index: 0;
}

.product-card:hover .product-card__media img {
  transform: scale(1.05);
}

.product-card__media .pill,
.product-card__media .condition {
  position: absolute;
  z-index: 3;
}

.product-card__media .pill--sale {
  top: var(--space-3);
  left: var(--space-3);
}

.product-card__media .pill--new,
.product-card__media .pill--used {
  top: var(--space-3);
  left: calc(var(--space-3) + 3.4rem);
}

.product-card__media .pill--new:first-child,
.product-card__media .pill--used:first-child {
  left: var(--space-3);
}

.product-card__media .condition {
  top: auto;
  bottom: var(--space-3);
  left: var(--space-3);
}

.product-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-5);
  flex: 1;
}

.product-card__brand {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-soft);
}

.product-card__title {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
  line-height: var(--lh-snug);
}

.product-card__title a:hover {
  color: var(--color-accent);
}

.product-card__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-2);
  margin-top: var(--space-1);
}

.price {
  font-size: var(--fs-lg);
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.02em;
  color: var(--color-black);
}

.price--old {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text-soft);
  text-decoration: line-through;
}

.product-card__body .availability {
  margin-bottom: var(--space-2);
}

.product-card__body .btn {
  margin-top: auto;
}

.carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--color-border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  transition:
    background var(--duration-fast) var(--ease),
    border-color var(--duration-fast) var(--ease),
    transform var(--duration-fast) var(--ease);
}

.carousel-btn:hover {
  background: var(--color-black);
  border-color: var(--color-black);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   15. Used section
   -------------------------------------------------------------------------- */
.used-banner {
  display: grid;
  gap: var(--space-6);
  background: var(--color-graphite);
  color: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: var(--space-8);
  position: relative;
}

.used-banner__content {
  padding: var(--space-7) var(--space-6);
}

.used-banner__content h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.03em;
  line-height: var(--lh-tight);
  margin-bottom: var(--space-4);
}

.used-banner__content > p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: var(--space-5);
  max-width: 46ch;
}

.condition-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.condition-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.8);
}

.used-banner__visual {
  min-height: 240px;
}

.used-banner__visual img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  background: #222;
}

.used-section .product-card {
  background: var(--color-white);
}

/* --------------------------------------------------------------------------
   16. Promotions / countdown
   -------------------------------------------------------------------------- */
.promo-panel {
  display: grid;
  gap: 0;
  background: linear-gradient(135deg, #14080c 0%, #2a0b14 50%, #1a1a1d 100%);
  color: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.promo-panel__content {
  padding: var(--space-7) var(--space-6);
}

.promo-panel__content h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.03em;
  line-height: var(--lh-tight);
  margin-bottom: var(--space-4);
  max-width: 18ch;
}

.promo-panel__content > p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: var(--space-6);
  max-width: 42ch;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  max-width: 420px;
}

.countdown__item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-2);
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.countdown__item span {
  display: block;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.02em;
  line-height: 1;
}

.countdown__item small {
  display: block;
  margin-top: var(--space-2);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.65);
}

.promo-panel__media {
  min-height: 240px;
}

.promo-panel__media img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.promo-section .btn--primary {
  animation: pulseSoft 2.4s infinite;
}

/* --------------------------------------------------------------------------
   17. Accessories
   -------------------------------------------------------------------------- */
.acc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

.acc-card {
  display: flex;
  align-items: flex-end;
  min-height: 120px;
  padding: var(--space-5);
  border-radius: var(--radius-md);
  color: var(--color-white);
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.acc-card:nth-child(1) { background: linear-gradient(160deg, #2c2c31, #0a0a0b); }
.acc-card:nth-child(2) { background: linear-gradient(160deg, #3a1520, #1a1a1d); }
.acc-card:nth-child(3) { background: linear-gradient(160deg, #1c2740, #0a0a0b); }
.acc-card:nth-child(4) { background: linear-gradient(160deg, #243028, #0a0a0b); }
.acc-card:nth-child(5) { background: linear-gradient(160deg, #3a2a18, #0a0a0b); }
.acc-card:nth-child(6) { background: linear-gradient(160deg, #2a2038, #0a0a0b); }

.acc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  color: var(--color-white);
}

/* --------------------------------------------------------------------------
   18. Advantages
   -------------------------------------------------------------------------- */
.advantages {
  background:
    radial-gradient(circle at top left, rgba(217, 4, 41, 0.04), transparent 40%),
    var(--color-white);
}

.advantages__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.advantage {
  padding: var(--space-6);
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  transition:
    transform var(--duration) var(--ease),
    background var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease);
}

.advantage:hover {
  transform: translateY(-4px);
  background: var(--color-white);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border);
}

.advantage__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--color-accent-soft);
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.advantage h3 {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-2);
  letter-spacing: -0.02em;
}

.advantage p {
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
}

/* --------------------------------------------------------------------------
   19. Product detail page block
   -------------------------------------------------------------------------- */
.pdp {
  display: grid;
  gap: var(--space-7);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
}

.pdp__gallery {
  display: grid;
  gap: var(--space-3);
}

.pdp__main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg);
  aspect-ratio: 1;
}

.pdp__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s var(--ease);
  background: transparent;
}

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

.pdp__thumb {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  aspect-ratio: 1;
  transition: border-color var(--duration-fast) var(--ease);
}

.pdp__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: transparent;
}

.pdp__thumb.is-active,
.pdp__thumb:hover {
  border-color: var(--color-accent);
}

.pdp__info {
  display: flex;
  flex-direction: column;
}

.pdp__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.pdp__brand {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  margin-bottom: var(--space-2);
}

.pdp__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.03em;
  line-height: var(--lh-tight);
  margin-bottom: var(--space-3);
}

.pdp__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  margin: var(--space-4) 0 var(--space-3);
}

.pdp__price .price {
  font-size: var(--fs-3xl);
}

.pdp__installments {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.pdp__delivery {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  color: var(--color-success);
  font-weight: var(--fw-medium);
  margin-bottom: var(--space-5);
}

.pdp__desc {
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-6);
}

.pdp__specs h4 {
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-3);
}

.specs {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--color-border);
  margin-bottom: var(--space-6);
}

.specs > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--fs-sm);
}

.specs dt {
  color: var(--color-text-soft);
  font-weight: var(--fw-medium);
}

.specs dd {
  margin: 0;
  font-weight: var(--fw-semibold);
}

.pdp__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

/* --------------------------------------------------------------------------
   21. Instagram
   -------------------------------------------------------------------------- */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
}

.ig-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.ig-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
  background: #ddd;
}

.ig-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 11, 0);
  transition: background var(--duration) var(--ease);
}

.ig-item:hover img {
  transform: scale(1.08);
}

.ig-item:hover::after {
  background: rgba(10, 10, 11, 0.25);
}

.ig-item:hover {
  color: inherit;
}

/* --------------------------------------------------------------------------
   22. Blog
   -------------------------------------------------------------------------- */
.blog-grid {
  display: grid;
  gap: var(--space-5);
}

.blog-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

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

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.blog-card__body {
  padding: var(--space-5);
}

.blog-card__body h3 {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
  line-height: var(--lh-snug);
  margin-bottom: var(--space-3);
}

.blog-card__body p {
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-4);
}

/* --------------------------------------------------------------------------
   23. FAQ Accordion
   -------------------------------------------------------------------------- */
.accordion {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.accordion__item {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid transparent;
  transition: border-color var(--duration-fast) var(--ease), background var(--duration-fast) var(--ease);
}

.accordion__item.is-open {
  background: var(--color-white);
  border-color: var(--color-border);
  box-shadow: var(--shadow-xs);
}

.accordion__item h3 {
  margin: 0;
}

.accordion__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  text-align: left;
  padding: var(--space-5);
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  letter-spacing: -0.01em;
  color: var(--color-black);
}

.accordion__icon {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
}

.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1.5px;
  background: var(--color-black);
  transition: transform var(--duration-fast) var(--ease);
}

.accordion__icon::before {
  transform: translate(-50%, -50%);
}

.accordion__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.accordion__btn[aria-expanded="true"] .accordion__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.accordion__panel {
  padding: 0 var(--space-5) var(--space-5);
}

.accordion__panel[hidden] {
  display: none;
}

.accordion__panel p {
  color: var(--color-text-muted);
  line-height: var(--lh-relaxed);
  font-size: var(--fs-sm);
}

/* --------------------------------------------------------------------------
   25. Contact
   -------------------------------------------------------------------------- */
.contact__grid {
  display: grid;
  gap: var(--space-5);
}

.contact__card,
.contact__form {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.contact__card h3 {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-4);
}

.contact__card p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
  line-height: var(--lh-relaxed);
}

.contact__card a {
  color: var(--color-accent);
  font-weight: var(--fw-semibold);
}

.form-row {
  display: grid;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.form-row label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
}

.form-row input,
.form-row textarea {
  min-height: 48px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  background: var(--color-white);
  transition: border-color var(--duration-fast) var(--ease);
}

.form-row textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.contact__form .btn {
  width: 100%;
}

.contact__success {
  margin-top: var(--space-3);
  color: var(--color-success);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
}

/* --------------------------------------------------------------------------
   26. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--color-black);
  color: rgba(255, 255, 255, 0.78);
  padding: var(--space-10) 0 var(--space-8);
  margin-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px));
  position: relative;
}

.footer__top {
  display: grid;
  gap: var(--space-7);
  margin-bottom: var(--space-8);
}

.footer__brand p {
  margin-top: var(--space-4);
  max-width: 36ch;
  line-height: var(--lh-relaxed);
  font-size: var(--fs-sm);
}

.logo__img--footer {
  background: transparent;
  height: 32px;
}

/* White badge so the photographic logo (shot on a white background) reads
   cleanly against the dark footer instead of showing a stray white box. */
.footer__logo {
  display: inline-flex;
  justify-content: flex-start;
  overflow: visible;
  flex: none;
}

.footer__logo-badge {
  display: inline-flex;
  background: var(--color-white);
  border-radius: var(--radius-lg, 16px);
  padding: 0.9rem 1.4rem;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
  margin-bottom: var(--space-2, 0.5rem);
}

.footer__logo-badge img {
  display: block;
  height: 68px;
  width: auto;
}

.footer__col h3 {
  color: var(--color-white);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.footer__col ul {
  display: grid;
  gap: var(--space-3);
}

.footer__col a {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.7);
}

.footer__col a:hover {
  color: var(--color-white);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
   27. Bottom navigation (mobile)
   -------------------------------------------------------------------------- */
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-bottom);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: var(--bottom-nav-h);
  padding: var(--space-1) 0 calc(var(--space-1) + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -8px 24px rgba(10, 10, 11, 0.06);
}

.bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  font-size: 0.65rem;
  font-weight: var(--fw-medium);
  color: var(--color-text-muted);
  min-height: 52px;
  transition: color var(--duration-fast) var(--ease);
}

.bottom-nav__item .icon {
  width: 20px;
  height: 20px;
}

.bottom-nav__item.is-active,
.bottom-nav__item:hover {
  color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   28. Back to top & toast
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  right: var(--space-4);
  bottom: calc(var(--bottom-nav-h) + var(--space-4) + env(safe-area-inset-bottom, 0px));
  z-index: var(--z-bottom);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-black);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--duration-fast) var(--ease), opacity var(--duration-fast) var(--ease);
}

.back-to-top:hover {
  transform: translateY(-3px);
  background: var(--color-accent);
}

.back-to-top[hidden] {
  display: none;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--bottom-nav-h) + var(--space-5) + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%) translateY(20px);
  z-index: var(--z-toast);
  background: var(--color-graphite);
  color: var(--color-white);
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
  max-width: min(90vw, 360px);
  text-align: center;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast[hidden] {
  display: none;
}

/* --------------------------------------------------------------------------
   29. Animations
   -------------------------------------------------------------------------- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heartPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.25); }
  100% { transform: scale(1.08); }
}

@keyframes pulseSoft {
  0%, 100% { box-shadow: 0 0 0 0 rgba(217, 4, 41, 0.35); }
  50% { box-shadow: 0 0 0 10px rgba(217, 4, 41, 0); }
}

/* --------------------------------------------------------------------------
   30. Utility states & accessibility
   -------------------------------------------------------------------------- */
.is-hidden {
  display: none !important;
}

.product-card.is-filtered-out {
  display: none;
}

.badge-count.is-bump {
  animation: heartPop 0.4s var(--ease);
}

.categories {
  padding-top: var(--space-9);
}

.hero__cta .btn--primary:hover {
  box-shadow: 0 14px 36px rgba(217, 4, 41, 0.4);
}

.used-banner::before,
.promo-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 1;
  border-radius: inherit;
}

.used-banner > *,
.promo-panel > * {
  position: relative;
  z-index: 2;
}

.brand-card:focus-visible,
.acc-card:focus-visible,
.ig-item:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.btn--ghost:focus-visible {
  outline-color: var(--color-white);
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .topbar,
  .header,
  .bottom-nav,
  .back-to-top,
  .mobile-nav,
  .hero__cta {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .footer {
    margin-bottom: 0;
    color: #000;
    background: #fff;
  }
}

/* --------------------------------------------------------------------------
   31. Extra component refinements (premium density)
   -------------------------------------------------------------------------- */
.topbar a {
  transition: opacity var(--duration-fast) var(--ease);
}

.header.is-scrolled .logo__img {
  height: 28px;
}

.nav__list a::after {
  content: "";
  display: none;
}

.mobile-nav__list a:hover {
  color: var(--color-accent);
}

.hero__content .btn {
  width: 100%;
}

.section__header--row .section__desc {
  margin-bottom: 0;
}

.filters-toggle .icon {
  margin-right: 0.15rem;
}

.products-wrap {
  min-width: 0;
}

.product-card.is-adding .btn--primary {
  pointer-events: none;
  opacity: 0.85;
}

.used-banner .btn--primary {
  margin-top: var(--space-2);
}

.promo-panel .eyebrow {
  color: #ff6b81;
}

.advantage__icon .icon {
  width: 24px;
  height: 24px;
}

.pdp__thumb:focus-visible {
  outline-offset: 1px;
}

.ig-grid .ig-item:nth-child(n + 5) {
  display: none;
}

.blog-card .eyebrow {
  margin-bottom: var(--space-2);
}

.faq .section__header {
  text-align: left;
}

.contact__card {
  border: 1px solid var(--color-border);
  background: var(--color-white);
}

.footer .logo:hover {
  opacity: 1;
}

.bottom-nav__item span {
  line-height: 1;
}

.toast.is-visible {
  pointer-events: auto;
}

/* spacing rhythm */
.products-section {
  padding-top: var(--space-9);
}

.instagram .section__header--row {
  align-items: flex-start;
}

/* soft separators */
.section + .section--soft {
  border-top: 1px solid transparent;
}

/* cart badge default visible zero handling via JS */

/* end base — breakpoints live in responsive.css */
