/* ==========================================================================
   Boutique Pneus — hub diamètres + liste références
   ========================================================================== */

.ds30-tire-shop {
  padding: 0 0 3.5rem;
  background: var(--ds30-gray-50);
}

/* Bannière collée sous le menu — pas de cadre blanc */
.ds30-tire-shop > .ds30-page-banner {
  margin: 0;
  width: 100%;
  min-height: 320px;
}

@media (min-width: 900px) {
  .ds30-tire-shop > .ds30-page-banner {
    min-height: 400px;
  }
}

.ds30-tire-shop > .ds30-container {
  padding-top: 2rem;
}

.ds30-tire-shop-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.ds30-tire-shop-title {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.ds30-tire-shop-intro {
  margin: 0;
  color: var(--ds30-gray-600);
  font-size: 0.9375rem;
}

/* Neuf / Occasion */
.ds30-tire-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 auto 2rem;
  max-width: 420px;
}

.ds30-tire-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-align: center;
  padding: 0.75rem 1rem;
  border-radius: var(--ds30-radius);
  border: 2px solid var(--ds30-gray-200);
  background: var(--ds30-white);
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
}

.ds30-tire-tab:hover {
  border-color: var(--ds30-blue);
  color: var(--ds30-blue);
}

.ds30-tire-tab.is-active {
  background: var(--ds30-blue);
  border-color: var(--ds30-blue);
  color: var(--ds30-white);
}

.ds30-tire-tab-label {
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ds30-tire-tab-hint {
  font-size: 0.625rem;
  font-weight: 600;
  opacity: 0.85;
  text-transform: none;
  letter-spacing: 0;
}

.ds30-tire-etat-notice {
  max-width: 640px;
  margin: -0.75rem auto 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--ds30-gray-600);
  line-height: 1.5;
}

/* Hub — diamètres (14–22) */
.ds30-tire-diameter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .ds30-tire-diameter-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1100px) {
  .ds30-tire-diameter-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.ds30-tire-diameter-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--ds30-white);
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  transition: all 0.25s ease;
}

.ds30-tire-diameter-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ds30-shadow-lg);
  border-color: rgba(0, 108, 255, 0.35);
}

.ds30-tire-diameter-visual {
  position: relative;
  width: 100%;
  max-width: 180px;
  margin-bottom: 1rem;
}

.ds30-tire-diameter-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.ds30-tire-diameter-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  background: var(--ds30-black);
  color: var(--ds30-white);
  font-size: 0.75rem;
  font-weight: 900;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.ds30-tire-diameter-title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ds30-tire-diameter-price {
  margin: 0 0 0.25rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ds30-blue);
}

.ds30-tire-pair-note {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--ds30-gray-600);
  text-transform: none;
  letter-spacing: 0;
}

.ds30-tire-pair-banner {
  margin: 0 0 1.25rem;
  padding: 0.65rem 0.9rem;
  border-radius: 8px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #1e40af;
  text-align: center;
}

.ds30-tire-pair-banner--product {
  margin-top: -0.25rem;
  margin-bottom: 1rem;
  text-align: left;
}

.ds30-product-price .ds30-tire-pair-note {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #1e40af;
}

.ds30-tire-diameter-count {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  color: var(--ds30-gray-500);
}

.ds30-tire-diameter-cta {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ds30-black);
}

/* Page dimension */
.ds30-tire-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.8125rem;
  color: var(--ds30-gray-500);
}

.ds30-tire-breadcrumb a:hover {
  color: var(--ds30-blue);
}

.ds30-tire-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .ds30-tire-products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .ds30-tire-products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ds30-tire-product-card {
  display: flex;
  flex-direction: column;
  background: var(--ds30-white);
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.ds30-tire-product-card:hover {
  box-shadow: var(--ds30-shadow);
}

.ds30-tire-product-image {
  position: relative;
  padding: 1.25rem;
  background: #f9fafb;
  text-align: center;
}

.ds30-tire-product-image img {
  width: 100%;
  max-width: 140px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.ds30-tire-product-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  color: var(--ds30-white);
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 3px;
}

.ds30-tire-product-badge--neuf {
  background: var(--ds30-blue);
}

.ds30-tire-product-badge--occasion {
  background: #16a34a;
}

.ds30-tire-product-stock {
  margin: 0 0 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
}

.ds30-tire-product-stock--in {
  color: #16a34a;
}

.ds30-tire-product-stock--out {
  color: #dc2626;
}

.ds30-tire-product-stock--dropship {
  color: var(--ds30-gray-500);
}

.ds30-tire-product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem;
  text-align: center;
}

.ds30-tire-product-ref {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.ds30-tire-product-meta {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  color: var(--ds30-gray-500);
}

.ds30-tire-product-price {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--ds30-blue);
}

.ds30-tire-product-price .ds30-tire-pair-note {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ds30-gray-600);
}

.ds30-tire-product-body .ds30-btn {
  width: 100%;
  margin-top: auto;
  font-size: 0.6875rem;
  padding: 0.65rem 0.75rem;
}

.ds30-tire-product-link {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--ds30-gray-500);
  text-decoration: underline;
}

.ds30-tire-product-link:hover {
  color: var(--ds30-blue);
}

.ds30-tire-product-unavailable {
  font-size: 0.75rem;
  color: var(--ds30-gray-500);
}

.ds30-tire-back {
  margin-top: 2rem;
  text-align: center;
}

.ds30-parts-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  background: var(--ds30-white);
  border: 1px dashed #ddd;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.ds30-parts-empty p {
  margin: 0 0 1rem;
  color: var(--ds30-gray-600);
}

.ds30-parts-info {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--ds30-gray-500);
}

.ds30-parts-products-grid {
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .ds30-parts-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ds30-page-hero--compact .ds30-page-hero-title {
  font-size: 1.5rem;
}
