/* Brocante et Antiquites — navigation et photos, 2026-10-06 V2. */
.ba-product-gallery-data[hidden],
.ba-product-zoom,
#ba-home-care-advice { display: none; }
body.ba-photo-open { overflow: hidden; }

/* Confine viewer styling so that the desktop theme remains independent. */
.ba-photo-viewer { --pswp-bg: #171714; }
.ba-photo-viewer .pswp__img { max-width: none; max-height: none; object-fit: contain; }
.ba-photo-viewer .pswp__button { min-width: 50px; min-height: 50px; border: 0; border-radius: 0; box-shadow: none; }
.ba-photo-viewer .pswp__button:focus-visible { outline: 2px solid white; outline-offset: -4px; }
.ba-photo-viewer .pswp__top-bar { padding-top: env(safe-area-inset-top, 0px); }
.ba-photo-viewer .pswp__ba-help {
  position: absolute;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  left: 16px;
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .images-container.ba-touch-gallery .ba-product-zoom {
    display: flex;
    clear: both;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    margin: 8px 0;
    padding: 10px 12px;
    border: 1px solid #ded8cb;
    border-radius: 3px;
    background: #faf9f6;
    color: #51442d;
    font-size: 15px;
    line-height: 1.4;
    text-transform: none;
    letter-spacing: 0;
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 0 0 100%;
  }
  .ba-product-zoom:focus-visible { outline: 2px solid #827148; outline-offset: 2px; }
  .ba-touch-gallery .product-cover img { cursor: zoom-in; }
}

@media (max-width: 768px) {
  .ba-touch-gallery .product-images img[data-image-large-src] { cursor: zoom-in; }
}

@media (max-width: 991px) {
  #ba-mobile-catalogue .ba-mobile-care-link {
    padding-right: 4px;
    color: #766641;
    border-top: 1px solid #eeeae2;
  }
  #ba-home-care-advice {
    display: block;
    clear: both;
    width: 100%;
    margin: 28px 0;
    padding: 18px 16px;
    border: 1px solid #e9e3d8;
    border-radius: 4px;
    background: #faf9f6;
  }
  #ba-home-care-heading {
    margin: 0 0 18px;
    color: #292929;
    font-size: 20px;
    line-height: 1.35;
    letter-spacing: 0;
    text-transform: none;
  }
  #ba-home-care-advice .tvcmsblog-left-side,
  #ba-home-care-advice .tvnews-event-wrapper {
    display: block !important;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    visibility: visible !important;
    opacity: 1 !important;
    animation: none !important;
  }
  #ba-home-care-advice .tvleft-right-title-wrapper,
  #ba-home-care-advice .tvcms-blog-left-side-pagination-wrapper,
  #ba-home-care-advice .owl-nav,
  #ba-home-care-advice .owl-dots,
  #ba-home-care-advice .owl-item.cloned,
  #ba-home-care-advice .tvnews-event-link { display: none !important; }
  #ba-home-care-advice .tvblog-event-all-block,
  #ba-home-care-advice .tvnews-wrapper-info-box {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0;
    padding: 0;
  }
  /* Show every article, including those outside the carousel's active slide. */
  #ba-home-care-advice .owl-stage-outer { height: auto !important; overflow: visible !important; }
  #ba-home-care-advice .owl-stage {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    width: 100% !important;
    transform: none !important;
    transition: none !important;
  }
  #ba-home-care-advice .owl-stage::before,
  #ba-home-care-advice .owl-stage::after { display: none; }
  #ba-home-care-advice .owl-item {
    float: none;
    width: 100% !important;
    margin: 0 !important;
  }
  #ba-home-care-advice .tvblog-event-all-content-block,
  #ba-home-care-advice .blog_pos { margin: 0 0 18px; padding: 0; }
  #ba-home-care-advice .tvblog-img-block,
  #ba-home-care-advice .tvnews-event-content-wrapper {
    float: none;
    width: 100%;
    max-width: 100%;
    padding: 0;
  }
  #ba-home-care-advice .img_content { display: block; }
  #ba-home-care-advice .tvcmsblog_img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    margin: 0 auto 12px;
    border-radius: 3px;
  }
  #ba-home-care-advice .tvnews-event-titel h3 {
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 1.4;
    text-transform: none;
    white-space: normal;
  }
  #ba-home-care-advice .post_description {
    display: block;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
  }
  #ba-home-care-advice .ba-care-all-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid #827148;
    border-radius: 3px;
    color: #51442d;
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
  }
  #ba-home-care-advice a:focus-visible { outline: 2px solid #827148; outline-offset: 3px; }
}
