:root {
  --bg: #000000;
  --panel: #141416;
  --ink: #ffffff;
  --muted: #9a9a9e;
  --accent: #e85a12;
  --accent-2: #ff6a1a;
  --line: rgba(255, 255, 255, 0.14);
  --radius: 12px;
  --font-display: "Oswald", Impact, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --pad: 1rem;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

* { box-sizing: border-box; }

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

html, body {
  margin: 0;
  padding: 0;
  background: #000;
  color: var(--ink);
  font-family: var(--font-body);
  min-height: 100%;
}

.page-shop {
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(232, 90, 18, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(232, 90, 18, 0.08), transparent 50%),
    #000;
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: calc(4rem + var(--safe-b));
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: calc(0.75rem + var(--safe-t)) var(--pad) 0.75rem;
  position: sticky;
  top: 0;
  z-index: 30;
  background: linear-gradient(180deg, rgba(0,0,0,0.92) 40%, rgba(0,0,0,0.65) 80%, transparent);
  backdrop-filter: blur(8px);
}

.brand-logo { height: 40px; width: auto; }

.site-main {
  padding: 0 var(--pad) 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.kicker {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.kicker--bars::before {
  content: "";
  display: inline-block;
  width: 1.25rem;
  height: 3px;
  background: var(--accent);
  margin-right: 0.5rem;
  vertical-align: middle;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
  color: #fff;
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: #fff;
}

.btn-wa {
  background: #25d366;
  border-color: #1ebe57;
  color: #04140a;
  font-weight: 800;
}

.btn-wa:hover {
  filter: brightness(1.05);
}

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

.hero-actions {
  margin-top: 0.9rem;
}

.how-strip {
  display: grid;
  gap: 0.5rem;
  margin: 0 0 1rem;
}

@media (min-width: 720px) {
  .how-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

.how-strip__item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.88);
  font-size: 0.88rem;
  font-weight: 600;
}

.how-strip__item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.85rem;
  flex: 0 0 auto;
}

.order-cta {
  margin-top: 1.75rem;
  padding: 1.15rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(232, 90, 18, 0.4);
  background: rgba(232, 90, 18, 0.1);
  text-align: center;
}

.order-cta h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.order-cta p {
  color: var(--muted);
  margin: 0 0 0.9rem;
  line-height: 1.4;
}

.testimonials {
  margin-top: 2rem;
  padding-top: 0.25rem;
}

.testimonials__head {
  margin-bottom: 0.9rem;
}

.testimonials__head h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  margin: 0;
  font-size: clamp(1.4rem, 4vw, 1.85rem);
  letter-spacing: 0.02em;
}

.testimonials__grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 720px) {
  .testimonials__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

.testimonial-card {
  margin: 0;
  padding: 1rem 1.05rem 1.05rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.testimonial-card__tag {
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.testimonial-card blockquote {
  margin: 0;
  color: rgba(255,255,255,0.92);
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 500;
}

.testimonial-card figcaption {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.shop-hero {
  padding: 1.25rem 0 1rem;
}

.shop-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 8vw, 3.4rem);
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  letter-spacing: 0.02em;
  line-height: 1;
}

.shop-hero__lead {
  color: var(--muted);
  max-width: 36rem;
  margin: 0 0 1rem;
  line-height: 1.45;
}

.store-banner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(232, 90, 18, 0.45);
  background: rgba(232, 90, 18, 0.12);
  border-radius: var(--radius);
}

.store-banner strong {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.store-banner span {
  color: var(--muted);
  font-size: 0.9rem;
}

.shop-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.25rem 0 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.shop-tabs::-webkit-scrollbar { display: none; }

.shop-tabs__item {
  flex: 0 0 auto;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--muted);
}

.shop-tabs__item.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

@media (min-width: 720px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.product-card:hover {
  border-color: rgba(232, 90, 18, 0.55);
  transform: translateY(-2px);
}

.product-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #0c0c0e;
  overflow: hidden;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__media--empty {
  background: linear-gradient(145deg, #1a1a1e, #0a0a0c);
}

.product-card__badge {
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.7);
  border: 1px solid var(--line);
}

.product-card__body {
  padding: 0.75rem 0.8rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.product-card__body h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.product-card__meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.product-card__footer {
  margin-top: auto;
  padding-top: 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.product-card__price {
  font-weight: 700;
  color: #fff;
}

.product-card__price--ask {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.product-card__status {
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
}

.empty-state, .error-page {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
}

.empty-state h2, .error-page h1 {
  font-family: var(--font-display);
  color: #fff;
  text-transform: uppercase;
}

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem 0 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Detail */
.top-grid {
  display: grid;
  gap: 1rem;
  padding-top: 0.5rem;
}

@media (min-width: 900px) {
  .top-grid {
    grid-template-columns: 1.4fr 0.85fr;
    align-items: start;
  }
}

.hero-card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
  min-height: 280px;
  overflow: hidden;
}

.hero-card--photo {
  background-image: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.82) 70%), var(--hero-photo);
  background-size: cover;
  background-position: center;
  min-height: 360px;
}

.hero-card__inner {
  position: relative;
  z-index: 1;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: inherit;
  justify-content: flex-end;
}

.hero-card__copy h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  text-transform: uppercase;
  margin: 0;
  line-height: 1.05;
}

.hero-card__price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent-2);
  margin: 0.35rem 0 0;
}

.hero-card__tagline {
  margin: 0.4rem 0 0;
  color: rgba(255,255,255,0.85);
  max-width: 32rem;
  line-height: 1.4;
  white-space: pre-line;
}

.car-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.car-specs__item {
  min-width: 4.5rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.45);
  border-radius: 10px;
}

.car-specs__value {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  text-transform: uppercase;
}

.car-specs__label {
  display: block;
  font-size: 0.68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.15rem;
}

.size-chips {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.size-chip {
  width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.4);
  font-weight: 700;
  font-size: 0.85rem;
}

.side-stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.05rem;
}

.panel h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.notes {
  color: var(--muted);
  margin: 0 0 0.85rem;
  line-height: 1.4;
  font-size: 0.92rem;
}

.notes--small { font-size: 0.82rem; }

.store-pill {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(232, 90, 18, 0.18);
  border: 1px solid rgba(232, 90, 18, 0.5);
  font-weight: 700;
  font-size: 0.82rem;
}

.gallery-section {
  margin-top: 1.75rem;
}

.gallery-section h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-bar {
  width: 1.1rem;
  height: 3px;
  background: var(--accent);
  display: inline-block;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.gallery button {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #111;
  cursor: zoom-in;
  aspect-ratio: 1;
}

.gallery button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  padding: 1.5rem var(--pad) 0.5rem;
}

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 0.65rem var(--pad) calc(0.65rem + var(--safe-b));
  background: linear-gradient(0deg, rgba(0,0,0,0.95), rgba(0,0,0,0.75));
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mobile-cta__note {
  text-align: center;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--muted);
}

.shop-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.shop-lightbox[hidden] { display: none; }

.shop-lightbox__img {
  max-width: min(960px, 100%);
  max-height: 90vh;
  object-fit: contain;
}

.shop-lightbox__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

body.shop-lightbox-open { overflow: hidden; }

@media (min-width: 900px) {
  .mobile-cta { display: none; }
  .page-shop { padding-bottom: 2rem; }
}
