/* Financing stays subordinate to the total price and the purchase action. */
.sf-box{margin:14px 0;padding:14px 16px;border:1px solid #ded8cb;background:#f8f5ee;color:#173548;font-size:13px;line-height:1.45;box-sizing:border-box}.sf-box[hidden]{display:none}.sf-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.sf-heading strong{font-size:17px;font-weight:600;letter-spacing:-.03em}.sf-free{white-space:nowrap}.sf-brand{font-family:Georgia,serif;font-size:25px;font-weight:bold;letter-spacing:-1.8px;color:#be472c;line-height:1;flex:none}.sf-details{display:inline-flex;gap:12px;align-items:center;padding:8px 0 0;border:0;background:transparent;color:#173548;font:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer;text-align:left}.sf-details:focus-visible,.sf-home button:focus-visible,.sf-choices button:focus-visible,.sf-close:focus-visible{outline:2px solid #a65f36;outline-offset:4px}.sf-box>small{display:block;margin-top:6px;font-size:10px;line-height:1.45;color:#586b73}.sf-card{display:block;font-size:10px;line-height:1.45;font-weight:400;white-space:pre-line;color:#69746e;letter-spacing:0;margin-top:5px}.sf-home{padding:23px 6%;background:#f3eee4;color:#173548;display:flex;align-items:center;justify-content:center;gap:30px;border-bottom:1px solid #e4ddcf;box-sizing:border-box}.sf-home .sf-brand{font-size:34px}.sf-home strong{font-size:16px;font-weight:500;letter-spacing:-.02em}.sf-home div>span{display:block;font-size:12px;color:#596d73;margin-top:5px}.sf-home button{border:0;border-bottom:1px solid #9b7d61;background:transparent;padding:8px 0;font:inherit;font-size:12px;color:inherit;cursor:pointer;white-space:nowrap}.sf-home button span{margin-left:15px}.sf-mobile-break{display:none}
.sf-dialog{width:min(530px,calc(100vw - 28px));max-height:calc(100dvh - 32px);padding:34px;border:0;color:#173548;background:#fcfaf6;box-sizing:border-box;overflow:auto;overscroll-behavior:contain;font-family:inherit;box-shadow:0 20px 100px #081d3140}.sf-dialog::backdrop{background:#071e30b8}.sf-close{position:absolute;right:14px;top:10px;width:38px;height:38px;border:0;background:transparent;font-size:28px;color:inherit;cursor:pointer}.sf-dialog .sf-eyebrow{font-size:9px;letter-spacing:.12em;margin:5px 30px 22px 0}.sf-dialog h2{font-size:34px;line-height:1.1;letter-spacing:-.04em;font-weight:400;margin:0 0 20px}.sf-dialog h2 em{color:#9b6643;font-style:normal}.sf-dialog>p{font-size:13px;line-height:1.6}.sf-dialog .sf-brand{font-size:20px}.sf-choices{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0 16px}.sf-choices button{padding:10px 12px;border:1px solid #d7d3c9;background:transparent;color:inherit;font:inherit;font-size:12px;cursor:pointer}.sf-choices button[aria-pressed=true]{background:#173548;color:#fff;border-color:#173548}.sf-schedule{padding:16px;background:#f0ede5;font-size:13px}.sf-schedule-title{margin:0 0 12px!important;font-size:13px;font-weight:600}.sf-schedule ol{list-style:none;margin:0;padding:0}.sf-schedule li{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-top:1px solid #dedace}.sf-terms,.sf-context{font-size:11px!important;color:#607179}.sf-long{border-top:1px solid #ded8cb;padding-top:15px;margin-top:20px;font-size:12px;line-height:1.6}.sf-long summary{cursor:pointer}.sf-long p{margin:10px 0}.sf-long[hidden]{display:none}
@media(max-width:700px){.sf-home{padding:20px 6%;gap:16px;flex-wrap:wrap;justify-content:flex-start}.sf-home strong{font-size:14px}.sf-home div{flex:1;min-width:200px}.sf-home button{margin-left:57px;padding-top:0}.sf-mobile-break{display:block}.sf-box{padding:12px}.sf-heading strong{font-size:16px}.sf-dialog{padding:26px 20px}.sf-dialog h2{font-size:30px}.sf-choices{gap:6px}.sf-choices button{flex:1;padding:10px 5px;font-size:11px}#sf-drawer{padding:9px 12px;margin:10px 0}#sf-drawer .sf-heading strong{font-size:15px}#sf-drawer>small{font-size:9px}#sf-drawer .sf-details{padding-top:4px}}

.sf-logo{width:45px!important;height:24px!important;object-fit:contain;flex:none;vertical-align:middle}.sf-home .sf-logo{width:48px!important;height:28px!important}.sf-dialog .sf-logo{width:36px!important;height:20px!important}.pack-card .sf-card{font-size:10px;font-weight:400;line-height:1.5;white-space:normal;color:#69746e}.sf-dialog:not([open]){display:none}

/* Short screens: allow reaching every cart action without clipping. */
@media(max-height:700px){body.somay-reference #cart-drawer{overflow-y:auto;overscroll-behavior:contain}body.somay-reference #cart-drawer .cart-items{flex:none;overflow:visible;max-height:none;min-height:85px}}

/* Compact financing: cash price and instalment share the same reading line. */
.sf-box{border:0;background:none;padding:0;margin:0;color:#173548;display:inline-flex;flex-direction:column;align-items:flex-start;gap:3px;vertical-align:middle}
.sf-box[hidden]{display:none}.sf-inline,.sf-up-to{border:0;background:none;color:inherit;font:inherit;padding:0;cursor:pointer;text-align:left}.sf-inline{font-size:14px;white-space:nowrap;line-height:1.2}.sf-inline strong{font-size:26px;font-weight:650;letter-spacing:-.045em;color:#a65029}.sf-up-to{font-size:11px;line-height:1.6;color:#61717a}.sf-up-to span{margin-left:5px}.sf-inline:focus-visible,.sf-up-to:focus-visible{outline:2px solid #a65f36;outline-offset:4px}
.sf-price-row{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 20px;margin:20px 0}.sf-price-row #reference-price{font-size:27px;margin:0;line-height:1.2}.sf-price-row .sf-inline strong{font-size:30px}
#sf-drawer,#sf-basket,#sf-order-total{display:flex;align-items:flex-end;margin:8px 0 12px;padding:0}#sf-drawer .sf-inline strong{font-size:25px}#sf-featured{margin-right:auto}.bambou-price:has(#sf-featured){flex-wrap:wrap;gap:14px}
.sf-card,.pack-card .sf-card{font-size:10px;font-weight:400;line-height:1.8;white-space:pre-line;color:#61717a;margin:4px 0 0}.sf-card::first-line{font-size:16px;font-weight:650;letter-spacing:-.04em;color:#a65029}.product-bottom .price{min-width:0}.sf-home{padding:22px 6%;gap:24px}.sf-home>strong{font-size:22px;font-weight:450}.sf-home em{font-style:normal;color:#a65029;font-weight:650}.sf-home button{margin-left:0}.sf-dialog .sf-eyebrow{display:flex;align-items:center;gap:10px}.sf-dialog h2{font-size:34px;margin-bottom:16px}.sf-choices{flex-wrap:nowrap;gap:6px;margin:16px 0}.sf-choices button{flex:1;padding:10px 3px;min-width:0}.sf-choices button strong{font-size:19px;display:block}.sf-choices button small{font-size:9px;white-space:nowrap;display:block;margin-top:4px}.sf-totals{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}.sf-totals>span{display:flex;justify-content:space-between;gap:10px}.sf-totals>span:last-child{padding-top:8px;border-top:1px solid #d5d0c7;font-size:15px}.sf-schedule ol{max-height:235px;overflow:auto;overscroll-behavior:contain}.sf-credit{font-size:10px!important;line-height:1.5!important;color:#607179}.sf-credit[hidden]{display:none}.sf-amount-label{display:block;font-size:12px}.sf-amount{display:block;width:100%;box-sizing:border-box;padding:10px;margin-top:8px;border:1px solid #d7d3c9;background:white;color:#173548;font:inherit;font-size:16px}.sf-retry{font:inherit;border:0;background:none;text-decoration:underline;color:inherit;padding:8px 0;cursor:pointer}
@media(max-width:700px){.sf-price-row{gap:8px 14px}.sf-price-row #reference-price{font-size:23px}.sf-price-row .sf-inline strong{font-size:27px}.sf-home{gap:12px}.sf-home>strong{font-size:19px}.sf-home button{margin-left:60px}.sf-dialog{padding:24px 18px}.sf-choices button{font-size:11px}.sf-dialog h2{font-size:30px}.sf-home .sf-logo{width:42px!important}.product .product-bottom{flex-direction:column;align-items:stretch;gap:12px}.product .product-bottom .add-button{align-self:stretch}.sf-card::first-line{font-size:17px}}

/* Homepage: make both long instalment options immediately visible. */
.sf-home{display:grid;grid-template-columns:auto minmax(0,max-content) auto;grid-template-areas:"brand title action" "brand terms action";column-gap:32px;row-gap:8px;padding:38px 6%;align-items:center;justify-content:center}.sf-home>.sf-logo,.sf-home>.sf-brand{grid-area:brand}.sf-home .sf-logo{width:70px!important;height:42px!important}.sf-home>strong{grid-area:title;font-size:clamp(30px,3.6vw,48px);font-weight:500;line-height:1.12;letter-spacing:-.045em}.sf-home>strong em{white-space:nowrap;font-weight:750}.sf-home>small{grid-area:terms;font-size:11px;line-height:1.5;color:#61717a}.sf-home>button{grid-area:action;margin:0;font-size:13px;padding:10px 0}
@media(max-width:700px){.sf-home{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title brand" "terms terms" "action action";padding:30px 6%;gap:12px 14px;justify-content:stretch}.sf-home>strong{font-size:32px;max-width:300px}.sf-home>strong em{display:block}.sf-home .sf-logo{width:52px!important;height:32px!important}.sf-home>button{justify-self:start;margin:4px 0 0}.sf-home>small{font-size:10px}}

/* Monthly-first display, using Alma's 12-payment quote including credit costs. */
.sf-price-row.sf-monthly-ready #sf-product{order:-1}.sf-price-row.sf-monthly-ready #reference-price{font-size:20px;font-weight:500}.sf-price-row.sf-monthly-ready #reference-price:before{content:"ou ";font-size:14px;font-weight:400}.sf-price-row.sf-monthly-ready #reference-price:after{content:" comptant";font-size:11px;font-weight:400;color:#61717a}.sf-per-month{font-size:.58em;letter-spacing:-.02em}.sf-inline{font-size:12px}.sf-inline strong{font-size:28px}.sf-box:not(.sf-monthly-ready) .sf-inline{font-size:12px;color:#61717a}.sf-up-to{font-size:10px}.sf-card,.pack-card .sf-card{font-size:17px;font-weight:650;line-height:1.45;white-space:normal;color:#a65029;margin:0 0 5px}.sf-card[hidden]{display:none}.sf-card small{display:block;font-size:9px;font-weight:400;color:#61717a;margin:2px 0 5px;letter-spacing:0}.product-bottom .price.sf-monthly-ready>span:before{content:"ou ";font-weight:400}.product-bottom .price.sf-monthly-ready>span{font-size:14px}.sf-card::first-line{font-size:17px}.pack-price.sf-monthly-ready{font-size:14px}
@media(max-width:700px){.sf-price-row{align-items:center;gap:10px 16px}.sf-price-row.sf-monthly-ready #reference-price{font-size:18px}.sf-price-row .sf-inline strong{font-size:28px}.sf-card,.pack-card .sf-card,.sf-card::first-line{font-size:15px}}

/* Alma home signature: all plans, prominent logo, reversible scroll reveal. */
.sf-home{grid-template-columns:160px minmax(0,max-content) auto;grid-template-areas:"brand title action" "brand plans action" "brand terms action";gap:12px 44px;padding:46px 6%;overflow:hidden}.sf-home .sf-logo{width:152px!important;height:88px!important}.sf-home>.sf-brand{font-size:66px}.sf-home>strong{font-size:clamp(28px,3vw,42px);max-width:none}.sf-home-plans{grid-area:plans;display:flex;align-items:center;gap:30px;min-width:0!important}.sf-home-plans>span{display:block!important;flex:none;margin:0!important}.sf-home-plans>span+span{padding-left:30px;border-left:1px solid #d8cabb}.sf-home-plans b{font-size:clamp(26px,2.8vw,38px);font-weight:650;letter-spacing:-.04em;line-height:1.2;color:#a65029;white-space:nowrap}.sf-home-plans small{display:block;font-size:12px;color:#61717a;margin-top:4px}.sf-home>small{font-size:10px;margin-top:2px}.sf-home>button{align-self:center}.sf-scroll-reveal> *{opacity:var(--sf-reveal,1);transform:translate3d(0,calc((1 - var(--sf-reveal,1))*22px),0)}.sf-scroll-reveal:focus-within> *{opacity:1;transform:none}
@media(max-width:900px){.sf-home{grid-template-columns:minmax(0,1fr) 108px;grid-template-areas:"title brand" "plans plans" "terms terms" "action action";gap:16px 18px;justify-content:stretch;padding:32px 6%}.sf-home .sf-logo{width:108px!important;height:62px!important}.sf-home>strong{font-size:30px;line-height:1.12}.sf-home-plans{justify-content:flex-start;gap:24px;flex:none!important}.sf-home-plans>span+span{padding-left:24px}.sf-home-plans b{font-size:30px}.sf-home>button{justify-self:start;margin:0}.sf-home-plans small{font-size:11px}}
@media(max-width:360px){.sf-home{grid-template-columns:minmax(0,1fr) 88px;gap:16px 12px}.sf-home .sf-logo{width:88px!important;height:54px!important}.sf-home>strong{font-size:27px}.sf-home-plans{gap:18px}.sf-home-plans>span+span{padding-left:18px}.sf-home-plans b{font-size:25px}}
@media(prefers-reduced-motion:reduce){.sf-scroll-reveal> *{opacity:1;transform:none}}

/* Common editorial format and stable price/action alignment. */
body.somay-reference .catalog-intro figure.catalog-feature{width:min(100%,460px);height:auto!important;aspect-ratio:1!important;grid-template-rows:minmax(0,1fr) auto;display:grid;max-width:calc(100% - 32px);margin:16px;justify-self:center}
body.somay-reference .catalog-feature>img,body.somay-reference .catalog-feature>img[data-category="Matelas"]{height:100%!important;width:100%!important;min-height:0;object-fit:contain!important;padding:12px!important}
body.somay-reference .catalog-feature>figcaption{position:relative!important;inset:auto!important;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;margin:0 12px 12px;padding:12px!important}
body.somay-reference .catalog-feature>figcaption>strong{font-size:18px;line-height:1.25;white-space:normal;grid-column:1/-1}
body.somay-reference .catalog-feature>figcaption>b{grid-column:2;grid-row:3;font-size:16px;align-self:end}
#sf-editorial{grid-column:1;grid-row:3;min-width:0}#sf-editorial .sf-inline strong{font-size:24px}#sf-editorial .sf-up-to{font-size:9px}
body.somay-reference .catalog-feature>figcaption>.feature-actions{grid-column:1/-1;grid-row:4;margin-top:2px}
body.somay-reference .product .product-bottom{display:flex;flex-direction:row;align-items:flex-end;gap:10px}.product-bottom .price{flex:1;min-width:0;min-height:76px}.product-bottom .add-button{flex:none;align-self:flex-end!important;margin:0;white-space:nowrap}.sf-card small{white-space:normal;line-height:1.35}
.pack-price .sf-card{display:block;margin-bottom:8px}.pack-price .sf-card[hidden]{display:none}.pack-card>a>span{align-items:flex-end!important;gap:12px}.pack-price{min-width:0}.pack-price .sf-card small{font-size:10px;line-height:1.4}.pack-price .sf-card::first-line{font-size:19px}.bambou-price #sf-featured{order:-1;flex-basis:100%;margin:0}.bambou-price #sf-featured .sf-inline strong{font-size:32px}
@media(max-width:700px){body.somay-reference .catalog-intro figure.catalog-feature{width:min(100%,360px)}body.somay-reference .catalog-feature>figcaption>strong{font-size:16px}.product-bottom .add-button{padding:9px 8px;font-size:10px}.product-bottom .price.sf-monthly-ready>span{font-size:12px}.sf-card,.sf-card::first-line{font-size:14px}#sf-editorial .sf-inline strong{font-size:22px}body.somay-reference .catalog-feature>figcaption>b{font-size:14px}}
@media(max-width:480px){body.somay-reference .product .product-bottom{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 6px}.product-bottom .price{display:contents}.product-bottom .price>.sf-card{grid-column:1/-1;grid-row:1;min-height:42px;margin:0}.product-bottom .price>del{grid-column:1;grid-row:2;font-size:10px}.product-bottom .price>span{grid-column:1;grid-row:3;align-self:end}.product-bottom .add-button{grid-column:2;grid-row:3;padding:8px 7px}.product-bottom .sf-card small{font-size:9px}.product-bottom .price:not(.sf-monthly-ready)>span{font-size:14px}}

/* Monetary fragments in carousel cards stay together on one line. */
body.somay-reference .pack-card .pack-price>span{display:inline!important;white-space:nowrap;font-size:14px}body.somay-reference .pack-card .pack-price>span:first-of-type:before{content:"ou ";font-size:12px}.pack-card>a>span>b{flex:none;white-space:nowrap;align-self:flex-end}.catalog-feature figcaption>b:before{content:"ou ";font-size:12px;font-weight:400}

/* Compact cards: monthly amount only, retaining bottom-aligned actions. */
.product-bottom .price{min-height:56px}@media(max-width:480px){.product-bottom .price>.sf-card{min-height:22px}}

/* Keep the touch target stationary when focus reveals the Alma band. */
.sf-scroll-reveal>button{opacity:1;transform:none}
