/**
 * @file
 * Onglets accordeon fiche produit Philomene.
 * Phase 5.2 : restyle maquette Figma.
 */
.ph-product-tabs {
  border-top: 1px solid var(--ph-color-border);
  margin-top: 24px;
}

.ph-product-tabs .ph-tab {
  border-bottom: 1px solid var(--ph-color-border);
}

.ph-product-tabs .ph-tab-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
}

.ph-product-tabs .ph-tab-header:hover {
  color: var(--ph-color-black);
}

.ph-product-tabs .ph-tab-title {
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  margin: 0;
  color: var(--ph-color-black);
}

.ph-product-tabs .ph-tab-chevron {
  width: 12px;
  height: 12px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 10px;
  color: var(--ph-color-black);
}

.ph-product-tabs .ph-tab-chevron svg {
  display: block;
  width: 100%;
  height: 100%;
}

.ph-product-tabs .ph-tab.ph-tab--open .ph-tab-chevron {
  transform: rotate(180deg);
}

.ph-product-tabs .ph-tab-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0;
}

.ph-product-tabs .ph-tab.ph-tab--open .ph-tab-content {
  max-height: 800px;
  padding-bottom: 16px;
}

.ph-product-tabs .ph-tab-content p {
  font-size: var(--t-sm);
  line-height: 1.7;
  color: var(--mt-body-color);
  margin: 0 0 8px 0;
}

.ph-product-tabs .ph-tab-content p:last-child {
  margin-bottom: 0;
}

.ph-product-tabs .ph-tab-content ul {
  padding-left: 18px;
  margin: 0;
}

.ph-product-tabs .ph-tab-content li {
  font-size: var(--t-sm);
  line-height: 1.7;
  color: var(--mt-body-color);
  margin-bottom: 2px;
}

.ph-product-tabs .ph-tab-content .field {
  margin-bottom: 10px;
}

.ph-product-tabs .ph-tab-content .field__label {
  font-size: var(--t-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mt-body-color);
  margin-bottom: 4px;
}