/* ==========================================================================
   Adaptation PrestaShop (thème parent Hummingbird / Bootstrap 5)
   ========================================================================== */
.qq-body {
  --bs-primary: #3b2fb5; --bs-primary-rgb: 59, 47, 181; --bs-link-color: #3b2fb5; --bs-link-color-rgb: 59, 47, 181; --bs-link-hover-color: #2f2591;
  --bs-body-font-family: var(--qq-font); --bs-body-color: #24272b; --bs-border-radius: 12px; --bs-border-color: #e4e6e8;
  --bs-primary-bg-subtle: #e9e7f8; --bs-primary-text-emphasis: #2f2591;
  font-family: var(--qq-font); font-size: 15.5px; line-height: 1.6;
}
.qq-body .material-icons { font-family: "Material Icons"; }
.qq-body .wrapper { padding: 0; min-height: 50vh; }
.qq-body .columns-container.container { max-width: var(--qq-wrap); padding: 0 24px; }
.qq-body .columns-container > .row { margin: 0; }
.qq-body .center-column { width: 100%; max-width: 100%; flex: 1 1 100%; padding: 0; }
.qq-body .page-content--home, .qq-home { margin: 0; padding: 0; }
.qq-body #content.page-content { margin-bottom: 0; }

/* Boutons Bootstrap */
.qq-body .btn { font-family: var(--qq-font); font-weight: 700; border-radius: 999px; padding: 13px 22px; transition: background .2s, transform .2s, box-shadow .2s; }
.qq-body .btn-primary { --bs-btn-bg: #3b2fb5; --bs-btn-border-color: #3b2fb5; --bs-btn-hover-bg: #2f2591; --bs-btn-hover-border-color: #2f2591; --bs-btn-active-bg: #2f2591; --bs-btn-active-border-color: #2f2591; --bs-btn-disabled-bg: #a49de0; --bs-btn-disabled-border-color: #a49de0; }
.qq-body .btn-primary:hover { transform: translateY(-1px); box-shadow: var(--qq-shadow-lg); }
.qq-body .btn-outline-primary { --bs-btn-color: #3b2fb5; --bs-btn-border-color: #3b2fb5; --bs-btn-hover-bg: #3b2fb5; --bs-btn-hover-border-color: #3b2fb5; }
.qq-body .form-control, .qq-body .form-select { border-radius: 12px; border: 1.5px solid #d8dbde; padding: 11px 14px; font-family: var(--qq-font); }
.qq-body .form-check-input:checked { background-color: #3b2fb5; border-color: #3b2fb5; }

/* Fil d'Ariane */
.qq-body .breadcrumb__wrapper { background: none; margin: 0; }
.qq-body .breadcrumb__wrapper .container { max-width: var(--qq-wrap); padding: 0 24px; }
.qq-body .breadcrumb { margin: 0; font-size: 13.5px; --bs-breadcrumb-divider-color: #9aa0a8; }
.qq-body .breadcrumb-item + .breadcrumb-item::before { content: "/"; }
.qq-body#index .breadcrumb__wrapper, .qq-body#category .breadcrumb__wrapper, .qq-body#new-products .breadcrumb__wrapper, .qq-body#prices-drop .breadcrumb__wrapper, .qq-body#search .breadcrumb__wrapper, .qq-body#manufacturer .breadcrumb__wrapper, .qq-body#cms .breadcrumb__wrapper, .qq-body#contact .breadcrumb__wrapper { display: none; }

/* Listing */
.qq-body #products { padding: 28px 0 72px; }
.qq-body .products__selection { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.qq-body .products__count { color: var(--qq-muted); font-size: 14px; }
.qq-body .products__sort .dropdown-toggle, .qq-body .products__sort .btn { border: 1.5px solid var(--qq-line); background: #fff; color: var(--qq-ink); border-radius: 999px; font-weight: 600; font-size: 14px; padding: 10px 18px; }
.qq-body .products__sort .dropdown-menu { border-radius: 14px; border: 0; box-shadow: var(--qq-shadow); padding: 6px; }
.qq-body .products__sort .dropdown-item { border-radius: 10px; font-size: 14px; }
.qq-body .products__sort .dropdown-item.current, .qq-body .products__sort .dropdown-item:active { background: var(--qq-primary-light); color: var(--qq-primary); }
.qq-body .products.qq-grid { margin: 0; }
.qq-body .products__pagination { margin-top: 40px; }
.qq-body .pagination { justify-content: center; gap: 6px; }
.qq-body .pagination .page-link { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px !important; border: 0; box-shadow: 0 0 0 1px var(--qq-line); color: var(--qq-ink); font-weight: 700; }
.qq-body .pagination .active > .page-link, .qq-body .pagination .page-item.active .page-link { background: var(--qq-primary); color: #fff; box-shadow: none; }
.qq-body .pagination__summary, .qq-body .products__pagination .pagination-summary { display: none; }
.qq-body .subcategories { display: none; }

/* Carte : le formulaire ne doit pas casser la mise en page */
.qq-card .qq-card__add { font-family: var(--qq-font); }
.qq-body .product-miniature { margin: 0; padding: 0; }

/* Fiche produit ------------------------------------------------------------ */
.qq-body#product .columns-container { padding-bottom: 80px; }
.qq-body .product__container { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; margin-top: 18px; }
.qq-body .product__left { position: sticky; top: 150px; width: 100%; max-width: none; }
.qq-body .product__right { padding-top: 8px; width: 100%; max-width: none; }
.qq-body .product__images, .qq-body .product__left .carousel, .qq-body .product__carousel { border-radius: 24px; overflow: hidden; background: var(--qq-soft); }
.qq-body .product__left img { mix-blend-mode: multiply; }
.qq-body .product__thumbnails, .qq-body .thumbnails__list { gap: 12px; margin-top: 14px; }
.qq-body .product__thumbnail, .qq-body .thumbnail { border-radius: 14px; background: var(--qq-soft); overflow: hidden; border: 0; opacity: .6; transition: opacity .2s, box-shadow .2s; }
.qq-body .product__thumbnail.active, .qq-body .product__thumbnail:hover, .qq-body .thumbnail.selected, .qq-body .thumbnail:hover { opacity: 1; box-shadow: 0 0 0 2px var(--qq-primary); }
.qq-body .product__right .qq-card__brand { font-size: 13px; text-decoration: none; display: inline-block; }
.qq-body .product__right .qq-badges { position: static; flex-direction: row; margin: 10px 0 0; }
.qq-body .product__name { font-size: clamp(28px, 3vw, 40px); line-height: 1.12; font-weight: 800; margin: 8px 0 14px; letter-spacing: -.02em; color: var(--qq-ink); }
.qq-body .qq-product-price { margin: 0 0 18px; }
.qq-body .qq-product-price .qq-price__now { font-size: 30px; }
.qq-body .qq-product-price .qq-price__old { font-size: 18px; }
.qq-body .product__description-short { font-size: 16.5px; color: var(--qq-muted); margin-bottom: 24px; }
.qq-body .product__description-short p:last-child { margin: 0; }
.qq-body .product-variant { border: 0; padding: 0; margin: 0 0 14px; }
.qq-body .product-variant__legend { font-weight: 700; color: var(--qq-ink); font-size: 14px; margin-bottom: 8px; float: none; }
.qq-body .product-variant__selected { display: none; }
.qq-body .product-actions__quantity-wrapper, .qq-body .product-add-to-cart { gap: 12px; }
.qq-body .product-add-to-cart .add-to-cart, .qq-body .product__add-to-cart-button, .qq-body .js-product-add-to-cart .btn-primary { min-height: 56px; font-size: 16px; flex: 1; }
.qq-body .quantity-button .input-group, .qq-body .product-add-to-cart .input-group { border: 1.5px solid var(--qq-line); border-radius: 999px; padding: 4px; flex-wrap: nowrap; width: auto; background: #fff; }
.qq-body .quantity-button .btn, .qq-body .product-add-to-cart .input-group .btn { width: 44px; height: 44px; padding: 0; border-radius: 50% !important; background: var(--qq-soft); border: 0; color: var(--qq-ink); }
.qq-body .quantity-button input, .qq-body .product-add-to-cart .input-group input { border: 0; width: 44px; text-align: center; font-weight: 700; box-shadow: none; background: none; padding: 0; }
.qq-body .product__availability, .qq-body #product-availability { font-weight: 600; color: var(--qq-success); font-size: 14px; }
.qq-body .product__bottom { margin-top: 48px; }
.qq-body .product__bottom-left { width: 100%; max-width: 820px; }
.qq-body .product__accordion .accordion-item { border: 0; border-bottom: 1px solid var(--qq-line); background: none; }
.qq-body .product__accordion .accordion-button { font-weight: 700; font-size: 17px; color: var(--qq-ink); background: none; box-shadow: none; padding: 18px 0; }
.qq-body .product__accordion .accordion-button:not(.collapsed) { color: var(--qq-primary); }
.qq-body .product__accordion .accordion-body { padding: 0 0 22px; font-size: 16px; line-height: 1.75; }
.qq-body .product__description li::marker { color: var(--qq-accent); }
.qq-body .product-accessories, .qq-body .featured-products { margin-top: 40px; }
.qq-body .featured-products .h2, .qq-body .featured-products h2, .qq-body .product-accessories h2 { font-size: 30px; font-weight: 800; }

/* Pages CMS / contact */
.qq-body#cms .columns-container, .qq-body#contact .columns-container { padding-top: 40px; padding-bottom: 80px; }
.qq-body .page-content--cms { max-width: 820px; }
.qq-body .contact-form { background: #fff; }

/* Panier / commande */
.qq-body#cart .columns-container, .qq-body#checkout .columns-container, .qq-body.page-customer-account .columns-container, .qq-body#authentication .columns-container { padding-top: 28px; padding-bottom: 72px; }
.qq-body .cart-summary, .qq-body .cart__summary, .qq-body .checkout__summary { background: var(--qq-soft); border-radius: 20px; border: 0; }
.qq-body .card { border-radius: 20px; border-color: var(--qq-line); }
.qq-body .page-title-section h1, .qq-body .page-header h1, .qq-body h1.h1 { font-weight: 800; letter-spacing: -.02em; }

@media (max-width: 900px) {
  .qq-body .product__container { grid-template-columns: 1fr; gap: 28px; }
  .qq-body .product__left { position: relative; top: 0; }
}
