/* =========================================================
   PRODUCT PAGE MODERN - PrestaShop 1.7 Classic
   Scope: body#product / .product-modern
   ========================================================= */

body#product {
  --pdp-blue: var(--bleu, #17324d);
  --pdp-red: var(--rouge, #e53935);
  --pdp-text: #17212b;
  --pdp-muted: #6b7280;
  --pdp-line: #e7e9ed;
  --pdp-soft: #f6f7f8;
  --pdp-radius: 16px;
  --pdp-shadow: 0 8px 30px rgba(18, 38, 63, .08);
}

body#product .product-modern {
  color: var(--pdp-text);
}

body#product .product-modern__hero {
  align-items: flex-start;
  margin-bottom: 40px;
}

/* ---------- Gallery ---------- */
body#product .product-modern__gallery {
  position: relative;
  background: #fff;
  /* border: 1px solid var(--pdp-line); */
  border-radius: var(--pdp-radius);
  padding: 18px;
  /* box-shadow: 0 3px 18px rgba(18, 38, 63, .04); */
}

body#product .product-modern__gallery .product-cover img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

body#product .product-modern__flags {
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 18px;
  margin: 0;
}

body#product .product-modern__flags .product-flag {
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  line-height: 1;
  box-shadow: none;
}

body#product .product-modern__gallery .product-images > li.thumb-container > .thumb {
  border-radius: 10px;
  border: 1px solid transparent;
}

body#product .product-modern__gallery .product-images > li.thumb-container > .thumb.selected,
body#product .product-modern__gallery .product-images > li.thumb-container > .thumb:hover {
  border-color: var(--pdp-blue);
}

/* ---------- Buy card ---------- */
body#product .product-modern__media-sticky {
  position: sticky;
  top: 105px;
}

body#product .product-modern__summary {
  position: static;
  background: #fff;
  border: 1px solid var(--pdp-line);
  border-radius: var(--pdp-radius);
  padding: 26px;
  box-shadow: var(--pdp-shadow);
}


body#product .product-modern__summary-column {
  padding-left: 24px;
}

body#product .product-modern__short-description {
  max-width: 760px;
}

body#product .product-modern__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-bottom: 10px;
  color: var(--pdp-muted);
  font-size: 13px;
}

body#product .product-modern__brand {
  color: var(--pdp-blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

body#product .product-modern__reference {
  padding-left: 14px;
  border-left: 1px solid var(--pdp-line);
}

body#product .product-modern__title {
  margin: 0 0 14px;
  color: var(--pdp-text);
  font-size: clamp(26px, 2.2vw, 38px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.025em;
  text-transform: none;
}

body#product .product-modern__prices {
  margin: 0 0 16px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--pdp-line);
}

body#product .product-modern__prices .current-price,
body#product .product-modern__prices .product-price {
  color: var(--pdp-blue);
  font-size: clamp(28px, 2.3vw, 36px);
  font-weight: 750;
  margin: 0;
  align-items: center;
  display: flex;
}

body#product .product-modern__prices .regular-price {
  color: var(--pdp-muted);
}

body#product .product-modern__short-description {
  color: #46515c;
  font-size: 15px;
  line-height: 1.65;
}

body#product .product-modern__short-description p:last-child {
  margin-bottom: 0;
}

body#product .product-modern__read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 9px;
  color: var(--pdp-blue);
  font-weight: 600;
  text-decoration: none;
}

body#product .product-modern__read-more:hover {
  color: var(--pdp-red);
}

body#product .product-modern__variants .product-variants {display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;}

body#product .product-modern__variants .product-variants-item {
  margin: 0 0 18px;
}
body#product .product-modern__variants .product-variants-item ul,body#product .product-modern__variants .product-variants-item li,
body#product .product-modern__variants .product-variants-item ul li span, body#product .product-modern__variants .product-variants-item ul li label {margin-bottom: 0 !important}
body#product table {max-width: 80vw; overflow-x: auto;}
body#product .product-modern__variants .control-label {
  display: block;
  margin-bottom: 6px;
  color: var(--pdp-text);
  font-weight: 700;
}
body#product .product-modern__cart {display: flex;    align-items: normal;}

body#product .product-modern__variants select {
  min-height: 52px;
  border: none;
  border-radius: 10px;
  background-color: #fff;
  margin-right: 15px;
}

body#product .product-modern__variants .input-color:checked + span,
body#product .product-modern__variants .input-radio:checked + span {
  box-shadow: 0 0 0 2px var(--pdp-blue);
}

/* ---------- Add to cart ---------- */
body#product .product-modern__cta {
  margin-top: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--pdp-line);
}

body#product .product-modern__cta .product-quantity {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

body#product .product-modern__cta .qty {
  flex: 0 0 72px;
  margin: 0;
}

body#product .product-modern__cta .add {
  flex: 1 1 auto;
  margin: 0;
}

body#product .product-modern__cta .add-to-cart {
  width: 100%;
  min-height: 52px;
  border-radius: 10px;
  border: 0;
  background: var(--pdp-red);
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 7px 18px rgba(229, 57, 53, .18);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

body#product .product-modern__cta .add-to-cart:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(229, 57, 53, .25);
}

body#product .product-modern__cta .bootstrap-touchspin,
body#product .product-modern__cta #quantity_wanted {
  min-height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center
}

body#product .product-modern__additional-info {
  margin-top: 14px;
}

/* ---------- Reassurance under gallery ---------- */
body#product .product-modern__reassurance {
  margin-top: 16px;
  /* padding: 14px 12px; */
  background: #fff;
  /* border: 1px solid var(--pdp-line); */
  border-radius: 14px;
  /* box-shadow: 0 3px 18px rgba(18, 38, 63, .04); */
}

#product .blockreassurance_product .item-product {
    display: block;
    height: 50px;
    margin-right: 5px;
    padding-top: 5px;
    width: 100%;
    text-align: center;
    margin-bottom: 15px
}
#product .blockreassurance_product .item-product img {width: 50px; height: auto;}
body#product .product-modern__reassurance .blockreassurance_product,
body#product .product-modern__reassurance .blockreassurance {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
}

body#product .product-modern__reassurance .blockreassurance > .row,
body#product .product-modern__reassurance .blockreassurance_product > .row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -5px;
}

body#product .product-modern__reassurance .blockreassurance .row > [class*="col-"],
body#product .product-modern__reassurance .blockreassurance_product .row > [class*="col-"] {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 8px 5px;
  text-align: center;
}

body#product .product-modern__reassurance .blockreassurance_product > div {
  width: 24%;
  display: inline-block;
  margin: 0;
  vertical-align: top;
}

body#product .product-modern__reassurance .blockreassurance_product > div {}

body#product .product-modern__reassurance .block-icon {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
}

body#product .product-modern__reassurance .block-icon img {
  display: block;
  width: auto;
  max-width: 42px;
  max-height: 42px;
  margin: 0 auto;
}

body#product .product-modern__reassurance .block-title {
  margin: 0 0 3px !important;
  font-size: 11px !important;
  line-height: 1.2;
  font-weight: 750 !important;
}

body#product .product-modern__reassurance p {
  margin: 0 !important;
  font-size: 10.5px !important;
  line-height: 1.3;
}

@media (min-width: 1400px) {
  body#product .product-modern__reassurance {
    padding-left: 8px;
    padding-right: 8px;
  }

  body#product .product-modern__reassurance .blockreassurance .row > [class*="col-"],
  body#product .product-modern__reassurance .blockreassurance_product .row > [class*="col-"] {
    flex: 0 0 25%;
    max-width: 25%;
    padding-left: 4px;
    padding-right: 4px;
  }

  body#product .product-modern__reassurance .block-title {
    font-size: 10px !important;
    text-align: center;
    width: 100%;
    /* position: relative; */
    display: block;
  }

  body#product .product-modern__reassurance p {
    font-size: 9.5px !important;
    width: 100%;
    text-align: center;
  }
}

/* ---------- Section quick nav ---------- */
body#product .product-modern__section-nav {
  position: sticky;
  top: 78px;
  z-index: 8;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 0 24px;
  padding: 10px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--pdp-line);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(18, 38, 63, .05);
  scrollbar-width: thin;
}

body#product .product-modern__section-nav a {
  flex: 0 0 auto;
  padding: 8px 13px;
  border-radius: 8px;
  color: var(--pdp-blue);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

body#product .product-modern__section-nav a:hover {
  color: var(--pdp-red);
  background: var(--pdp-soft);
}

/* ---------- Full-width sections ---------- */
body#product .product-modern__sections {
  display: grid;
  gap: 22px;
}

body#product .product-modern__section,
body#product .product-modern__accessories,
body#product .product-modern__footer-hooks {
  scroll-margin-top: 155px;
}

body#product .product-modern__section {
  padding: clamp(24px, 3vw, 42px);
  background: #fff;
  border: 1px solid var(--pdp-line);
  border-radius: var(--pdp-radius);
}

body#product .product-modern__section-heading {
  margin-bottom: 24px;
}

body#product .product-modern__section-heading h2 {
  margin: 0;
  color: var(--pdp-text);
  font-size: clamp(23px, 2.2vw, 32px);
  line-height: 1.2;
  font-weight: 700;
  text-transform: none;
}

body#product .product-modern__section-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--pdp-red);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body#product .product-modern__long-description {
  max-width: 80vw;
  color: #3f4b57;
  font-size: 16px;
  line-height: 1.8;
  overflow-x: auto
}

body#product .product-modern__long-description h2,
body#product .product-modern__long-description h3,
body#product .product-modern__long-description h4 {
  margin-top: 1.6em;
  color: var(--pdp-text);
  text-transform: none;
}

body#product .product-modern__long-description img,
body#product .product-modern__extra-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* ---------- Product details ---------- */
body#product .product-modern__details-content .tab-pane,
body#product .product-modern__details-content #product-details {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body#product .product-modern__details-content .product-features {
  margin: 0;
}

body#product .product-modern__details-content .product-features > dl.data-sheet {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 0;
  background: var(--pdp-line);
  border: 1px solid var(--pdp-line);
  border-radius: 12px;
}

body#product .product-modern__details-content .product-features > dl.data-sheet dt,
body#product .product-modern__details-content .product-features > dl.data-sheet dd {
  min-height: 48px;
  margin: 0;
  padding: 13px 15px;
  background: #fff;
}

body#product .product-modern__details-content .product-features > dl.data-sheet dt {
  color: var(--pdp-muted);
  font-weight: 600;
}

body#product .product-modern__details-content .product-features > dl.data-sheet dd {
  color: var(--pdp-text);
  font-weight: 650;
}

/* ---------- Attachments ---------- */
body#product .product-modern__attachments {
  display: grid;
  gap: 10px;
}

body#product .product-modern__attachment {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 18px;
  background: var(--pdp-soft);
  border-radius: 12px;
}

body#product .product-modern__attachment h3 {
  margin: 0 0 4px;
  font-size: 16px;
  text-transform: none;
}

body#product .product-modern__attachment p {
  margin: 0;
  color: var(--pdp-muted);
}

body#product .product-modern__attachment-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 13px;
  border: 1px solid var(--pdp-blue);
  border-radius: 9px;
  color: var(--pdp-blue);
  font-weight: 650;
  text-decoration: none;
}

body#product .product-modern__attachment-link span {
  color: var(--pdp-muted);
  font-size: 12px;
}

/* ---------- Accessories ---------- */
body#product .product-modern__accessories {
  margin-top: 32px;
  padding-top: 14px;
}

body#product .product-modern__accessories > .products {
  margin-top: 0;
}

/* ---------- Smooth anchors ---------- */
html {
  scroll-behavior: smooth;
}

.product-quantity .btn-touchspin, .product-quantity #quantity_wanted {border: none}
.product-actions .add-to-cart .material-icons {display: none }
#product .product-modern__meta {justify-content: space-between;}
#product .product-prices div {margin: 0}

/* =========================================================
   TABLET / MOBILE
   ========================================================= */
@media (max-width: 991px) {
  body#product .product-modern__hero {
    margin-bottom: 26px;
  }

  body#product .product-modern__media-sticky {
    position: static;
  }

  body#product .product-modern__summary-column {
    padding-left: 15px;
  }

  body#product .product-modern__summary {
    margin-top: 18px;
    padding: 20px;
  }

  body#product .product-modern__section-nav {
    top: 0;
    margin-left: -15px;
    margin-right: -15px;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  body#product .product-modern__details-content .product-features > dl.data-sheet {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  body#product .product-modern__gallery {
    margin-left: -15px;
    margin-right: -15px;
    padding: 10px;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    box-shadow: none;
  }


  body#product .product-modern__reassurance {
    margin-left: -6px;
    margin-right: -6px;
    padding: 10px;
  }

  body#product .product-modern__reassurance .blockreassurance .row > [class*="col-"],
  body#product .product-modern__reassurance .blockreassurance_product .row > [class*="col-"] {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 8px 5px;
  }

  body#product .product-modern__summary {
    margin-left: -6px;
    margin-right: -6px;
    padding: 18px;
    border-radius: 14px;
  }

  body#product .product-modern__title {
    font-size: 27px;
  }

  body#product .product-modern__cta .product-quantity {
    flex-wrap: wrap;
  }

  body#product .product-modern__cta .qty {
    flex: 0 0 70px;
  }

  body#product .product-modern__cta .add {
    flex: 1 1 calc(100% - 105px);
  }

  body#product .product-modern__section {
    margin-left: -6px;
    margin-right: -6px;
    padding: 22px 18px;
    border-radius: 14px;
  }

  body#product .product-modern__attachment {
    align-items: flex-start;
    flex-direction: column;
  }

  body#product .product-modern__attachment-link {
    width: 100%;
    justify-content: center;
  }
  body#product  .product-add-to-cart .control-label, body#product  .product-add-to-cart #product-availability, body#product .product-modern__variants .control-label {display: none !important;}
footer#footer {padding-bottom: 80px;}
}


@media(max-width: 440px) {
  body#product .product-modern__cart {    flex-direction: column;    align-content: space-between;    flex-wrap: wrap-reverse;    width: 100%;}
  body#product .product-modern__cta .add, #product .product-modern__cart .product-add-to-cart, #product .product-modern__variants {width: 100%}
    #product .product-modern__variants select{width: 100%}
    footer#footer {padding-bottom: 155px;}
}