/* Catalog layout matched to the supplied NJP cards. */
.card.fy-catalog-card { border:1px solid #e1e1e1; border-radius:12px; background:#fff; box-shadow:0 3px 12px #00000005; overflow:hidden; padding:14px; height:100%; transform:none; }
.card.fy-catalog-card:hover { transform:none; border-color:#c8c8c8; }
.fy-catalog-card .card__media { aspect-ratio:1.12; border-radius:0; background:#fff; overflow:visible; isolation:auto; }
.fy-catalog-card .card__img { padding:10% 12% 3%; mix-blend-mode:normal; }
.fy-catalog-card:hover .card__media { box-shadow:none; }
.fy-catalog-card .card__flags { position:absolute; top:0; left:0; z-index:3; display:flex; flex-direction:column; align-items:flex-start; gap:5px; min-height:0; pointer-events:none; }
.fy-catalog-card .card__flags .badge, .fy-catalog-card .card__flags .card__sale { position:static; display:inline-flex; padding:5px 9px; border:0; border-radius:5px; font:700 11px/1.2 var(--f-body); letter-spacing:0; text-transform:uppercase; box-shadow:none; color:#fff!important; }
.fy-catalog-card .card__flags .badge--best,.fy-catalog-card .card__flags .badge--popular { background:#4a8e2d!important; }
.fy-catalog-card .card__flags .badge--top { background:#f6b332!important; }
.fy-catalog-card .card__flags .card__sale { background:#191919!important; }
.fy-catalog-card .card__body { padding:12px 0 0; gap:16px; align-items:center; text-align:center; }
.fy-catalog-card .fy-review-link--card { order:0; justify-content:center; flex-wrap:wrap; gap:5px; margin:0; min-height:22px; position:relative; z-index:3; font-size:12px; }
.fy-catalog-card .fy-review-link--card strong { font-weight:400; }
.fy-catalog-card .fy-stars { color:#ffb12e; }
.fy-catalog-card .card__title { font-family:var(--f-body); font-size:16px; font-weight:700; line-height:1.35; letter-spacing:-.02em; min-height:4.05em; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; width:100%; margin:0; }
.fy-catalog-card .card__foot { margin-top:auto; padding:0; justify-content:center; width:100%; min-height:30px; }
.fy-catalog-card .price { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:center; gap:6px; }
.fy-catalog-card .price__current { font-size:20px!important; color:#111!important; font-weight:750; }
.fy-catalog-card .price__compare { font-size:13px; color:#aaa; margin:0!important; }
.fy-catalog-card .fy-card-stock { margin:0; color:#4a8e2d; font-size:12px; line-height:1.4; min-height:18px; }
.fy-catalog-card .fy-card-form { width:100%; margin:0; position:relative; z-index:3; }
.fy-catalog-card .fy-card-add { display:flex; align-items:center; justify-content:center; gap:8px; width:100%; min-height:46px; padding:12px 8px; border:0; border-radius:6px; background:#54a52d; color:white; font:700 13px/1.25 var(--f-body); text-transform:uppercase; cursor:pointer; transition:background .15s; }
.fy-catalog-card .fy-card-add svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0; }
.fy-catalog-card .fy-card-add:hover:not(:disabled) { background:#448923; }
.fy-catalog-card .fy-card-add:focus-visible { outline:3px solid #202020; outline-offset:3px; }
.fy-catalog-card.is-sold-out { background:#f5f5f5; }
.fy-catalog-card.is-sold-out .card__media { background:#f5f5f5; }
.fy-catalog-card.is-sold-out .card__img { filter:grayscale(1); opacity:.45; mix-blend-mode:multiply; }
.fy-catalog-card.is-sold-out .card__body { color:#777; }
.fy-catalog-card.is-sold-out .card__title a,.fy-catalog-card.is-sold-out .price__current { color:#777!important; }
.fy-catalog-card.is-sold-out .fy-stars { filter:grayscale(1); opacity:.6; }
.fy-catalog-card.is-sold-out .fy-card-stock { color:#777; }
.fy-catalog-card.is-sold-out .fy-card-add { background:#ddd; color:#666; cursor:not-allowed; }
@media(max-width:599px){
 .card.fy-catalog-card { padding:9px; border-radius:10px; }
 .fy-catalog-card .card__body { gap:12px; padding-top:10px; }
 .fy-catalog-card .card__title { font-size:12px; min-height:5.4em; -webkit-line-clamp:4; }
 .fy-catalog-card .fy-review-link--card { font-size:10px; gap:3px; min-height:32px; }
 .fy-catalog-card .fy-stars { --star:12px; }
 .fy-catalog-card .card__flags .badge,.fy-catalog-card .card__flags .card__sale { padding:4px 6px; font-size:9px; }
 .fy-catalog-card .price__current { font-size:17px!important; }
 .fy-catalog-card .price__compare { font-size:11px; }
 .fy-catalog-card .fy-card-stock { font-size:10px; min-height:28px; }
 .fy-catalog-card .fy-card-add { font-size:10px; padding:10px 4px; gap:4px; min-height:42px; }
 .fy-catalog-card .fy-card-add svg { width:14px; height:14px; }
}
/* The Black Friday theme also targets all add buttons; keep the reference green. */
.fy-catalog-card .fy-card-add { background:#54a52d!important; color:#fff!important; border-color:#54a52d!important; }
.fy-catalog-card .fy-card-add:hover:not(:disabled),.fy-catalog-card .fy-card-add:focus-visible { background:#448923!important; color:#fff!important; }
.fy-catalog-card.is-sold-out .fy-card-add { background:#ddd!important; color:#666!important; border-color:#ddd!important; }
#shopify-section-reassurance .reassure { padding:28px 0; background:#faf9f6; border-top:1px solid #eae6dd; }
#shopify-section-reassurance .reassure__grid { gap:0; }
#shopify-section-reassurance .reassure__item { flex-direction:row; align-items:flex-start; gap:12px; padding:12px 20px; border-right:1px solid #e6e1d7; }
#shopify-section-reassurance .reassure__item:last-child { border-right:0; }
#shopify-section-reassurance .reassure__icon { width:38px; height:38px; border-radius:10px; background:#f0e9d7; color:#66552e; }
#shopify-section-reassurance .reassure__icon svg { width:21px; height:21px; }
#shopify-section-reassurance .reassure__item p { gap:5px; }
#shopify-section-reassurance .reassure__item strong { font-size:14px; line-height:1.35; font-weight:700; color:#222; }
#shopify-section-reassurance .reassure__item p span { font-size:12px; line-height:1.5; color:#666; }
@media(max-width:999px){
 #shopify-section-reassurance .reassure__item { padding:16px 12px; }
 #shopify-section-reassurance .reassure__item:nth-child(2) { border-right:0; }
 #shopify-section-reassurance .reassure__item:nth-child(-n+2) { border-bottom:1px solid #e6e1d7; }
}
@media(max-width:599px){
 #shopify-section-reassurance .reassure { padding:16px 0; }
 #shopify-section-reassurance .reassure__item { flex-direction:column; gap:10px; padding:14px 12px; }
 #shopify-section-reassurance .reassure__item strong { font-size:13px; }
 #shopify-section-reassurance .reassure__item p span { font-size:11px; }
 .template-collection main > .shopify-section:last-child .section { padding-bottom:28px; }
 .template-collection .coll-seo:has(.rte:empty) { display:none; }
}

.fy-catalog-card .fy-card-add svg { stroke:#fff; }
.fy-catalog-card.is-sold-out .fy-card-add svg { stroke:#666; }
#fy-contact-form { scroll-margin-top:24px; }

/* Compact header search and product gallery details. */
.header__main > .header__actions { margin-left:auto; }
.fy-search-open { border:0; background:transparent; color:inherit; cursor:pointer; }
.fy-search-dialog { width:min(640px,calc(100% - 32px)); max-height:85dvh; margin:10vh auto auto; padding:24px; border:1px solid #ddd; border-radius:16px; background:#fff; color:#171717; overflow:visible; box-shadow:0 24px 80px #0003; }
.fy-search-dialog::backdrop { background:rgb(0 0 0 / .48); }
.fy-search-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:20px; }
.fy-search-heading h2 { font-size:20px; margin:0; }
.fy-search-heading button { border:0; background:transparent; font-size:30px; width:44px; height:44px; cursor:pointer; }
.fy-search-dialog .search { display:block; width:100%; max-width:none; margin:0; }
.fy-search-dialog .search__results { max-height:50dvh; }
html:has(.fy-search-dialog[open]) { overflow:hidden; }
.pdp__gallery > .fy-trustpilot { display:flex; justify-content:center; flex-wrap:wrap; margin:16px 0 0; padding:12px 0; }
.pdp__gallery > .breadcrumbs { margin:12px 0 0; padding:12px 0 0; border-top:1px solid #e7e7e7; font-size:12px; line-height:1.6; }
@media(max-width:749px) {
 .fy-search-dialog { padding:16px; }
 .fy-search-heading h2 { font-size:18px; }
 .pdp__gallery > .fy-trustpilot { gap:8px; }
 .pdp__gallery > .fy-trustpilot .fy-trustpilot__text { font-size:12px; }
}

.fy-search-dialog .search__results ul { list-style:none; margin:0; padding:0; }
.fy-search-dialog .search__results li a { display:block; padding:10px; text-decoration:none; font-size:14px; line-height:1.5; border-bottom:1px solid #eee; }
.fy-search-dialog .search__results li a:hover { background:#f5f5f5; }
.bf-blk__k { display:none !important; }

/* NJP-style merchandising badges on photos, with a compact stacked layout. */
.fy-catalog-card .card__flags { top:10px; left:10px; max-width:calc(100% - 20px); gap:5px; }
.fy-catalog-card .card__flags .badge { gap:4px; }
.fy-catalog-card .card__flags .badge svg,.fy-product-flags .badge svg { width:13px; height:13px; flex:0 0 13px; fill:currentColor; stroke:none; }
.pdp__gallery { isolation:isolate; }
.fy-product-flags { position:absolute; top:12px; left:12px; z-index:3; display:flex; flex-direction:column; gap:5px; pointer-events:none; }
.fy-product-flags .badge { display:inline-flex; align-items:center; gap:5px; padding:7px 10px; border-radius:5px; font-size:12px; line-height:1.2; font-weight:750; text-transform:uppercase; color:white!important; background:#4a8e2d!important; box-shadow:none; }
.fy-product-flags .badge--top { background:#f6b332!important; }
@media(max-width:849px){.pdp__gallery:has(.fy-product-flags){position:relative;top:auto;}.fy-product-flags{top:10px;left:0;}}
@media(max-width:480px){.fy-catalog-card .card__flags { top:7px;left:7px;max-width:calc(100% - 14px); }.fy-catalog-card .card__flags .badge {font-size:9px;padding:5px 6px;}}

/* 17/11 : moins d'espace entre le titre et le prix (hauteur réservée = lignes réellement utilisées). */
.fy-catalog-card .card__title { min-height:2.7em; -webkit-line-clamp:2; }
.fy-catalog-card .card__body { gap:10px; }
@media(max-width:599px){
 .fy-catalog-card .card__title { min-height:4.05em; -webkit-line-clamp:3; }
 .fy-catalog-card .card__body { gap:8px; }
}
/* 17/11 : titres des catégories dans la police du texte (Public Sans), plus classique. */
.coll-head__title { font-family:var(--f-body) !important; font-weight:700 !important; letter-spacing:-.02em !important; }

/* 17/11 : prix barré sous le prix actuel (hauteur réservée pour garder les prix alignés). */
.fy-catalog-card .price { flex-direction:column; align-items:center; justify-content:flex-start; gap:2px; min-height:44px; }
.fy-catalog-card .price__current { order:1; line-height:1.2; }
.fy-catalog-card .price__compare { order:2; }
@media(max-width:599px){ .fy-catalog-card .price { min-height:38px; } }
