/* Anaceri · 5 novembre 2026. Raffinement de la marque existante, doux et féminin. */
:root {
  --ana-polish-ink: #111111;
  --ana-polish-muted: #6b6b6b;
  --ana-polish-wash: #f5f5f5;
  --ana-polish-lavender: #efefef;
  --ana-polish-line: #e5e5e5;
  --ana-polish-focus: #111111;
  --ana-polish-ease: cubic-bezier(.23, 1, .32, 1);
  --ana-polish-gutter: clamp(20px, 3.75vw, 60px);
}
#header ::selection, #wrapper ::selection, #footer ::selection { color: #111111; background: #e5e5e5; }
#header :is(a,button):focus-visible,
#sideMenu :is(a,button):focus-visible,
.anaceri-campaign a:focus-visible,
body.page-category #wrapper :is(a,button,select,input):focus-visible,
body#product #wrapper :is(a,button,select,input):focus-visible,
#footer :is(a,button,summary):focus-visible { outline: 2px solid var(--ana-polish-focus); outline-offset: 4px; }
#header .announcement { background: var(--ana-polish-lavender); color: var(--ana-polish-ink); font-size: 12px; letter-spacing: .035em; line-height: 1.4; }
#header .navbar { min-height: 64px; height: auto; padding-inline: var(--ana-polish-gutter); }
#header .nav-actions :is(a,button) { min-height: 44px; }
#header .nav-actions .header-block__badge { background: var(--ana-polish-lavender); color: var(--ana-polish-ink); box-shadow: none; }
#header .menu-btn { min-width: 64px; justify-content: flex-end; }
#sideMenu { visibility: hidden; transition: transform 220ms var(--ana-polish-ease), visibility 0s 220ms; }
#sideMenu.open { visibility: visible; transition-delay: 0s; }
#sideMenu .section-label { color: var(--ana-polish-muted); }
#sideMenu :is(.device-row,.menu-item,.tag,.close-btn,.contact) { min-height: 44px; }
#sideMenu .device-row, #sideMenu .menu-item { font-weight: 500; letter-spacing: .015em; }

/* Existing campaign photos and wording remain the lead. */
body#index .anaceri-campaign h1 { letter-spacing: -.035em; line-height: 1.08; }
body#index .anaceri-campaign h2 { letter-spacing: -.025em; line-height: 1.2; }
body#index .anaceri-campaign__eyebrow { display: none; }
body#index .anaceri-campaign__button { border-radius: 6px; transition: transform 150ms var(--ana-polish-ease), background-color 150ms ease, color 150ms ease; }
body#index .anaceri-campaign__collection picture { border-radius: 12px; }
body#index .anaceri-campaign__collection img { transition: transform 220ms var(--ana-polish-ease); }
body#index .anaceri-campaign__model-links a { border-color: var(--ana-polish-line); border-radius: 8px; line-height: 1.45; transition: background-color 150ms ease, border-color 150ms ease; }
body#index .anaceri-campaign__secondary { min-height: 36px; padding-block: 8px; }
body#index .anaceri-campaign__help { background: var(--ana-polish-wash); }

/* Bring the collection closer to its products, consistently across native lists. */
body.page-category .columns-container.container { padding-inline: var(--ana-polish-gutter); }
body.page-category .columns-container.container > .row { margin-inline: 0; }
body.page-category #left-column { padding-left: 0; padding-right: 28px; }
body.page-category #center-column { padding-left: 16px; padding-right: 0; }
body:is(.page-category,.page-new-products,.page-search,.page-prices-drop,.page-best-sales) .category__header { padding: 28px 0 22px; }
body:is(.page-category,.page-new-products,.page-search,.page-prices-drop,.page-best-sales) #js-product-list-header .page-title-section {
  font-size: clamp(28px, 3.1vw, 44px); font-weight: 500; letter-spacing: -.025em; line-height: 1.2; text-transform: none;
}
body:is(.page-category,.page-new-products,.page-search,.page-prices-drop,.page-best-sales) #js-product-list-top { margin: 0; padding: 16px 0; }
body:is(.page-category,.page-new-products,.page-search,.page-prices-drop,.page-best-sales) .products__selection { min-height: 44px; margin: 0; padding: 0; }
body:is(.page-category,.page-new-products,.page-search,.page-prices-drop,.page-best-sales) .products__sort-dropdown-button { min-height: 44px; border-radius: 6px; border-color: var(--ana-polish-line); }
body:is(.page-category,.page-new-products,.page-search,.page-prices-drop,.page-best-sales) #js-product-list { padding-top: 24px; }
body:is(.page-category,.page-new-products,.page-search,.page-prices-drop,.page-best-sales) #js-product-list .products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 22px; }
body:is(.page-category,.page-new-products,.page-search,.page-prices-drop,.page-best-sales) #js-product-list .product-miniature { width: auto !important; min-width: 0; margin: 0 !important; }
body:not(.page-index) .product-miniature__image-link { border-radius: 10px; overflow: hidden; }
body:not(.page-index) .product-miniature__image { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; transition: transform 180ms var(--ana-polish-ease); }
body:not(.page-index) .product-miniature__bottom { padding: 12px 2px 0; }
body:not(.page-index) .product-miniature__title { font-size: 14px; line-height: 1.5; font-weight: 500; letter-spacing: 0; text-transform: none; }
body:not(.page-index) .product-miniature__price { font-size: 15px; line-height: 1.5; font-weight: 600; font-variant-numeric: tabular-nums; }
body:not(.page-index) .product-miniature .wishlist-button-add { width: 44px; height: 44px; min-width: 44px; background: #fff; border: 1px solid var(--ana-polish-line); border-radius: 50%; }
body.page-category #search_filters .search-filters__facet { border-color: var(--ana-polish-line); }
body.page-category #search_filters :is(button,.search-filters__facet-title) { font-weight: 500; }

/* Preserve native variants, gallery and the existing green purchase action. */
body#product .product__container { gap: clamp(28px, 4vw, 64px); padding-top: 28px; }
body#product .product__name { max-width: 28ch; font-size: clamp(23px, 2.1vw, 30px); line-height: 1.3; letter-spacing: -.015em; font-weight: 500; text-transform: none; }
body#product .product__price { font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
body#product .product__actions-qty-add .product__add-to-cart-button { min-height: 52px; border-radius: 6px; border-color: #2f7240 !important; background: #2f7240 !important; font-weight: 600; letter-spacing: .025em; transition: transform 140ms var(--ana-polish-ease), background-color 140ms ease; }
body#product .product__actions-qty-add > .wishlist-button-add { border-radius: 6px; border-color: var(--ana-polish-line); }
body#product .anaceri-product-gallery__thumb { border-radius: 6px; overflow: hidden; }
body#product .anaceri-product-gallery__thumb.is-active { border-color: var(--ana-polish-focus); }
body#product .anaceri-delivery { border-color: var(--ana-polish-line); border-radius: 10px; overflow: hidden; font-size: 14px; }
body#product .anaceri-delivery__main { padding: 18px 18px 2px; }
body#product .anaceri-delivery__note { border-color: var(--ana-polish-line); background: var(--ana-polish-wash); color: var(--ana-polish-muted); font-size: 12px; }
body#product .anaceri-product__information .accordion-item { border-color: var(--ana-polish-line); }
body#product .anaceri-product__information .accordion-button { min-height: 54px; padding: 16px 18px; font-size: 14px; font-weight: 500; color: var(--ana-polish-ink); }
body#product .anaceri-product__information .accordion-button:not(.collapsed) { background: var(--ana-polish-wash); box-shadow: none; }
body#product .anaceri-product__information .rich-text { font-size: 15px; line-height: 1.75; }
body#product .anaceri-product__information .rich-text li { margin-bottom: 8px; }
@media (min-width: 768px) {
  body#product .anaceri-product-gallery--thumbs[data-anaceri-gallery] { grid-template-columns: 76px minmax(0, min(100%, calc(100vh - 220px))); }
  body#product .anaceri-product-gallery--thumbs .anaceri-product-gallery__viewport,
  body#product .anaceri-product-gallery__thumbs { max-height: calc(100vh - 220px); }
}

/* A lighter model chooser, then the established dark footer. */
#footer.footer { border: 0; outline: 0; }
#footer .ana-device-finder { background: var(--ana-polish-wash); color: var(--ana-polish-ink); padding: 36px 0; border-top: 1px solid var(--ana-polish-line); }
#footer .ana-footer-wrap { width: 100%; max-width: 1600px; margin: 0 auto; padding-inline: var(--ana-polish-gutter); display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 24px; align-items: start; }
#footer .ana-device-finder__heading h2 { margin: 0 0 8px; font-size: clamp(24px, 2.1vw, 30px); line-height: 1.2; font-weight: 500; letter-spacing: -.02em; color: inherit; text-transform: none; }
#footer .ana-device-finder__heading p { margin: 0; color: var(--ana-polish-muted); font-size: 14px; line-height: 1.6; }
#footer .ana-device-group { min-width: 0; border: 1px solid var(--ana-polish-line); border-radius: 10px; background: #fff; }
#footer .ana-device-group > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 18px 20px; font-size: 15px; font-weight: 500; cursor: pointer; }
#footer .ana-device-group > summary::-webkit-details-marker { display: none; }
#footer .ana-device-group[open] > summary svg { transform: rotate(180deg); }
#footer .ana-device-group ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; margin: 0; padding: 0 20px 14px; list-style: none; }
#footer .ana-device-group li { min-width: 0; }
#footer .ana-device-group a { display: flex; align-items: center; min-height: 44px; color: var(--ana-polish-muted); font-size: 12px; line-height: 1.5; padding: 6px 0; text-decoration: none; }
#footer .ana-refined-footer .ana-footer-main { max-width: none; margin: 0; padding: 48px var(--ana-polish-gutter) 24px; background: #111111; color: #ffffff; font-size: 14px; }
#footer .ana-footer-main .anaceri-footer__columns { max-width: 1480px; margin: 0 auto; padding: 0 0 36px; display: grid; grid-template-columns: 1.45fr repeat(3,minmax(0,1fr)); gap: 40px; border-bottom: 1px solid #444444; }
#footer .ana-footer-brand { min-width: 0; }
#footer .ana-footer-brand__logo { display: inline-flex; min-height: 44px; align-items: center; }
#footer .ana-footer-brand__logo img { display: block; width: 150px; height: 40px; object-fit: contain; object-position: left center; filter: invert(1); }
#footer .ana-footer-brand p { max-width: 38ch; margin: 14px 0 0; font-size: 13px; font-weight: 400; line-height: 1.8; color: #bdbdbd; }
#footer .ana-footer-brand p b { font-weight: 500; }
#footer .ana-footer-story { margin-top: 10px; }
#footer .ana-footer-story > summary { width: fit-content; padding: 8px 0; min-height: 36px; font-size: 12px; line-height: 1.7; color: #ececec; cursor: pointer; text-decoration: underline; text-underline-offset: .3em; }
#footer .ana-footer-story > summary::marker { content: ''; }
#footer .ana-footer-main .anaceri-footer__title { margin: 10px 0 16px; font-size: 16px; font-weight: 500; letter-spacing: 0; line-height: 1.4; color: #ffffff; text-transform: none; }
#footer .ana-footer-main .anaceri-footer__column ul { margin: 0; padding: 0; list-style: none; }
#footer .ana-footer-main .anaceri-footer__column li { margin: 0; }
#footer .ana-footer-main .anaceri-footer__column a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 0; font-size: 13px; line-height: 1.6; color: #bdbdbd; text-decoration: none; }
#footer .ana-footer-main .anaceri-footer__bottom { max-width: 1480px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 24px; padding: 24px 0 0; font-size: 11px; line-height: 1.7; color: #bdbdbd; }
#footer .ana-footer-main .anaceri-footer__payments { gap: 8px; }
#footer .ana-footer-main .anaceri-footer__payments li { height: 28px; min-width: 48px; padding-inline: 8px; border-radius: 4px; font-size: 10px; }
#footer .ana-footer-main .anaceri-footer__legal { gap: 6px 22px; }
#footer .ana-footer-main .anaceri-footer__legal a { display: inline-flex; align-items: center; min-height: 36px; color: #bdbdbd; font-size: 11px; text-underline-offset: .3em; }
#footer .ana-device-group a:hover, #footer .ana-footer-main a:hover { text-decoration: underline; text-underline-offset: .3em; }

@media (min-width: 1600px) {
  body:is(.page-category,.page-new-products,.page-search,.page-prices-drop,.page-best-sales) #js-product-list .products { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width: 1199px) {
  #header .mainmenu-wrapper { display: none; }
  #header .navbar { flex-wrap: nowrap; }
  #header .nav-actions { flex: 0 0 auto; }
}
@media (max-width: 991px) {
  body:is(.page-category,.page-new-products,.page-search,.page-prices-drop,.page-best-sales) #js-product-list .products { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #footer .ana-footer-wrap { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
  #footer .ana-device-finder__heading { grid-column: 1 / -1; }
  #footer .ana-footer-main .anaceri-footer__columns { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
}
@media (max-width: 767px) {
  #header .navbar { min-height: 60px; padding-inline: 20px; }
  body.page-category #center-column { padding-left: 0; }
  body:is(.page-category,.page-new-products,.page-search,.page-prices-drop,.page-best-sales) .category__header { padding: 22px 0 18px; }
  body:is(.page-category,.page-new-products,.page-search,.page-prices-drop,.page-best-sales) #js-product-list-header .page-title-section { font-size: 28px; }
  body:is(.page-category,.page-new-products,.page-search,.page-prices-drop,.page-best-sales) #js-product-list .products { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px 14px; }
  body:not(.page-index) .product-miniature__title { font-size: 13px; line-height: 1.5; }
  body:not(.page-index) .product-miniature__price { font-size: 14px; }
  body:not(.page-index) .product-miniature .wishlist-button-add { width: 40px; height: 40px; min-width: 40px; }
  body#product .product__container { padding-top: 18px; gap: 28px; }
  body#product .product__name { font-size: 24px; }
  body#product .anaceri-product-gallery__thumb { min-width: 60px; }
  body#index .anaceri-campaign__button { min-height: 50px; }
}
@media (max-width: 575px) {
  #header .navbar .logo { width: 120px; max-width: 120px; height: auto; }
  #footer .ana-footer-wrap { grid-template-columns: minmax(0,1fr); gap: 14px; }
  #footer .ana-device-finder { padding: 30px 0; }
  #footer .ana-device-finder__heading { margin-bottom: 4px; }
  #footer .ana-refined-footer .ana-footer-main { padding-top: 30px; }
  #footer .ana-footer-main .anaceri-footer__columns { gap: 24px 18px; padding-bottom: 24px; }
  #footer .ana-footer-brand { grid-column: 1 / -1; }
  #footer .ana-footer-main .anaceri-footer__column:last-child { grid-column: 1 / -1; }
  #footer .ana-footer-main .anaceri-footer__title { margin-top: 0; margin-bottom: 6px; }
  #footer .ana-footer-brand p { max-width: 44ch; }
  #footer .ana-footer-main .anaceri-footer__legal { flex-direction: row; align-items: center; gap: 0 18px; }
  #footer .ana-footer-main .anaceri-footer__legal li:last-child { flex-basis: 100%; margin-top: 10px; }
}
@media (hover: hover) and (pointer: fine) {
  body#index .anaceri-campaign__button:hover:not(:focus-visible) { transform: translateY(-1px); }
  body#index .anaceri-campaign__collection:hover img { transform: scale(1.02); }
  body#index .anaceri-campaign__model-links a:hover { background: var(--ana-polish-wash); border-color: #8a8a8a; }
  body:not(.page-index) .product-miniature:hover .product-miniature__image { transform: scale(1.02); }
  body#product .product__actions-qty-add .product__add-to-cart-button:hover { background: #275f35 !important; border-color: #275f35 !important; }
}
body#index .anaceri-campaign__button:active:not(:focus-visible),
body#product .product__actions-qty-add .product__add-to-cart-button:active:not(:focus-visible) { transform: scale(.985); }
@media (pointer: coarse) {
  #header :is(a,button), body#product :is(button,select), #footer summary { touch-action: manipulation; }
  body#product input, body#product select { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  /* Keep the native transitionend cleanup while making the drawer visually instant. */
  #sideMenu { transition: transform 1ms linear, visibility 0s; }
  #sideMenu:not(.open) { visibility: hidden; }
  body#index .anaceri-campaign :is(a,img),
  body:not(.page-index) .product-miniature__image,
  body#product .product__add-to-cart-button { transition: none; }
  body#index .anaceri-campaign__button,
  body#index .anaceri-campaign__collection:hover img,
  body:not(.page-index) .product-miniature:hover .product-miniature__image,
  body#product .product__add-to-cart-button:active { transform: none !important; }
}

/* 20/11 : nom des cartes produit sur 3 lignes au lieu de 2 */
.anaceri-card-title__name { -webkit-line-clamp: 3; line-clamp: 3; }

/* 20/11 : fiches produit — cartes « Vous allez sans doute aimer aussi » au style de l'accueil */
.anaceri-product__footer-hooks .section-title{margin:0 0 22px;font-size:clamp(18px,1.5vw,22px)!important;font-weight:500!important;letter-spacing:.02em;line-height:1.3;text-transform:uppercase;color:#111}
.anaceri-product__footer-hooks .products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin:0!important}
.anaceri-product__footer-hooks .products>*{width:auto!important;max-width:none!important;padding:0!important;margin:0!important}
.anaceri-product__footer-hooks .product-miniature__inner{padding:0!important;border:0!important;box-shadow:none!important;background:none!important}
.anaceri-product__footer-hooks .product-miniature__image-container{position:relative;aspect-ratio:4/5;margin:0 0 16px;background:#f4f4f4!important;border-radius:0!important;overflow:hidden}
.anaceri-product__footer-hooks .product-miniature__image-link{position:absolute;inset:0;display:block;border:0!important;outline:0!important;background:none!important}
.anaceri-product__footer-hooks .product-miniature__image-link picture{display:block;width:100%;height:100%}
.anaceri-product__footer-hooks .product-miniature__image{width:100%!important;height:100%!important;object-fit:contain;mix-blend-mode:multiply;padding:6%;background:none!important;transition:transform .5s cubic-bezier(.23,1,.32,1)}
.anaceri-product__footer-hooks .product-miniature__image-link:hover .product-miniature__image{transform:scale(1.05)}
.anaceri-product__footer-hooks .wishlist-button-add{top:12px!important;right:12px!important;background:#fff!important;border-radius:50%!important;box-shadow:none!important}
.anaceri-product__footer-hooks .product-miniature__bottom{padding:0 4px!important;text-align:left!important}
.anaceri-product__footer-hooks .anaceri-card-title{display:flex!important;flex-direction:column;align-items:flex-start;text-align:left!important}
.anaceri-product__footer-hooks .anaceri-card-title__name{order:1;min-height:0!important;font-size:16px;font-weight:600;line-height:1.3;color:#111}
.anaceri-product__footer-hooks .anaceri-card-title__model{order:2;margin:4px 0 0!important;min-height:0!important;font-size:14px;color:#6b6b6b;-webkit-line-clamp:1!important}
.anaceri-product__footer-hooks .product-list-review{display:none!important}
.anaceri-product__footer-hooks .product-miniature__footer{margin-top:10px!important;padding-top:0!important;align-items:center}
.anaceri-product__footer-hooks .product-miniature__price{font-size:15px!important;font-weight:500!important}
.anaceri-product__footer-hooks .product-miniature__add{width:40px!important;height:40px!important;border:0!important;background:none!important;box-shadow:none!important;color:#111!important}
@media (max-width:991px){.anaceri-product__footer-hooks .products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:700px){
  .anaceri-product__footer-hooks .products{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:72%;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
  .anaceri-product__footer-hooks .products::-webkit-scrollbar{display:none}
  .anaceri-product__footer-hooks .products>*{scroll-snap-align:start}
}

/* 21/11/2026 — pastilles de couleur : contour fin + ombre légère, sinon le blanc (et les teintes très claires) disparaît sur fond blanc */
.input-color__label .color,
.variant-links .color,
.product-miniature .color {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .22), 0 1px 3px rgba(0, 0, 0, .16) !important;
}

/* 21/11/2026 — fiche produit (ordinateur) : la photo reste à l écran pendant qu on fait défiler les infos à droite */
@media (min-width: 992px) {
  .product__container > .product__left {
    position: sticky;
    top: 96px;
    align-self: start;
  }
}
