/* Bat'Doll V6.38.28 — styles spécifiques boutique, extraits du PHP pour simplifier la maintenance. */
/* Boutique dynamique compacte — V6.37.10 */
/* En-tête de collection réduit d’environ 50 % */
body .page-title {
  padding: 18px 0 12px !important;
}
body .page-title .eyebrow {
  font-size: 7px !important;
  letter-spacing: 1.4px !important;
  margin: 0 0 2px !important;
}
body .page-title h1 {
  font-size: clamp(28px, 3.1vw, 40px) !important;
  line-height: .95 !important;
  margin: 0 0 5px !important;
}
body .page-title > p:last-child {
  font-size: 12px !important;
  line-height: 1.2 !important;
  margin: 0 !important;
}


@media (min-width: 1101px) {
  body .shop-layout.container {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    width: calc(100% - 28px) !important;
    max-width: 1760px !important;
    margin-inline: auto !important;
    padding-bottom: 56px !important;
  }

  body .shop-layout > .filters {
    position: static !important;
    top: auto !important;
    width: 100% !important;
    max-width: none !important;
    display: grid !important;
    grid-template-columns: auto minmax(170px, 1.55fr) repeat(3, minmax(115px, .82fr)) minmax(220px, 1.12fr) auto !important;
    gap: 8px !important;
    align-items: end !important;
    padding: 7px 10px !important;
    margin: 0 0 10px !important;
  }

  body .shop-layout > .filters h2 {
    margin: 0 4px 5px 0 !important;
    font-size: 20px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  body .shop-layout > .filters label {
    display: grid !important;
    gap: 2px !important;
    margin: 0 !important;
    min-width: 0 !important;
    font-size: 11px !important;
    line-height: 1.1 !important;
  }

  body .shop-layout > .filters input:not([type="range"]),
  body .shop-layout > .filters select {
    min-height: 32px !important;
    padding: 5px 7px !important;
    font-size: 12px !important;
  }

  body .shop-layout > .filters input[type="range"] {
    width: 100% !important;
    height: 18px !important;
    margin: 0 !important;
  }

  body .shop-layout > .filters .price-filter {
    white-space: nowrap !important;
  }

  body .shop-layout > .filters button {
    width: auto !important;
    min-height: 32px !important;
    padding: 5px 10px !important;
    white-space: nowrap !important;
  }

  body .shop-layout > .shop-products {
    width: 100% !important;
    min-width: 0 !important;
  }

  body .shop-toolbar {
    margin: 0 0 10px !important;
  }

  body .shop-toolbar select {
    width: auto !important;
    min-width: 180px !important;
    padding: 7px 9px !important;
  }

  body .shop-products .products-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)) !important;
    gap: 9px !important;
  }

  body .shop-products .product-card {
    min-width: 0 !important;
  }

  body .shop-products .product-card img {
    width: 100% !important;
    aspect-ratio: 1 / 1.05 !important;
    object-fit: cover !important;
  }

  body .shop-products .product-info,
  body .shop-products .product-card-body {
    padding: 7px !important;
  }

  body .shop-products .product-info h3,
  body .shop-products .product-card-body h2 {
    font-size: 13px !important;
    line-height: 1.08 !important;
    margin: 0 0 3px !important;
  }

  body .shop-products .product-meta,
  body .shop-products .stock-counter {
    font-size: 9px !important;
    line-height: 1.18 !important;
    margin-bottom: 3px !important;
  }

  body .shop-products .price {
    font-size: 14px !important;
    margin: 3px 0 !important;
  }

  body .shop-products .product-actions {
    gap: 3px !important;
    margin-top: 4px !important;
  }

  body .shop-products .product-actions .btn,
  body .shop-products .product-card-body .btn {
    min-height: 27px !important;
    padding: 4px 5px !important;
    font-size: 9px !important;
  }
}

@media (min-width: 1500px) {
  body .shop-products .products-grid {
    grid-template-columns: repeat(10, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1101px) and (max-width: 1499px) {
  body .shop-products .products-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1100px) {
  body .shop-layout.container {
    width: min(100% - 20px, 1100px) !important;
  }

  body .shop-layout > .filters {
    position: static !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 9px !important;
  }

  body .shop-layout > .filters h2 {
    grid-column: 1 / -1 !important;
    margin-bottom: 0 !important;
  }

  body .shop-products .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
}

@media (max-width: 700px) {
  body .shop-layout > .filters {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body .shop-layout > .filters h2,
  body .shop-layout > .filters label:first-of-type,
  body .shop-layout > .filters button {
    grid-column: 1 / -1 !important;
  }

  body .shop-products .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
}
