/**
 * Page Moto — maquette blanc / bleu / noir DestockShop30
 */

:root {
  --ds30-moto-navy: #111111;
  --ds30-moto-blue: #0056b3;
  --ds30-moto-blue-light: #007bff;
  --ds30-moto-ink: #111111;
  --ds30-moto-muted: #5a6472;
  --ds30-moto-bg: #f3f5f8;
  --ds30-moto-gold: #f5a623;
  --ds30-moto-panel: #111111;
  --ds30-moto-max: 1240px;
  --ds30-moto-gutter: clamp(1rem, 3vw, 2rem);
}

body.ds30-moto-body-page {
  overflow-x: hidden;
}

.ds30-moto-page--mockup {
  background: #fff;
  color: var(--ds30-moto-ink);
  font-family: "Montserrat", system-ui, sans-serif;
  overflow-x: hidden;
  max-width: 100%;
  padding: clamp(1rem, 2.5vw, 1.75rem) 0 clamp(2rem, 4vw, 3rem);
}

.ds30-moto-page {
  width: min(var(--ds30-moto-max), calc(100% - var(--ds30-moto-gutter) * 2));
  max-width: 100%;
  margin-inline: auto;
}

/* Layout */
.ds30-moto-layout {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
  min-width: 0;
}

@media (min-width: 960px) {
  .ds30-moto-layout {
    grid-template-columns: minmax(0, 250px) minmax(0, 1fr);
  }
}

/* Sidebar */
.ds30-moto-sidebar {
  min-width: 0;
}

.ds30-moto-sidebar__box {
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e9ef;
  box-shadow: 0 2px 12px rgba(17, 17, 17, 0.05);
}

.ds30-moto-sidebar__title {
  margin: 0;
  padding: 0.85rem 1rem;
  background: var(--ds30-moto-panel);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ds30-moto-sidebar__nav {
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
}

.ds30-moto-sidebar__link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ds30-moto-ink);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.ds30-moto-sidebar__link:hover {
  background: rgba(0, 86, 179, 0.08);
  color: var(--ds30-moto-blue);
}

.ds30-moto-sidebar__link.is-active {
  background: var(--ds30-moto-blue);
  color: #fff;
}

.ds30-moto-sidebar__link.is-active .ds30-moto-sidebar__icon {
  color: #fff;
}

.ds30-moto-sidebar__icon {
  display: flex;
  flex-shrink: 0;
  color: var(--ds30-moto-blue);
  line-height: 0;
}

.ds30-moto-sidebar__icon svg {
  display: block;
}

/* Help */
.ds30-moto-sidebar__help {
  margin-top: 1.25rem;
  padding: 1.15rem 1rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e5e9ef;
  box-shadow: 0 2px 12px rgba(17, 17, 17, 0.05);
}

.ds30-moto-sidebar__help h3 {
  margin: 0 0 0.25rem;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ds30-moto-ink);
}

.ds30-moto-sidebar__help > p {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--ds30-moto-muted);
}

.ds30-moto-sidebar__help ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ds30-moto-sidebar__help li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--ds30-moto-ink);
}

.ds30-moto-sidebar__help li + li {
  margin-top: 0.55rem;
}

.ds30-moto-sidebar__help li span[aria-hidden="true"] {
  display: flex;
  flex-shrink: 0;
  color: var(--ds30-moto-blue);
  line-height: 0;
  margin-top: 0.1rem;
}

.ds30-moto-sidebar__help a {
  color: var(--ds30-moto-ink);
  text-decoration: none;
  font-weight: 600;
}

.ds30-moto-sidebar__help a:hover {
  color: var(--ds30-moto-blue);
}

/* Main */
.ds30-moto-main {
  min-width: 0;
}

/* Breadcrumb */
.ds30-moto-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  margin-bottom: 1.25rem;
  font-size: 0.75rem;
  color: var(--ds30-moto-muted);
}

.ds30-moto-breadcrumb a {
  color: var(--ds30-moto-muted);
  text-decoration: none;
}

.ds30-moto-breadcrumb a:hover {
  color: var(--ds30-moto-blue);
}

.ds30-moto-breadcrumb span:last-child {
  color: var(--ds30-moto-ink);
}

/* Hero */
.ds30-moto-hero {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: center;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
  min-width: 0;
}

@media (min-width: 860px) {
  .ds30-moto-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  }
}

.ds30-moto-hero__title {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--ds30-moto-ink);
}

.ds30-moto-hero__tagline {
  margin: 0.65rem 0 0.85rem;
  font-size: clamp(0.95rem, 2.2vw, 1.125rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--ds30-moto-blue-light);
}

.ds30-moto-hero__intro {
  margin: 0;
  max-width: 34rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--ds30-moto-muted);
}

.ds30-moto-hero__visual {
  min-width: 0;
}

.ds30-moto-hero__visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Category cards */
.ds30-moto-categories {
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.ds30-moto-categories__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 560px) {
  .ds30-moto-categories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .ds30-moto-categories__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ds30-moto-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0.85rem 1.1rem;
  border: 1px solid #e5e9ef;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(17, 17, 17, 0.05);
  text-align: center;
  min-width: 0;
}

.ds30-moto-cat__media {
  width: 100%;
  max-width: 140px;
  aspect-ratio: 1;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ds30-moto-cat__media img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.ds30-moto-cat__title {
  margin: 0 0 0.35rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--ds30-moto-ink);
}

.ds30-moto-cat__desc {
  margin: 0 0 0.85rem;
  font-size: 0.6875rem;
  line-height: 1.45;
  color: var(--ds30-moto-muted);
}

.ds30-moto-cat__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 0.45rem 0.85rem;
  border-radius: 4px;
  background: var(--ds30-moto-blue);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s;
}

.ds30-moto-cat__btn:hover {
  background: var(--ds30-moto-navy);
  color: #fff;
}

/* Popular products */
.ds30-moto-popular {
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
  min-width: 0;
}

.ds30-moto-popular__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}

.ds30-moto-popular__head h2 {
  position: relative;
  margin: 0;
  padding-bottom: 0.65rem;
  font-size: clamp(0.95rem, 2.2vw, 1.125rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--ds30-moto-ink);
}

.ds30-moto-popular__head h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3.5rem;
  height: 3px;
  background: var(--ds30-moto-blue);
}

.ds30-moto-popular__all {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ds30-moto-blue);
  text-decoration: none;
  white-space: nowrap;
}

.ds30-moto-popular__all:hover {
  color: var(--ds30-moto-navy);
}

.ds30-moto-popular__wrap {
  position: relative;
  min-width: 0;
}

.ds30-moto-popular__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 2.5rem 0.25rem;
}

.ds30-moto-popular__track::-webkit-scrollbar {
  display: none;
}

.ds30-moto-product {
  flex: 0 0 clamp(145px, 30vw, 175px);
  scroll-snap-align: start;
  min-width: 0;
}

.ds30-moto-product__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.ds30-moto-product__cover {
  margin-bottom: 0.65rem;
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eef1f5;
}

.ds30-moto-product__cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.35rem;
}

.ds30-moto-product__title {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ds30-moto-ink);
}

.ds30-moto-product__rating {
  margin: 0 0 0.25rem;
  font-size: 0.6875rem;
  line-height: 1.2;
  color: var(--ds30-moto-gold);
}

.ds30-moto-product__reviews {
  color: var(--ds30-moto-muted);
}

.ds30-moto-product__price {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--ds30-moto-ink);
}

.ds30-moto-popular__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
  padding: 0;
  border: 1px solid #e5e9ef;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(17, 17, 17, 0.1);
  font-size: 1.35rem;
  line-height: 1;
  color: var(--ds30-moto-ink);
  cursor: pointer;
  transform: translateY(-70%);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.ds30-moto-popular__nav:hover {
  background: var(--ds30-moto-blue);
  border-color: var(--ds30-moto-blue);
  color: #fff;
}

.ds30-moto-popular__prev {
  left: 0;
}

.ds30-moto-popular__next {
  right: 0;
}

/* Trust bar */
.ds30-moto-trust {
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 0;
  background: var(--ds30-moto-bg);
}

.ds30-moto-trust__grid {
  display: grid;
  gap: 1.25rem 1rem;
  grid-template-columns: minmax(0, 1fr);
}

.ds30-moto-trust__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
}

.ds30-moto-trust__icon {
  display: flex;
  flex-shrink: 0;
  color: var(--ds30-moto-ink);
  line-height: 0;
}

.ds30-moto-trust__icon svg {
  display: block;
}

.ds30-moto-trust__copy strong {
  display: block;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--ds30-moto-ink);
}

.ds30-moto-trust__copy span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--ds30-moto-muted);
}

@media (min-width: 640px) {
  .ds30-moto-trust__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .ds30-moto-trust__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .ds30-moto-trust__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
