/* Cosmod Lightweight Products — grille + filtres + cœur wishlist */ .cosmod-lp-title-wrap { text-align: center; margin: 0 0 32px; } #cosmod-lp-wrap a.cosmod-lp-title, #cosmod-lp-wrap span.cosmod-lp-title, .cosmod-lp-products a.cosmod-lp-title, .cosmod-lp-products span.cosmod-lp-title { font-family: Georgia, "Times New Roman", serif !important; font-size: 26px !important; letter-spacing: 0.08em !important; text-transform: uppercase !important; color: #222 !important; text-decoration: none !important; border-bottom: none !important; display: inline-block !important; } #cosmod-lp-wrap a.cosmod-lp-title:hover, #cosmod-lp-wrap a.cosmod-lp-title:visited, #cosmod-lp-wrap a.cosmod-lp-title:focus { color: #222 !important; text-decoration: none !important; } .cosmod-lp-title-line { width: 350px; max-width: 60%; height: 1px; background: #ccc; margin: 16px auto 0; } .cosmod-lp-layout { display: flex; gap: 40px; align-items: flex-start; width: 100%; max-width: 1400px; margin: 0 auto; box-sizing: border-box; min-width: 0; } .cosmod-lp-sidebar { flex: 0 0 260px; padding: 22px 18px 24px; background: #fff; border: 1px solid rgba(17, 17, 17, 0.08); border-radius: 16px; box-shadow: 0 10px 30px rgba(17, 17, 17, 0.04); } .cosmod-lp-main { flex: 1; min-width: 0; max-width: 100%; overflow-x: clip; } @media (max-width: 782px) { .cosmod-lp-layout { flex-direction: column; } .cosmod-lp-sidebar { flex: 0 0 auto; width: 100%; padding: 14px 12px 8px; border: 0; border-radius: 0; box-shadow: none; background: transparent; } } .cosmod-lp-grid { display: grid; grid-template-columns: repeat(var(--cosmod-lp-cols, 4), 1fr); gap: 24px; margin: 0 0 32px; position: relative; min-height: 80px; transition: opacity 0.2s; } .cosmod-lp-grid.cosmod-lp-loading { opacity: 0.4; pointer-events: none; } @media (max-width: 1024px) { .cosmod-lp-grid { grid-template-columns: repeat(3, 1fr); } } @media (max-width: 640px) { .cosmod-lp-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } } /* Accueil rail — infinite loop (clone + transform), ~4 full cards visible */ .cosmod-lp-rail { position: relative; margin: 0 0 8px; padding: 0 52px; } .cosmod-lp-rail__scroller { overflow: hidden; scroll-snap-type: none; scroll-behavior: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 4px 0 12px; } .cosmod-lp-rail__scroller.is-animating { pointer-events: none; } .cosmod-lp-rail__scroller::-webkit-scrollbar { display: none; } .cosmod-lp-rail__track { display: flex; flex-wrap: nowrap; width: max-content; gap: 0; will-change: transform; transform: translate3d(0, 0, 0); backface-visibility: hidden; } .cosmod-lp-grid--rail { display: flex; flex-wrap: nowrap; grid-template-columns: none; gap: 20px; margin: 0; min-height: 0; width: max-content; } .cosmod-lp-grid--rail .cosmod-lp-card { flex: 0 0 auto; min-width: 0; scroll-snap-align: none; /* Width set by JS so an integer count fills the scroller */ } .cosmod-lp-rail__btn { position: absolute; top: 96px; z-index: 6; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #d4d2cd; background: #fff; color: #111; font-size: 1.4rem; line-height: 1; cursor: pointer; transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease; padding: 0; box-shadow: 0 2px 10px rgba(17, 17, 17, 0.06); } .cosmod-lp-rail__btn--prev { left: 0; } .cosmod-lp-rail__btn--next { right: 0; } .cosmod-lp-rail__btn:hover:not(:disabled) { background: #f3f2ef; border-color: #111; transform: scale(1.04); } .cosmod-lp-rail__btn:disabled { opacity: 0.28; cursor: default; } .cosmod-lp-rail--loop .cosmod-lp-rail__btn:disabled { opacity: 1; cursor: pointer; } /* Related products rail under category shop */ .cosmod-lp-related { width: 100%; max-width: 1400px; margin: 40px auto 8px; padding: 8px 0 0; box-sizing: border-box; } .cosmod-lp-related .cosmod-lp-title-wrap { margin-bottom: 18px; } .cosmod-lp-related .cosmod-lp-rail { margin-bottom: 0; } .cosmod-lp-products--rail .cosmod-lp-viewall-wrap { margin-top: 12px; } @media (max-width: 1024px) { .cosmod-lp-rail__btn { top: 88px; } } @media (max-width: 640px) { .cosmod-lp-rail { padding: 0 12px; } .cosmod-lp-rail__btn { display: flex !important; align-items: center; justify-content: center; top: 40%; transform: translateY(-50%); width: 28px; height: 28px; border: none; background: transparent; box-shadow: none; color: #111; font-size: 1.6rem; text-shadow: 0 1px 3px rgba(255, 255, 255, 0.6); } .cosmod-lp-rail__btn:hover:not(:disabled) { background: transparent; transform: translateY(-50%) scale(1.08); } .cosmod-lp-rail__btn:disabled { opacity: 0.35; } .cosmod-lp-rail__scroller { overflow: hidden; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; } .cosmod-lp-rail__scroller.is-dragging { cursor: grabbing; } .cosmod-lp-rail.is-peek .cosmod-lp-grid--rail .cosmod-lp-card { min-width: 0 !important; max-width: none !important; } } #cosmod-lp-wrap .cosmod-lp-card, .cosmod-lp-card { display: flex; flex-direction: column; text-align: center; position: relative; margin: 0; } .cosmod-lp-img-wrap { position: relative; width: 100%; max-width: 220px; margin: 0 auto 12px; aspect-ratio: 1 / 1; overflow: visible; background: #fff; display: flex; align-items: center; justify-content: center; } .cosmod-lp-img-link { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; text-decoration: none !important; border-bottom: none !important; } .cosmod-lp-img-wrap img { width: 100%; height: 100%; object-fit: contain; display: block; } #cosmod-lp-wrap a.cosmod-lp-name, #cosmod-lp-wrap a.cosmod-lp-price { text-decoration: none !important; border-bottom: none !important; color: inherit !important; } /* Promo / Cadeaux badge on product image */ .cosmod-lp-badge { position: absolute; left: 8px; bottom: 8px; z-index: 4; display: inline-block; padding: 4px 8px; border-radius: 3px; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; line-height: 1.2; color: #fff; background: #c45b8a; pointer-events: none; } .cosmod-lp-badge--promo { background: #d94f8c; } .cosmod-lp-badge--cadeaux { background: #a13a6f; } /* Wishlist bar — CTA + heart, top-right of image */ .cosmod-lp-wish-bar { position: absolute; top: 8px; right: 8px; z-index: 5; display: flex; align-items: center; justify-content: flex-end; gap: 8px; max-width: calc(100% - 16px); pointer-events: none; } .cosmod-lp-wish-bar > * { pointer-events: auto; } a.cosmod-lp-wish-cta, .cosmod-lp-wish-cta { display: none; align-items: center; justify-content: center; max-width: min(200px, 68vw); min-height: 36px; padding: 8px 16px; border: 0 !important; border-radius: 999px; background: #000 !important; background-color: #000 !important; color: #fff !important; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22); font-size: 12px; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none !important; white-space: nowrap; animation: cosmod-lp-cta-in 0.22s ease; transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease; } .cosmod-lp-wish-cta[hidden] { display: none !important; } .cosmod-lp-wish-bar.is-cta-open a.cosmod-lp-wish-cta, .cosmod-lp-wish-bar.is-cta-open .cosmod-lp-wish-cta, a.cosmod-lp-wish-cta.is-visible, .cosmod-lp-wish-cta.is-visible { display: inline-flex; background: #000 !important; background-color: #000 !important; color: #fff !important; } a.cosmod-lp-wish-cta:hover, a.cosmod-lp-wish-cta:focus, a.cosmod-lp-wish-cta:visited, .cosmod-lp-wish-cta:hover, .cosmod-lp-wish-cta:focus, .cosmod-lp-wish-cta:visited { background: #111 !important; background-color: #111 !important; color: #fff !important; opacity: 0.92; text-decoration: none !important; } @keyframes cosmod-lp-cta-in { from { opacity: 0; transform: translateX(6px); } to { opacity: 1; transform: translateX(0); } } .cosmod-lp-wish-slot { line-height: 0; position: relative; } .cosmod-lp-wish-slot .cosmod-lp-wish { position: static; top: auto; right: auto; } .cosmod-lp-wish { position: relative; flex: 0 0 auto; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; box-shadow: none; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; color: #111; transition: transform 0.15s, background 0.15s, color 0.15s; text-decoration: none !important; } .cosmod-lp-wish:hover { transform: scale(1.06); background: transparent; color: #000; } .cosmod-lp-wish.is-active, .cosmod-lp-wish[aria-pressed="true"] { color: #000 !important; } .cosmod-lp-wish svg { width: 18px; height: 18px; display: block; pointer-events: none; } .cosmod-lp-wish.is-active svg path, .cosmod-lp-wish[aria-pressed="true"] svg path { fill: #000 !important; stroke: #000 !important; } /* YITH / TI wishlist wrappers inside bar */ .cosmod-lp-wish-bar .yith-wcwl-add-to-wishlist, .cosmod-lp-wish-bar .tinv-wraper { position: relative !important; top: auto !important; right: auto !important; margin: 0 !important; } #cosmod-lp-wrap .cosmod-lp-name, .cosmod-lp-products .cosmod-lp-name { font-size: 14px; line-height: 1.4; color: #111 !important; margin-bottom: 6px; text-decoration: none !important; border-bottom: none !important; } #cosmod-lp-wrap .cosmod-lp-price, .cosmod-lp-products .cosmod-lp-price { font-size: 15px; font-weight: 600; color: #111 !important; text-decoration: none !important; border-bottom: none !important; } #cosmod-lp-wrap .cosmod-lp-price del { opacity: 0.5; font-weight: 400; margin-right: 6px; } .cosmod-lp-viewall-wrap { text-align: center; margin: 28px 0 8px; } a.cosmod-lp-viewall, .cosmod-lp-viewall { display: inline-block; background: #111; color: #fff; font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif; font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; padding: 14px 42px; border-radius: 999px; border: 1.5px solid #111; transition: background 0.25s ease, color 0.25s ease, transform 0.15s ease; } a.cosmod-lp-viewall:hover, .cosmod-lp-viewall:hover { background: #fff; color: #111; transform: translateY(-1px); } .cosmod-lp-empty { grid-column: 1 / -1; text-align: center; padding: 40px 0; color: #888; font-size: 14px; } .cosmod-lp-pagination { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; margin: 8px 0 32px; font-family: Georgia, "Times New Roman", serif; font-size: 14px; } .cosmod-lp-pagination a { color: #333; text-decoration: none !important; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: background 0.2s, color 0.2s; } .cosmod-lp-pagination a:hover { background: #f0f0f0; } .cosmod-lp-pagination a.cosmod-lp-page-active { background: #111 !important; color: #fff !important; } .cosmod-lp-pagination a.cosmod-lp-page-next { width: auto; padding: 0 14px; border-radius: 16px; text-transform: uppercase; letter-spacing: 0.05em; font-size: 12px; } .cosmod-lp-page-dots { color: #999; padding: 0 2px; } /* Filtres — Cosmod refined */ .cosmod-lf-block { margin-bottom: 26px; padding-bottom: 22px; border-bottom: 1px solid rgba(17, 17, 17, 0.08); } .cosmod-lf-block:last-of-type { border-bottom: 0; padding-bottom: 0; } .cosmod-lf-title { font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif; font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; color: #111; margin: 0 0 14px; font-weight: 700; } .cosmod-lf-list { list-style: none; margin: 0; padding: 0 4px 0 0; max-height: 210px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #cfcbc4 transparent; } .cosmod-lf-list::-webkit-scrollbar { width: 4px; } .cosmod-lf-list::-webkit-scrollbar-thumb { background: #cfcbc4; border-radius: 4px; } .cosmod-lf-list li { margin: 0; } .cosmod-lf-list label { display: flex; align-items: center; gap: 10px; padding: 7px 4px; border-radius: 6px; font-family: "DM Sans", Helvetica, Arial, sans-serif; font-size: 14px; font-weight: 500; color: #2a2a2a; cursor: pointer; transition: background 0.15s ease, color 0.15s ease; } .cosmod-lf-list label:hover { background: rgba(17, 17, 17, 0.04); color: #111; } .cosmod-lf-list input[type="checkbox"] { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 0; flex: 0 0 18px; border: 1.5px solid #bdb8b0; border-radius: 4px; background: #fff; cursor: pointer; position: relative; transition: border-color 0.15s ease, background 0.15s ease; } .cosmod-lf-list input[type="checkbox"]:hover { border-color: #111; } .cosmod-lf-list input[type="checkbox"]:checked { background: #111; border-color: #111; } .cosmod-lf-list input[type="checkbox"]:checked::after { content: ""; position: absolute; left: 5px; top: 1.5px; width: 5px; height: 9px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); } .cosmod-lf-search-field { position: relative; } .cosmod-lf-search input, .cosmod-lf-search-field input { width: 100%; padding: 12px 14px 12px 40px; border: 0; border-radius: 999px; font-family: "DM Sans", Helvetica, Arial, sans-serif; font-size: 13px; color: #111; background: #f1efe9; box-sizing: border-box; outline: none; transition: box-shadow 0.15s ease, background 0.15s ease; } .cosmod-lf-search input::placeholder, .cosmod-lf-search-field input::placeholder { color: #8a857c; } .cosmod-lf-search input:focus, .cosmod-lf-search-field input:focus { background: #fff; box-shadow: 0 0 0 1.5px #111; } .cosmod-lf-search-field::before { content: ""; position: absolute; left: 14px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border: 1.6px solid #6f6a62; border-radius: 50%; box-sizing: border-box; pointer-events: none; z-index: 1; } .cosmod-lf-search-field::after { content: ""; position: absolute; left: 26px; top: 50%; width: 6px; height: 1.6px; margin-top: 4px; background: #6f6a62; transform: rotate(45deg); pointer-events: none; z-index: 1; } /* Prix filter — Notino-style inputs + thick black dual range */ .cosmod-lf-block[data-cosmod-filter-block="prix"] .cosmod-lf-block-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; } .cosmod-lf-block[data-cosmod-filter-block="prix"] .cosmod-lf-title { font-family: "DM Sans", Helvetica, Arial, sans-serif; font-size: 16px; font-weight: 700; letter-spacing: 0; text-transform: none; margin: 0; line-height: 1.2; } .cosmod-lf-block[data-cosmod-filter-block="prix"] .cosmod-lf-block-header::after { content: ""; flex: 0 0 auto; width: 7px; height: 7px; margin: 4px 2px 0 0; border-left: 1.5px solid #111; border-bottom: 1.5px solid #111; transform: rotate(135deg); opacity: 0.85; } .cosmod-lf-price-wrap { padding: 0; } .cosmod-lf-price-inputs { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; } .cosmod-lf-price-field { flex: 1 1 0; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 1px solid #d0d0d0; border-radius: 2px; background: #fff; box-sizing: border-box; cursor: text; } .cosmod-lf-price-field:focus-within { border-color: #111; } .cosmod-lf-price-currency { flex: 0 0 auto; font-family: "DM Sans", Helvetica, Arial, sans-serif; font-size: 15px; font-weight: 500; color: #111; line-height: 1; } .cosmod-lf-price-field input[type="number"] { flex: 0 1 auto; width: 3.2em; min-width: 0; max-width: 5em; border: 0; outline: none; background: transparent; font-family: "DM Sans", Helvetica, Arial, sans-serif; font-size: 15px; font-weight: 500; color: #111; line-height: 1.2; padding: 12px 0; text-align: center; -moz-appearance: textfield; appearance: textfield; } .cosmod-lf-price-field input[type="number"]::-webkit-outer-spin-button, .cosmod-lf-price-field input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } .cosmod-lf-price-sep { flex: 0 0 auto; font-family: "DM Sans", Helvetica, Arial, sans-serif; font-size: 15px; font-weight: 500; color: #111; line-height: 1; } .cosmod-lf-price-slider { position: relative; height: 32px; margin: 0 2px 2px; } .cosmod-lf-slider-track { position: absolute; left: 0; right: 0; top: 13px; height: 6px; background: #e8e8e8; border-radius: 999px; } .cosmod-lf-slider-range { position: absolute; top: 13px; height: 6px; background: #111; border-radius: 999px; z-index: 1; } .cosmod-lf-price-slider input[type="range"] { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 32px; margin: 0; background: transparent; pointer-events: none; -webkit-appearance: none; appearance: none; } .cosmod-lf-price-slider input[type="range"]:focus { outline: none; } .cosmod-lf-price-slider input[type="range"]::-webkit-slider-thumb { pointer-events: all; -webkit-appearance: none; appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: #111; cursor: pointer; position: relative; z-index: 3; border: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28), 0 1px 2px rgba(0, 0, 0, 0.16); } .cosmod-lf-price-slider input[type="range"]::-moz-range-thumb { pointer-events: all; width: 28px; height: 28px; border-radius: 50%; background: #111; cursor: pointer; border: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28), 0 1px 2px rgba(0, 0, 0, 0.16); z-index: 3; } .cosmod-lf-price-slider input[type="range"]::-webkit-slider-runnable-track { -webkit-appearance: none; height: 6px; background: transparent; border: 0; } .cosmod-lf-price-slider input[type="range"]::-moz-range-track { height: 6px; background: transparent; border: 0; } .cosmod-lf-price-slider input[type="range"]::-moz-range-progress { background: transparent; height: 6px; } .cosmod-lf-price-values { display: none; } .cosmod-lf-reset { display: flex; width: 100%; align-items: center; justify-content: center; margin: 10px 0 0; padding: 12px 22px; font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif; font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: #111; background: transparent; border: 1.5px solid #111; border-radius: 999px; cursor: pointer; text-decoration: none; transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease; } .cosmod-lf-reset:hover { background: #111; color: #fff; box-shadow: 0 8px 20px rgba(17, 17, 17, 0.18); transform: translateY(-1px); } .cosmod-lf-apply { display: none; } .cosmod-lf-mobile-bar { display: none; } .cosmod-lf-overlay { display: none; } .cosmod-lf-block-close { display: none; } body.cosmod-lf-modal-open { overflow: hidden; } @media (max-width: 782px) { .cosmod-lf-mobile-bar { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 16px; margin: 0 0 6px; -webkit-overflow-scrolling: touch; scrollbar-width: none; } .cosmod-lf-mobile-bar::-webkit-scrollbar { display: none; } .cosmod-lf-pill { flex: 0 0 auto; padding: 10px 18px; background: #111; border: none; border-radius: 999px; font-family: "DM Sans", Helvetica, Arial, sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; cursor: pointer; white-space: nowrap; } .cosmod-lp-sidebar > .cosmod-lf-block { display: none; } .cosmod-lp-sidebar > .cosmod-lf-block.cosmod-lf-block-open { display: flex; flex-direction: column; position: fixed; left: 0; right: 0; bottom: 0; top: auto; max-height: 82vh; background: #fff; z-index: 100000; padding: 28px 24px calc(28px + env(safe-area-inset-bottom, 0px)); margin: 0; border-radius: 20px 20px 0 0; box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.18); } .cosmod-lf-block-open .cosmod-lf-title { margin-bottom: 0; } .cosmod-lf-block-open .cosmod-lf-list { max-height: none; overflow-y: auto; } .cosmod-lf-block-header { display: flex; align-items: center; justify-content: center; position: relative; margin-bottom: 22px; } .cosmod-lf-block[data-cosmod-filter-block="prix"] .cosmod-lf-block-header::after { display: none; } .cosmod-lf-block-header .cosmod-lf-title { flex: 1; text-align: center; margin-bottom: 0; } .cosmod-lf-block[data-cosmod-filter-block="prix"] .cosmod-lf-title { font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif; font-size: 18px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; } .cosmod-lf-block-close { display: flex; align-items: center; justify-content: center; position: absolute; right: 0; width: 32px; height: 32px; border: none; background: #f2f1ee; border-radius: 50%; font-size: 20px; line-height: 1; color: #111; cursor: pointer; } .cosmod-lf-block-open .cosmod-lf-apply { display: block; width: 100%; margin-top: 20px; padding: 14px 0; background: #111; color: #fff; border: none; border-radius: 100px; font-family: Georgia, "Times New Roman", serif; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; flex-shrink: 0; } .cosmod-lf-overlay.active { display: block; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.45); z-index: 99999; } .cosmod-lp-sidebar > .cosmod-lf-reset { display: none; } } /* ———————————————————————————————————————————————————————————— Desktop (>782px), Boutique page ONLY (the sidebar there renders with the extra .cosmod-lp-sidebar--topbar class — see cosmod_lp_shortcode_ filters() / is_shop() in includes/shortcodes.php): filters become a horizontal dropdown bar across the top of the page, instead of the fixed-width left sidebar. Every other page keeps the classic sidebar untouched, since it never gets the --topbar class. Reuses the same pill / block-open markup and JS as mobile — only the layout and pill/dropdown styling differ here. The JS pill click handler positions the opened block right under the clicked pill. ———————————————————————————————————————————————————————————— */ @media (min-width: 783px) { .cosmod-lp-layout:has(.cosmod-lp-sidebar--topbar) { flex-direction: column; } .cosmod-lp-sidebar--topbar { flex: 0 0 auto; width: 100%; padding: 0 0 28px; background: transparent; border: 0; border-radius: 0; box-shadow: none; } .cosmod-lp-sidebar--topbar .cosmod-lf-mobile-bar { display: flex; flex-wrap: nowrap; align-items: center; gap: 16px; overflow-x: auto; padding: 0 0 4px; margin: 0; scrollbar-width: thin; } .cosmod-lp-sidebar--topbar .cosmod-lf-pill { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-width: 190px; padding: 16px 26px; background: #fff; border: 1px solid rgba(17, 17, 17, 0.18); border-radius: 999px; font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif; font-size: 16px; font-weight: 700; letter-spacing: 0.03em; text-transform: none; color: #111; cursor: pointer; white-space: nowrap; transition: border-color 0.15s ease; } .cosmod-lp-sidebar--topbar .cosmod-lf-pill:hover { border-color: #111; } .cosmod-lp-sidebar--topbar .cosmod-lf-pill::after { content: ""; flex: 0 0 auto; width: 7px; height: 7px; margin-top: -4px; border-left: 1.5px solid #111; border-bottom: 1.5px solid #111; transform: rotate(-45deg); transition: transform 0.15s ease; } .cosmod-lp-sidebar--topbar .cosmod-lf-pill.cosmod-lf-pill-active::after { transform: rotate(135deg); margin-top: 4px; } /* Search field: its own row below the pills, aligned to the right. */ .cosmod-lp-sidebar--topbar .cosmod-lf-search { display: block; margin: 14px 0 0 auto; padding: 0; border: 0; width: 220px; } .cosmod-lp-sidebar--topbar > .cosmod-lf-block:not(.cosmod-lf-search) { display: none; } .cosmod-lp-sidebar--topbar > .cosmod-lf-block.cosmod-lf-block-open { display: flex; flex-direction: column; position: fixed; /* top/left are set by JS, right under the clicked pill */ z-index: 10000; width: 300px; max-width: calc(100vw - 32px); max-height: 70vh; background: #fff; border: 1px solid rgba(17, 17, 17, 0.1); border-radius: 14px; box-shadow: 0 18px 46px rgba(17, 17, 17, 0.16); padding: 20px 20px 18px; margin: 0; } .cosmod-lp-sidebar--topbar .cosmod-lf-block-open .cosmod-lf-list { max-height: 46vh; overflow-y: auto; } .cosmod-lp-sidebar--topbar .cosmod-lf-block-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; } .cosmod-lp-sidebar--topbar .cosmod-lf-block[data-cosmod-filter-block="prix"] .cosmod-lf-block-header::after { display: none; } .cosmod-lp-sidebar--topbar .cosmod-lf-block-close { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 26px; height: 26px; border: none; background: #f2f1ee; border-radius: 50%; font-size: 16px; line-height: 1; color: #111; cursor: pointer; } .cosmod-lp-sidebar--topbar .cosmod-lf-block-open .cosmod-lf-apply { display: block; width: 100%; margin-top: 16px; padding: 12px 0; background: #111; color: #fff; border: none; border-radius: 100px; font-family: Georgia, "Times New Roman", serif; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; } .cosmod-lp-sidebar--topbar > .cosmod-lf-reset { display: inline-flex; width: auto; flex: 0 0 auto; margin: 0 0 0 4px; padding: 10px 4px; background: none; border: none; font-family: "DM Sans", Helvetica, Arial, sans-serif; font-size: 13px; text-decoration: underline; color: #6f6a62; cursor: pointer; } /* No dark backdrop for the desktop dropdown — it closes on an outside * click, the × button, Appliquer, or on scroll (see cosmod-lp.js). */ .cosmod-lp-sidebar--topbar .cosmod-lf-overlay { display: none !important; } } /* Category circles (accueil) */ .cosmod-categories { margin: 28px 0 48px; padding: 8px 0 4px; } .cosmod-categories__list { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 28px 36px; list-style: none; margin: 0; padding: 0; } .cosmod-categories__entry { margin: 0; padding: 0; } .cosmod-categories__link { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 128px; text-decoration: none !important; color: #111 !important; border: 0 !important; } .cosmod-categories__image { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; display: block; background: #f3f2ef; border: 1px solid rgba(17, 17, 17, 0.08); box-shadow: 0 8px 22px rgba(17, 17, 17, 0.08); transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease; } .cosmod-categories__label { font-family: Georgia, "Times New Roman", serif; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; text-align: center; line-height: 1.25; color: #222; transition: color 0.2s ease; } .cosmod-categories__link:hover .cosmod-categories__image, .cosmod-categories__link:focus-visible .cosmod-categories__image { transform: translateY(-4px) scale(1.04); border-color: #111; box-shadow: 0 14px 28px rgba(17, 17, 17, 0.16); } .cosmod-categories__link:hover .cosmod-categories__label, .cosmod-categories__link:focus-visible .cosmod-categories__label { color: #111; } @media (max-width: 782px) { .cosmod-categories__list { gap: 20px 18px; } .cosmod-categories__link { width: 92px; gap: 10px; } .cosmod-categories__image { width: 78px; height: 78px; } .cosmod-categories__label { font-size: 12px; } } @media (prefers-reduced-motion: reduce) { .cosmod-categories__image { transition: none; } } /* —— Mobile: center product rail titles —— */ @media (max-width: 640px) { .cosmod-lp-title-wrap { text-align: center !important; } .cosmod-lp-title-line { margin-left: auto !important; margin-right: auto !important; } .cosmod-lp-eyebrow, .cosmod-lp-title, a.cosmod-lp-title { text-align: center !important; display: block; } } /* Quick add-to-cart (top-left of product image) */ .cosmod-lp-cartbtn{position:absolute;top:8px;left:8px;z-index:5;width:36px;height:36px;border:0;border-radius:50%;background:rgba(255,255,255,.92);box-shadow:0 1px 4px rgba(0,0,0,.12);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0;color:#111;text-decoration:none!important;transition:transform .15s,background .15s,color .15s} .cosmod-lp-cartbtn:hover{transform:scale(1.06);background:#fff} .cosmod-lp-cartbtn svg{width:18px;height:18px;display:block;pointer-events:none} .cosmod-lp-cartbtn.is-loading{opacity:.5;pointer-events:none} .cosmod-lp-cartbtn.is-added{background:#111;color:#fff} .cosmod-lp-toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,20px);z-index:99999;background:#111;color:#fff;padding:12px 22px;border-radius:100px;font:500 13px/1.2 "DM Sans",Arial,sans-serif;letter-spacing:.02em;opacity:0;transition:opacity .25s,transform .25s;pointer-events:none;box-shadow:0 8px 28px rgba(0,0,0,.25)} .cosmod-lp-toast.show{opacity:1;transform:translate(-50%,0)} .cosmod-lp-cartbtn.is-in-cart{background:#111;color:#fff} https://cosmod.be/post-sitemap.xml 2026-09-16T10:04:34+00:00 https://cosmod.be/page-sitemap.xml 2026-09-22T18:26:10+00:00 https://cosmod.be/product-sitemap.xml 2026-09-22T17:00:47+00:00 https://cosmod.be/product-sitemap2.xml 2026-09-11T01:35:15+00:00 https://cosmod.be/product-sitemap3.xml 2026-09-11T18:24:35+00:00 https://cosmod.be/product-sitemap4.xml 2026-09-13T15:19:53+00:00 https://cosmod.be/product-sitemap5.xml 2026-09-14T04:11:23+00:00 https://cosmod.be/product-sitemap6.xml 2026-09-18T11:23:38+00:00 https://cosmod.be/product-sitemap7.xml 2026-09-22T17:00:47+00:00 https://cosmod.be/category-sitemap.xml 2026-09-16T10:04:34+00:00 https://cosmod.be/product_brand-sitemap.xml 2026-09-22T17:00:47+00:00 https://cosmod.be/product_cat-sitemap.xml 2026-09-22T17:00:47+00:00 https://cosmod.be/pa_sexe-sitemap.xml 2026-09-22T17:00:47+00:00