/* Bloc promotions partage, repris du hub Hemera */


/* Promotions Hemera — flux FeedPilot, présentation responsive */
.hemera-promotions-home{margin:24px auto 38px;padding-top:0}
.hemera-promotions-home .hemera-promotions-heading{margin-bottom:26px}
.hemera-promotions{width:100%;max-width:1320px;margin:58px auto 10px;padding:0 18px 22px;box-sizing:border-box;color:#292126}
.hemera-promotions-heading{text-align:center;margin:0 auto 34px;max-width:760px}
.hemera-promotions-heading>span{display:block;margin-bottom:10px;color:#b77b16;font:700 10px/1.4 Arial,sans-serif;letter-spacing:.32em}
.hemera-promotions-heading h2{margin:0 0 12px;color:#2c1c25;font:400 clamp(34px,4vw,48px)/1.08 Georgia,"Times New Roman",serif;letter-spacing:-.035em}
.hemera-promotions-heading p{margin:0;color:#7b7074;font:400 14px/1.6 Arial,sans-serif}
.hemera-promotions-status{padding:18px;text-align:center;color:#81767a;font:13px Arial,sans-serif}
.hemera-promotions-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:stretch}
.hemera-promo-card{min-width:0;overflow:hidden;display:flex;flex-direction:column;border:1px solid #eadbc9;border-radius:9px;background:#fffdfa;box-shadow:0 2px 8px rgba(54,34,20,.025)}
.hemera-promo-visual{position:relative;display:block;overflow:hidden;aspect-ratio:1.42;background:#f2ece4}
.hemera-promo-image{display:block;width:100%;height:100%;object-fit:cover;transition:transform .45s ease}
.hemera-promo-card:hover .hemera-promo-image{transform:scale(1.035)}
.hemera-promo-badge{position:absolute;top:11px;left:11px;width:70px;height:70px;object-fit:contain;filter:drop-shadow(0 2px 3px rgba(0,0,0,.16))}
.hemera-promo-content{display:flex;flex:1;flex-direction:column;align-items:flex-start;padding:16px 17px 18px}
.hemera-promo-title{margin:0 0 14px;color:#263129;font:400 clamp(17px,1.55vw,22px)/1.22 Georgia,"Times New Roman",serif}
.hemera-promo-prices{display:flex;align-items:baseline;flex-wrap:wrap;gap:9px 18px;margin:0 0 15px;font-family:Arial,sans-serif}
.hemera-promo-old{color:#9c9290;font-size:14px;font-weight:600;text-decoration:line-through}
.hemera-promo-current{color:#b77712;font-size:18px;font-weight:750}
.hemera-promo-cta{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:38px;margin-top:auto;padding:0 15px;border:0;border-radius:999px;background:#c99327;color:#fff!important;text-decoration:none!important;font:700 12px/1 Arial,sans-serif;transition:background .2s ease,transform .2s ease}
.hemera-promo-cta:hover{background:#ae781b;transform:translateY(-1px)}
.hemera-promo-cta:focus-visible{outline:3px solid rgba(201,147,39,.35);outline-offset:3px}
.hemera-promotions-error{max-width:680px;margin:0 auto;padding:18px;border:1px solid #eadbc9;border-radius:10px;color:#74676b;text-align:center;font:13px/1.6 Arial,sans-serif}
@media(min-width:681px) and (max-width:1050px){.hemera-promotions-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.hemera-promo-title{font-size:20px}.hemera-promo-visual{aspect-ratio:1.55}}
@media(max-width:680px){
 .hemera-promotions-home{margin:22px auto 30px;padding-top:0}
 .hemera-promotions-home .hemera-promotions-heading{margin-bottom:22px}
 .hemera-promotions{margin:42px auto 0;padding:0 13px 18px;overflow:hidden}
 .hemera-promotions-heading{margin-bottom:28px;padding:0 8px}
 .hemera-promotions-heading>span{font-size:9px;letter-spacing:.3em}
 .hemera-promotions-heading h2{font-size:34px}
 .hemera-promotions-heading p{font-size:13px}
 .hemera-promotions-grid{display:flex;gap:13px;overflow-x:auto;overflow-y:hidden;padding:0 0 7px;scroll-snap-type:x mandatory;scroll-padding-left:0;-webkit-overflow-scrolling:touch;scrollbar-width:none}
 .hemera-promotions-grid::-webkit-scrollbar{display:none}
 .hemera-promo-card{flex:0 0 100%;width:100%;scroll-snap-align:start;scroll-snap-stop:always}
 .hemera-promo-visual{aspect-ratio:1.27}
 .hemera-promo-badge{top:10px;left:10px;width:72px;height:72px}
 .hemera-promo-content{padding:16px 17px 17px}
 .hemera-promo-title{font-size:21px;line-height:1.25;margin-bottom:13px}
 .hemera-promo-prices{gap:8px 18px;margin-bottom:15px}
 .hemera-promo-current{font-size:18px}
 .hemera-promo-cta{width:100%;min-height:38px;font-size:12px}
}



/* V13 — visuel de campagne adapté à l'écran (paysage / portrait) */
.hemera-promo-campaign{grid-column:1/-1;background:#faf7f2;align-items:stretch;justify-content:center}
.hemera-promo-campaign-link{display:flex;width:100%;align-items:center;justify-content:center;background:#faf7f2;text-decoration:none}
.hemera-promo-campaign-picture{display:block;width:100%;line-height:0;text-align:center}
.hemera-promo-campaign-image{display:block;width:100%;max-height:470px;height:auto;object-fit:contain;object-position:center}
.hemera-promo-campaign-link:focus-visible{outline:3px solid #c99327;outline-offset:-3px}
@media(max-width:680px){
 .hemera-promo-campaign{flex:0 0 100%;width:100%}
 .hemera-promo-campaign-picture{display:flex;align-items:center;justify-content:center}
 .hemera-promo-campaign-image{width:auto;max-width:100%;max-height:420px;height:auto;object-fit:contain}
}


/* V14 — indicateurs du slider mobile des promotions */
.hemera-promotions-slider-nav{display:none}
@media(max-width:680px){
 .hemera-promotions-slider-nav{display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 0 2px}
 .hemera-promotions-slider-dot{appearance:none;-webkit-appearance:none;width:8px;height:8px;margin:0;padding:0;border:0;border-radius:999px;background:#dccdb5;opacity:.95;cursor:pointer;transition:transform .2s ease,background .2s ease,opacity .2s ease}
 .hemera-promotions-slider-dot.is-active{background:#c99327;transform:scale(1.18)}
 .hemera-promotions-slider-dot:focus-visible{outline:3px solid rgba(201,147,39,.32);outline-offset:3px}
 .hemera-promotions-slider-nav[hidden]{display:none!important}
}

/* V15 : flèches de navigation autour des points sur mobile */
@media(max-width:680px){
 .hemera-promotions-slider-dots{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0}
 .hemera-promotions-slider-nav{gap:14px}
 .hemera-promotions-slider-arrow{display:inline-flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;height:32px;padding:0;border:1px solid #d8b56c;border-radius:50%;background:#fffaf0;color:#a9791f;cursor:pointer;transition:background .2s ease,color .2s ease,opacity .2s ease}
 .hemera-promotions-slider-arrow:hover:not(:disabled){background:#c99327;color:#fff}
 .hemera-promotions-slider-arrow:disabled{opacity:.35;cursor:default}
 .hemera-promotions-slider-arrow:focus-visible{outline:3px solid rgba(201,147,39,.35);outline-offset:2px}
}
@media(prefers-reduced-motion:reduce){.hemera-promotions-slider-arrow{transition:none}}
