/* =====================================================================
   Catalogue : cartes produit, visuel de remplacement, aperçu rapide,
   fiche produit native, icônes du menu (refonte du 01/12/2026).

   Chargée sur toutes les pages, en dernier (priorité 900, aromex.php),
   pour passer devant aromex-products.css sans toucher à ses 4 600 lignes.
   Sélecteurs volontairement précis (.products-grid.pc-grid .product-card.pc)
   pour ne viser que la nouvelle carte : « Mes produits », favoris et
   compte client gardent leur affichage.
   ===================================================================== */

:root {
  --pc-ink: #111418;
  --pc-ink-2: #4b5563;
  --pc-ink-3: #6b7280;
  --pc-line: #e5e7eb;
  --pc-line-2: #eef0f3;
  --pc-surface: #ffffff;
  --pc-media: #f4f5f7;
  --pc-chip: #f1f3f6;
  --pc-accent: var(--aromex-blue-hover, #6fcff4);
  --pc-radius: 12px;
}

/* ---------- Mise en page de la liste ---------- */
.aromex-products-page .products-main-content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 32px;
  box-sizing: border-box;
}
/* Visiteur non connecté : pas de panier à afficher, la grille prend toute la largeur. */
.aromex-products-page.is-guest .products-sidebar {
  display: none;
}
@media (max-width: 768px) {
  .aromex-products-page .products-main-content {
    padding: 0 16px;
  }
  .aromex-products-page .products-content {
    padding: 0;
  }
}

/* ---------- Grille ---------- */
.products-grid.pc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  padding: 4px 0 8px;
}
.products-grid.pc-grid > .no-products-message,
.products-grid.pc-grid > .products-section-toggle {
  grid-column: 1 / -1;
}

/* ---------- Carte ---------- */
.products-grid.pc-grid .product-card.pc {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
  background: var(--pc-surface);
  color: var(--pc-ink);
  border: 1px solid var(--pc-line);
  border-radius: var(--pc-radius);
  overflow: hidden;
  text-align: left;
  box-shadow: none;
  transform: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.products-grid.pc-grid .product-card.pc:hover {
  background: var(--pc-surface);
  border-color: #d3d7dd;
  box-shadow: 0 10px 28px rgba(17, 20, 24, 0.08);
  transform: translateY(-2px);
}
.products-grid.pc-grid .product-card.pc.filtered-out,
.products-grid.pc-grid .product-card.pc[style*="display: none"] {
  display: none;
}

/* Image */
.products-grid.pc-grid .pc .pc-media {
  position: relative;
  background: var(--pc-media);
}
.products-grid.pc-grid .pc .product-image.pc-media__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  padding: 18px;
  box-sizing: border-box;
  background: transparent;
  text-decoration: none;
}
.products-grid.pc-grid .pc .product-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  /* les photos du BO ont un fond blanc : il se fond dans le gris du cadre */
  mix-blend-mode: multiply;
  transition: transform 0.3s ease;
}
.products-grid.pc-grid .pc:hover .product-image img {
  transform: scale(1.03);
}
.products-grid.pc-grid .pc .wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--pc-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--pc-ink-3);
  cursor: pointer;
  z-index: 2;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.products-grid.pc-grid .pc .wishlist-btn:hover,
.products-grid.pc-grid .pc .wishlist-btn.active {
  color: #d23b5b;
  border-color: #f1c6cf;
}

/* Texte */
.products-grid.pc-grid .pc .product-info.pc-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  flex-wrap: nowrap;
  min-height: 0;
  min-width: 0;
  padding: 16px 16px 18px;
}
.products-grid.pc-grid .pc .product-main-info {
  flex: 0 0 auto;
  min-width: 0;
}
.products-grid.pc-grid .pc .pc-brand {
  margin: 0 0 4px;
  font-family: var(--aromex-font-family-primary);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pc-ink-3);
}
.products-grid.pc-grid .pc .product-name.pc-title {
  margin: 0 0 10px;
  font-family: var(--aromex-font-family-primary);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  text-align: left;
  color: var(--pc-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.products-grid.pc-grid .pc .pc-title a {
  color: inherit;
  text-decoration: none;
}
.products-grid.pc-grid .pc .pc-title a:hover,
.products-grid.pc-grid .pc .pc-title a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.products-grid.pc-grid .pc .pc-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}
.products-grid.pc-grid .pc .pc-facts li {
  margin: 0;
  padding: 3px 9px;
  font-family: var(--aromex-font-family-primary);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  color: #374151;
  background: var(--pc-chip);
  border-radius: 999px;
  white-space: nowrap;
}
.products-grid.pc-grid .pc .product-description.pc-desc {
  margin: 0 0 12px;
  font-family: var(--aromex-font-family-primary);
  font-size: 13px;
  line-height: 1.5;
  color: var(--pc-ink-2);
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.products-grid.pc-grid .pc .pc-desc:empty {
  display: none;
}
.products-grid.pc-grid .pc .pc-desc p {
  margin: 0;
}

/* Déclinaisons */
.products-grid.pc-grid .pc .product-variants.pc-variants {
  display: block;
  margin: 0 0 12px;
}
.products-grid.pc-grid .pc .pc-variants label {
  display: block;
  margin: 0 0 6px;
  font-family: var(--aromex-font-family-primary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pc-ink-3);
}
.products-grid.pc-grid .pc .variants-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  width: auto;
}
.products-grid.pc-grid .pc .variant-btn {
  min-width: 0;
  padding: 5px 10px;
  font-family: var(--aromex-font-family-primary);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--pc-ink);
  background: #fff;
  border: 1px solid #cfd4db;
  border-radius: 6px;
  box-shadow: none;
  cursor: pointer;
}
.products-grid.pc-grid .pc .variant-btn:hover {
  border-color: var(--pc-ink);
  background: #fff;
  color: var(--pc-ink);
}
.products-grid.pc-grid .pc .variant-btn.active {
  background: var(--pc-ink);
  border-color: var(--pc-ink);
  color: #fff;
}

/* Conditionnement */
.products-grid.pc-grid .pc .product-details.pc-details {
  display: flex;
  min-width: 0;
  margin: 0 0 12px;
}
.products-grid.pc-grid .pc .product-details.pc-details[hidden] {
  display: none;
}
.products-grid.pc-grid .pc .pc-pack {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--pc-ink-2);
}
.products-grid.pc-grid .pc .pc-pack span {
  font-weight: 700;
  color: var(--pc-ink);
}

/* Actions */
.products-grid.pc-grid .pc .product-actions.pc-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--pc-line-2);
  flex-basis: auto;
  min-width: 0;
  z-index: auto;
}
.products-grid.pc-grid .pc a.btn-login-to-buy {
  margin: 0;
  width: 100%;
  padding: 12px 10px !important;
  font-size: 13px !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  line-height: 1.3;
  border-radius: 8px !important;
  white-space: normal;
}
.products-grid.pc-grid .pc .pc-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--aromex-font-family-primary);
  font-size: 13px;
  font-weight: 600;
  color: var(--pc-ink);
  text-decoration: none;
}
.products-grid.pc-grid .pc .pc-more::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 1.6px solid currentColor;
  border-right: 1.6px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.products-grid.pc-grid .pc .pc-more:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.products-grid.pc-grid .pc .pc-more:hover::after {
  transform: translateX(2px) rotate(45deg);
}
.pc-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Client connecté : prix, quantité, ajout */
.products-grid.pc-grid .pc .product-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 4px;
  min-width: 0;
  text-align: left;
  font-size: 20px;
  font-weight: 700;
  color: var(--pc-ink);
}
.products-grid.pc-grid .pc .product-price .currency {
  font-size: 22px;
}
.products-grid.pc-grid .pc .product-price .unit {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--pc-ink-3);
}
.products-grid.pc-grid .pc .product-price-ttc {
  flex-basis: 100%;
  margin: 0;
  font-size: 12px;
  text-align: left;
  color: var(--pc-ink-3);
}
.products-grid.pc-grid .pc .pc-buy {
  display: flex;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
}
.products-grid.pc-grid .pc .quantity-selector {
  flex: 0 0 auto;
  border: 1px solid #cfd4db;
  border-radius: 8px;
}
.products-grid.pc-grid .pc .qty-btn {
  padding: 0 10px;
  min-height: 40px;
  background: #fff;
  font-size: 16px;
}
.products-grid.pc-grid .pc .qty-btn:hover {
  background: var(--pc-chip);
}
.products-grid.pc-grid .pc .qty-input {
  width: 40px;
  padding: 0;
  font-size: 14px;
  -moz-appearance: textfield;
}
.products-grid.pc-grid .pc .qty-input::-webkit-outer-spin-button,
.products-grid.pc-grid .pc .qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.products-grid.pc-grid .pc .btn-add-cart {
  flex: 1 1 auto;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  min-height: 42px;
  background: var(--pc-ink);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.products-grid.pc-grid .pc .btn-add-cart:hover {
  background: #2b2f36;
  transform: none;
}
.products-grid.pc-grid .pc .btn-add-cart:active {
  background: var(--pc-accent);
  color: var(--pc-ink);
}
.products-grid.pc-grid .pc .btn-add-cart-icon,
.products-grid.pc-grid .product-card.pc:nth-child(even) .btn-add-cart-icon {
  position: static;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: inherit;
}
.products-grid.pc-grid .pc .btn-add-cart-text,
.products-grid.pc-grid .product-card.pc:nth-child(even) .btn-add-cart-text {
  padding: 0;
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Téléphone : deux colonnes compactes ---------- */
@media (max-width: 600px) {
  .products-grid.pc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .products-grid.pc-grid .pc .product-image.pc-media__link {
    padding: 12px;
  }
  .products-grid.pc-grid .pc .wishlist-btn {
    top: 6px;
    right: 6px;
    width: 30px;
    height: 30px;
  }
  .products-grid.pc-grid .pc .product-info.pc-body {
    padding: 12px 12px 14px;
  }
  .products-grid.pc-grid .pc .pc-brand {
    font-size: 10px;
  }
  .products-grid.pc-grid .pc .product-name.pc-title {
    font-size: 14px;
    margin-bottom: 8px;
  }
  .products-grid.pc-grid .pc .pc-facts li {
    font-size: 11px;
    padding: 2px 7px;
  }
  .products-grid.pc-grid .pc .product-description.pc-desc {
    font-size: 12px;
    -webkit-line-clamp: 2;
  }
  .products-grid.pc-grid .pc a.btn-login-to-buy {
    padding: 10px 6px !important;
    font-size: 12px !important;
  }
  .products-grid.pc-grid .pc .pc-buy {
    flex-direction: column;
  }
  .products-grid.pc-grid .pc .quantity-selector {
    justify-content: space-between;
  }
  .products-grid.pc-grid .pc .qty-input {
    flex: 1;
  }
}

/* =====================================================================
   Visuel de remplacement (produit sans photo)
   ===================================================================== */
.aromex-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 100%;
  min-height: 140px;
  box-sizing: border-box;
  padding: 12px;
  color: #8a94a3;
  text-align: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.9) 0, rgba(255, 255, 255, 0) 62%),
    linear-gradient(160deg, #eef1f5 0%, #e4e8ee 100%);
  border-radius: 8px;
}
.aromex-ph__icon {
  width: 42%;
  max-width: 120px;
  height: auto;
  margin-bottom: 6px;
}
.aromex-ph__brand {
  font-family: var(--aromex-font-family-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4b5563;
}
.aromex-ph__label {
  font-family: var(--aromex-font-family-primary);
  font-size: 11px;
  font-weight: 500;
  color: #6b7280;
}
.aromex-ph--puff { color: #9aa3b0; }
.products-grid.pc-grid .pc .pc-media__link .aromex-ph {
  /* le cadre a déjà son padding ; le visuel occupe tout le carré */
  margin: -18px;
  width: calc(100% + 36px);
  height: calc(100% + 36px);
  border-radius: 0;
}
@media (max-width: 600px) {
  .products-grid.pc-grid .pc .pc-media__link .aromex-ph {
    margin: -12px;
    width: calc(100% + 24px);
    height: calc(100% + 24px);
  }
  .aromex-ph__brand { font-size: 10px; }
  .aromex-ph__label { font-size: 10px; }
}

/* =====================================================================
   Aperçu rapide (modale)
   ===================================================================== */
.product-modal .modal-product-image .aromex-ph {
  min-height: 320px;
}
.product-modal .modal-product-image .aromex-ph__icon {
  width: 30%;
}
.product-modal a.modal-product-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 12px 18px;
  font-family: var(--aromex-font-family-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pc-ink);
  border: 1.5px solid var(--pc-ink);
  border-radius: 8px;
  text-decoration: none;
  align-self: flex-start;
}
.product-modal a.modal-product-link[hidden] {
  display: none;
}
.product-modal a.modal-product-link:hover {
  background: var(--pc-ink);
  color: #fff;
}

/* Visiteur : pas de bouton panier flottant (il ne peut rien ajouter) */
.aromex-products-page.is-guest .floating-cart-btn,
.aromex-products-page.is-guest .mobile-cart-container {
  display: none !important;
}

/* =====================================================================
   Fiche produit native (themes/aromex/templates/catalog/product.tpl)
   ===================================================================== */
.apd {
  max-width: 1120px;
  margin: 0 auto;
  /* l'en-tête du site est fixe (80 px) : la page démarre en dessous */
  padding: 104px 24px 64px;
  box-sizing: border-box;
  font-family: var(--aromex-font-family-primary);
  color: var(--pc-ink);
}
.apd-trail ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--pc-ink-3);
}
.apd-trail li + li::before {
  content: "/";
  margin: 0 8px;
  color: #c3c8cf;
}
.apd-trail a {
  color: var(--pc-ink-2);
  text-decoration: none;
}
.apd-trail a:hover {
  text-decoration: underline;
}
.apd-main {
  display: grid;
  grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.apd-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: 28px;
  box-sizing: border-box;
  background: var(--pc-media);
  border-radius: 14px;
  overflow: hidden;
}
.apd-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.apd-photo .aromex-ph {
  margin: -28px;
  width: calc(100% + 56px);
  height: calc(100% + 56px);
  border-radius: 0;
}
.apd-photo .aromex-ph__icon {
  width: 30%;
}
.apd-photo .aromex-ph__brand {
  font-size: 15px;
}
.apd-photo .aromex-ph__label {
  font-size: 13px;
}
.apd-thumbs {
  display: flex;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.apd-thumb {
  width: 72px;
  height: 72px;
  padding: 6px;
  background: var(--pc-media);
  border: 1.5px solid transparent;
  border-radius: 10px;
  cursor: pointer;
}
.apd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.apd-thumb.is-active,
.apd-thumb:hover {
  border-color: var(--pc-ink);
}
.apd-info {
  padding-top: 4px;
}
.apd-brand {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pc-ink-3);
}
.apd-brand a {
  color: inherit;
  text-decoration: none;
}
.apd-brand a:hover {
  color: var(--pc-ink);
}
.apd .apd-title {
  margin: 0 0 16px;
  font-family: var(--aromex-font-family-primary);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--pc-ink);
}
.apd-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.apd-facts li {
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  background: var(--pc-chip);
  border-radius: 999px;
}
.apd-text {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--pc-ink-2);
}
.apd-label {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pc-ink-3);
}
.apd-levels {
  margin: 0 0 28px;
}
.apd-levels ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.apd-levels li {
  padding: 7px 14px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid #cfd4db;
  border-radius: 8px;
}
.apd-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 12px;
}
.apd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.apd-btn--primary {
  background: var(--pc-ink);
  color: #fff;
}
.apd-btn--primary:hover {
  background: #2b2f36;
  color: #fff;
}
.apd-btn--ghost {
  border: 1.5px solid var(--pc-ink);
  color: var(--pc-ink);
}
.apd-btn--ghost:hover {
  background: var(--pc-ink);
  color: #fff;
}
.apd-note {
  margin: 0 0 28px;
  font-size: 13px;
  color: var(--pc-ink-3);
}
.apd-specs {
  margin: 0;
  border-top: 1px solid var(--pc-line);
}
.apd-specs > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--pc-line);
  font-size: 14px;
}
.apd-specs dt {
  font-weight: 500;
  color: var(--pc-ink-3);
}
.apd-specs dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}
.apd-more {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--pc-line);
}
.apd-more a {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--pc-ink);
  background: var(--pc-chip);
  border-radius: 999px;
  text-decoration: none;
}
.apd-more a:hover {
  background: #e4e8ee;
}
@media (max-width: 860px) {
  .apd {
    padding: 92px 16px 48px;
  }
  .apd-photo {
    max-width: 360px;
    width: 100%;
    margin: 0 auto;
  }
  .apd-thumbs {
    justify-content: center;
  }
  .apd .apd-title {
    font-size: 22px;
  }
  .apd-main {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .apd-photo {
    padding: 20px;
  }
  .apd-photo .aromex-ph {
    margin: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
  }
  .apd-btn {
    flex: 1 1 100%;
  }
}

/* Aperçu rapide : photo fondue dans le cadre */
.product-modal .modal-product-image img {
  mix-blend-mode: multiply;
  background: transparent;
}

/* =====================================================================
   Icônes du menu (_partials/menu-icon.tpl) : jeu unique au trait
   ===================================================================== */
.saveur-icon .aromex-mi,
.contenance-icon .aromex-mi,
.diy-icon .aromex-mi {
  display: block;
  width: 28px;
  height: 28px;
  flex: none;
  color: #1f2937;
  transition: color 0.2s ease, transform 0.2s ease;
}
.diy-icon .aromex-mi {
  width: 34px;
  height: 34px;
}
.contenance-icon .aromex-mi {
  width: 32px;
  height: 32px;
}
.saveur-item:hover .aromex-mi,
.contenance-item:hover .aromex-mi,
.diy-item:hover .aromex-mi {
  color: inherit;
  transform: translateY(-1px);
}

/* =====================================================================
   Liste horizontale, une carte par ligne (choix du 01/12/2026, remplace la grille).
   Photo à gauche, marque, nom, pastilles et description au centre, action à droite.
   Hauteur régulière : photo de taille fixe, titre sur une ligne, description sur deux.
   ===================================================================== */
.products-grid.pc-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.products-grid.pc-grid .product-card.pc {
  flex-direction: row;
  align-items: stretch;
  min-height: 168px;
}
.products-grid.pc-grid .product-card.pc:hover {
  transform: none;
  box-shadow: 0 6px 20px rgba(17, 20, 24, 0.06);
}
.products-grid.pc-grid .pc .pc-media {
  flex: 0 0 168px;
  width: 168px;
  border-right: 1px solid var(--pc-line-2);
}
.products-grid.pc-grid .pc .product-image.pc-media__link {
  height: 100%;
  min-height: 168px;
  aspect-ratio: auto;
  padding: 14px;
}
.products-grid.pc-grid .pc .pc-media__link .aromex-ph {
  margin: -14px;
  width: calc(100% + 28px);
  height: calc(100% + 28px);
  min-height: 168px;
  gap: 4px;
  padding: 10px;
}
.products-grid.pc-grid .pc .pc-media__link .aromex-ph__icon {
  width: 38%;
  margin-bottom: 4px;
}
.products-grid.pc-grid .pc .pc-media__link .aromex-ph__brand {
  font-size: 10px;
  letter-spacing: 0.12em;
}
.products-grid.pc-grid .pc .pc-media__link .aromex-ph__label {
  display: none;
}
.products-grid.pc-grid .pc .wishlist-btn {
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
}
.products-grid.pc-grid .pc .product-info.pc-body {
  flex-direction: row;
  align-items: center;
  gap: 24px;
  padding: 16px 20px 16px 22px;
}
.products-grid.pc-grid .pc .product-main-info {
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 18px;
}
.products-grid.pc-grid .pc .product-main-info > * {
  flex: 0 0 100%;
  min-width: 0;
}
/* taux et conditionnement sur une même ligne, pour garder une hauteur régulière */
.products-grid.pc-grid .pc .product-main-info > .pc-variants,
.products-grid.pc-grid .pc .product-main-info > .pc-details {
  flex: 0 1 auto;
}
.products-grid.pc-grid .pc .pc-variants .variants-options {
  justify-content: flex-start;
}
.products-grid.pc-grid .pc .product-name.pc-title {
  margin-bottom: 8px;
  font-size: 17px;
  -webkit-line-clamp: 1;
}
.products-grid.pc-grid .pc .pc-facts {
  margin-bottom: 8px;
}
.products-grid.pc-grid .pc .product-description.pc-desc {
  margin-bottom: 0;
  max-width: 72ch;
  -webkit-line-clamp: 2;
}
.products-grid.pc-grid .pc .product-variants.pc-variants {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 10px 0 0;
}
.products-grid.pc-grid .pc .pc-variants label {
  margin: 0;
}
.products-grid.pc-grid .pc .product-details.pc-details {
  margin: 10px 0 0;
}
.products-grid.pc-grid .pc .product-actions.pc-actions {
  flex: 0 0 236px;
  align-self: stretch;
  justify-content: center;
  margin: 0;
  padding: 0 0 0 24px;
  border-top: 0;
  border-left: 1px solid var(--pc-line-2);
}

/* Tablette : action plus étroite */
@media (max-width: 1024px) {
  .products-grid.pc-grid .pc .product-actions.pc-actions {
    flex-basis: 200px;
    padding-left: 18px;
  }
  .products-grid.pc-grid .pc .product-info.pc-body {
    gap: 18px;
  }
}

/* Téléphone : photo à gauche, texte à droite, action sur toute la largeur en dessous */
@media (max-width: 680px) {
  .products-grid.pc-grid {
    gap: 10px;
  }
  .products-grid.pc-grid .product-card.pc {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    min-height: 0;
  }
  .products-grid.pc-grid .pc .pc-media {
    width: auto;
    grid-row: 1;
    border-right: 1px solid var(--pc-line-2);
  }
  .products-grid.pc-grid .pc .product-image.pc-media__link {
    min-height: 120px;
    padding: 8px;
  }
  .products-grid.pc-grid .pc .pc-media__link .aromex-ph {
    margin: -8px;
    width: calc(100% + 16px);
    height: calc(100% + 16px);
    min-height: 120px;
  }
  .products-grid.pc-grid .pc .pc-media__link .aromex-ph__icon {
    width: 46%;
  }
  .products-grid.pc-grid .pc .pc-media__link .aromex-ph__brand {
    font-size: 8px;
  }
  .products-grid.pc-grid .pc .wishlist-btn {
    top: 4px;
    right: 4px;
    width: 26px;
    height: 26px;
  }
  .products-grid.pc-grid .pc .wishlist-btn svg {
    width: 14px;
    height: 14px;
  }
  /* le corps se dissout dans la grille de la carte : texte à droite, action dessous */
  .products-grid.pc-grid .pc .product-info.pc-body {
    display: contents;
  }
  .products-grid.pc-grid .pc .product-main-info {
    grid-column: 2;
    grid-row: 1;
    padding: 10px 12px;
  }
  .products-grid.pc-grid .pc .pc-brand {
    font-size: 10px;
    margin-bottom: 2px;
  }
  .products-grid.pc-grid .pc .product-name.pc-title {
    font-size: 15px;
    margin-bottom: 6px;
    -webkit-line-clamp: 2;
  }
  .products-grid.pc-grid .pc .pc-facts {
    gap: 4px;
    margin-bottom: 6px;
  }
  .products-grid.pc-grid .pc .pc-facts li {
    font-size: 11px;
    padding: 1px 7px;
  }
  .products-grid.pc-grid .pc .product-description.pc-desc {
    font-size: 12px;
    -webkit-line-clamp: 2;
  }
  .products-grid.pc-grid .pc .product-variants.pc-variants {
    margin-top: 6px;
  }
  .products-grid.pc-grid .pc .variant-btn {
    padding: 4px 8px;
    font-size: 11px;
  }
  .products-grid.pc-grid .pc .product-actions.pc-actions {
    grid-column: 1 / -1;
    grid-row: 2;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-left: 0;
    border-top: 1px solid var(--pc-line-2);
  }
  .products-grid.pc-grid .pc a.btn-login-to-buy {
    flex: 1 1 auto;
    width: auto;
    padding: 10px 8px !important;
    font-size: 13px !important;
  }
  .products-grid.pc-grid .pc .pc-more {
    flex: 0 0 auto;
  }
  /* connecté : prix à gauche, achat à droite */
  .products-grid.pc-grid .pc .product-price {
    flex: 0 0 auto;
    font-size: 17px;
  }
  .products-grid.pc-grid .pc .product-price .currency {
    font-size: 18px;
  }
  /* connecté : prix et lien sur une ligne, quantité et ajout sur la suivante */
  .products-grid.pc-grid .pc .product-price {
    order: 1;
    flex: 1 1 auto;
    width: auto;
    margin: 0;
    justify-content: flex-start;
  }
  .products-grid.pc-grid .pc .pc-more {
    order: 2;
  }
  .products-grid.pc-grid .pc .pc-buy {
    order: 3;
    flex: 0 0 100%;
    flex-direction: row;
  }
  .products-grid.pc-grid .pc .product-actions.pc-actions {
    flex-wrap: wrap;
  }
  .products-grid.pc-grid .pc .product-main-info > .pc-variants {
    flex-basis: 100%;
  }
}

/* =====================================================================
   Fiche par parfum (SEO lot 4, views/templates/front/fiche.tpl)
   Depuis le 01/12/2026 (soir) la page reprend le gabarit de la fiche native :
   conteneur .apd, fil d'Ariane, photo, marque, pastilles, boutons. Ne restent
   ici que le tableau des formats et la description, propres à cette page.
   ===================================================================== */
.aromex-fiche-formats {
  width: 100%;
  margin: 0 0 24px;
  border-collapse: collapse;
  font-size: 14px;
}
.aromex-fiche-formats th,
.aromex-fiche-formats td {
  padding: 10px 8px 10px 0;
  text-align: left;
  border-bottom: 1px solid var(--pc-line);
  vertical-align: top;
}
.aromex-fiche-formats th {
  font-weight: 500;
  color: var(--pc-ink-3);
}
.aromex-fiche-formats td {
  font-weight: 600;
}
.aromex-fiche-formats a {
  color: var(--pc-ink);
}
.aromex-fiche-description {
  max-width: 760px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--pc-line);
  font-size: 15px;
  line-height: 1.65;
  color: var(--pc-ink-2);
}
.aromex-fiche-description h2 {
  margin: 0 0 10px;
  font-family: var(--aromex-font-family-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pc-ink-3);
}
.aromex-fiche-description p {
  margin: 0 0 14px;
}
@media (max-width: 860px) {
  .aromex-fiche-formats th:nth-child(3),
  .aromex-fiche-formats td:nth-child(3) {
    display: none;
  }
}

/* Liste vide (01/12/2026) : message et liens utiles au lieu du bloc gris */
.products-grid.pc-grid > .no-products-message.pc-empty {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 8px 0 24px;
  padding: 32px 28px;
  background: var(--pc-surface);
  border: 1px solid var(--pc-line);
  border-radius: var(--pc-radius);
  text-align: left;
  box-shadow: none;
}
.pc-empty .pc-empty__title {
  margin: 0 0 6px;
  font-family: var(--aromex-font-family-primary);
  font-size: 18px;
  font-weight: 700;
  color: var(--pc-ink);
}
.pc-empty .pc-empty__text {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--pc-ink-2);
}
.pc-empty .pc-empty__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pc-empty .pc-empty__links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  font-family: var(--aromex-font-family-primary);
  font-size: 14px;
  font-weight: 600;
  color: var(--pc-ink);
  background: var(--pc-chip);
  border-radius: 999px;
  text-decoration: none;
}
.pc-empty .pc-empty__links a:hover {
  background: #e4e8ee;
}
.pc-empty .pc-empty__links a.is-primary {
  background: var(--pc-ink);
  color: #fff;
}
.pc-empty .pc-empty__links a.is-primary:hover {
  background: #2b2f36;
}
@media (max-width: 600px) {
  .products-grid.pc-grid > .no-products-message.pc-empty {
    padding: 22px 18px;
  }
}
