/* Styles limités à la fiche produit et à sa galerie. */
.anp-product-page #page-title > .row { margin-left: 0; margin-right: 0; }
#content.anp-product { padding: 26px 0 48px; }
.anp-product *, .anp-product *::before, .anp-product *::after { box-sizing: border-box; }
.anp-product__container { width: 100%; max-width: 1260px; margin: 0 auto; padding: 0 24px; }
.anp-product__actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.anp-product__back { display: inline-flex; align-items: center; gap: 9px; border: 0; background: none; color: #555; padding: 10px 0; cursor: pointer; font: inherit; }
.anp-product__back img { width: 22px; height: auto; }
.anp-product__actions .btn { white-space: normal; }
.anp-product__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 36px; }
.anp-product__bottom { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 26px; margin-top: 38px; }
.anp-product__top > *, .anp-product__bottom > * { min-width: 0; }
.anp-product__panel { border: 1px solid #e9e9e9; border-radius: 10px; background: #fafafa; padding: 24px; overflow-wrap: anywhere; }
.anp-product .anp-product__heading { margin: 0 0 18px; color: #aa5100; font-size: 19px; line-height: 1.35; font-weight: 700; text-transform: none; }
.anp-product__description { line-height: 1.8; }
.anp-product__copy { margin: 0; }
.anp-product__panel .widget { margin: 0; }
.anp-product__panel .quick-contact-widget { padding: 0 !important; }
.anp-product__panel .quick-contact-widget h4 { margin-top: 0 !important; }
.anp-product__panel #quickcontactform input:not([type="hidden"]):not(#quickrgpd),
.anp-product__panel #quickcontactform textarea { width: 100%; max-width: 100%; border: 1px solid #d2d2d2; border-radius: 5px; background: #fff; padding: 9px 10px; font: inherit; font-size: 14px; line-height: 1.45; color: #333; }
.anp-product__panel #quickcontactform textarea { min-height: 125px; resize: vertical; }
.anp-product__panel #quickcontactform input::placeholder { color: #777; font-style: normal; }
.anp-product__panel #quickrgpd { border: 1px solid #777; background: white; vertical-align: middle; }
.anp-product__panel #quick-contact-form-submit { width: 100%; padding: 11px 12px; border: 1px solid #b85700; border-radius: 5px; background: #b85700; color: white; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.anp-product button:focus-visible, .anp-product input:focus-visible, .anp-product textarea:focus-visible { outline: 3px solid #c46200; outline-offset: 3px; }
.anp-gallery { min-width: 0; }
.anp-gallery [hidden] { display: none !important; }
.anp-gallery__viewport { overflow: hidden; border: 1px solid #e6e6e6; border-radius: 10px; background: #f5f5f5; }
.anp-gallery__slide { position: relative; width: 100%; padding-top: 56.25%; background: #f5f5f5; }
.anp-gallery__slide + .anp-gallery__slide { border-top: 1px solid #e6e6e6; }
.anp-gallery.is-ready .anp-gallery__slide { border: 0; }
.anp-gallery__image, .anp-gallery__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.anp-gallery__video { background: #151515; }
.anp-gallery__empty { min-height: 240px; display: flex; align-items: center; justify-content: center; padding: 24px; color: #666; text-align: center; }
.anp-gallery__navigation, .anp-gallery__thumbs { display: none; }
.anp-gallery.is-ready .anp-gallery__navigation { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 12px 0; min-height: 40px; }
.anp-gallery__status { color: #666; font-size: 13px; text-align: center; }
.anp-gallery__arrow { display: flex; align-items: center; justify-content: center; flex: 0 0 40px; width: 40px; height: 40px; border: 1px solid #ddd; border-radius: 50%; padding: 0 0 3px; background: #fff; color: #333; font: inherit; font-size: 30px; line-height: 1; cursor: pointer; }
.anp-gallery__arrow:hover { border-color: #ee7f08; color: #a94e00; background: #fff8f0; }
.anp-gallery.is-ready .anp-gallery__thumbs { position: relative; display: flex; gap: 10px; overflow-x: auto; padding: 4px 3px 10px; scrollbar-width: thin; }
.anp-gallery__thumb { position: relative; flex: 0 0 86px; width: 86px; height: 66px; overflow: hidden; padding: 3px; border: 2px solid #ddd; border-radius: 6px; background: #f5f5f5; color: #fff; cursor: pointer; }
.anp-gallery__thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.anp-gallery__thumb[aria-pressed="true"] { border-color: #c46200; background: #fff4e6; }
.anp-gallery__play { position: absolute; top: 7px; left: calc(50% - 13px); width: 26px; height: 26px; border-radius: 50%; background: rgba(0,0,0,.75); font-size: 11px; line-height: 26px; text-align: center; }
.anp-gallery__video-label { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.8); font-size: 11px; line-height: 20px; text-align: center; }
@media (max-width: 991.98px) {
    .anp-product__top { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .anp-product__bottom { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 24px; }
    .anp-product__container { max-width: 760px; }
}
@media (max-width: 575.98px) {
    .anp-product__container { padding: 0 16px; }
    .anp-product__actions { align-items: center; gap: 12px; margin-bottom: 24px; }
    .anp-product__actions .btn { font-size: 12px; padding: 10px 12px; }
    .anp-product__back { font-size: 13px; }
    .anp-product__panel { padding: 20px; }
    .anp-product .anp-product__heading { font-size: 18px; }
    .anp-gallery__thumb { flex-basis: 76px; width: 76px; height: 60px; }
}
