/* ============================================================
   view.css — Block Hero Scindé (ConcreteCMS)
   Préfixe : hs-   (pour éviter les conflits avec le thème)
   ============================================================ */

/* ── Wrapper principal ── */
.hs-hero-wrapper {
  padding-left: 32px;
  padding-right: 32px;
}

/* ── Grille 2 colonnes desktop ── */
.hs-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  min-height: 360px;
}

/* ── Panneau générique ── */
.hs-hero-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 44px 48px;
  overflow: hidden;
  border-radius: 12px;
  background-color: #1a3cdc; /* fallback si pas d'image */
  background-size: cover;
  background-position: center;
}

/* Overlay dégradé (commun) */
.hs-hero-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(0,0,0,.62) 25%,
    rgba(0,0,0,.28) 65%,
    rgba(0,0,0,.07) 100%);
  border-radius: 12px;
}

/* ── Eyebrow ── */
.hs-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

/* ── Titre ── */
.hs-title {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

/* Texte mis en valeur — panneau gauche */
.hs-left .hs-title em {
  font-style: normal;
  color: #facc15;
}

/* Texte mis en valeur — panneau droit */
.hs-right .hs-title em {
  font-style: normal;
  color: #fde68a;
}

/* ── Description ── */
.hs-desc {
  font-size: 14px;
  color: rgba(255,255,255,.75);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 360px;
  position: relative;
  z-index: 1;
}

/* ── Bouton CTA ── */
.hs-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  position: relative;
  z-index: 1;
  transition: transform .15s, box-shadow .15s;
  align-self: flex-start;
}

.hs-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  text-decoration: none;
}

/* Couleur CTA gauche */
.hs-left .hs-cta {
  background: #fff;
  color: #0d1f6e;
}

/* Couleur CTA droite */
.hs-right .hs-cta {
  background: #fff;
  color: #c0160f;
}

/* ── Badge promotionnel ── */
.hs-badge {
  position: absolute;
  top: 28px;
  right: 28px;
  background: #facc15;
  color: #7c2d12;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── Dots carousel (masqués desktop) ── */
.hs-dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px 0 4px;
}

.hs-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background .2s, transform .2s;
}

.hs-dot.active {
  background: #333;
  transform: scale(1.35);
}

/* ============================================================
   RESPONSIVE — tablette ≤ 900px
   ============================================================ */
@media (max-width: 900px) {
  .hs-hero-wrapper {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hs-title { font-size: 24px; }
  .hs-hero-panel { padding: 36px 32px; }
}

/* ============================================================
   RESPONSIVE — mobile ≤ 768px  →  carousel horizontal
   ============================================================ */
@media (max-width: 768px) {

  .hs-hero-wrapper {
    padding: 0;
    overflow: hidden;
  }

  .hs-hero {
    display: flex;
    flex-direction: row;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 12px;
    padding: 16px 16px 0;
    min-height: auto;
    grid-template-columns: unset;
    margin-left:10px;
  }

  .hs-hero::-webkit-scrollbar { display: none; }

  .hs-hero-panel {
    flex: 0 0 calc(100vw - 48px);
    scroll-snap-align: start;
    min-height: 260px;
    padding: 32px 26px;
  }

  /* Gradient vertical sur mobile */
  .hs-hero-panel::before {
    background: linear-gradient(to top,
      rgba(0,0,0,.80) 0%,
      rgba(0,0,0,.35) 55%,
      rgba(0,0,0,.05) 100%);
  }

  .hs-title   { font-size: 22px; }
  .hs-badge   { top: 16px; right: 16px; font-size: 12px; padding: 5px 10px; }
  .hs-dots    { display: flex; }
}

/* ── Mobile petit ≤ 480px ── */
@media (max-width: 480px) {
  .hs-hero-wrapper { padding: 0; }
  .hs-hero { gap: 10px; }
  .hs-hero-panel { padding: 28px 22px; min-height: 200px; }
  .hs-title { font-size: 20px; margin-bottom: 10px; }
  .hs-desc  { font-size: 13px; margin-bottom: 18px; }
  .hs-cta   { padding: 10px 18px; font-size: 13px; }
}


.store-original-price {
    text-decoration: line-through;
}

.store-product-list-sort {
    margin-top: 15px;
}

.store-product-list-block hr.store-product-divider {
    margin-top: 10px;
    margin-bottom: 10px;
}


.ccm-block-express-entry-list-table th.ccm-results-list-active-sort-desc a:after,.ccm-block-express-entry-list-table th.ccm-results-list-active-sort-desc span:after{border-color:#000 transparent transparent;border-style:solid;border-width:4px 4px 0;content:"";display:inline-block;height:0;margin-left:10px;vertical-align:middle;width:0}.ccm-block-express-entry-list-table th.ccm-results-list-active-sort-asc a:after,.ccm-block-express-entry-list-table th.ccm-results-list-active-sort-asc span:after{border-color:transparent transparent #000;border-style:solid;border-width:0 4px 4px;content:"";display:inline-block;height:0;margin-left:10px;vertical-align:middle;width:0}a.ccm-block-express-entry-list-advanced-search{margin-left:20px;white-space:nowrap}a.ccm-block-express-entry-list-advanced-search:after{border-color:transparent transparent #000;border-style:solid;border-width:0 4px 4px;content:"";display:inline-block;height:0;margin-left:10px;vertical-align:middle;width:0}a.ccm-block-express-entry-list-advanced-search-open:after{border-color:#000 transparent transparent;border-style:solid;border-width:4px 4px 0;content:"";display:inline-block;height:0;margin-left:10px;vertical-align:middle;width:0}div.ccm-block-express-entry-list-advanced-search-fields{margin-bottom:20px}


.google-review {
    position: relative; /* Needed for absolute positioning of the icon */
    text-align: left;;
}

.google-review-icon-wrapper {
    position: absolute;
    top: 10px; /* Adjust as needed */
    right: 10px; /* Adjust as needed */
    z-index: 10; /* Ensure it's above other content */
}

.google-review-icon {
    width: 30px; /* Adjust size as needed */
    height: 30px; /* Adjust size as needed */
    object-fit: contain; /* Ensure the entire icon is visible */
}

.google-review .avatar-img {
    /* Define a fixed square size for the avatar image */
    width: 60px;
    height: 60px;
    /* Crop the image to fit the square while maintaining aspect ratio */
    object-fit: cover;
    /* Make the image perfectly round */
    border-radius: 50%;
}

/* Swiper overflow management */
.google-reviews-swiper-container {
    overflow: hidden;
    width: 100%;
}

.google-reviews-swiper-container .swiper-container {
    overflow: hidden;
    padding-bottom: 40px; /* Space for pagination */
}

.google-reviews-swiper-container .swiper-wrapper {
    display: flex;
}

.google-reviews-swiper-container .swiper-slide {
    height: auto;
    display: flex;
}

/* Limitation de hauteur des cartes */
.google-review .card {
    max-height: 400px;
    display: flex;
    flex-direction: column;
}

.google-review .card-body {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Zone de texte avec scroll */
.google-review .card-text {
    max-height: 180px;
    overflow-y: auto;
    padding-right: 8px;
}

/* Barre de défilement personnalisée */
.google-review .card-text::-webkit-scrollbar {
    width: 8px;
}

.google-review .card-text::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.google-review .card-text::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.google-review .card-text::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Pour Firefox */
.google-review .card-text {
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

div.ccm-block-custom-template-parallax {
	background-image: none !important;
	/* We take the background image away from the DIV, because the custom template does it
	in a different way */
}

div.ccm-block-custom-template-parallax.parallaxic-container,  /* template is also the container */
div.ccm-block-custom-template-parallax div.parallaxic-container {
	position: relative;
	z-index: 5;
}

div.ccm-block-custom-template-parallax.parallaxic-container > img.parallaxic-image, /* template is also the container */
div.ccm-block-custom-template-parallax div.parallaxic-container > img.parallaxic-image {
	position: absolute;
	top: 0;
	left: 0;
	max-height: none;
	max-width: none;
	z-index: 4;
}

div.ccm-block-custom-template-parallax .parallax-stripe-inner {
	z-index: 5;
	position: relative;
}

div.ccm-block-custom-template-parallax .parallax-image-container {
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}


