/* Small WordPress/WooCommerce bridges; the design styles remain authoritative. */
.vel-category-pills{display:flex;flex-wrap:wrap;gap:1rem;margin:0 0 3rem;padding:0;list-style:none}
.vel-category-pills a,.vel-category-pill{display:inline-flex;align-items:center;min-height:4rem;padding:.8rem 1.6rem;border:.1rem solid rgba(var(--color-foreground),.2);border-radius:999px;color:inherit;text-decoration:none}
.vel-category-pills a:hover,.vel-category-pills .is-active a,.vel-category-pill:hover,.vel-category-pill.is-current{border-color:rgb(var(--color-foreground));background:rgb(var(--color-foreground));color:rgb(var(--color-background))}
.vel-catalog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:2rem;width:100%}
.vel-catalog-empty{padding:5rem 0;text-align:center}
.vel-catalog-empty .fs-btn{margin-top:1.5rem}
.fs-pagination__list .page-numbers{color:inherit;text-decoration:none}
.fs-pagination__list .page-numbers.current{font-weight:700}
.fs-pagination__list .dots{pointer-events:none}
.vel-swatch{background:var(--vel-swatch-background,transparent)}
.fs-item-form input:disabled+label,.fs-item-form input.disabled+label{cursor:not-allowed;opacity:.45;text-decoration:line-through}
.woocommerce-notices-wrapper,.woocommerce-error,.woocommerce-message,.woocommerce-info{width:min(100% - 3rem,var(--page-width));margin:2rem auto;padding:1.5rem 2rem;border:.1rem solid rgba(var(--color-foreground),.2);list-style:none}
.woocommerce-error,.vel-cart-error,.fs-item-form__error-message,.vel-field-error,.fs-error{color:#b42318}
.vel-cart-error{margin-top:1.5rem}
.vel-is-loading{opacity:.65;pointer-events:none}
#checkout.disabled{cursor:not-allowed;opacity:.5;pointer-events:none}
.fs-cod-modal [aria-invalid="true"],#TfCodModal [aria-invalid="true"]{border-color:#b42318}
.fs-cod-modal .vel-field-error,#TfCodModal .fs-error{display:block;margin:.4rem 0 0;font-size:1.2rem}
.fs-cod-modal .vel-form-error,#TfCodModal .fs-form-error{margin:0 0 1.5rem;color:#b42318}
.fs-block-item-grid-padding{padding-top:2.7rem;padding-bottom:2.7rem}
.fs-block-bag-items-padding{padding-top:2.7rem;padding-bottom:2.7rem}
.fs-block-bag-foot-padding{padding-top:1.5rem;padding-bottom:3rem}
@media screen and (max-width:749px){.vel-catalog-toolbar{align-items:flex-start;flex-direction:column;gap:1rem}}
@media screen and (min-width:750px){.fs-block-item-grid-padding,.fs-block-bag-items-padding{padding-top:3.6rem;padding-bottom:3.6rem}.fs-block-bag-foot-padding{padding-top:2rem;padding-bottom:4rem}}

/* Dawn reads event.target.name: clicks must land on the button, not on its icon */
.fs-qty__btn > *, .fs-qty__btn svg { pointer-events: none; }

/* shop / category / search grid: image, title, price only — as collection.html (no "Choisir des options" button) */
body.post-type-archive-product .fs-quick-add,
body.tax-product_cat .fs-quick-add,
body.tax-product_tag .fs-quick-add,
body.search .fs-quick-add { display: none; }

/* WooCommerce checkout button in the design's black button style */
.woocommerce-checkout #place_order, .woocommerce #place_order, .woocommerce-page .button.alt, .woocommerce button.button.alt {
  background: rgb(var(--color-button, 18, 18, 18)) !important; color: rgb(var(--color-button-text, 255, 255, 255)) !important;
  border: 0 !important; border-radius: 0 !important; padding: 1.4rem 3rem !important; font-size: 1.5rem; letter-spacing: .1rem; width: 100%;
}
.woocommerce-checkout #place_order:hover { opacity: .85; }
.woocommerce-checkout #payment { background: rgba(var(--color-foreground), .04) !important; border-radius: 0 !important; }
.woocommerce-checkout #payment div.payment_box { background: #fff !important; color: rgb(var(--color-foreground)); }
.woocommerce-checkout #payment div.payment_box::before { display: none; }

/* product gallery "thumbnails" (brand option gallery = thumbnails): one large image, thumbnails strip, arrows / swipe */
.vel-gallery-thumbs .fs-item__visual-list { display: block !important; overflow: visible !important; margin: 0 !important; padding: 0 !important; scroll-snap-type: none !important; }
.vel-gallery-thumbs .fs-item__visual-item { display: none !important; width: 100% !important; max-width: 100% !important; margin: 0 !important; padding: 0 !important; }
.vel-gallery-thumbs .fs-item__visual-item.is-active { display: block !important; animation: vel-fade .25s ease; }
@keyframes vel-fade { from { opacity: .4; } to { opacity: 1; } }
.vel-gallery-thumbs .fs-carousel-buttons { display: none !important; }
.vel-gallery-thumbs fs-carousel-component { position: relative; display: block; }
.vel-gallery-stage { position: relative; }
.vel-gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 4.2rem; height: 4.2rem; border-radius: 50%; border: 0; background: rgba(255,255,255,.88); box-shadow: 0 2px 8px rgba(0,0,0,.15); display: flex; align-items: center; justify-content: center; cursor: pointer; color: #111; }
.vel-gallery-arrow svg { width: 1.6rem; height: 1.6rem; }
.vel-gallery-arrow--prev { left: 1.2rem; }
.vel-gallery-arrow--next { right: 1.2rem; }
.vel-gallery-arrow:hover { background: #fff; }
.vel-gallery-thumbs .fs-thumbnail-carousel { display: block !important; margin-top: 1rem; overflow: hidden; }
.vel-gallery-thumbs .fs-thumbnail-list { display: flex !important; gap: .8rem; overflow-x: auto; overflow-y: hidden; margin: 0; padding: 0 0 .4rem; scrollbar-width: thin; }
.vel-gallery-thumbs .fs-thumbnail-list__item { flex: 0 0 8rem; width: 8rem !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
.vel-gallery-thumbs .fs-thumbnail { display: block; width: 8rem; height: 10rem; padding: 0; margin: 0; border: 1px solid transparent; background: none; cursor: pointer; overflow: hidden; opacity: .7; transition: opacity .2s, border-color .2s; }
.vel-gallery-thumbs .fs-thumbnail img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vel-gallery-thumbs .fs-thumbnail[aria-current="true"], .vel-gallery-thumbs .fs-thumbnail:hover { opacity: 1; border-color: #111; }
@media screen and (max-width: 749px) {
  .vel-gallery-thumbs .fs-thumbnail-list__item { flex-basis: 6.4rem; width: 6.4rem !important; }
  .vel-gallery-thumbs .fs-thumbnail { width: 6.4rem; height: 8rem; }
}
