/* Wicked Corporation — readable product card on computers, 11 Nov 2026.
 * Above 900 px the card uses the whole width of the side panel: photo and name on the left,
 * description, size, price and Acheter on the right, as on the phone layout. Cards stack one
 * under the other; "Ajouter un article" follows. Nothing removed.
 */
@media (min-width: 901px) {
  [class*="_list_1neug_"]:has([class*="_card_1214w_"]) { grid-template-columns: minmax(0, 1fr) !important; }
  [class*="_card_1214w_"] {
    display: grid !important;
    grid-template-columns: minmax(0, 44%) minmax(0, 1fr) !important;
    align-items: stretch !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
  }
  [class*="_card_1214w_"] > [class*="_preview_1214w_"] { grid-column: 1 !important; grid-row: 1 !important; width: auto !important; height: auto !important; min-height: 100% !important; }
  [class*="_card_1214w_"] > [class*="_body_1214w_"] { grid-column: 2 !important; grid-row: 1 !important; width: auto !important; min-width: 0 !important; }
  [class*="_card_1214w_"] > [class*="_preview_1214w_"] { min-width: 0 !important; max-width: 100% !important; overflow: hidden !important; }
  [class*="_card_1214w_"] > [class*="_preview_1214w_"] > * { max-width: 100% !important; }
  [class*="_card_1214w_"] [class*="_previewSelect_1214w_"] { width: 100% !important; }
  [class*="_card_1214w_"] [class*="_previewNavigation_1214w_"] { width: auto !important; left: 8px !important; right: 8px !important; }
  [class*="_card_1214w_"] [class*="_previewName_1214w_"] { font-size: 15px !important; letter-spacing: 0 !important; line-height: 1.12 !important; text-wrap: balance; padding-inline: 2px !important; }
  [class*="_card_1214w_"] [class*="_description_1214w_"] { font-size: 15px !important; line-height: 1.4 !important; -webkit-line-clamp: unset !important; max-height: none !important; overflow: visible !important; display: block !important; }
  [class*="_card_1214w_"] [class*="_descriptionBlock_1214w_"] { max-height: none !important; overflow: visible !important; }
}

/* Under Acheter: what the buyer wants to know before paying (computers, roomy cards). */
@media (min-width: 901px) {
  [class*="_card_1214w_"] [class*="_prixBlock_1214w_"] { flex-direction: column !important; align-items: stretch !important; gap: 6px !important; }
  [class*="_card_1214w_"] [class*="_prixBlock_1214w_"]::after {
    content: "Paiement sécurisé · Retour sous 14 jours";
    font-size: 12px; line-height: 1.3; letter-spacing: 0.02em; color: rgba(201, 207, 215, 0.72); text-align: center; text-wrap: balance;
  }
  /* "Ajouter un article": a compact row under the products instead of two tall squares. */
  [class*="_picker_fi5xe_"] :is([class*="_categoryChoice_fi5xe_"], [class*="_choiceShell_fi5xe_"], [class*="_chip_fi5xe_"]) { aspect-ratio: auto !important; min-height: 0 !important; height: auto !important; }
  [class*="_picker_fi5xe_"] [class*="_chip_fi5xe_"] { padding: 12px 10px 54px !important; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; gap: 2px !important; }
  [class*="_picker_fi5xe_"] [class*="_chipPlus_fi5xe_"] { font-size: 34px !important; line-height: 1 !important; height: auto !important; }
  [class*="_picker_fi5xe_"] [class*="_eyewearChipMeta_fi5xe_"] { position: static !important; inset: auto !important; transform: none !important; margin: 0 !important; }
}

/* The LUNETTES and PHOTOS labels follow the photo column's own width, so they never touch. */
@media (min-width: 901px) {
  [class*="_card_1214w_"] > [class*="_preview_1214w_"] { container-type: inline-size; container-name: wc-prev; }
}
@container wc-prev (max-width: 230px) {
  [class*="_card_1214w_"] :is([class*="_previewCategory_1214w_"], [class*="_realPhotoBtn_1214w_"]) { font-size: 10.5px !important; letter-spacing: 0.05em !important; padding-inline: 6px !important; min-width: 0 !important; white-space: nowrap !important; }
}
@media (min-width: 901px) and (max-width: 1199px) {
  [class*="_card_1214w_"] { grid-template-columns: minmax(0, 48%) minmax(0, 1fr) !important; }
}
