.page-produit {
  color: #323232;
}
.pp-total-ht,
.pp-prix-ht {
  strong {
    color: #fd5e0f;
  }
}
.pp-title {
  font-size: 28px;
  color: #1f246b;
  margin-right: 5px;
}

.ref {
  text-transform: uppercase;
  font-size: 14px;
}

.pp-qte-hint {
  margin: 2px 0;
  font-size: 13px;
  text-align: right;
}

.pp-stock {
  margin: 8px 0;
  text-align: right;
}
.pp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}
.pp-badge--ok {
  font-size: 13px;
  font-weight: 500;
  padding: 0;
}
.pp-badge--ko {
  font-size: 13px;
  font-weight: 500;
  padding: 0;
  color: #991b1b;
}

.pp-custom-title {
  color: #323232;
  font-weight: 500;
}

.pp-tiers {
  margin-bottom: 1.25rem;
}

.pp-block-title {
  font-size: 16px;
  width: 110px;
  flex-shrink: 0;
  margin-right: 5px;
}

.select--single-option {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: none;
  pointer-events: none;
}

.label-variation {
  padding: 0.5rem 1rem 0.5rem 0rem;
  margin-bottom: 0;
  border-bottom: 1px solid #e4e4e4;
  background-color: rgba(0, 0, 0, 0);
  font-size: 17px;
  color: #1f246b;
}

.pp-tabs-wrap {
  box-shadow: 0 2px 6px 0 #d4d4d4;
  margin: 30px 0px;
  background: white;
  color: #323232;
  font-size: 14px;
}

.pp-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.25rem;
  border-bottom: 2px solid #e5e7eb;
  overflow-x: auto;
  scrollbar-width: none;
}

.pp-tabs::-webkit-scrollbar {
  display: none;
}

.pp-tab {
  background: none;
  border: none;
  padding: 0.6rem 1.1rem;
  font-size: 16px;
  color: #444;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  text-align: center;
  transition:
    color 0.15s,
    border-color 0.15s;
  width: 100%;
}

.pp-tab.is-active,
.pp-tab:hover {
  color: #444;
  border-bottom: 3px solid #1f246b;
  font-weight: bold;
}

.pp-tab-panel {
  display: none;
  padding: 40px;
  color: #1f246b;
}

.pp-tab-panel.is-active {
  display: block;
}

.pp-prose {
  line-height: 1.75;
  color: #323232;
}

.pp-carbon-footprint {
  margin-top: 1rem;
  color: #2e7d32;
  font-weight: 600;
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.pp-thumb img {
  border-radius: 0;
}

.table {
  width: 100%;
  margin-bottom: 1rem;
  color: #323232;
  vertical-align: top;
  border-color: #dee2e6;
  border-collapse: collapse;
}

.table > :not(caption) > * > * {
  padding: 0.5rem 0.5rem;
  border-bottom: 1px solid #dee2e6;
}

.table > thead {
  vertical-align: bottom;
  border-bottom: 2px solid #dee2e6;
}

.table > thead th {
  font-weight: 600;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
  background-color: rgba(0, 0, 0, 0.03);
}

.table-bordered > :not(caption) > * {
  border-width: 1px 0;
}

.table-bordered > :not(caption) > * > * {
  border-width: 0 1px;
  border-color: #dee2e6;
}

/* Impression de la fiche produit : seuls le logo, les coordonnées et la fiche sont imprimés. */
.pp-print-logo {
  max-width: 180px;
}
/* Marge de page nulle : le navigateur n'imprime plus sa propre ligne (date et titre) en haut de la feuille. */
@page {
  size: auto;
  margin: 0;
}
@media print {
  .page-produit {
    padding: 15mm;
  }
  .pp-tabs-wrap {
    margin: 0;
    box-shadow: none;
  }
  .pp-panel-title {
    width: fit-content;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 4px solid #1f246b;
    font-size: 17px;
    color: #444;
  }
  .announcement-bar,
  header,
  footer,
  .breadcrumb,
  .skip-link,
  .cookie-banner,
  .cookie-banner-modal,
  .cookie-banner-reopen,
  .pp-thumbs,
  .pp-atc-zone,
  .pp-tabs {
    display: none;
  }
  .pp-tab-panel {
    display: block;
    padding: 20px 0;
    page-break-inside: avoid;
  }
}
