/*
 * Rental product detail visual polish.
 * Scoped to produits_location single pages; no layout, data, or behavior changes.
 */

body.single-produits_location {
  --jcr-product-blue: var(--blue, #008ef5);
  --jcr-product-blue-deep: #006fbd;
  --jcr-product-navy: #00375f;
  --jcr-product-navy-deep: #061d31;
  --jcr-product-ink: #0d1722;
  --jcr-product-muted: #52616b;
  --jcr-product-panel: #f4f9fc;
  --jcr-product-panel-strong: #eaf5fc;
  --jcr-product-border: rgba(0, 55, 95, 0.16);
  --jcr-product-border-strong: rgba(0, 142, 245, 0.38);
  --jcr-product-radius: 0.8rem;
  --jcr-product-shadow-card: 0 1.2rem 2.8rem rgba(0, 55, 95, 0.11);
  --jcr-product-shadow-panel: 0 2rem 5rem rgba(3, 31, 52, 0.15);
  background: var(--jcr-product-panel);
}

body.single-produits_achat {
  --jcr-product-panel-strong: #eaf5fc;
}

body.single-produits_location #main {
  background:
    linear-gradient(180deg, rgba(244, 249, 252, 0) 0%, #f4f9fc 42rem),
    #f4f9fc;
  color: var(--jcr-product-ink);
}

body.single-produits_location #main > section:first-of-type {
  background:
    radial-gradient(circle at 18% 16%, rgba(65, 153, 255, 0.28) 0%, rgba(65, 153, 255, 0) 33%),
    linear-gradient(135deg, #061d31 0%, #00375f 46%, #006fbd 100%) !important;
  overflow: hidden;
}

body.single-produits_location #main > section:first-of-type::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 1.8rem);
  content: "";
  inset: 0;
  opacity: 0.28;
  pointer-events: none;
  position: absolute;
}

body.single-produits_location #main > section:first-of-type > * {
  position: relative;
  z-index: 1;
}

body.single-produits_location .ariane {
  color: rgba(255, 255, 255, 0.82) !important;
  display: block !important;
  margin-bottom: 2.2rem;
  pointer-events: auto;
  z-index: 4;
}

body.single-produits_location .ariane a {
  color: #fff;
  position: relative;
  text-decoration-color: rgba(255, 255, 255, 0.36) !important;
  text-underline-offset: 0.18em;
  z-index: 1;
}

body.single-produits_location #main > section:first-of-type h1.title2 {
  color: #fff !important;
  letter-spacing: 0;
  line-height: 1.04;
  max-width: 78rem;
  text-wrap: balance;
}

@media screen and (min-width: 768px) {
  body.single-produits_location .jcr-product-hero-grid {
    align-items: start;
    column-gap: clamp(3.6rem, 5vw, 7rem);
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  }

  body.single-produits_location .jcr-product-hero-media {
    height: clamp(42rem, 36vw, 62rem) !important;
    margin-right: 0 !important;
  }

  body.single-produits_location .jcr-product-hero-content {
    max-width: 72rem;
  }
}

body.single-produits_location .productSlider {
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.98), rgba(236, 247, 253, 0.95) 72%) !important;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--jcr-product-radius);
  box-shadow: var(--jcr-product-shadow-panel);
  overflow: hidden;
}

body.single-produits_location .productSlider .swiper-slide {
  background-color: transparent !important;
  background-size: contain !important;
}

body.single-produits_location .productSlider .swiper-pagination-bullet {
  background: rgba(0, 55, 95, 0.34);
  opacity: 1;
}

body.single-produits_location .productSlider .swiper-pagination-bullet-active {
  background: var(--jcr-product-blue);
}

body.single-produits_location .jcr-product-rates {
  background: rgba(6, 29, 49, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--jcr-product-radius);
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.13);
  margin-top: 2.4rem;
  min-width: 0;
  overflow: hidden;
  padding: 1.6rem !important;
}

body.single-produits_location .jcr-product-rates__price {
  container-type: inline-size;
  margin: 0;
  min-width: 0;
  overflow: hidden;
}

body.single-produits_location .jcr-product-rates .title4 {
  color: #fff !important;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

body.single-produits_location .jcr-product-rates .paragraph2 {
  color: rgba(255, 255, 255, 0.82) !important;
}

body.single-produits_location .jcr-product-rates .title3,
body.single-produits_location .jcr-product-rates .title2 {
  color: #fff !important;
  letter-spacing: 0;
}

body.single-produits_location .jcr-product-rates__price .title3 {
  display: block;
  font-size: clamp(3.2rem, 3.1vw, 5rem) !important;
  font-size: clamp(3.2rem, 17cqw, 5rem) !important;
  line-height: 1 !important;
  max-width: 100%;
  overflow-wrap: normal;
  white-space: nowrap;
}

body.single-produits_location .jcr-product-rates__delivery {
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  margin-top: 1.7rem;
  min-width: 0;
  padding-top: 1.7rem;
}

body.single-produits_location .jcr-product-rates__delivery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  min-width: 0;
  padding-top: 1.35rem;
}

body.single-produits_location .jcr-product-rates__delivery-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.5rem;
  margin: 0;
  min-width: 0;
  padding: 1.2rem 1.35rem;
  word-break: normal;
}

body.single-produits_location .jcr-product-rates__delivery-card .paragraph2 {
  font-size: 1.55rem;
  line-height: 1.45;
}

body.single-produits_location .jcr-product-rates__delivery-card .title2 {
  display: block;
  font-size: 2.15rem !important;
  line-height: 1.15 !important;
  margin-top: 0.8rem;
}

@media screen and (min-width: 1280px) {
  body.single-produits_location .jcr-product-rates {
    align-items: stretch;
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(24rem, 1.3fr);
  }

  body.single-produits_location .jcr-product-rates__delivery {
    border-left: 1px solid rgba(255, 255, 255, 0.24);
    border-top: 0;
    margin-top: 0;
    padding-left: 2rem;
    padding-top: 0;
  }

  body.single-produits_location .jcr-product-rates__delivery-grid {
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body.single-produits_location #main > section:first-of-type .cta.cta-white {
  align-items: center;
  background: var(--jcr-product-blue);
  border-color: var(--jcr-product-blue);
  border-radius: 0.4rem;
  box-shadow: 0 1rem 2.2rem rgba(0, 96, 170, 0.24);
  color: #fff;
  display: inline-grid;
  height: 5.6rem;
  justify-items: center;
  line-height: 1;
  min-height: 0;
  padding: 0 3rem;
  place-items: center;
  position: relative;
}

body.single-produits_location #main > section:first-of-type .cta.cta-white::before {
  background: var(--jcr-product-blue);
  inset: 0;
  position: absolute;
  width: 100%;
}

body.single-produits_location #main > section:first-of-type .cta.cta-white span {
  display: block;
  line-height: 1.1;
  position: relative;
  transform: translateY(0.08em);
  z-index: 1;
}

body.single-produits_location #main > section:first-of-type .cta.cta-white:hover,
body.single-produits_location #main > section:first-of-type .cta.cta-white:focus {
  border-color: #fff;
  box-shadow: 0 1.2rem 2.8rem rgba(0, 96, 170, 0.32);
  color: #fff;
  transform: translateY(-1px);
}

body.single-produits_location #main > section:first-of-type .cta.cta-white:hover::before,
body.single-produits_location #main > section:first-of-type .cta.cta-white:focus::before {
  background: var(--jcr-product-blue-deep);
  width: 100%;
}

body.single-produits_location .jcr-product-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 2.4rem 3.2rem;
  margin-top: 3.2rem;
}

body.single-produits_location .jcr-product-actions__quote,
body.single-produits_location .jcr-product-actions__phone {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.single-produits_location .jcr-product-actions__phone {
  color: rgba(255, 255, 255, 0.86);
}

body.single-produits_location .jcr-product-actions__phone p {
  margin: 0;
}

body.single-produits_location .jcr-product-actions__phone a {
  margin-top: 0.8rem !important;
}

body.single-produits_location #main > section:first-of-type .product-phone {
  color: #fff !important;
}

body.single-produits_location #main > section:first-of-type .paragraph2 {
  color: rgba(255, 255, 255, 0.86) !important;
}

body.single-produits_location #main > section:first-of-type > .paragraph2,
body.single-produits_location #main > section:first-of-type span.paragraph2.block {
  color: rgba(255, 255, 255, 0.72) !important;
}

body.single-produits_location #main > section:nth-of-type(2) {
  background:
    linear-gradient(180deg, #f4f9fc 0%, #ffffff 46%, #f4f9fc 100%) !important;
}

body.single-produits_location #main > section:nth-of-type(2) h2.title4 {
  color: var(--jcr-product-navy-deep) !important;
  font-size: 1.55rem;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

body.single-produits_location #main > section:nth-of-type(2) li.bg-white {
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%) !important;
  border: 1px solid var(--jcr-product-border);
  border-radius: var(--jcr-product-radius);
  box-shadow: 0 0.9rem 2.1rem rgba(0, 55, 95, 0.06);
  color: var(--jcr-product-ink) !important;
  line-height: 1.65;
  margin-bottom: 1rem !important;
}

body.single-produits_location #main > section:nth-of-type(2) > div[data-reveal-trigger] > .title2 {
  color: var(--jcr-product-navy-deep) !important;
  font-size: clamp(3.2rem, 2.6vw, 5rem);
  line-height: 1.04;
}

body.single-produits_location #main > section:nth-of-type(2) > div[data-reveal-trigger] > .title2::after {
  background: var(--jcr-product-blue);
  content: "";
  display: block;
  height: 0.4rem;
  margin-top: 1.2rem;
  width: 7rem;
}

body.single-produits_location #main > section:nth-of-type(2) article.single-product .single-product-link {
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%) !important;
  border: 1px solid var(--jcr-product-border);
  border-radius: var(--jcr-product-radius);
  box-shadow: 0 0.9rem 2.1rem rgba(0, 55, 95, 0.06);
  gap: 0.8rem;
  padding: 1.45rem;
}

body.single-produits_location #main > section:nth-of-type(2) article.single-product .single-product-link:hover,
body.single-produits_location #main > section:nth-of-type(2) article.single-product .single-product-link:focus {
  border-color: var(--jcr-product-border-strong);
  box-shadow: var(--jcr-product-shadow-card);
  transform: translateY(-2px);
}

body.single-produits_location #main > section:nth-of-type(2) .spl-title {
  color: var(--jcr-product-ink) !important;
  line-height: 1.16;
  padding-bottom: 1.2rem !important;
}

body.single-produits_location #main > section:nth-of-type(2) .single-product-image {
  background-color: var(--jcr-product-panel-strong);
  border: 1px solid rgba(0, 55, 95, 0.08);
  border-radius: 0.7rem;
}

body.single-produits_location .productSlider .jcr-product-slider-slide,
body.single-produits_achat .productSlider .jcr-product-slider-slide {
  align-items: center;
  background-color: transparent !important;
  display: flex;
  justify-content: center;
}

body.single-produits_location .productSlider .jcr-product-slider-image,
body.single-produits_achat .productSlider .jcr-product-slider-image {
  display: block;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  padding: clamp(1.2rem, 3vw, 3.2rem);
  width: 100%;
}

body.single-produits_location article.single-product .single-product-image-element,
body.single-produits_achat article.single-product .single-product-image-element {
  background-color: var(--jcr-product-panel-strong, #eef8fe);
  border: 1px solid rgba(0, 55, 95, 0.08);
  border-radius: 0.7rem;
  display: block;
  height: 100%;
  object-fit: contain;
  object-position: center;
  width: 100%;
}

body.single-produits_location #main > section:nth-of-type(2) article.single-product .single-product-link > span:last-child {
  background: var(--jcr-product-blue) !important;
  border-radius: 0.7rem 0 0.7rem 0;
  box-shadow: 0 1rem 1.8rem rgba(0, 96, 170, 0.18);
  color: #fff !important;
}

@media screen and (max-width: 767px) {
  body.single-produits_location .ariane {
    margin-bottom: 1.6rem;
  }

  body.single-produits_location #main > section:first-of-type h1.title2 {
    font-size: clamp(3.5rem, 11vw, 5.2rem);
  }

  body.single-produits_location .jcr-product-rates {
    margin-top: 1.8rem;
    padding: 1.6rem !important;
  }

  body.single-produits_location .jcr-product-rates__delivery {
    padding-left: 0 !important;
    padding-top: 1.5rem !important;
  }

  body.single-produits_location .jcr-product-rates__delivery-grid {
    grid-template-columns: 1fr !important;
  }

  body.single-produits_location #main > section:first-of-type .cta.cta-white {
    width: 100%;
  }

  body.single-produits_location .jcr-product-actions {
    display: block;
    margin-top: 3.2rem;
  }

  body.single-produits_location .jcr-product-actions__phone {
    padding-top: 2rem !important;
  }

  body.single-produits_location .jcr-product-actions__phone p {
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 1.35rem;
    line-height: 1.35;
  }

  body.single-produits_location .jcr-product-actions__phone a {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0.5rem;
    display: inline-flex;
    margin-top: 1rem !important;
    min-height: 4.8rem;
    padding: 1rem 1.35rem;
  }

  body.single-produits_location .jcr-product-actions__phone a svg {
    flex: 0 0 auto;
    width: 1.25rem !important;
  }

  body.single-produits_location .jcr-product-actions__phone .product-phone {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 1rem !important;
  }

  body.single-produits_location #main > section:nth-of-type(2) li.bg-white {
    padding: 1.7rem !important;
  }

  body.single-produits_location #main > section:nth-of-type(2) > div[data-reveal-trigger] > .title2 {
    font-size: clamp(3rem, 10vw, 4.4rem);
  }

  body.single-produits_location #main > section:nth-of-type(2) article.single-product .single-product-link {
    border-radius: 0.7rem;
    padding: 1.25rem;
  }
}
