/* Cadeau Atelier : compléments WordPress et WooCommerce. */
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--sapin); color: var(--creme); padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }
.hp { position: absolute; left: -9999px; }
.svg-defs { position: absolute; width: 0; height: 0; }
.stars-off { color: var(--filet); }
.eyebrow-or { color: var(--or); }
#cd-title { margin-top: 10px; }
.n-inline { color: var(--or-texte); font-family: var(--f-titre); font-size: 17px; margin-right: 6px; }
.field-foot { display: flex; justify-content: space-between; gap: 12px; }
.f-classique { font-family: var(--f-titre); font-weight: 600; }
.f-manuscrite { font-family: var(--f-script); }
.f-moderne { font-family: var(--f-texte); font-weight: 500; letter-spacing: .06em; font-size: 18px; }
.f-machine { font-family: "Courier Prime", "Courier New", monospace; font-size: 19px; }
.card-title { font-family: var(--f-titre); font-weight: 600; font-size: 21px; line-height: 1.15; margin: 0; }
.card-title a { text-decoration: none; }
.card-title a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--or); }
.card-img { text-decoration: none; overflow: hidden; }
@media (max-width: 520px) { .card-title { font-size: 17px; } }
.header .icon-btn { text-decoration: none; }
.nav a[aria-current="page"] { border-bottom-color: var(--or); }
.btn.is-loading { opacity: .7; pointer-events: none; }
input[type="number"]#qty { width: 44px; border: 0; background: transparent; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; min-height: 46px; padding: 0; }
input#qty::-webkit-outer-spin-button, input#qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Recherche */
.search-panel { border-top: 1px solid var(--filet); background: var(--papier); }
.search-form { display: flex; gap: 10px; padding-block: 14px; }
.search-form .input { flex: 1; }

/* Pages et archives */
.page-wrap { padding-block: 40px 72px; }
.page-head, .archive-head { display: grid; gap: 10px; margin-bottom: 28px; max-width: 760px; }
.page-head h1, .archive-head h1 { font-size: clamp(32px, 5vw, 48px); }
.archive-head { padding-top: 16px; }
.archive-desc { color: var(--encre-douce); font-size: 17px; max-width: 62ch; }
.archive-desc p { margin: 0; }
.archive-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; font-size: 14px; color: var(--encre-douce); }
.archive-tools .woocommerce-result-count { margin: 0; }
.archive-tools form { margin: 0; }
.archive-tools select { min-height: 44px; padding: 8px 36px 8px 12px; border: 1px solid var(--filet); border-radius: var(--r-sm); background: var(--papier); }
.products-archive { margin-bottom: 40px; }
.woocommerce-pagination ul { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 56px; justify-content: center; }
.woocommerce-pagination a, .woocommerce-pagination span { display: inline-grid; place-items: center; min-width: 44px; height: 44px; border: 1px solid var(--filet); border-radius: var(--r-sm); text-decoration: none; background: var(--papier); }
.woocommerce-pagination .current { background: var(--sapin); color: var(--creme); border-color: var(--sapin); }
.empty-state { padding: 40px 0 72px; display: grid; gap: 16px; justify-items: start; }
.countdown-slim .wrap { padding-block: 32px; grid-template-columns: 1fr auto; gap: 24px; }
.countdown-slim .chrono { margin-top: 0; }
.countdown-slim .chrono div { min-width: 70px; padding: 10px 6px 8px; }
.countdown-slim .chrono b { font-size: 32px; }
.countdown-slim p { margin: 0; color: var(--creme); font-size: 17px; }
@media (max-width: 860px) { .countdown-slim .wrap { grid-template-columns: 1fr; } }

/* Contenu éditorial */
.entry { max-width: 72ch; display: grid; gap: 14px; }
.entry > * { margin: 0; }
.entry h2 { font-size: 30px; margin-top: 18px; }
.entry h3 { font-size: 23px; margin-top: 10px; }
.entry ul, .entry ol { padding-left: 22px; display: grid; gap: 6px; }
.entry a { color: var(--sapin); font-weight: 600; text-underline-offset: 3px; }
.entry table { width: 100%; border-collapse: collapse; }
.entry th, .entry td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--lin); }
.entry-wide { max-width: none; display: block; }
.todo { background: #FFF4D6; padding: 0 4px; border-radius: 3px; }
.notice-ok { padding: 12px 14px; border: 1px solid var(--sapin); border-radius: var(--r-sm); background: var(--papier); color: var(--sapin); font-weight: 600; }
.contact-form { max-width: 640px; }
.post-list { display: grid; gap: 24px; }
.post-item { padding-bottom: 24px; border-bottom: 1px solid var(--filet); display: grid; gap: 8px; }
.post-item h2 { font-size: 26px; }
.post-item h2 a { text-decoration: none; }
.page-404 { display: grid; gap: 16px; justify-items: start; padding-block: 72px 96px; }
.page-404 h1 { font-size: clamp(34px, 5vw, 52px); }
.page-404 p:last-child { display: flex; gap: 12px; flex-wrap: wrap; }

/* Fiche produit */
.pdp-short { display: grid; gap: 12px; }
.pdp-short p { font-size: 17px; color: var(--encre-douce); line-height: 1.6; max-width: 56ch; margin: 0; }
.pdp-short ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14.5px; }
.pdp-short li { display: flex; gap: 10px; }
.pdp-short li::before { content: ""; flex: none; width: 14px; height: 8px; margin-top: 7px; border-left: 1.5px solid var(--sapin); border-bottom: 1.5px solid var(--sapin); transform: rotate(-45deg); }
.pdp-rating { text-decoration: none; }
.stage-photos { background: var(--lin); }
.stage .badge { top: 14px; left: 14px; }
.gallery .thumbs { grid-template-columns: repeat(4, 1fr); max-width: 440px; }
.reviews-section { padding-block: 24px 72px; }
.reviews-section .woocommerce-Reviews-title, .reviews-section #reply-title { font-family: var(--f-titre); font-size: 30px; font-weight: 600; margin: 0 0 16px; display: block; }
.reviews-section .commentlist { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 16px; }
.reviews-section .comment_container { background: var(--papier); border: 1px solid var(--filet); border-radius: var(--r-md); padding: 18px 20px; }
.reviews-section .avatar { display: none; }
.reviews-section .star-rating { color: var(--or-texte); }
.reviews-section #review_form_wrapper { max-width: 640px; }
.reviews-section .comment-form { display: grid; gap: 14px; }
.reviews-section .comment-form p { margin: 0; display: grid; gap: 6px; }
.reviews-section .comment-form input[type=text], .reviews-section .comment-form input[type=email], .reviews-section .comment-form textarea, .reviews-section .comment-form select { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--filet); border-radius: var(--r-sm); background: var(--papier); }
.reviews-section .comment-form .submit { background: var(--bordeaux); color: var(--creme); border: 0; min-height: 48px; padding: 12px 24px; border-radius: var(--r-sm); font-weight: 600; cursor: pointer; }
.reviews-section p.stars a { color: var(--or-texte); text-decoration: none; font-size: 22px; margin-right: 4px; }
.reviews-section .woocommerce-noreviews { color: var(--encre-douce); }

/* Notices WooCommerce */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; margin: 16px 0; padding: 14px 18px; border-radius: var(--r-sm); border: 1px solid var(--filet); background: var(--papier); display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; font-size: 15px; }
.woocommerce-message { border-color: var(--sapin); }
.woocommerce-error { border-color: var(--alerte); color: var(--alerte); display: grid; gap: 4px; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: var(--r-sm); background: var(--sapin); color: var(--creme); text-decoration: none; font-weight: 600; font-size: 14px; }

/* Panier et commande (blocs WooCommerce) */
.page-shop .page-head { max-width: none; }
.wc-block-components-button:not(.is-link), .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button { background: var(--bordeaux) !important; color: var(--creme) !important; border-radius: var(--r-sm) !important; min-height: 52px; font-weight: 600 !important; border: 0 !important; }
.wc-block-components-button:not(.is-link):hover { background: var(--bordeaux-fonce) !important; }
.wc-block-components-product-name { font-family: var(--f-titre); font-weight: 600; font-size: 19px !important; color: var(--encre) !important; text-decoration: none; }
.wc-block-components-product-details { font-size: 13px; color: var(--encre-douce); }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value, .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-family: var(--f-titre); font-size: 24px !important; font-weight: 600; }
.wc-block-components-text-input input, .wc-blocks-components-select__select { border-radius: var(--r-sm) !important; border-color: var(--filet) !important; background: var(--papier) !important; }
.wp-block-woocommerce-empty-cart-block h2 { font-family: var(--f-titre); }

/* Mon compte */
.woocommerce-account.logged-in .entry-wide { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 12px; border-radius: var(--r-sm); text-decoration: none; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--lin); color: var(--sapin); font-weight: 600; }
.woocommerce form .form-row { margin: 0 0 14px; display: grid; gap: 6px; }
.woocommerce form .input-text, .woocommerce form select { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--filet); border-radius: var(--r-sm); background: var(--papier); }
.woocommerce button.button, .woocommerce a.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: var(--r-sm); border: 0; background: var(--bordeaux); color: var(--creme); font-weight: 600; text-decoration: none; cursor: pointer; }
.woocommerce-account .u-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.woocommerce-account .u-columns h2 { font-size: 28px; margin-bottom: 14px; }
@media (max-width: 760px) { .woocommerce-account.logged-in .entry-wide, .woocommerce-account .u-columns { grid-template-columns: 1fr; } }

/* Pied de page */
.footer-h { margin: 0 0 14px; font-family: var(--f-texte); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--or); font-weight: 600; line-height: 1.3; }
.footer p { margin: 0; }
.nl-err { color: var(--alerte-clair) !important; }
.nl-legal a { color: inherit; }

/* Or massif 18 carats */
.dot-massif { background: linear-gradient(135deg, #f3d488, #b8892f 55%, #e7c36c); border-color: #b8892f; }
.massif-fields { padding-left: 0; margin-top: 4px; padding: 16px; border: 1px solid var(--or); border-radius: var(--r-md); background: var(--creme); }
.poids-opts { display: grid; gap: 8px; }
.opt-wide .opt-box { display: flex; width: 100%; align-items: flex-start; padding: 12px 14px; }
.opt-wide input:checked + .opt-box { padding: 11px 13px; }
.opt-wide .opt-box > span { display: grid; gap: 2px; }
.opt-wide strong { font-weight: 600; }
.poids-prix { font-style: normal; color: var(--bordeaux); font-weight: 600; }
.opt-wide small { font-size: 13px; }
.massif-info { display: grid; gap: 8px; font-size: 13.5px; color: var(--encre-douce); line-height: 1.55; }
.massif-info strong { color: var(--encre); }
