/* =========================================================
   VANISEO SINGLE PRODUCT PREMIUM V4.1
   FICHIER CSS CLEAN — STRUCTURE COLONNES UNIQUEMENT
   ========================================================= */

/* ---------------------------------------------------------
   RESET GÉNÉRAL DU PRODUIT
--------------------------------------------------------- */
body.vaniseo-single-product-premium-v41 div.product,
body.vaniseo-single-product-premium-v41 .product,
body.vaniseo-single-product-premium-v41 .single-product-layout-cols,
body.vaniseo-single-product-premium-v41 div.product .single-product-layout-cols {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  clear: both !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
}

body.vaniseo-single-product-premium-v41 div.product .images,
body.vaniseo-single-product-premium-v41 div.product .summary,
body.vaniseo-single-product-premium-v41 .images,
body.vaniseo-single-product-premium-v41 .summary {
  float: none !important;
  clear: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}

/* ---------------------------------------------------------
   HERO WRAPPER
--------------------------------------------------------- */
body.vaniseo-single-product-premium-v41 .vspp41-hero-shell {
  width: 100% !important;
  max-width: 1440px !important;
  margin: 24px auto 0 !important;
  padding: 0 26px !important;
  box-sizing: border-box !important;
  clear: both !important;
}

body.vaniseo-single-product-premium-v41 .vspp41-hero-shell__grid {
  display: grid !important;
  grid-template-columns: minmax(420px, 58%) minmax(340px, 42%) !important;
  gap: 28px !important;
  align-items: start !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* ---------------------------------------------------------
   COLONNE GAUCHE / COLONNE DROITE
--------------------------------------------------------- */
body.vaniseo-single-product-premium-v41 .vspp41-hero-shell__media,
body.vaniseo-single-product-premium-v41 .vspp41-hero-shell__summary {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
}

/* ---------------------------------------------------------
   COLONNE IMAGE
--------------------------------------------------------- */
body.vaniseo-single-product-premium-v41 .vspp41-hero-shell__media .images,
body.vaniseo-single-product-premium-v41 .vspp41-hero-shell__media .woocommerce-product-gallery,
body.vaniseo-single-product-premium-v41 .vspp41-hero-shell__media .woocommerce-product-gallery__wrapper,
body.vaniseo-single-product-premium-v41 .vspp41-hero-shell__media .woocommerce-product-gallery__image,
body.vaniseo-single-product-premium-v41 .vspp41-hero-shell__media .yith_magnifier_zoom_wrap,
body.vaniseo-single-product-premium-v41 .vspp41-hero-shell__media .thumbnails.slider,
body.vaniseo-single-product-premium-v41 .vspp41-hero-shell__media .yith_magnifier_gallery {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

body.vaniseo-single-product-premium-v41 .vspp41-hero-shell__media .woocommerce-product-gallery__image {
  display: block !important;
  overflow: hidden !important;
}

body.vaniseo-single-product-premium-v41 .vspp41-hero-shell__media .yith_magnifier_zoom_wrap > a,
body.vaniseo-single-product-premium-v41 .vspp41-hero-shell__media .yith_magnifier_zoom_wrap > a.woocommerce-main-image {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 520px !important;
  box-sizing: border-box !important;
}

body.vaniseo-single-product-premium-v41 .vspp41-hero-shell__media .woocommerce-product-gallery__image img,
body.vaniseo-single-product-premium-v41 .vspp41-hero-shell__media .yith_magnifier_zoom_wrap > a img,
body.vaniseo-single-product-premium-v41 .vspp41-hero-shell__media img.wp-post-image,
body.vaniseo-single-product-premium-v41 .vspp41-hero-shell__media img.attachment-shop_single {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 500px !important;
  margin: 0 auto !important;
}

/* ---------------------------------------------------------
   COLONNE DROITE
--------------------------------------------------------- */
body.vaniseo-single-product-premium-v41 .vspp41-hero-shell__summary .summary.entry-summary {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

/* ---------------------------------------------------------
   CONTENU APRÈS LE HERO
   DOIT TOUJOURS PASSER EN DESSOUS
--------------------------------------------------------- */
body.vaniseo-single-product-premium-v41 .vspp41-after-summary {
  clear: both !important;
  display: block !important;
  width: 100% !important;
  max-width: 1440px !important;
  margin: 32px auto 0 !important;
  padding: 0 26px !important;
  box-sizing: border-box !important;
}

body.vaniseo-single-product-premium-v41 .vspp41-after-summary > * {
  clear: both !important;
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

/* Tabs / related / sections dessous */
body.vaniseo-single-product-premium-v41 .vspp41-after-summary .woocommerce-tabs,
body.vaniseo-single-product-premium-v41 .vspp41-after-summary .woocommerce-tabs.wc-tabs-wrapper,
body.vaniseo-single-product-premium-v41 .vspp41-after-summary .related.products,
body.vaniseo-single-product-premium-v41 .vspp41-after-summary .vspp41-middle,
body.vaniseo-single-product-premium-v41 .vspp41-after-summary .vspp41-benefits {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  clear: both !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

/* ---------------------------------------------------------
   SÉCURITÉS CONTRE LE THÈME
--------------------------------------------------------- */
body.vaniseo-single-product-premium-v41 .content-area,
body.vaniseo-single-product-premium-v41 .site-main,
body.vaniseo-single-product-premium-v41 .entry-content,
body.vaniseo-single-product-premium-v41 .woocommerce {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* ---------------------------------------------------------
   RESPONSIVE TABLETTE / MOBILE
--------------------------------------------------------- */
@media (max-width: 991px) {
  body.vaniseo-single-product-premium-v41 .vspp41-hero-shell,
  body.vaniseo-single-product-premium-v41 .vspp41-after-summary {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  body.vaniseo-single-product-premium-v41 .vspp41-hero-shell__grid {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  body.vaniseo-single-product-premium-v41 .vspp41-hero-shell__media .yith_magnifier_zoom_wrap > a,
  body.vaniseo-single-product-premium-v41 .vspp41-hero-shell__media .yith_magnifier_zoom_wrap > a.woocommerce-main-image {
    min-height: 340px !important;
  }

  body.vaniseo-single-product-premium-v41 .vspp41-hero-shell__media .woocommerce-product-gallery__image img,
  body.vaniseo-single-product-premium-v41 .vspp41-hero-shell__media .yith_magnifier_zoom_wrap > a img,
  body.vaniseo-single-product-premium-v41 .vspp41-hero-shell__media img.wp-post-image,
  body.vaniseo-single-product-premium-v41 .vspp41-hero-shell__media img.attachment-shop_single {
    max-height: 340px !important;
  }
}

/* =========================================================
   nouveau code [13-05-2026 18:20] - bouton urgent produit simple - Anibal
   Raison : centraliser l'affichage du bouton dans le plugin
   ========================================================= */
body.vaniseo-single-product-premium-v41 .urgent-contact-btn-side {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 46px !important;
  padding: 12px 18px !important;
  margin: 14px 0 16px !important;
  border-radius: 10px !important;
  background: #f4c400 !important;
  color: #111111 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  text-align: center !important;
  text-decoration: none !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  transition: background .2s ease, transform .2s ease !important;
}

body.vaniseo-single-product-premium-v41 .urgent-contact-btn-side:hover {
  background: #ddb000 !important;
  color: #111111 !important;
  transform: translateY(-1px) !important;
}

body.vaniseo-single-product-premium-v41 .urgent-btn-mobile {
  display: none !important;
}

@media (max-width: 768px) {
  body.vaniseo-single-product-premium-v41 .urgent-btn-desktop {
    display: none !important;
  }

  body.vaniseo-single-product-premium-v41 .urgent-btn-mobile {
    display: inline !important;
  }

  body.vaniseo-single-product-premium-v41 .urgent-contact-btn-side {
    min-height: 42px !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    border-radius: 9px !important;
  }
}


/* =========================================================
   BOUTON URGENCE PRODUIT - v4.1.6
   nouveau code [13-05-2026 19:05] - Anibal
   Raison : affichage stable sur produits simples et variables.
   ========================================================= */
.urgent-contact-btn-side-wrap{
    width:100%;
    margin:18px 0 12px;
}
.urgent-contact-btn-side{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:100% !important;
    min-height:52px !important;
    padding:14px 20px !important;
    border-radius:12px !important;
    background:#f4c400 !important;
    color:#111111 !important;
    font-weight:800 !important;
    line-height:1.2 !important;
    text-align:center !important;
    text-decoration:none !important;
    box-sizing:border-box !important;
    transition:all .25s ease !important;
}
.urgent-contact-btn-side:hover{
    background:#ddb000 !important;
    color:#111111 !important;
    transform:translateY(-1px);
}
.urgent-btn-mobile{
    display:none;
}
@media(max-width:768px){
    .urgent-contact-btn-side-wrap{
        margin:14px 0 10px;
    }
    .urgent-btn-desktop{
        display:none !important;
    }
    .urgent-btn-mobile{
        display:inline !important;
    }
    .urgent-contact-btn-side{
        min-height:44px !important;
        padding:10px 14px !important;
        font-size:14px !important;
        border-radius:10px !important;
    }
}
