/* ---------- Couche d'état Material 3 (survol, focus, pression) ---------- */
.ca-btn,.ca-nav__item,.ca-chip--option,.ca-chip button,.ptabs__tab,.ptabs__accbtn,.ptabs__menu button,.ptabs__anchor,.ptabs__more>button,.ca-mega__link,.ca-lang__opt,.ca-pager__p,.ca-faq summary,.ca-fgroup>summary,.ca-toc a,.ca-mnav__link,.ca-viewtoggle button,.ca-season__close,.ca-offers__alt-item,.ca-switch__hit{position:relative;isolation:isolate}
.ca-btn::after,.ca-nav__item::after,.ca-chip--option::after,.ca-chip button::after,.ptabs__tab::after,.ptabs__accbtn::after,.ptabs__menu button::after,.ptabs__anchor::after,.ptabs__more>button::after,.ca-mega__link::after,.ca-lang__opt::after,.ca-pager__p::after,.ca-faq summary::after,.ca-fgroup>summary::after,.ca-toc a::after,.ca-mnav__link::after,.ca-viewtoggle button::after,.ca-season__close::after,.ca-offers__alt-item::after,.ca-switch__hit::after{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:currentColor;opacity:0;pointer-events:none;transition:opacity var(--wp--custom--motion--short) linear}
.ca-btn:hover::after,.ca-nav__item:hover::after,.ca-chip--option:hover::after,.ca-chip button:hover::after,.ptabs__tab:hover::after,.ptabs__accbtn:hover::after,.ptabs__menu button:hover::after,.ptabs__anchor:hover::after,.ptabs__more>button:hover::after,.ca-mega__link:hover::after,.ca-lang__opt:hover::after,.ca-pager__p:hover::after,.ca-faq summary:hover::after,.ca-fgroup>summary:hover::after,.ca-toc a:hover::after,.ca-mnav__link:hover::after,.ca-viewtoggle button:hover::after,.ca-season__close:hover::after,.ca-offers__alt-item:hover::after,.ca-switch__hit:hover::after{opacity:var(--wp--custom--state--hover)}
.ca-btn:focus-visible::after,.ca-nav__item:focus-visible::after,.ca-chip--option:focus-visible::after,.ca-chip button:focus-visible::after,.ptabs__tab:focus-visible::after,.ptabs__accbtn:focus-visible::after,.ptabs__menu button:focus-visible::after,.ptabs__anchor:focus-visible::after,.ptabs__more>button:focus-visible::after,.ca-mega__link:focus-visible::after,.ca-lang__opt:focus-visible::after,.ca-pager__p:focus-visible::after,.ca-faq summary:focus-visible::after,.ca-fgroup>summary:focus-visible::after,.ca-toc a:focus-visible::after,.ca-mnav__link:focus-visible::after,.ca-viewtoggle button:focus-visible::after,.ca-season__close:focus-visible::after,.ca-offers__alt-item:focus-visible::after,.ca-switch__hit:focus-visible::after{opacity:var(--wp--custom--state--focus)}
.ca-btn:active::after,.ca-nav__item:active::after,.ca-chip--option:active::after,.ca-chip button:active::after,.ptabs__tab:active::after,.ptabs__accbtn:active::after,.ptabs__menu button:active::after,.ptabs__anchor:active::after,.ptabs__more>button:active::after,.ca-mega__link:active::after,.ca-lang__opt:active::after,.ca-pager__p:active::after,.ca-faq summary:active::after,.ca-fgroup>summary:active::after,.ca-toc a:active::after,.ca-mnav__link:active::after,.ca-viewtoggle button:active::after,.ca-season__close:active::after,.ca-offers__alt-item:active::after,.ca-switch__hit:active::after{opacity:var(--wp--custom--state--pressed)}
/* ---------- Icône ---------- */
.ca-icon{width:1.5em;height:1.5em;max-width:24px;max-height:24px;flex:none;fill:currentColor;vertical-align:-.3em}
/* ---------- Boutons (communs : pleine largeur arrondie) ---------- */
.ca-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:44px;padding:.5rem 1.5rem;border:0;border-radius:var(--wp--custom--shape--full);font-family:var(--wp--preset--font-family--plain);font-size:var(--wp--preset--font-size--label-large);font-weight:500;letter-spacing:.01em;line-height:1.25;text-align:center;text-decoration:none;cursor:pointer;background:transparent;color:var(--wp--preset--color--primary);transition:box-shadow var(--wp--custom--motion--medium) var(--wp--custom--motion--standard),background-color var(--wp--custom--motion--medium) var(--wp--custom--motion--standard)}
.ca-btn:hover{text-decoration:none}
.ca-btn:focus-visible{outline:3px solid var(--wp--preset--color--focus);outline-offset:2px}
.ca-btn .ca-icon{width:18px;height:18px}
.ca-btn:has(> .ca-icon:first-child){padding-left:1rem}
.ca-btn--primary{background:var(--wp--preset--color--primary);color:var(--wp--preset--color--on-primary)}
.ca-btn--primary:hover{color:var(--wp--preset--color--on-primary);box-shadow:var(--wp--preset--shadow--level-1)}
.ca-btn--tonal{background:var(--wp--preset--color--secondary-container);color:var(--wp--preset--color--on-secondary-container)}
.ca-btn--tonal:hover{color:var(--wp--preset--color--on-secondary-container);box-shadow:var(--wp--preset--shadow--level-1)}
.ca-btn--secondary{box-shadow:inset 0 0 0 1px var(--wp--preset--color--outline);color:var(--wp--preset--color--primary)}
.ca-btn--secondary:hover{color:var(--wp--preset--color--primary)}
.ca-btn--ghost{padding-left:.75rem;padding-right:.75rem;color:var(--wp--preset--color--primary)}
.ca-btn--ghost.ca-btn--icon{color:var(--wp--preset--color--on-surface-variant)}
.ca-btn--merchant{background:var(--wp--preset--color--action);color:var(--wp--preset--color--on-action);font-weight:600;box-shadow:var(--wp--preset--shadow--level-1)}
.ca-btn--merchant:hover{color:var(--wp--preset--color--on-action);box-shadow:var(--wp--preset--shadow--level-2)}
.ca-btn--link{min-height:0;padding:0;border-radius:2px;color:var(--wp--preset--color--primary);text-decoration:underline;text-underline-offset:.2em;font-weight:500}
.ca-btn--link::after{display:none}
.ca-btn--link:hover{color:var(--wp--preset--color--on-primary-container);text-decoration-thickness:2px}
.ca-btn--sm{min-height:36px;padding:.375rem 1rem;font-size:var(--wp--preset--font-size--label-large)}
.ca-btn--lg{min-height:56px;padding:.75rem 2rem;font-size:var(--wp--preset--font-size--title-medium);border-radius:var(--wp--custom--shape--large)}
.ca-btn--block{width:100%}
.ca-btn--icon{padding:0!important;width:44px;min-width:44px}
.ca-btn--icon .ca-icon{width:24px;height:24px}
@media (pointer:coarse){.ca-btn{min-height:48px}.ca-btn--sm{min-height:44px}.ca-btn--icon{width:48px;min-width:48px}}
.ca-btn:disabled,.ca-btn[aria-disabled="true"]{background:rgba(23,29,24,.12)!important;color:rgba(23,29,24,.38)!important;box-shadow:none!important;cursor:not-allowed}
.ca-btn--ghost:disabled,.ca-btn--ghost[aria-disabled="true"]{background:transparent!important}
.ca-btn[aria-busy="true"]{cursor:progress;color:transparent!important}
.ca-btn[aria-busy="true"] > *{visibility:hidden}
.ca-btn[aria-busy="true"]::before{content:"";position:absolute;width:20px;height:20px;border-radius:50%;border:3px solid var(--wp--preset--color--on-action);border-right-color:transparent;animation:ca-spin .9s linear infinite}
.ca-btn--primary[aria-busy="true"]::before{border-color:var(--wp--preset--color--on-primary);border-right-color:transparent}
.ca-btn--secondary[aria-busy="true"]::before,.ca-btn--ghost[aria-busy="true"]::before,.ca-btn--tonal[aria-busy="true"]::before{border-color:var(--wp--preset--color--primary);border-right-color:transparent}
@keyframes ca-spin{to{transform:rotate(360deg)}}
/* ---------- Badges produit ---------- */
.ca-badge{display:inline-flex;align-items:center;gap:.25rem;min-height:24px;padding:.125rem .5rem;border-radius:var(--wp--custom--shape--small);font-size:var(--wp--preset--font-size--label-medium);font-weight:600;line-height:1.2;letter-spacing:.02em;white-space:nowrap}
.ca-badge .ca-icon{width:14px;height:14px}
.ca-badge--nouveaute{background:var(--wp--preset--color--primary);color:var(--wp--preset--color--on-primary)}
.ca-badge--precommande{background:var(--wp--preset--color--info-container);color:var(--wp--preset--color--on-info-container)}
.ca-badge--bestseller{background:var(--wp--preset--color--tertiary-container);color:var(--wp--preset--color--on-tertiary-container)}
.ca-badge--limitee{background:var(--wp--preset--color--inverse-surface);color:var(--wp--preset--color--inverse-on-surface)}
.ca-badge--petit-prix{background:var(--wp--preset--color--secondary-container);color:var(--wp--preset--color--on-secondary-container)}
.ca-badge--bientot-epuise{background:var(--wp--preset--color--error-container);color:var(--wp--preset--color--on-error-container)}
.ca-badge--neutre{background:var(--wp--preset--color--surface-container-highest);color:var(--wp--preset--color--on-surface-variant)}
/* ---------- Note ---------- */
.ca-rating{display:inline-flex;align-items:center;gap:.375rem;font-size:var(--wp--preset--font-size--body-medium)}
.ca-stars{position:relative;display:inline-flex;gap:1px;color:var(--wp--preset--color--outline-variant)}
.ca-stars__fill{position:absolute;inset:0 auto 0 0;display:inline-flex;gap:1px;overflow:hidden;color:#E9A800;white-space:nowrap}
.ca-stars .ca-icon{width:16px;height:16px}
.ca-stars--lg .ca-icon{width:20px;height:20px}
.ca-rating__value{font-weight:600;font-variant-numeric:tabular-nums}
.ca-rating__src{color:var(--wp--preset--color--on-surface-variant);font-size:var(--wp--preset--font-size--body-small)}
/* ---------- Champs ---------- */
.ca-field{display:grid;gap:.375rem;min-width:0}
.ca-field__label{font-size:var(--wp--preset--font-size--body-medium);font-weight:500;color:var(--wp--preset--color--on-surface-variant)}
.ca-field__hint{font-size:var(--wp--preset--font-size--body-small);color:var(--wp--preset--color--on-surface-variant);padding:0 1rem}
.ca-field__error{display:flex;align-items:center;gap:.375rem;color:var(--wp--preset--color--error);font-size:var(--wp--preset--font-size--body-small);font-weight:500;padding:0 1rem}
.ca-field__error .ca-icon{width:16px;height:16px}
.ca-field__control{position:relative;display:flex;align-items:center}
.ca-field__control > .ca-icon{position:absolute;left:1rem;color:var(--wp--preset--color--on-surface-variant);pointer-events:none;width:24px;height:24px}
.ca-input,.ca-select{width:100%;min-height:56px;padding:.5rem 1rem;border:1px solid var(--wp--preset--color--outline);border-radius:var(--wp--custom--shape--extra-small);background:transparent;color:var(--wp--preset--color--on-surface);font:inherit;font-size:var(--wp--preset--font-size--body-large);transition:border-color var(--wp--custom--motion--short),box-shadow var(--wp--custom--motion--short)}
.ca-field__control > .ca-icon + .ca-input{padding-left:3.25rem}
.ca-input::placeholder{color:var(--wp--preset--color--on-surface-variant);opacity:1}
.ca-input:hover,.ca-select:hover{border-color:var(--wp--preset--color--on-surface)}
.ca-input:focus,.ca-select:focus{outline:none;border-color:var(--wp--preset--color--primary);box-shadow:inset 0 0 0 1px var(--wp--preset--color--primary)}
.ca-input[aria-invalid="true"]{border-color:var(--wp--preset--color--error);box-shadow:inset 0 0 0 1px var(--wp--preset--color--error)}
.ca-input:disabled,.ca-select:disabled{border-color:rgba(23,29,24,.12);color:rgba(23,29,24,.38);cursor:not-allowed}
.ca-select{appearance:none;padding-right:3rem;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z' fill='%23414942'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .75rem center}
.ca-input--search{min-height:48px;border:0;border-radius:var(--wp--custom--shape--full);background:var(--wp--preset--color--surface-container-high);box-shadow:none}
.ca-input--search:hover{border:0;background:var(--wp--preset--color--surface-container-highest)}
.ca-input--search:focus{box-shadow:inset 0 0 0 2px var(--wp--preset--color--primary)}
/* ---------- Case à cocher ---------- */
.ca-check{display:flex;align-items:center;gap:.875rem;min-height:48px;padding-left:11px;font-size:var(--wp--preset--font-size--body-large);cursor:pointer}
.ca-check input{appearance:none;flex:none;width:18px;height:18px;margin:0;border:2px solid var(--wp--preset--color--on-surface-variant);border-radius:2px;background:transparent;cursor:pointer;transition:background-color var(--wp--custom--motion--short),border-color var(--wp--custom--motion--short),box-shadow var(--wp--custom--motion--short)}
.ca-check:hover input{box-shadow:0 0 0 11px rgba(23,29,24,.08)}
.ca-check input:focus-visible{outline:none;box-shadow:0 0 0 11px rgba(23,29,24,.10),0 0 0 14px var(--wp--preset--color--focus)}
.ca-check input:checked{border-color:var(--wp--preset--color--primary);background:var(--wp--preset--color--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/14px no-repeat}
.ca-check:hover input:checked{box-shadow:0 0 0 11px rgba(27,108,58,.08)}
.ca-check input:disabled{border-color:rgba(23,29,24,.38);cursor:not-allowed;box-shadow:none}
.ca-check:has(input:disabled){color:rgba(23,29,24,.38);cursor:not-allowed}
.ca-check__count{margin-left:auto;color:var(--wp--preset--color--on-surface-variant);font-size:var(--wp--preset--font-size--body-medium);font-variant-numeric:tabular-nums}
/* ---------- Interrupteur ---------- */
.ca-switch{display:inline-flex;align-items:center;gap:.75rem;min-height:48px;padding:0;border:0;background:none;color:var(--wp--preset--color--on-surface);font-size:var(--wp--preset--font-size--body-large);cursor:pointer}
.ca-switch__track{position:relative;flex:none;width:52px;height:32px;border-radius:16px;background:var(--wp--preset--color--surface-container-highest);box-shadow:inset 0 0 0 2px var(--wp--preset--color--outline);transition:background-color var(--wp--custom--motion--medium) var(--wp--custom--motion--standard)}
.ca-switch__track::after{content:"";position:absolute;top:8px;left:8px;width:16px;height:16px;border-radius:50%;background:var(--wp--preset--color--outline);transition:all var(--wp--custom--motion--medium) var(--wp--custom--motion--standard)}
.ca-switch[aria-checked="true"] .ca-switch__track{background:var(--wp--preset--color--primary);box-shadow:none}
.ca-switch[aria-checked="true"] .ca-switch__track::after{top:4px;left:24px;width:24px;height:24px;background:var(--wp--preset--color--on-primary)}
.ca-switch:hover .ca-switch__track{box-shadow:inset 0 0 0 2px var(--wp--preset--color--outline),0 0 0 8px rgba(23,29,24,.08)}
.ca-switch[aria-checked="true"]:hover .ca-switch__track{box-shadow:0 0 0 8px rgba(27,108,58,.08)}
.ca-switch:focus-visible{outline:none}
.ca-switch:focus-visible .ca-switch__track{outline:3px solid var(--wp--preset--color--focus);outline-offset:2px}
/* ---------- Squelette ---------- */
.ca-skel{display:block;border-radius:var(--wp--custom--shape--small);background:linear-gradient(90deg,var(--wp--preset--color--surface-container-high) 0%,var(--wp--preset--color--surface-container-low) 50%,var(--wp--preset--color--surface-container-high) 100%);background-size:200% 100%;animation:ca-shimmer 1.4s ease-in-out infinite}
@keyframes ca-shimmer{from{background-position:100% 0}to{background-position:-100% 0}}
