.product-page-main {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  max-width: 1320px;
  padding-top: 1.6rem;
  padding-bottom: 4rem;
}

.product-detail-page:not(.hidden) {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 1.4rem;
}

.product-breadcrumb {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: .45rem;
  color: #788378;
  font-size: .71rem;
  font-weight: 600;
}

.product-breadcrumb a,
.product-breadcrumb button {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  color: #637365;
  background: none;
  font: inherit;
  text-decoration: none;
  transition: color .18s ease;
}

.product-breadcrumb a:hover,
.product-breadcrumb button:hover {
  color: #08783d;
}

.product-breadcrumb > svg {
  width: .8rem;
  height: .8rem;
  flex: 0 0 auto;
  color: #b2bbb0;
}

.product-breadcrumb-current {
  overflow: hidden;
  color: #35483a;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-showcase,
.product-reviews-section {
  border: 1px solid #e5eae2;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 12px 34px rgba(38, 54, 40, .055);
}

.product-showcase {
  padding: clamp(1rem, 2.4vw, 2rem);
}

.product-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  align-items: start;
  gap: clamp(1.6rem, 4vw, 3.8rem);
}

.product-gallery {
  display: grid;
  min-width: 0;
  gap: .9rem;
}

.product-gallery-main {
  position: relative;
  display: grid;
  min-height: 360px;
  max-height: 590px;
  aspect-ratio: 1.08;
  place-items: center;
  overflow: hidden;
  border: 1px solid #e8e9df;
  border-radius: 1rem;
  background:
    radial-gradient(circle at 85% 12%, rgba(194, 151, 103, .14), transparent 34%),
    linear-gradient(145deg, #f1f0e9, #e8e9df);
}

.product-gallery-main::after {
  position: absolute;
  z-index: 1;
  inset: 45% 0 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(22, 36, 26, .12));
}

.product-gallery-main > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.product-gallery-main:hover > img {
  transform: scale(1.025);
}

.product-category-badge {
  position: absolute;
  z-index: 2;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 2rem);
  padding: .48rem .75rem;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  color: #fff;
  background: rgba(43, 75, 51, .93);
  box-shadow: 0 5px 16px rgba(26, 43, 30, .15);
  font-size: .63rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.product-category-badge.product-sale-badge {
  right: 1rem;
  left: auto;
  background: #ad6844;
}

.product-gallery-thumbs {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: .65rem;
  overflow-x: auto;
  padding: .1rem .05rem .3rem;
}

.product-gallery-thumb {
  display: block;
  width: 4.4rem;
  height: 4.4rem;
  flex: 0 0 auto;
  overflow: hidden;
  padding: 0;
  border: 1px solid #e1e6de;
  border-radius: .75rem;
  background: #f4f5ef;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.product-gallery-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery-thumb:hover {
  border-color: #9bae97;
  transform: translateY(-1px);
}

.product-gallery-thumb.is-active {
  border: 2px solid #426748;
  box-shadow: 0 0 0 3px rgba(66, 103, 72, .12);
}

.product-gallery-count {
  color: #7a867a;
  font-size: .68rem;
}

.product-summary {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1.05rem;
  padding: .4rem .1rem;
}

.product-summary-heading {
  display: grid;
  gap: .65rem;
}

.product-category-label,
.product-section-kicker {
  color: #9a6343;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.product-category-label {
  width: fit-content;
  padding: .36rem .6rem;
  border: 1px solid #e8ece3;
  border-radius: 999px;
  color: #49654b;
  background: #f4f7f1;
  letter-spacing: .08em;
}

.product-summary-heading h1 {
  margin: 0;
  color: #26372c;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: 1.12;
}

.product-pricing {
  display: grid;
  gap: .42rem;
  padding: 1rem 1.1rem;
  border: 1px solid #e6ebe3;
  border-radius: .9rem;
  background: linear-gradient(120deg, #f7f9f5, #fbfaf7);
}

.product-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .55rem .8rem;
}

.product-price-main {
  color: #294d34;
  font-size: clamp(1.9rem, 3.4vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1;
}

.product-price-old {
  color: #8d968b;
  font-size: .95rem;
  text-decoration: line-through;
}

.product-discount-tag {
  padding: .28rem .52rem;
  border-radius: 999px;
  color: #8d5537;
  background: #f5e9de;
  font-size: .65rem;
  font-weight: 800;
}

.product-pricing > p {
  margin: 0;
  color: #768175;
  font-size: .69rem;
  line-height: 1.5;
}

.product-description {
  color: #647166;
  font-size: .88rem;
  line-height: 1.75;
}

.product-description p {
  margin: 0;
}

.product-stock-row {
  display: flex;
  min-height: 2.55rem;
  align-items: center;
  gap: .55rem;
  padding: .55rem .75rem;
  border: 1px solid #e1e9de;
  border-radius: .7rem;
  background: #f6f8f3;
}

.product-stock-indicator {
  width: .52rem;
  height: .52rem;
  flex: 0 0 auto;
  border-radius: 50%;
}

.product-stock-indicator.is-available {
  background: #64895d;
  box-shadow: 0 0 0 .2rem rgba(100, 137, 93, .12);
}

.product-stock-indicator.is-check {
  background: #bd8a48;
  box-shadow: 0 0 0 .2rem rgba(189, 138, 72, .12);
}

.product-stock-indicator.is-unavailable {
  background: #b66b58;
  box-shadow: 0 0 0 .2rem rgba(182, 107, 88, .12);
}

.product-stock-label {
  color: #526b50;
  font-size: .7rem;
  font-weight: 700;
  line-height: 1.4;
}

.product-stock-label.is-check {
  color: #886332;
}

.product-stock-label.is-unavailable {
  color: #9a5c4c;
}

.product-purchase-panel {
  display: grid;
  gap: .75rem;
  padding-top: 1rem;
  border-top: 1px solid #e8ece6;
}

.product-purchase-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: end;
  gap: .65rem;
}

.product-quantity {
  display: grid;
  gap: .35rem;
}

.product-quantity > label {
  color: #788378;
  font-size: .62rem;
  font-weight: 700;
}

.product-quantity-control {
  display: flex;
  height: 3.15rem;
  align-items: center;
  padding: .2rem;
  border: 1px solid #dfe5dc;
  border-radius: .7rem;
  background: #fff;
}

.product-quantity-control button {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: .5rem;
  color: #526652;
  background: transparent;
  font-size: 1.05rem;
  font-weight: 700;
  transition: color .18s ease, background .18s ease;
}

.product-quantity-control button:hover {
  color: #2f5639;
  background: #f1f5ef;
}

.product-quantity-control input {
  width: 2.8rem;
  min-width: 0;
  border: 0;
  color: #2d4031;
  background: transparent;
  font-size: .82rem;
  font-weight: 800;
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
}

.product-quantity-control input::-webkit-inner-spin-button,
.product-quantity-control input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.product-add-button {
  display: inline-flex;
  min-width: 0;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .7rem 1rem;
  border: 1px solid #08783d;
  border-radius: .7rem;
  color: #fff;
  background: #08783d;
  box-shadow: 0 8px 18px rgba(53, 92, 64, .15);
  font-size: .75rem;
  font-weight: 800;
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.product-add-button svg {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
}

.product-add-button:hover {
  border-color: #065f32;
  color: #fff;
  background: #065f32;
  box-shadow: 0 10px 22px rgba(53, 92, 64, .21);
  transform: translateY(-1px);
}

.product-wishlist-button {
  display: grid;
  width: 3.15rem;
  height: 3.15rem;
  place-items: center;
  border: 1px solid #dfe5dc;
  border-radius: .7rem;
  color: #667468;
  background: #fff;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.product-wishlist-button:hover {
  border-color: #e4c9b8;
  color: #a86447;
  background: #fbf5f0;
}

.product-wishlist-button svg {
  width: 1.15rem;
  height: 1.15rem;
}

.product-buy-now {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border: 1px solid #e1e8de;
  border-radius: .7rem;
  color: #48634b;
  background: #f7f9f5;
  font-size: .71rem;
  font-weight: 800;
  transition: background .18s ease, border-color .18s ease;
}

.product-buy-now:hover {
  border-color: #ccd9c8;
  background: #eef3eb;
}

.product-buy-now svg {
  width: .95rem;
  height: .95rem;
  color: #a96c45;
}

.product-assurances {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .55rem;
  margin-top: .15rem;
}

.product-assurances > div {
  display: flex;
  min-height: 4.3rem;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .65rem .5rem;
  border: 1px solid #e7ebe4;
  border-radius: .7rem;
  color: #647264;
  background: #fbfcfa;
  font-size: .62rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.product-assurances svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  color: #6e8968;
}

.product-delivery-note {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.3rem;
  border: 1px solid #e2e9de;
  border-radius: 1rem;
  background: linear-gradient(105deg, #f3f7f1, #fbfaf7);
}

.product-delivery-icon {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: .75rem;
  color: #fff;
  background: #426449;
}

.product-delivery-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.product-delivery-note h2,
.product-reviews-heading h2 {
  margin: 0;
  color: #2c4031;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.13rem;
  font-weight: 600;
  letter-spacing: -.025em;
}

.product-delivery-note p {
  margin: .3rem 0 0;
  color: #69766a;
  font-size: .73rem;
  line-height: 1.6;
}

.product-delivery-note a {
  color: #426449;
  font-weight: 800;
  text-decoration-color: #9eb19a;
  text-underline-offset: 3px;
}

.product-reviews-section {
  display: grid;
  gap: 1.4rem;
  padding: clamp(1.15rem, 2.4vw, 2rem);
}

.product-reviews-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e8ece5;
}

.product-reviews-heading > div {
  display: grid;
  gap: .4rem;
}

.product-reviews-heading h2 {
  font-size: 1.45rem;
}

.product-reviews-heading p {
  margin: 0;
  color: #768176;
  font-size: .73rem;
}

.product-reviews-heading .product-section-kicker {
  display: block;
}

.product-reviews-list,
.product-review-list {
  display: grid;
  gap: .8rem;
}

.product-review-examples,
.product-review-example-list {
  display: grid;
  gap: .65rem;
}

.product-review-examples-title {
  margin: 0;
  color: #526451;
  font-size: .68rem;
  font-weight: 800;
}

.product-review-example-note {
  color: #8a9488;
  font-size: .62rem;
}

.product-review-card {
  padding: 1rem 1.1rem;
  border: 1px solid #e8ece5;
  border-radius: .85rem;
  background: #fbfcfa;
}

.product-review-card > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
}

.product-review-card > div:first-child strong {
  color: #354a38;
}

.product-review-author {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: .55rem;
}

.product-review-avatar {
  display: grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #46634a;
  background: #edf3e9;
  font-size: .7rem;
  font-weight: 800;
}

.product-review-rating {
  color: #b77c40;
  font-size: .75rem;
  letter-spacing: .08em;
}

.product-review-card p {
  margin: .55rem 0;
  color: #667267;
  font-size: .76rem;
  line-height: 1.6;
}

.product-review-card > span {
  color: #8a9488;
  font-size: .65rem;
}

.product-review-empty {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 0;
  padding: 1.25rem;
  border: 1px dashed #dce4d9;
  border-radius: .85rem;
  color: #758175;
  background: #fbfcfa;
  font-size: .75rem;
}

.product-review-empty svg {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  color: #80917e;
}

.product-review-empty p {
  margin: 0;
}

.product-reviews-grid {
  display: grid;
  grid-template-columns: minmax(240px, .76fr) minmax(0, 1.24fr);
  gap: 1.4rem;
}

.product-review-form-card {
  align-self: start;
  padding: 1.15rem;
  border: 1px solid #e5eae2;
  border-radius: .9rem;
  background: #f8faf6;
}

.product-review-form-card h3 {
  margin: 0 0 1rem;
  color: #405644;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.product-review-form {
  display: grid;
  gap: .85rem;
  color: #5f6c60;
  font-size: .7rem;
}

.product-review-form > div {
  display: grid;
  gap: .38rem;
}

.product-review-form input,
.product-review-form select,
.product-review-form textarea {
  width: 100%;
  padding: .7rem .75rem;
  border: 1px solid #dfe6dc;
  border-radius: .65rem;
  color: #35483a;
  background: #fff;
  font: inherit;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.product-review-form textarea {
  min-height: 6rem;
  resize: vertical;
}

.product-review-form :is(input, select, textarea):focus {
  border-color: #7f9b7a;
  box-shadow: 0 0 0 3px rgba(92, 128, 87, .12);
}

.product-review-submit {
  display: inline-flex;
  width: 100%;
  min-height: 2.7rem;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border: 1px solid #08783d;
  border-radius: .65rem;
  color: #fff;
  background: #08783d;
  font-size: .71rem;
  font-weight: 800;
  transition: background .18s ease;
}

.product-review-submit:hover {
  background: #065f32;
}

.product-review-list > .product-review-card {
  background: #fff;
}

.product-detail-page :focus-visible,
.product-page-main :focus-visible {
  outline: 3px solid #d7a77d;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .product-showcase-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-gallery-main {
    width: 100%;
    max-height: 620px;
  }

  .product-summary {
    padding: .35rem .1rem .15rem;
  }
}

@media (max-width: 700px) {
  .product-page-main {
    gap: 1rem;
    padding-top: 1rem;
    padding-bottom: 2.5rem;
  }

  .product-detail-page {
    gap: 1rem;
  }

  .product-breadcrumb {
    gap: .32rem;
    font-size: .65rem;
  }

  .product-breadcrumb > svg {
    width: .7rem;
    height: .7rem;
  }

  .product-gallery-main {
    min-height: 280px;
    aspect-ratio: 1.08;
    border-radius: .85rem;
  }

  .product-summary {
    gap: .85rem;
  }

  .product-summary-heading h1 {
    font-size: clamp(1.7rem, 7vw, 2.3rem);
  }

  .product-price-main {
    font-size: 2rem;
  }

  .product-reviews-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px) {
  .product-breadcrumb {
    gap: .25rem;
  }

  .product-breadcrumb > :nth-child(2),
  .product-breadcrumb > :nth-child(4) {
    display: none;
  }

  .product-breadcrumb > :nth-child(3) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .product-purchase-row {
    grid-template-columns: minmax(0, 1fr) 3.15rem;
  }

  .product-quantity {
    grid-column: 1 / -1;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .product-add-button {
    grid-column: 1;
    padding-right: .6rem;
    padding-left: .6rem;
    font-size: .7rem;
  }

  .product-wishlist-button {
    grid-column: 2;
    grid-row: 2;
  }

  .product-assurances {
    grid-template-columns: 1fr;
  }

  .product-assurances > div {
    min-height: 2.8rem;
    justify-content: flex-start;
    padding: .6rem .75rem;
    text-align: left;
  }

  .product-delivery-note {
    align-items: flex-start;
    padding: 1rem;
  }

  .product-delivery-note h2 {
    font-size: 1rem;
  }

  .product-reviews-section {
    gap: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-gallery-main > img,
  .product-gallery-thumb,
  .product-add-button,
  .product-wishlist-button,
  .product-buy-now {
    transition: none;
  }
}

.related-products-section {
  padding: clamp(1rem, 2.4vw, 1.6rem);
  border: 1px solid #e5eae2;
  border-radius: 1.2rem;
  background: linear-gradient(120deg, #fff, #f8faf6);
  box-shadow: 0 10px 28px rgba(38, 54, 40, .045);
}

.related-products-heading {
  margin-bottom: 1.1rem;
}

.related-products-kicker {
  color: #9a6343;
}

.related-products-heading h2 {
  color: #2d4032;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -.03em;
}

.related-products-controls button {
  color: #49644c;
  border-color: #dfe7dc;
  border-radius: .7rem;
  background: #fff;
}

.related-products-controls button:hover {
  color: #fff;
  border-color: #08783d;
  background: #08783d;
}

.related-products-track {
  grid-auto-columns: minmax(225px, 270px);
  gap: .85rem;
  padding: .25rem .1rem .75rem;
  scrollbar-color: #91a58b #e8eee5;
}

.related-products-track.autoscroll-enabled {
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.related-product-card {
  border-color: #e3e9e0;
  border-radius: .9rem;
}

.related-product-card:hover {
  border-color: #c3d1bf;
  box-shadow: 0 12px 24px rgba(41, 67, 46, .11);
}

.related-product-image-wrap {
  height: 158px;
  background: #f1f2ea;
}

.related-product-badge {
  border-radius: 999px;
  background: #ad6844;
}

.related-product-category {
  color: #70836d;
}

.related-product-rating {
  display: flex;
  align-items: center;
  gap: .3rem;
  color: #879187;
  font-size: .66rem;
}

.related-product-stars {
  color: #b77c40;
  letter-spacing: .03em;
  line-height: 1;
}

.related-product-stars-empty { color: #d9ded9; }

.related-product-content h3 {
  color: #334536;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
}

.related-product-price {
  color: #08783d;
  font-size: .98rem;
}

.related-product-old-price {
  color: #899487;
}

@media (max-width: 640px) {
  .related-products-track {
    grid-auto-columns: minmax(210px, 76vw);
  }
}

/* Présentation produit éditoriale, partagée par la fiche intégrée et product.php */
.product-page-main {
  gap: 2rem;
  max-width: 1380px;
  padding-top: 1.4rem;
}

.product-detail-page:not(.hidden) {
  gap: 2rem;
}

.product-showcase,
.product-showcase.product-php-showcase {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.product-showcase-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  align-items: start;
  gap: clamp(2.25rem, 5vw, 5rem);
}

.product-gallery {
  gap: .75rem;
}

.product-gallery-main {
  min-height: 420px;
  max-height: 680px;
  aspect-ratio: 1.12;
  border: 1px solid #e4e9e1;
  border-radius: 1rem;
  background: #eef1e9;
  box-shadow: 0 18px 42px rgba(39, 57, 42, .09);
}

.product-gallery-main::after {
  display: none;
}

.product-gallery-main > img {
  object-fit: cover;
}

.product-gallery-main:hover > img {
  transform: scale(1.015);
}

.product-category-badge {
  top: .85rem;
  left: .85rem;
  padding: .42rem .65rem;
  border: 0;
  border-radius: .35rem;
  background: #08783d;
  box-shadow: none;
  font-size: .62rem;
  letter-spacing: .03em;
}

.product-category-badge.product-sale-badge {
  right: .85rem;
  left: auto;
  background: #ad6844;
}

.product-gallery-thumbs {
  gap: .5rem;
  padding-top: .25rem;
}

.product-gallery-thumb {
  width: 4.8rem;
  height: 4.8rem;
  border-radius: .55rem;
  background: #f4f6f1;
}

.product-gallery-thumb.is-active {
  border-color: #08783d;
  box-shadow: 0 0 0 2px rgba(53, 92, 64, .12);
}

.product-summary {
  gap: 1.2rem;
  padding: .5rem 0;
}

.product-summary-heading {
  gap: .75rem;
}

.product-category-label {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #8b6248;
  background: transparent;
  font-size: .68rem;
  letter-spacing: .11em;
}

.product-summary-heading h1 {
  max-width: 35rem;
  color: #26372d;
  font-size: clamp(2rem, 3.2vw, 3.15rem);
  line-height: 1.04;
}

.product-pricing {
  gap: .7rem;
  padding: 1rem 0;
  border: 0;
  border-top: 1px solid #dfe7dc;
  border-bottom: 1px solid #dfe7dc;
  border-radius: 0;
  background: transparent;
}

.product-price-main {
  color: #08783d;
  font-size: clamp(2.15rem, 3.7vw, 3rem);
}

.product-price-old {
  color: #879185;
}

.product-discount-tag {
  border-radius: .35rem;
  color: #755038;
  background: #f2eadf;
  font-weight: 700;
}

.product-pricing > p {
  color: #68766b;
  font-size: .74rem;
}

.product-description {
  color: #526255;
  font-size: .93rem;
  line-height: 1.75;
}

.product-stock-row {
  min-height: 0;
  padding: .1rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.product-stock-indicator.is-available {
  background: #527c51;
  box-shadow: 0 0 0 .2rem rgba(82, 124, 81, .12);
}

.product-stock-label {
  color: #527052;
}

.product-purchase-panel {
  gap: .8rem;
  padding: 1.2rem 0 0;
  border-top: 1px solid #dfe7dc;
}

.product-purchase-row {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: .6rem;
}

.product-php-showcase .product-purchase-row {
  grid-template-columns: auto minmax(0, 1fr);
}

.product-quantity > label {
  color: #667368;
  font-size: .68rem;
}

.product-quantity-control {
  height: 3.35rem;
  border-color: #dce5d9;
  border-radius: .55rem;
}

.product-quantity-control button:hover {
  color: #065f32;
  background: #eef3eb;
}

.product-add-button {
  min-height: 3.35rem;
  border-color: #08783d;
  border-radius: .55rem;
  background: #08783d;
  box-shadow: none;
}

.product-add-button:hover {
  border-color: #065f32;
  background: #065f32;
  box-shadow: none;
}

.product-wishlist-button {
  width: 3.35rem;
  height: 3.35rem;
  border-color: #dce5d9;
  border-radius: .55rem;
}

.product-wishlist-button:hover {
  border-color: #cfb19b;
  color: #9a6543;
  background: #f8f3ed;
}

.product-buy-now {
  min-height: 3rem;
  border-color: #dce5d9;
  border-radius: .55rem;
  color: #08783d;
  background: #f3f6f0;
}

.product-buy-now:hover {
  border-color: #c5d4c2;
  background: #e9f0e6;
}

.product-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  margin-top: .1rem;
}

.product-assurances > div {
  position: relative;
  min-height: 0;
  justify-content: flex-start;
  padding: 0 0 0 .8rem;
  border: 0;
  border-radius: 0;
  color: #68766b;
  background: transparent;
  font-size: .68rem;
  font-weight: 600;
  text-align: left;
}

.product-assurances > div::before {
  position: absolute;
  top: .42em;
  left: 0;
  width: .32rem;
  height: .32rem;
  border-radius: 50%;
  background: #7d9877;
  content: "";
}

.product-delivery-note {
  padding: 1.35rem 1.5rem;
  border-color: #dfe7dc;
  border-radius: .8rem;
  background: #f0f4ed;
}

.product-delivery-note h2,
.product-reviews-heading h2 {
  color: #26372d;
}

.product-delivery-note a {
  color: #08783d;
  text-decoration-color: #9db29a;
}

.product-reviews-section,
.related-products-section {
  border-color: #e2e9df;
  border-radius: .9rem;
  background: #fffefa;
  box-shadow: 0 8px 24px rgba(39, 57, 42, .05);
}

.product-review-form-card,
.product-review-card {
  border-color: #e2e9df;
  border-radius: .65rem;
  background: #f7f8f4;
}

.product-review-form-card h3,
.related-products-heading h2,
.related-product-content h3 {
  color: #26372d;
}

.product-review-form-card h3 {
  color: #08783d;
}

.product-review-submit {
  background-color: #08783d;
}

.product-review-submit:hover {
  background-color: #065f32;
}

.related-products-controls button {
  border-color: #dce5d9;
  color: #08783d;
  background: #f3f6f0;
}

.related-products-controls button:hover {
  border-color: #08783d;
  color: #fff;
  background: #08783d;
}

.related-product-card {
  border-color: #e2e9df;
  border-radius: .65rem;
  background: #fff;
}

.related-product-card:hover {
  border-color: #bacbb7;
  box-shadow: 0 10px 22px rgba(39, 57, 42, .09);
}

@media (max-width: 900px) {
  .product-showcase-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
  }

  .product-gallery-main {
    min-height: 0;
    aspect-ratio: 1.2;
  }

  .product-summary {
    padding: 0;
  }
}

@media (max-width: 500px) {
  .product-gallery-main {
    aspect-ratio: 1;
  }

  .product-purchase-row {
    grid-template-columns: minmax(0, 1fr) 3rem;
  }

  .product-php-showcase .product-purchase-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-quantity {
    grid-column: 1 / -1;
  }

  .product-php-showcase .product-add-button {
    grid-column: 1 / -1;
  }

  .product-assurances {
    gap: .5rem .8rem;
  }
}

/* Fiche produit: structure et rythme de la page de reference. */
.product-page-main {
  max-width: 1280px;
  gap: 2rem;
  padding-top: 2rem;
  padding-bottom: 4rem;
}
.product-breadcrumb {
  flex-wrap: nowrap;
  gap: .55rem;
  color: #78889a;
  font-size: .7rem;
}
.product-breadcrumb a { color: #6f7f91; }
.product-breadcrumb a:hover { color: #08783d; }
.product-breadcrumb > svg { color: #aab5c1; }
.product-breadcrumb-current { max-width: min(32vw, 24rem); color: #20304a; }

.product-showcase.product-detail-shell {
  padding: clamp(1.2rem, 2.8vw, 2rem);
  border: 1px solid #dfe7ef;
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 12px 30px rgba(41, 61, 91, .07);
}
.product-showcase-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(2rem, 4vw, 3rem);
}
.product-gallery { align-content: start; gap: 1rem; }
.product-gallery-main {
  min-height: 0;
  max-height: none;
  aspect-ratio: 1;
  border: 1px solid #e3e8ed;
  border-radius: 1rem;
  background: #eef1f4;
}
.product-gallery-main::after { display: none; }
.product-gallery-main > img { object-fit: cover; }
.product-category-badge {
  top: 1rem;
  left: 1rem;
  padding: .35rem .7rem;
  border: 0;
  border-radius: 999px;
  background: #08783d;
  font-size: .62rem;
  letter-spacing: .04em;
}
.product-category-badge.hidden { display: none !important; }
.product-category-badge.product-featured-badge {
  right: auto;
  left: 1rem;
  color: #fff;
  background: #08783d;
}
.product-category-badge.product-sale-badge {
  right: 1rem;
  left: auto;
  background: #bd594c;
}
.product-gallery-thumbs { gap: .75rem; overflow: visible; }
.product-gallery-thumb {
  width: 4rem;
  height: 4rem;
  border-radius: .7rem;
  background: #f2f4f6;
}
.product-gallery-thumb.is-active {
  border-color: #08783d;
  box-shadow: 0 0 0 2px rgba(8, 120, 61, .14);
}
.product-gallery-count { color: #8794a3; font-size: .66rem; }

.product-summary {
  justify-content: space-between;
  gap: 0;
  padding: .15rem 0;
}
.product-summary-heading { gap: .3rem; }
.product-category-label {
  width: auto;
  padding: 0;
  border: 0;
  color: #08783d;
  background: transparent;
  font-size: .66rem;
  letter-spacing: .1em;
}
.product-summary-heading h1,
.product-detail-title {
  margin-top: .2rem;
  color: #202d42;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  font-weight: 850;
  letter-spacing: -.045em;
  line-height: 1.16;
}
.product-rating-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  color: #607087;
  font-size: .72rem;
}
.product-rating-row strong { color: #20304a; font-weight: 850; }
.product-rating-row a { color: #08783d; font-weight: 750; text-decoration: none; }
.product-rating-row a:hover { text-decoration: underline; }
.product-rating-stars { display: inline-flex; gap: .12rem; color: #dfa83c; }
.product-rating-stars svg { width: .9rem; height: .9rem; }
.product-rating-stars svg.is-filled { fill: currentColor; }
.product-rating-placeholder { color: #758073; font-size: .7rem; line-height: 1.4; }

.product-pricing.product-price-panel {
  gap: .375rem;
  padding: 1rem;
  border-color: #e5eae2;
  border-radius: 1rem;
  background: #f7f9f5;
}
.product-price-row { gap: .6rem .8rem; }
.product-price-main {
  color: #20304a;
  font-size: clamp(1.8rem, 3vw, 2.25rem);
  letter-spacing: -.045em;
}
.product-price-old { font-size: .9rem; }
.product-discount-tag {
  border-radius: .4rem;
  color: #347443;
  background: #e6f4e9;
}
.product-pricing > p {
  margin: 0;
  color: #718093;
  font-size: .68rem;
  line-height: 1.55;
}
.product-pricing > p a { color: #08783d; font-weight: 750; text-underline-offset: 2px; }
.product-description {
  color: #607087;
  font-size: .8rem;
  line-height: 1.7;
}
.product-stock-row {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.product-stock-indicator.is-available { background: #16a36a; }
.product-stock-label { color: #287448; font-size: .72rem; }
.product-status-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  margin: 0;
}
.product-status-chip {
  display: inline-flex;
  min-height: 2.1rem;
  align-items: center;
  gap: .45rem;
  padding: .4rem .75rem;
  border-radius: 999px;
  color: #465149;
  background: #f1f3f2;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.2;
}
.product-status-stock .product-stock-indicator { width: .48rem; height: .48rem; }
.product-status-stock .product-stock-label { color: #465149; font-size: inherit; }
.product-status-stock .product-stock-label.is-unavailable { color: #9a5c4c; }
.product-status-delivery { color: #08783d; background: #e8f5ed; font-weight: 750; }
.product-status-delivery svg { width: 1.05rem; height: 1.05rem; }
.product-purchase-panel { gap: .8rem; padding-top: 1rem; }
.product-purchase-row {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: .8rem;
}
.product-quantity-control {
  height: 3rem;
  border-radius: .75rem;
  background: #f7f9f5;
}
.product-add-button {
  min-height: 3rem;
  border-color: #08783d;
  border-radius: .85rem;
  background: #08783d;
  box-shadow: 0 8px 20px rgba(8, 120, 61, .18);
}
.product-add-button:hover { background: #065f32; }
.product-assurances { gap: .5rem; }
.product-assurances > div {
  min-height: 4.2rem;
  flex-direction: column;
  gap: .35rem;
  padding: .55rem .35rem;
  border-color: #e5eae2;
  border-radius: .75rem;
  color: #68788b;
  background: #f7f9f5;
  font-size: .63rem;
}
.product-assurances svg { color: #08783d; stroke-width: 1.85; }
.product-assurances > div strong { color: #20304a; font-size: .61rem; }
.product-assurances > div span,
.product-assurances > div a { color: #68788b; font-size: .59rem; line-height: 1.35; }
.product-assurances.product-benefits {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0;
  margin-top: .35rem;
  border-top: 1px solid #e2e6e3;
}
.product-assurances.product-benefits > div {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 3.7rem;
  flex-direction: row;
  justify-content: flex-start;
  gap: .85rem;
  padding: .8rem .75rem;
  border: 0;
  border-bottom: 1px solid #e2e6e3;
  border-radius: 0;
  color: #1f2522;
  background: transparent;
  text-align: left;
}
.product-assurances.product-benefits > div::before { content: none; }
.product-assurances.product-benefits > div > span {
  min-width: 0;
  color: #252b27;
  font-size: .88rem;
  font-weight: 400;
  line-height: 1.45;
  overflow-wrap: normal;
}
.product-assurances.product-benefits > div > span strong {
  color: #171c19;
  font-size: inherit;
  font-weight: 750;
}
.product-assurances.product-benefits svg {
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 1.35rem;
  color: #08783d;
  stroke-width: 2;
}
.product-purchase-note {
  margin: 0;
  color: #718093;
  font-size: .64rem;
  line-height: 1.5;
  text-align: center;
}
.product-purchase-note a { color: #08783d; font-weight: 750; text-underline-offset: 2px; }
.product-delivery-note { display: none; }

.product-reviews-section {
  gap: 1.5rem;
  padding: clamp(1.2rem, 2.8vw, 2rem);
  border-color: #dfe7ef;
  border-radius: 1.5rem;
  box-shadow: 0 8px 24px rgba(41, 61, 91, .05);
}
.product-reviews-heading {
  align-items: center;
  padding-bottom: 1rem;
  border-color: #e8edf2;
}
.product-reviews-heading h2 { color: #20304a; font-size: 1.2rem; }
.product-reviews-heading p { color: #738196; }
.product-average-rating {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .38rem .75rem;
  border: 1px solid #f0dfb7;
  border-radius: 999px;
  color: #8a651d;
  background: #fff9e9;
  font-size: .67rem;
  font-weight: 800;
  white-space: nowrap;
}
.product-average-rating svg { width: .9rem; height: .9rem; fill: #dfa83c; color: #dfa83c; }
.product-reviews-grid { grid-template-columns: minmax(240px, 1fr) minmax(0, 2fr); gap: 2rem; }
.product-review-form-card {
  padding: 1.2rem;
  border-color: #e2e8ee;
  border-radius: 1rem;
  background: #f7f9f5;
}
.product-review-form-card h3 { color: #20304a; }
.product-review-submit {
  border-color: #08783d;
  border-radius: .75rem;
  background: #08783d;
}
.product-review-submit:hover { background: #065f32; }
.product-review-list { gap: .8rem; }
.product-review-card {
  border-color: #e7ebf0;
  border-radius: 1rem;
  background: #f8f9fb;
}
.product-review-empty { background: #f8f9fb; }
.related-products-kicker {
  display: block;
  margin-bottom: .25rem;
  color: #08783d;
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.related-product-card { border-radius: 1rem; }

@media (max-width: 1023px) {
  .product-showcase-grid { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; }
  .product-gallery-main { width: 100%; aspect-ratio: 1; }
  .product-reviews-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .product-page-main { gap: 1.3rem; padding-top: 1.2rem; }
  .product-showcase.product-detail-shell,
  .product-reviews-section { padding: 1rem; border-radius: 1.1rem; }
  .product-breadcrumb { overflow: hidden; }
  .product-reviews-heading { align-items: flex-start; flex-direction: column; }
  .product-reviews-grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
}
@media (max-width: 500px) {
  .product-gallery-main { aspect-ratio: 1; }
  .product-purchase-row,
  .product-php-showcase .product-purchase-row { grid-template-columns: auto minmax(0, 1fr); }
  .product-quantity,
  .product-php-showcase .product-add-button { grid-column: auto; }
  .product-assurances { gap: .4rem; }
  .product-assurances > div { min-height: 4.6rem; font-size: .58rem; }
}

html[data-page="product"]:not([data-page="home"]):not([data-page="admin"]):not([data-page="php"]) body {
  height: auto !important;
  min-height: 100vh !important;
  color: #26372d !important;
  background-color: #f7f9f6 !important;
  background-image:
    radial-gradient(900px 500px at 88% -10%, rgba(8, 120, 61, .045), transparent 65%),
    radial-gradient(760px 480px at 0% 12%, rgba(185, 109, 69, .025), transparent 64%) !important;
  background-attachment: scroll !important;
}
html[data-page="product"] .product-page-main {
  max-width: 80rem;
  flex: 1 0 auto;
}

.product-summary.product-detail-content { gap: 0; }
.product-summary-content { min-width: 0; }
.product-image-wishlist-button {
  position: absolute;
  z-index: 3;
  top: 3.7rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #e2e8ee;
  border-radius: 50%;
  color: #617084;
  background: #fff;
  box-shadow: 0 4px 14px rgba(32, 48, 74, .12);
}
.product-image-wishlist-button:hover { color: #b84f5d; background: #fff; }
.product-image-wishlist-button svg { width: 1rem; height: 1rem; }
.product-assurances a { color: inherit; text-decoration: none; }
.product-assurances a:hover { text-decoration: underline; text-underline-offset: 2px; }
.product-detail-content .product-buy-now {
  justify-self: stretch;
  width: 100%;
  min-height: 2.65rem;
  padding: .65rem 1rem;
  border: 1px solid #b96d45;
  border-radius: .8rem;
  color: #fff;
  background: #b96d45;
  box-shadow: none;
  font-size: .72rem;
  font-weight: 800;
}
.product-detail-content .product-buy-now svg { color: currentColor; }
.product-detail-content .product-buy-now:hover {
  border-color: #9f5834;
  color: #fff;
  background: #9f5834;
}
html[data-pending-page="product"] #page-store { display: none !important; }
html[data-pending-page="product"] #page-product { display: flex !important; }
html[data-page="product"] #page-product:not(.hidden) {
  width: min(100%, 80rem);
  margin-right: auto;
  margin-left: auto;
  gap: 2rem;
}
html[data-page="product"] #page-product:not(.hidden) .product-showcase.product-detail-shell {
  width: 100%;
}
html[data-page="product"] #page-product:not(.hidden) .product-showcase-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

@media (max-width: 1023px) {
  html[data-page="product"] #page-product:not(.hidden) .product-showcase-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 600px) {
  .product-status-badges { gap: .4rem; }
  .product-status-chip { min-height: 1.95rem; max-width: 100%; padding: .35rem .65rem; font-size: .72rem; white-space: normal; }
  .product-assurances.product-benefits > div { min-height: 0; gap: .75rem; padding: .8rem .55rem; }
  .product-assurances.product-benefits > div > span { font-size: .82rem; }
}

/* Final responsive rules for both the PHP and integrated product pages. */
.product-page-main,
.product-showcase,
.product-showcase-grid,
.product-reviews-section,
.product-reviews-grid,
.product-gallery,
.product-summary,
.product-purchase-row {
  min-width: 0;
}
.product-gallery-main { width: 100%; min-width: 0; }
.product-gallery-thumbs {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}
.product-breadcrumb > a:not(.product-breadcrumb-home) {
  min-width: 0;
  flex: 0 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-breadcrumb-current { min-width: 0; }
.product-status-badges { min-width: 0; }
.product-assurances.product-benefits { width: 100%; }
.product-add-button,
.product-buy-now {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}
.product-review-form-card,
.product-review-list,
.related-products-track { min-width: 0; max-width: 100%; }
.related-products-track { overflow-x: auto; overscroll-behavior-inline: contain; }

@media (max-width: 1023px) {
  .product-page-main { max-width: 58rem; }
  .product-showcase-grid { grid-template-columns: minmax(0, 1fr); gap: clamp(1.25rem, 4vw, 2rem); }
  .product-gallery-main { width: min(100%, 44rem); min-height: 0; margin-inline: auto; aspect-ratio: 1; }
  .product-summary { width: 100%; padding: 0; }
  .product-reviews-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
  .product-page-main { gap: 1rem; padding: 1rem; }
  .product-showcase.product-detail-shell,
  .product-reviews-section { padding: clamp(.75rem, 4vw, 1rem); border-radius: 1rem; }
  .product-gallery { gap: .65rem; }
  .product-gallery-thumb { width: 3.75rem; height: 3.75rem; }
  .product-summary { gap: 1rem; }
  .product-summary-heading h1,
  .product-detail-title { font-size: clamp(1.45rem, 6.2vw, 1.9rem); overflow-wrap: anywhere; }
  .product-price-main { font-size: clamp(1.75rem, 8vw, 2.15rem); }
  .product-purchase-panel { gap: .65rem; padding-top: .85rem; }
  .product-purchase-row,
  .product-php-showcase .product-purchase-row { grid-template-columns: minmax(7.5rem, auto) minmax(0, 1fr); gap: .6rem; }
  .product-quantity { min-width: 0; grid-column: auto; }
  .product-quantity-control { width: 100%; justify-content: space-between; }
  .product-add-button,
  .product-php-showcase .product-add-button { width: 100%; grid-column: auto; padding-inline: .6rem; font-size: .72rem; }
  .product-buy-now { width: 100%; }
  .product-reviews-heading { align-items: flex-start; flex-direction: column; gap: .75rem; }
  .product-breadcrumb { max-width: 100%; }
}

@media (max-width: 390px) {
  .product-page-main { padding: .75rem; }
  .product-purchase-row,
  .product-php-showcase .product-purchase-row { grid-template-columns: minmax(0, 1fr); }
  .product-quantity { grid-template-columns: 1fr; }
  .product-quantity-control { width: fit-content; max-width: 100%; }
  .product-add-button,
  .product-php-showcase .product-add-button,
  .product-buy-now { width: 100%; grid-column: auto; }
  .product-assurances.product-benefits > div { gap: .6rem; padding-inline: .25rem; }
  .product-assurances.product-benefits svg { width: 1.2rem; height: 1.2rem; flex-basis: 1.2rem; }
  .product-breadcrumb { gap: .3rem; font-size: .63rem; }
  .product-breadcrumb > :nth-child(2),
  .product-breadcrumb > :nth-child(4) { display: none; }
  .product-breadcrumb > :nth-child(3),
  .product-breadcrumb > :nth-child(5) { max-width: 25vw; }
  .product-breadcrumb-current { max-width: 35vw; }
}

@media (max-width: 340px) {
  .product-showcase.product-detail-shell,
  .product-reviews-section { padding: .7rem; }
  .product-status-chip { padding-inline: .5rem; font-size: .68rem; }
  .product-assurances.product-benefits > div > span { font-size: .78rem; }
  .product-summary-heading h1,
  .product-detail-title { font-size: 1.38rem; }
}


/* Refined product-page finish: warm surfaces, clearer purchase hierarchy. */
html[data-page="product"] .product-page-main { max-width: 78rem; gap: 1.4rem; }
html[data-page="product"] .product-breadcrumb { margin-bottom: .15rem; color: #7d857b; }
html[data-page="product"] .product-breadcrumb-current { color: #304334; }
html[data-page="product"] .product-showcase.product-detail-shell.product-php-showcase {
  padding: clamp(.9rem, 2vw, 1.4rem);
  border: 1px solid #e8e2d7;
  border-radius: 1.35rem;
  background: linear-gradient(145deg, #fffefa 0%, #f8f7f0 100%);
  box-shadow: 0 14px 38px rgba(39, 48, 36, .07);
}
html[data-page="product"] .product-showcase.product-detail-shell.product-php-showcase .product-showcase-grid {
  align-items: stretch;
  gap: clamp(1.1rem, 2.5vw, 2rem);
}
html[data-page="product"] .product-php-showcase .product-gallery { gap: .7rem; }
html[data-page="product"] .product-php-showcase .product-gallery-main {
  min-height: 0;
  max-height: 650px;
  aspect-ratio: 1.06;
  border: 1px solid #e7e4da;
  border-radius: 1.1rem;
  background: radial-gradient(circle at 80% 15%, rgba(188, 143, 94, .13), transparent 35%), linear-gradient(145deg, #f4f2e9, #e9ece3);
  box-shadow: 0 8px 24px rgba(39, 48, 36, .06);
}
html[data-page="product"] .product-php-showcase .product-gallery-main > img { transition: transform .45s ease; }
html[data-page="product"] .product-php-showcase .product-gallery-main:hover > img { transform: scale(1.025); }
html[data-page="product"] .product-php-showcase .product-gallery-thumb {
  width: 4.2rem;
  height: 4.2rem;
  border-color: #e6e2d8;
  border-radius: .8rem;
  background: #f7f6f0;
}
html[data-page="product"] .product-php-showcase .product-gallery-thumb.is-active {
  border-color: #376344;
  box-shadow: 0 0 0 3px rgba(55, 99, 68, .12);
}
html[data-page="product"] .product-php-showcase .product-gallery-count { margin-left: .15rem; color: #7b8377; }
html[data-page="product"] .product-php-showcase .product-summary {
  justify-content: flex-start;
  gap: 1rem;
  padding: clamp(.9rem, 2vw, 1.45rem);
  border: 1px solid #ebe7dc;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, .8);
}
html[data-page="product"] .product-php-showcase .product-summary-content { gap: .9rem; }
html[data-page="product"] .product-php-showcase .product-category-label {
  width: fit-content;
  padding: .34rem .62rem;
  border: 1px solid #e4e9df;
  border-radius: 999px;
  color: #426649;
  background: #f2f6ef;
  font-size: .6rem;
  letter-spacing: .085em;
}
html[data-page="product"] .product-php-showcase .product-summary-heading h1 {
  max-width: 15ch;
  margin-top: .15rem;
  color: #24372b;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1.08;
}
html[data-page="product"] .product-php-showcase .product-rating-row { gap: .45rem; color: #737d71; }
html[data-page="product"] .product-php-showcase .product-rating-row strong { color: #334333; }
html[data-page="product"] .product-php-showcase .product-rating-row a { color: #356342; text-underline-offset: 3px; }
html[data-page="product"] .product-php-showcase .product-pricing.product-price-panel {
  padding: 1rem;
  border: 1px solid #e4e9df;
  border-radius: .9rem;
  background: linear-gradient(120deg, #f4f7f0, #fbfaf5);
}
html[data-page="product"] .product-php-showcase .product-price-main { color: #285538; }
html[data-page="product"] .product-php-showcase .product-discount-tag {
  border: 1px solid #f0dfd1;
  border-radius: 999px;
  color: #915b37;
  background: #fbf1e9;
}
html[data-page="product"] .product-php-showcase .product-description { color: #59675b; font-size: .86rem; line-height: 1.7; }
html[data-page="product"] .product-php-showcase .product-status-chip {
  border: 1px solid #e8eae3;
  color: #536054;
  background: #f8f8f4;
  font-size: .68rem;
}
html[data-page="product"] .product-php-showcase .product-status-delivery {
  border-color: #dce8da;
  color: #356644;
  background: #eff5ec;
}
html[data-page="product"] .product-php-showcase .product-status-express {
  border-color: #f0dfc5;
  color: #875b27;
  background: #fbf2e3;
}
html[data-page="product"] .product-php-showcase .product-status-express svg { width: 1.05rem; height: 1.05rem; }
html[data-page="product"] .product-php-showcase .product-purchase-panel {
  gap: .7rem;
  padding-top: 1rem;
  border-color: #e8e7df;
}
html[data-page="product"] .product-php-showcase .product-quantity-control {
  border-color: #e0e5dc;
  border-radius: .75rem;
  background: #fff;
}
html[data-page="product"] .product-php-showcase .product-description-text.is-collapsed {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 10;
  overflow: hidden;
}
html[data-page="product"] .product-php-showcase .product-description-toggle {
  margin-top: .45rem;
  padding: 0;
  border: 0;
  color: #28663a;
  background: transparent;
  font: inherit;
  font-size: .8rem;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}
html[data-page="product"] .product-php-showcase .product-description-toggle:focus-visible {
  outline: 2px solid #28663a;
  outline-offset: 3px;
}
html[data-page="product"] .product-php-showcase .product-description-toggle[hidden] {
  display: none;
}
html[data-page="product"] .product-php-showcase .product-add-button {
  min-height: 3.2rem;
  border-color: #285c38;
  border-radius: .75rem;
  background: linear-gradient(135deg, #337547, #1f5c35);
  box-shadow: 0 7px 16px rgba(38, 89, 52, .16);
}
html[data-page="product"] .product-php-showcase .product-add-button:hover {
  border-color: #174a2b;
  background: #174a2b;
}
html[data-page="product"] .product-php-showcase .product-detail-content .product-buy-now {
  min-height: 2.8rem;
  border: 1px solid #e4d5c5;
  border-radius: .75rem;
  color: #73513a;
  background: #fbf7f0;
}
html[data-page="product"] .product-php-showcase .product-detail-content .product-buy-now:hover {
  border-color: #c9a98c;
  color: #573b28;
  background: #f5ecdf;
}
html[data-page="product"] .product-php-showcase .product-assurances.product-benefits {
  border-top-color: #e9e8df;
}
html[data-page="product"] .product-php-showcase .product-assurances.product-benefits > div {
  min-height: 3.45rem;
  border-bottom-color: #eeede7;
}
html[data-page="product"] .product-reviews-section {
  border-color: #e7e3d9;
  border-radius: 1.25rem;
  background: #fffefa;
  box-shadow: 0 8px 25px rgba(39, 48, 36, .045);
}
html[data-page="product"] .product-reviews-heading h2 { color: #283a2d; font-size: 1.35rem; font-weight: 800; letter-spacing: -.035em; }
html[data-page="product"] .product-review-form-card { border-color: #e8e4d9; border-radius: 1rem; background: #f8f7f1; }
html[data-page="product"] .product-review-card { border-color: #ece9e0; border-radius: .9rem; background: #fff; }
html[data-page="product"] .related-products-section { border-color: #e8e2d7; border-radius: 1.25rem; background: linear-gradient(140deg, #fffefa, #f6f5ed); }
@media (max-width: 700px) {
  html[data-page="product"] .product-showcase.product-detail-shell.product-php-showcase { padding: .75rem; border-radius: 1rem; }
  html[data-page="product"] .product-php-showcase .product-summary { gap: .85rem; padding: .85rem; border-radius: .9rem; }
  html[data-page="product"] .product-php-showcase .product-summary-heading h1 { font-size: clamp(1.65rem, 7vw, 2.15rem); }
}
.product-reviews-grid-no-form { grid-template-columns: minmax(0, 1fr); }
/* Avis produits : sélection claire, note visible et modération explicite. */
.product-review-form-card { min-width: 0; }
.product-review-form label { color: #334a39; font-weight: 700; }
.product-review-form select { color: #a65e12; font-weight: 700; }
.product-review-form .product-review-submit:disabled { opacity: .55; cursor: wait; }
.product-review-moderation { margin: 0; color: #667366; font-size: .72rem; line-height: 1.5; }
.product-review-moderation a { color: #24633d; text-decoration: underline; font-weight: 700; }
.product-review-feedback { margin: 0; padding: .7rem .85rem; border-radius: .6rem; background: #eaf5ec; color: #24633d; font-size: .75rem; line-height: 1.5; }
.product-review-feedback.is-error { background: #fff1ed; color: #9a3e2e; }
.product-review-feedback a { color: inherit; text-decoration: underline; font-weight: 800; }
.product-review-unfilled { color: #b9bdb4; }
.product-review-example {
  padding: 1rem 1.1rem;
  border: 1px dashed #cddbc9;
  border-radius: .85rem;
  background: #f5f8f1;
}
.product-review-example strong { color: #405a42; font-size: .7rem; }
.product-review-example p { margin: .45rem 0 0; color: #536455; font-size: .78rem; line-height: 1.6; }

.product-review-rating { white-space: nowrap; font-size: 1rem; }
.product-reviews-grid { align-items: start; }
@media (max-width: 700px) {
  .product-reviews-grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .product-reviews-heading { align-items: flex-start; flex-wrap: wrap; }
}

