:root {
  --chp-legacy-gold: #b3a26e;
  --chp-legacy-black: #000;
  --chp-legacy-white: #fff;
}

@font-face {
  font-display: swap;
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  src: url("chp-fonts/open-sans-normal.woff2?v=d8e4fe0452aa2076") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 300 800;
  src: url("chp-fonts/open-sans-italic.woff2?v=186836b74ceac07b") format("woff2");
}

/* Polices Easy Google Fonts du site d'origine, hébergées localement (capture Wayback du 6 juin 2026). */
@font-face {
  font-display: swap;
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400;
  src: url("chp-fonts/egf/playfair-display-400-latin-ext.woff2?v=14a61a78daa9f146") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-display: swap;
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400;
  src: url("chp-fonts/egf/playfair-display-400-latin.woff2?v=57edb864a5b79ea8") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-display: swap;
  font-family: "Pinyon Script";
  font-style: normal;
  font-weight: 400;
  src: url("chp-fonts/egf/pinyon-script-400-latin-ext.woff2?v=193f7fbbc9a17757") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-display: swap;
  font-family: "Pinyon Script";
  font-style: normal;
  font-weight: 400;
  src: url("chp-fonts/egf/pinyon-script-400-latin.woff2?v=4bf65668f8b1772d") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-display: swap;
  font-family: "Italianno";
  font-style: normal;
  font-weight: 400;
  src: url("chp-fonts/egf/italianno-400-latin-ext.woff2?v=e2ffec4562d4a81c") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-display: swap;
  font-family: "Italianno";
  font-style: normal;
  font-weight: 400;
  src: url("chp-fonts/egf/italianno-400-latin.woff2?v=c91c4b8b38b46d7f") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/*
 * Montserrat que WPBakery chargeait pour ses titres personnalisés (feuille vc_google_fonts_montserratregular700,
 * family=Montserrat:regular,700), hébergée localement ; seule la page du lot B /blog/questions-reponses-autour-du-vin/
 * l'emploie. Fichiers fonts.gstatic.com montserrat/v31, déclarés comme Google les déclare : même fichier variable en 400 et 700.
 */
@font-face {
  font-display: swap;
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  src: url("chp-fonts/vc-google-fonts/montserrat-latin-ext.woff2?v=920711de9ae96c18") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-display: swap;
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  src: url("chp-fonts/vc-google-fonts/montserrat-latin.woff2?v=6438d7b8ea9c7c39") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-display: swap;
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  src: url("chp-fonts/vc-google-fonts/montserrat-latin-ext.woff2?v=920711de9ae96c18") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-display: swap;
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  src: url("chp-fonts/vc-google-fonts/montserrat-latin.woff2?v=6438d7b8ea9c7c39") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.ls-wp-container,
.ls-container,
.ls-inner,
.ls-layers {
  box-sizing: border-box !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

.ls-wp-container {
  visibility: visible !important;
}

.ls-wp-container.chp-banner-proportional,
.ls-wp-container:has(> .ls-slide[data-ls*="kenburnsscale"]) {
  aspect-ratio: 1900 / 600;
  height: auto !important;
  min-height: 0 !important;
  position: relative !important;
}

.ls-wp-container > .ls-slide {
  display: block !important;
  height: 100% !important;
  inset: 0 !important;
  position: absolute !important;
  visibility: visible !important;
  width: 100% !important;
}

.ls-wp-container > .ls-slide > .ls-bg,
.ls-wp-container > .ls-slide > .ls-img-layer {
  height: 100% !important;
  inset: 0 !important;
  object-fit: cover;
  position: absolute !important;
  width: 100% !important;
}

.ls-wp-container > .ls-slide > .ls-l {
  visibility: visible !important;
}

.ls-wp-container > .ls-slide > .chp-ken-burns {
  animation: chp-ken-burns 10s ease-in-out infinite alternate both;
  transform-origin: center;
}

@keyframes chp-ken-burns {
  from { transform: scale(1); }
  to { transform: scale(1.2); }
}

.chp-fade-in-pending {
  opacity: 0;
}

.chp-fade-in-visible {
  animation: chp-fade-in 1s ease both;
}

@keyframes chp-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.chp-trustindex {
  height: auto !important;
  opacity: 1 !important;
  overflow: visible !important;
}

/*
 * La disposition des colonnes vient de la feuille Trustindex d'origine (classes ti-col-N).
 * Le runtime pose ti-col-1 sur mobile et ti-col-4 au-delà, comme le chargeur Trustindex exclu le faisait.
 */
.chp-trustindex .chp-review-card {
  display: none;
}

.chp-trustindex .chp-review-card.chp-review-visible {
  display: block !important;
}

.chp-trustindex .ti-review-item .ti-inner,
.chp-trustindex .ti-widget-container:not(.ti-col-1) > .ti-footer {
  background: var(--chp-legacy-white);
  box-sizing: border-box;
  height: 100%;
  min-height: 214px;
  padding: 20px;
}

.chp-trustindex .ti-stars {
  color: #f6b500;
  display: block;
  font-size: 18px;
  letter-spacing: 2px;
  margin: 8px 0;
}

.chp-trustindex .ti-controls {
  display: block;
  pointer-events: none;
  position: absolute;
  inset: 50% 0 auto;
  z-index: 2;
}

.chp-trustindex .ti-prev,
.chp-trustindex .ti-next {
  align-items: center;
  background: var(--chp-legacy-black);
  border-radius: 50%;
  color: var(--chp-legacy-white);
  cursor: pointer;
  display: flex;
  font-size: 20px;
  height: 36px;
  justify-content: center;
  pointer-events: auto;
  position: absolute;
  width: 36px;
}

.chp-trustindex .ti-prev { left: 0; }
.chp-trustindex .ti-next { right: 0; }
.chp-trustindex .ti-prev::before { content: "‹"; }
.chp-trustindex .ti-next::before { content: "›"; }

.chp-trustindex .ti-reviews-container {
  position: relative;
}

.chp-trustindex .ti-profile-img img {
  border-radius: 50%;
  height: 40px;
  width: 40px;
}

/* Avis vivant sans photo : initiale blanche sur pastille de couleur, comme l'avatar par défaut de Google. */
.chp-trustindex .chp-review-initial {
  align-items: center;
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 20px;
  font-weight: 400;
  height: 40px;
  justify-content: center;
  line-height: 1;
  width: 40px;
}

.chp-trustindex .ti-platform-icon img {
  height: 20px;
  width: 20px;
}

.chp-trustindex .ti-controls-line,
.chp-trustindex .ti-disclaimer,
.chp-trustindex .ti-tooltip,
.chp-trustindex .ti-read-more {
  display: none;
}

.chp-trustindex .ti-name {
  font-weight: 700;
}

.chp-trustindex .ti-review-content {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.chp-chai-gallery {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.chp-chai-gallery-item {
  aspect-ratio: 1;
  display: block;
  overflow: hidden;
  position: relative;
}

.chp-chai-gallery-item.chp-fade-in-visible {
  animation-delay: calc(var(--chp-gallery-index, 0) * 80ms);
}

.chp-chai-gallery-item img {
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
  width: 100%;
}

.chp-chai-gallery-overlay {
  align-items: center;
  background: rgba(0, 0, 0, .63);
  color: #fff;
  display: flex;
  font-size: 28px;
  inset: 0;
  justify-content: center;
  opacity: 0;
  position: absolute;
  transition: opacity .35s ease;
}

.chp-chai-gallery-item:hover img,
.chp-chai-gallery-item:focus-visible img {
  transform: scale(1.04);
}

.chp-chai-gallery-item:hover .chp-chai-gallery-overlay,
.chp-chai-gallery-item:focus-visible .chp-chai-gallery-overlay {
  opacity: 1;
}

body.chp-gallery-open {
  overflow: hidden;
}

.chp-gallery-lightbox[hidden] {
  display: none;
}

.chp-gallery-lightbox {
  align-items: center;
  background: rgba(0, 0, 0, .92);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 48px 72px;
  position: fixed;
  z-index: 100000;
}

.chp-gallery-lightbox-image {
  max-height: calc(100vh - 96px);
  max-width: min(1100px, calc(100vw - 144px));
  object-fit: contain;
}

.chp-gallery-lightbox button {
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-size: 46px;
  line-height: 1;
  padding: 12px;
  position: fixed;
}

.chp-gallery-lightbox-close {
  right: 20px;
  top: 12px;
}

.chp-gallery-lightbox-previous {
  left: 16px;
  top: calc(50% - 35px);
}

.chp-gallery-lightbox-next {
  right: 16px;
  top: calc(50% - 35px);
}

.chp-instagram-static #sbi_images {
  display: grid !important;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.chp-instagram-static .sbi_item,
.chp-instagram-static .sbi_photo {
  aspect-ratio: 1;
  display: block;
  overflow: hidden;
}

.chp-instagram-static .sbi_item {
  opacity: 1 !important;
}

.chp-instagram-static .sbi_photo img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.chp-instagram-static .sbi_load_btn:disabled {
  cursor: default;
  opacity: .6;
}

form.cart,
.add_to_cart_button,
.single_add_to_cart_button,
.checkout-button,
.wc-proceed-to-checkout {
  display: none !important;
}

.wpcf7-form:not(.init) .wpcf7-response-output:not(:empty) {
  display: block !important;
}

/* chp-lot-b:lien-integre:debut
 * Pages du lot B : une vidéo YouTube ou une carte Google intégrée dans la capture devient un lien sobre, sans ressource
 * tierce, en attendant l'arbitrage sur son lecteur d'origine (voir BACKLOG.md), aux couleurs des boutons du site.
 */
.chp-embed-link {
  margin: 0 0 35px;
}

.chp-embed-link__button {
  display: inline-block;
  padding: 15px 30px;
  background: #f1c40f;
  color: #ffffff;
  font-family: "Open Sans", sans-serif;
  font-size: 12px;
  font-weight: bold;
  line-height: 16.8px;
  text-decoration: none;
}

.chp-embed-link__button:hover,
.chp-embed-link__button:focus {
  color: #ffffff;
  text-decoration: underline;
}

/* Le conteneur Shortcodes Ultimate réserve 56,25 % de sa largeur au lecteur : sans lecteur, il reprend la hauteur du lien. */
.su-u-responsive-media-yes:has(> .chp-embed-link) {
  height: auto;
  padding-bottom: 0;
  overflow: visible;
}
/* chp-lot-b:lien-integre:fin */

/* chp-ecart:ihover-mobile:debut
 * Pastilles iHover de l'accueil sous 768 px : ihover.min.js réduit le disque à 100 px sans réduire le texte (18 px sur 24 px),
 * qui déborde et se rogne comme sur l'ancien site. Écart voulu (GO du 30 novembre 2026) : le titre tient dans le disque
 * et le filet comme la description, vides, sont masqués ; le bureau et les scripts restent inchangés.
 */
@media (max-width: 767px) {
  .ult-ih-list-item .ult-ih-heading {
    font-size: 11px !important;
    line-height: 13px !important;
  }

  .ult-ih-list-item .ult-ih-divider-block,
  .ult-ih-list-item .ult-ih-description-block {
    display: none !important;
  }
}
/* chp-ecart:ihover-mobile:fin */

@media (max-width: 768px) {
  .ls-wp-container,
  .ls-container,
  .ls-inner,
  .ls-layers {
    width: 100% !important;
  }

  #cookie-notice {
    box-sizing: border-box !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .chp-trustindex,
  .chp-trustindex * {
    box-sizing: border-box;
    max-width: 100% !important;
  }

  .chp-instagram-static #sbi_images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chp-chai-gallery {
    grid-template-columns: 1fr;
  }

  .chp-gallery-lightbox {
    padding: 52px 44px;
  }

  .chp-gallery-lightbox-image {
    max-height: calc(100vh - 104px);
    max-width: calc(100vw - 88px);
  }
}

@media (max-width: 480px) {
  .chp-instagram-static #sbi_images {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chp-fade-in-visible,
  .ls-wp-container > .ls-slide > .chp-ken-burns {
    animation-duration: .01ms;
    animation-iteration-count: 1;
  }

  html {
    scroll-behavior: auto;
  }
}

