/*
 * TK SHOP — compléments du site PHP (main.css est le système de design commun avec la maquette).
 */
.logo__img { max-height: 46px; width: auto; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
img.art { width: 100%; height: 100%; object-fit: cover; }
.mega__feature > svg, .mega__feature > img { aspect-ratio: 4 / 5; height: auto; width: 100%; object-fit: cover; }
.pdp__desc p + p { margin-top: .8em; }
.card__price, .pdp__price, .summary__price, .cart-line__price { white-space: nowrap; }

.flashes { padding-top: 16px; }
.flash, .form-error { padding: 12px 16px; font-size: .92rem; border-left: 2px solid var(--gold); background: var(--paper); }
.flash + .flash { margin-top: 8px; }
.flash--error, .form-error { background: #F6E3DF; color: var(--err); border-left-color: var(--err); }
.flash--success { background: #E6EDE1; color: var(--ok); border-left-color: var(--ok); }
.form-error { margin-bottom: 20px; }

/* Pagination de la boutique */
.pagination { margin-top: 48px; }
.pagination ul { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 44px; height: 44px; border: 1px solid var(--line); text-decoration: none; }
.pagination a:hover { border-color: var(--ink); }
.pagination [aria-current] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

/* Le bouton « Appliquer » des filtres ne sert que sans JavaScript */
.js [data-no-js-only] { display: none; }
.filters__apply-desktop { margin-top: 20px; }

/* Page panier (sans JavaScript) */
.cart-lines--page { margin-bottom: 24px; }
.cart-lines--page .cart-line { grid-template-columns: 96px 1fr; }
.qty-input { width: 80px !important; min-height: 40px !important; }
.cart-page__total { padding: 16px 0; border-top: 1px solid var(--line); }

/* Commande : instructions de paiement */
.pay-instructions { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .92rem; display: grid; gap: 8px; }

/* Paiement KkiaPay */
.tk-pay { display: grid; gap: 16px; justify-items: center; padding: 16px 0; }
.tk-pay__status { color: var(--taupe); min-height: 1.5em; }

/* Contenus éditables (FAQ, pages légales, À propos) */
.prose > * + * { margin-top: 1em; }
.prose h2 { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 1.05rem; margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose a { color: var(--copper-dk); }
.faq details { border-bottom: 1px solid var(--line); margin: 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; cursor: pointer; list-style: none; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.4rem/1 var(--f-display); color: var(--copper); }
.faq details[open] summary::after { content: "–"; }
.faq details > :not(summary) { padding-bottom: 20px; color: var(--ink-2); max-width: 46em; }
.faq > details + details { margin-top: 0; }
.gallery-content { margin-bottom: 32px; }
.story__text .facts { margin-top: 28px; }
.story__text .btn { margin-top: 32px; }
