/* A stable product sheet for ordinary products, menus and weighted portions. */
#details-dialog{max-width:1080px;height:min(640px,90dvh);overflow:hidden}
#details-dialog [data-details-body],#details-dialog .product-detail-grid{height:100%;min-height:0}
#details-dialog .detail-content{overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
#details-dialog .detail-visual{min-height:0;overflow:hidden}
#details-dialog .detail-visual>img{height:100%;max-height:none;object-fit:cover}
#details-dialog .detail-visual>img.product-logo-image,.rd-request-visual>img.product-logo-image{object-fit:contain;padding:36px;background:#f2ebdf}
.product-information{margin:0 0 22px;font-size:12px;line-height:1.8}
.product-information .detail-extra{white-space:pre-line;overflow-wrap:anywhere}
@media(max-width:700px){#details-dialog{height:90dvh;max-height:90dvh}#details-dialog .product-detail-grid{display:flex;flex-direction:column;height:100%}#details-dialog .detail-visual{height:140px;min-height:140px;flex:none}#details-dialog .detail-content{flex:1;min-height:0;padding:22px 22px 28px}#details-dialog .detail-visual>img{width:100%;height:140px}#details-dialog .detail-visual>img.product-logo-image{padding:14px}}
.rd-request-visual{display:flex;align-items:center;justify-content:center;background:#f2ebdf;overflow:hidden;min-height:0}
.rd-request-visual>img{width:100%;height:100%;max-height:620px;object-fit:cover}

.product-photo>img.product-logo-image{object-fit:contain;padding:18px;background:#f2ebdf}.cart-line img.product-logo-image,.favorite-product img.product-logo-image{object-fit:contain;padding:6px;background:#f2ebdf}

/* Featured navigation shares the existing modal and keeps its dimensions stable. */
dialog[open].has-featured-navigation{display:flex;flex-direction:column}
.featured-dialog-navigation{display:flex;align-items:center;gap:14px;flex:none;min-height:62px;padding:8px 76px 8px 20px;border-bottom:1px solid var(--border,#dce3da);background:var(--paper,#fffef9)}
.featured-dialog-navigation button{flex:none;min-width:44px;min-height:44px;border:1px solid var(--border,#dce3da);border-radius:50%;background:transparent;color:var(--ink,#173d32);font-size:22px;cursor:pointer}
.featured-dialog-navigation span{flex:1;text-align:center;font-size:12px;font-weight:600}
#details-dialog.has-featured-navigation [data-details-body]{flex:1;height:auto;min-height:0}
#reservation-demo-dialog.has-featured-navigation>.rd{flex:1;height:auto;min-height:0}
@media(min-width:701px){#reservation-demo-dialog.rd-product-dialog{max-width:1080px}.detail-content{padding-left:36px;padding-right:36px}}
@media(max-width:700px){.featured-dialog-navigation{min-height:58px;padding:6px 62px 6px 14px;gap:8px}.featured-dialog-navigation span{font-size:11px}}

/* One scrollable body above the fixed quantity and purchase controls. */
#details-dialog .detail-content{display:flex;flex-direction:column;min-height:0;overflow:hidden;padding-bottom:0}
.detail-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 2px 20px 0;scrollbar-gutter:stable}
.detail-purchase{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden;border:0;padding:0;background:var(--paper,#fffef9)}
.detail-purchase-actions{flex:none;min-width:0;border-top:1px solid var(--border,#dce3da);padding:14px 0 18px}.detail-purchase-actions>.primary,.detail-purchase-actions>.rd-primary{width:100%}
.detail-purchase .menu-choice-actions{position:static;bottom:auto;margin-top:0;padding:14px 0 18px}.detail-purchase .detail-price{margin-top:0!important;margin-bottom:12px!important}
.detail-purchase .detail-note{margin-bottom:0!important}.detail-purchase .weight-portions{margin-top:0}
.product-information-disclosure{border-bottom:1px solid var(--border,#dce3da)}
.product-information-disclosure>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:8px 0;cursor:pointer;list-style:none;font-weight:600}
.product-information-disclosure>summary:focus-visible{outline:2px solid var(--accent,#173d32);outline-offset:2px}
.product-information-disclosure>summary::-webkit-details-marker{display:none}.product-information-disclosure>summary::after{content:'+';font-size:18px;flex:none}
.product-information-disclosure[open]>summary::after{content:'−'}.product-information-disclosure>div p{margin:0 0 14px;white-space:pre-line;overflow-wrap:anywhere}
.rd-product-dialog .rd-request-layout>.rd-card[data-purchase-layout]{display:flex;flex-direction:column;overflow:hidden;padding-bottom:0}
.rd-product-dialog .detail-purchase{margin-bottom:0}.rd-product-dialog .detail-purchase .rd-field{margin-bottom:12px}
@media(max-width:700px){#details-dialog .detail-content{padding-bottom:0}.detail-purchase-actions,.detail-purchase .menu-choice-actions{padding-top:10px;padding-bottom:max(16px,env(safe-area-inset-bottom))}.detail-scroll{padding-bottom:12px}}

#details-dialog.menu-options-dialog .product-detail-grid{height:100%;min-height:0}

/* Landscape phones keep both short option lists in view alongside the photo. */
@media(min-width:701px) and (max-height:500px){
 #details-dialog .product-detail-grid{grid-template-columns:minmax(0,.65fr) minmax(0,1.35fr)}
 #details-dialog .detail-content{padding-top:16px;padding-left:24px;padding-right:24px}
 #details-dialog .menu-choice-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 #details-dialog .menu-choice-fields .menu-choice-field{margin:0 0 12px;min-width:0}
 #details-dialog .menu-choice-field>span{flex-wrap:wrap;gap:2px}
}

/* Readable choices and one purchase bar, shared by all product types. */
.product-option-group{border:0;padding:0;margin:0 0 18px;min-width:0}
.product-option-group>legend{width:100%;padding:0;margin:0 0 10px;font-size:13px;font-weight:600}
.product-option-group>legend>span{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.product-option-group>legend small{font-size:10px;font-weight:400;color:var(--muted,#52664d)}
.product-option-group>select[hidden]{display:none!important}
.product-option-choice{display:flex;align-items:center;gap:10px;min-height:52px;padding:10px 12px;margin:0 0 8px;border:1px solid var(--border,#dce3da);border-radius:8px;font-size:12px;line-height:1.5;cursor:pointer}
.product-option-choice[data-selected=true]{border-color:var(--accent,#173d32);background:var(--soft,#f2f4ec)}
.product-option-choice[data-disabled=true]{opacity:.55;cursor:default}
.product-option-choice input{width:20px;height:20px;flex:none;margin:0;accent-color:var(--accent,#173d32)}
.product-option-copy{flex:1;min-width:0;overflow-wrap:anywhere}.product-option-price{flex:none;font-size:11px;font-weight:500;white-space:nowrap}
.product-option-choice input:focus-visible{outline:2px solid var(--ink,#173d32);outline-offset:3px}
.product-purchase-bar{display:flex;align-items:center;gap:12px;min-width:0}
#details-dialog .detail-purchase .product-quantity-field{display:block;flex:0 0 128px;min-width:0;margin:0!important;padding:0;font-size:14px}
.product-quantity-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.product-quantity-field>.product-quantity-stepper{display:flex;gap:0;justify-content:normal;align-items:center;min-height:48px;border:1px solid var(--border,#dce3da);border-radius:999px;background:var(--paper,#fffef9);overflow:hidden}
#details-dialog .product-quantity-field>.product-quantity-stepper{flex-wrap:nowrap;gap:0}
.product-quantity-stepper button{display:grid;place-items:center;flex:0 0 44px;width:44px;min-width:44px;min-height:44px;padding:0;border:0;background:transparent;color:var(--ink,#173d32);font:inherit;font-size:22px;cursor:pointer}
.product-quantity-stepper button[data-product-quantity-step="1"]{align-self:stretch;background:var(--ink,#173d32);color:var(--on-primary,#fff)}
.product-quantity-stepper button[data-product-quantity-step="1"]:focus-visible{outline-color:var(--on-primary,#fff)}
.product-quantity-stepper button:disabled{opacity:.35;cursor:default}
.product-quantity-stepper button:focus-visible{outline:2px solid var(--accent,#173d32);outline-offset:-4px;border-radius:50%}
.detail-purchase .product-purchase-bar .product-quantity-stepper input{width:38px;min-width:0;min-height:44px;flex:1;padding:0;border:0;border-radius:0;background:transparent;color:var(--ink,#173d32);font:inherit;font-size:14px;font-weight:600;text-align:center;appearance:textfield;-moz-appearance:textfield}
.product-quantity-stepper input::-webkit-inner-spin-button,.product-quantity-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.product-purchase-bar .product-purchase-submit{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:1;min-width:0;min-height:52px;width:auto;padding:12px 16px;font-size:13px}
.product-purchase-button-label{min-width:0}
.product-purchase-button-total{flex:none;font-size:13px;font-weight:600;white-space:nowrap}
.detail-purchase-actions>.subtotal{margin-bottom:8px;font-size:11px;color:var(--muted,#52664d)}
.detail-purchase-actions>.subtotal:empty{display:none}
@media(max-width:520px){.product-purchase-bar{gap:8px}.product-purchase-bar .product-purchase-submit{flex-direction:column;justify-content:center;gap:2px;padding:8px;font-size:12px}.product-purchase-button-total{font-size:12px}}

.rd-product-dialog>.rd{overflow:hidden}.rd-product-dialog .rd-request-layout>.rd-card[data-purchase-layout]{min-height:0}

/* Small information markers and a quiet emphasis for required choices. */
.product-information-label{display:inline-flex;align-items:center;gap:10px;min-width:0}
.product-information-icon{width:16px;height:16px;flex:none;opacity:.8}
.product-information .product-portion{margin:18px 0 4px}
.product-information>.product-portion:first-child{margin-top:0}
.product-portion-value{display:block;margin-top:6px;padding-left:26px}
.product-option-group[data-required=true]>legend{font-weight:700}
.product-option-group[data-required=true]>legend small{padding:2px 7px;border:1px solid var(--border,#dce3da);border-radius:4px;background:var(--soft,#f2f4ec);color:var(--ink,#173d32);font-weight:600;line-height:1.5;white-space:nowrap}

/* Fixed photo frame: uncropped foreground image on a quiet solid surface. */
.detail-visual:has([data-gallery-backdrop]),.rd-request-visual:has([data-gallery-backdrop]){position:relative;isolation:isolate;overflow:hidden;padding:0;touch-action:pan-y;background:color-mix(in srgb,var(--paper,#fffef9) 94%,var(--ink,#173d32) 6%)}
#details-dialog .detail-visual>img.product-gallery-backdrop,.rd-request-visual>img.product-gallery-backdrop{display:none}
#details-dialog .detail-visual:has([data-gallery-backdrop])>img[data-product-image],.rd-request-visual:has([data-gallery-backdrop])>img[data-product-image]{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:contain;padding:0;background:transparent}
#details-dialog .detail-visual:has(.product-gallery-thumbnails)>img[data-product-image],.rd-request-visual:has(.product-gallery-thumbnails)>img[data-product-image]{height:calc(100% - 80px)}
.product-gallery-thumbnails{position:absolute;bottom:8px;left:8px;right:8px;display:flex;gap:8px;overflow-x:auto;padding:4px;background:transparent}
.product-gallery-thumbnails button{flex:0 0 56px;width:56px;height:56px;padding:2px;border:2px solid transparent;background:var(--paper,#fff);cursor:pointer}
.product-gallery-thumbnails button[aria-pressed=true]{border-color:var(--ink,#173d32)}
.product-gallery-thumbnails button:focus-visible,.product-gallery-arrow:focus-visible{outline:2px solid white;outline-offset:2px}
.product-gallery-thumbnails img{width:100%;height:100%;object-fit:cover}
.product-gallery-arrow{position:absolute;top:calc(50% - 40px);transform:translateY(-50%);width:44px;height:44px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.92);color:#173d32;font:30px/1 Arial,sans-serif;cursor:pointer}
.product-gallery-arrow.previous{left:12px}.product-gallery-arrow.next{right:12px}
.product-gallery-count{position:absolute;right:16px;bottom:88px;padding:4px 8px;border-radius:12px;background:rgba(0,0,0,.6);color:white;font-size:12px;pointer-events:none}
@media(max-width:700px){#details-dialog .detail-visual:has([data-gallery-backdrop]){height:220px;min-height:220px}#details-dialog .detail-visual:has(.product-gallery-thumbnails){height:280px;min-height:280px}}

[data-product-image][role=button]{cursor:zoom-in}
[data-product-image][role=button]:focus-visible{outline:3px solid white;outline-offset:-4px}
dialog.product-gallery-fullscreen{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:color-mix(in srgb,var(--paper,#fffef9) 94%,var(--ink,#173d32) 6%);color:var(--ink,#173d32);overflow:hidden}
dialog.product-gallery-fullscreen::backdrop{background:var(--paper,#fffef9)}
dialog.product-gallery-fullscreen>.detail-visual,dialog.product-gallery-fullscreen>.rd-request-visual{position:relative;width:100%;height:100%;min-height:0;overflow:hidden;touch-action:pan-y;isolation:isolate}
dialog.product-gallery-fullscreen img.product-gallery-backdrop{display:none}
dialog.product-gallery-fullscreen img[data-product-image]{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:contain;padding:0;background:transparent;cursor:default}
dialog.product-gallery-fullscreen .detail-visual:has(.product-gallery-thumbnails)>img[data-product-image],dialog.product-gallery-fullscreen .rd-request-visual:has(.product-gallery-thumbnails)>img[data-product-image]{height:calc(100% - 88px)}
.product-gallery-close{position:absolute;top:max(16px,env(safe-area-inset-top));right:max(16px,env(safe-area-inset-right));width:44px;height:44px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.94);color:#173d32;font:30px/1 Arial,sans-serif;cursor:pointer}
.product-gallery-close:focus-visible{outline:2px solid white;outline-offset:3px}
dialog.product-gallery-fullscreen .product-gallery-thumbnails{bottom:max(8px,env(safe-area-inset-bottom))}

a.product-title{text-decoration:none;display:block}a.product-title:hover{text-decoration:underline;text-underline-offset:3px}
.product-permalink{display:inline-block;margin:12px 0;color:var(--ink);text-decoration:underline;text-underline-offset:3px}
/* Portion cards: one fixed format is a summary, multiple formats are choices. */
#details-dialog .weight-portions{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:24px 0}
#details-dialog .weight-portions legend{font-size:14px;font-weight:600;margin-bottom:12px;color:var(--ink)}
#details-dialog .weight-portion>.weight-portion-card{display:grid;grid-template-columns:1fr;gap:16px;min-height:156px;padding:18px;border:1px solid var(--border);border-radius:var(--card-radius,10px);background:var(--paper);box-shadow:none;transition:background-color .15s,border-color .15s}
#details-dialog .weight-portion-format,#details-dialog .weight-portion-price{display:flex;flex-direction:column;gap:4px}
#details-dialog .weight-portion strong{font-size:24px;line-height:1.2;font-weight:600;white-space:nowrap}
#details-dialog .weight-portion b{font-size:20px;line-height:1.2;font-weight:600;color:var(--ink);white-space:nowrap}
#details-dialog .weight-portion small{font-size:11px;line-height:1.5;color:var(--muted)}
#details-dialog .weight-portion input{top:18px;left:auto;right:16px;width:18px;height:18px;margin:0;accent-color:var(--ink)}
#details-dialog .weight-portion-format{padding-right:20px}
#details-dialog .weight-portion-state{font-size:11px;line-height:1.4;color:var(--muted)}
#details-dialog .weight-portion-state:before{content:'Choisir ce format'}
#details-dialog .weight-portion:has(input:checked)>.weight-portion-card{background:var(--soft);border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
#details-dialog .weight-portion:has(input:checked) .weight-portion-state{color:var(--ink);font-weight:600}
#details-dialog .weight-portion:has(input:checked) .weight-portion-state:before{content:'✓ Sélectionné'}
#details-dialog .weight-portion:hover>.weight-portion-card{border-color:var(--ink)}
#details-dialog .weight-portions.has-single-portion{grid-template-columns:minmax(0,1fr)}
#details-dialog .has-single-portion .weight-portion{cursor:default}
#details-dialog .has-single-portion .weight-portion>.weight-portion-card{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:100px;padding:20px 24px;border-color:var(--border);box-shadow:none}
#details-dialog .has-single-portion .weight-portion-price{text-align:right}
#details-dialog .has-single-portion .weight-portion-state{display:none}
#details-dialog .has-single-portion .weight-portion input{width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
@media(max-width:380px){#details-dialog .weight-portion>.weight-portion-card{padding:14px}#details-dialog .weight-portion input{right:12px;top:15px}#details-dialog .weight-portion strong{font-size:22px}#details-dialog .weight-portion b{font-size:18px}#details-dialog .has-single-portion .weight-portion>.weight-portion-card{padding:18px}}
@media(prefers-reduced-motion:reduce){#details-dialog .weight-portion>.weight-portion-card{transition:none}}
.product-minimum-note{padding:12px 14px;margin:16px 0;background:var(--soft);border-radius:var(--card-radius,8px);color:var(--ink);font-size:13px;line-height:1.6}
#details-dialog .weight-format-limits{display:block;font-size:12px;line-height:1.6;color:var(--ink);font-weight:500;white-space:normal}
#details-dialog .has-single-portion .weight-format-limits{flex-basis:100%;order:3}
#details-dialog .has-single-portion .weight-portion>.weight-portion-card{flex-wrap:wrap}

.product-quantity-field .product-quantity-limit-status{display:block;font-size:12px;line-height:1.4;color:var(--ink,#173d32);max-width:240px;white-space:normal}.product-quantity-field .product-quantity-limit-status[hidden]{display:none}

.cart-quantity-controls{display:flex;flex-direction:column;align-items:flex-start;gap:6px}.cart-quantity-limit{font-size:12px;line-height:1.4}.cart-quantity-controls button:disabled{opacity:.4;cursor:default}

/* Keep thumbnails separate from the full photo in every gallery surface. */
.product-gallery-thumbnails{bottom:0;left:0;right:0;height:80px;align-items:center;padding:12px;background:var(--paper,#fffef9)}
.product-gallery-thumbnails button:focus-visible,.product-gallery-arrow:focus-visible,.product-gallery-close:focus-visible{outline-color:var(--ink,#173d32)}
dialog.product-gallery-fullscreen .product-gallery-thumbnails{bottom:0;height:88px;padding-bottom:max(12px,env(safe-area-inset-bottom))}
/* Popup photo frame is square regardless of the source photograph's ratio. */
dialog#details-dialog .detail-visual:has([data-gallery-backdrop]){display:block;align-self:start;position:relative;width:100%;height:auto;min-height:0;aspect-ratio:1;flex:none}
dialog#details-dialog .detail-visual:has(.product-gallery-thumbnails){aspect-ratio:auto;padding-bottom:80px}
dialog#details-dialog .detail-visual:has(.product-gallery-thumbnails)::before{content:"";display:block;aspect-ratio:1}
dialog#details-dialog .product-gallery-arrow{top:50%}
dialog#details-dialog .detail-visual:has(.product-gallery-thumbnails) .product-gallery-arrow{top:calc((100% - 80px)/2)}
/* On phones the square photo and options share one scroll area. */
@media(max-width:700px){
 dialog#details-dialog [data-details-body]{overflow:auto;overscroll-behavior:contain}
 dialog#details-dialog .product-detail-grid{height:auto;min-height:100%}
 dialog#details-dialog .detail-content{flex:none;min-height:340px;overflow:visible}
 dialog#details-dialog .detail-purchase{min-height:310px;overflow:visible}
 dialog#details-dialog .detail-scroll{flex:none;overflow:visible}
 dialog#details-dialog .detail-purchase-actions{position:sticky;bottom:0;background:var(--paper,#fffef9);z-index:2;margin-top:auto}
}
/* Equal photo/options columns preserve the modal's fixed outer dimensions. */
@media(min-width:701px) and (min-height:501px){
 dialog#details-dialog .product-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 dialog#details-dialog .product-purchase-button-label{white-space:nowrap}
}
@media(min-width:701px) and (max-width:1099px) and (min-height:501px){
 dialog#details-dialog .detail-content{padding-left:24px;padding-right:24px}
 dialog#details-dialog .product-purchase-bar{gap:8px}
 dialog#details-dialog .product-quantity-field{flex-basis:112px}
 dialog#details-dialog .product-purchase-submit{flex-direction:column;justify-content:center;gap:2px;padding:8px 10px}
}
/* Leave room for featured-product navigation inside the same 640 px modal. */
@media(min-width:701px){
 dialog#details-dialog{--gallery-navigation-height:0px}
 dialog#details-dialog.has-featured-navigation{--gallery-navigation-height:62px}
 dialog#details-dialog .detail-visual:has([data-gallery-backdrop]){--gallery-rail-height:0px;max-width:calc(min(640px,90dvh) - var(--gallery-navigation-height) - var(--gallery-rail-height) - 2px);justify-self:center}
 dialog#details-dialog .detail-visual:has(.product-gallery-thumbnails){--gallery-rail-height:80px}
}

/* Close stays above the content without reserving heading width. */
dialog#details-dialog>.dialog-close{position:absolute;z-index:30;top:12px;right:12px}
dialog#details-dialog h2{margin-right:0}
@media(max-width:700px){
 dialog#details-dialog[data-mobile-purchase][open]{display:flex;flex-direction:column}
 dialog#details-dialog[data-mobile-purchase] [data-details-body]{display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden}
 dialog#details-dialog[data-mobile-purchase] .product-detail-grid{display:none}
 dialog#details-dialog .product-popup-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}
 dialog#details-dialog .product-popup-scroll>.detail-scroll{padding:22px 22px 12px;overflow:visible}
 dialog#details-dialog[data-mobile-purchase] [data-details-body]>.detail-purchase{flex:none;min-height:0;overflow:visible;padding:0 22px;background:var(--paper,#fffef9)}
 dialog#details-dialog[data-mobile-purchase] .detail-purchase-actions{position:static;margin:0;padding-bottom:max(16px,env(safe-area-inset-bottom))}
}

/* The close control overlays the dialog; only the options' own scrollbar uses width. */
dialog#details-dialog .detail-content{scrollbar-gutter:auto;padding-right:20px}
dialog#details-dialog .detail-scroll{scrollbar-gutter:auto;scrollbar-width:thin;padding-right:0}

/* The product link shares the thumbnail rail; only the photos scroll sideways. */
.product-gallery-photo-list{display:flex;gap:8px;flex:1;min-width:0;overflow-x:auto;align-items:center}
dialog#details-dialog .product-gallery-thumbnails:has(.product-gallery-photo-list){overflow:visible;gap:12px}
dialog#details-dialog .product-gallery-thumbnails>.product-permalink{display:flex;flex:none;align-items:center;justify-content:center;min-height:44px;max-width:140px;margin:0;font-size:12px;line-height:1.4;text-align:center}
@media(max-width:400px){dialog#details-dialog .product-gallery-thumbnails>.product-permalink{max-width:110px}}


.menu-choice-progress{margin:0 0 22px;font-size:13px;line-height:1.6}
.menu-choice-progress progress{display:block;width:100%;height:7px;margin-top:10px;accent-color:var(--ink,#173d32)}
.menu-choice-progress-footer{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:10px;font-size:12px;line-height:1.5}
.menu-choice-progress-footer button{flex:none;min-height:44px;border:0;padding:8px 10px;background:var(--soft,#f2f4ec);color:var(--ink,#173d32);font:inherit;cursor:pointer;border-radius:6px}
.product-option-group [data-menu-choice-state]{display:block;margin-top:4px;font-size:11px;font-weight:500;color:var(--muted,#52664d)}
.product-option-group[data-complete=true] [data-menu-choice-state]{color:var(--ink,#173d32)}
.product-option-group>legend [data-menu-choice-state]{background:none;border:0;padding:0;white-space:normal}

.product-option-recap{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;background:var(--soft,#f2f4ec);color:var(--ink,#173d32);font-size:13px;line-height:1.5}
.product-option-recap>span{min-width:0;overflow-wrap:anywhere}
.product-option-recap button{flex:none;min-height:44px;padding:8px 10px;border:0;background:transparent;color:var(--ink,#173d32);font:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.product-option-recap[hidden],.product-option-values[hidden]{display:none}
.product-option-group[data-required=true]>legend [data-menu-choice-state]{background:none;border:0;padding:0;white-space:normal}

/* Compact selection summaries, with progress expressed in words rather than a bar. */
.menu-choice-progress{margin-bottom:14px}
.menu-choice-progress progress{display:none}
.product-option-group{margin-bottom:16px}
.product-option-group[data-complete=true]{margin-bottom:10px}
.product-option-group[data-complete=true] [data-menu-choice-state]{display:none}
.product-option-recap{padding:0;background:transparent;min-height:44px;gap:8px}
.product-option-recap button{padding:6px 0 6px 10px}
.product-option-group>legend{margin-bottom:6px}
.menu-choice-progress-footer{gap:8px;margin-bottom:4px}
.menu-choice-progress-footer button{padding:6px 0 6px 8px;background:transparent;border-radius:0;text-decoration:underline;text-underline-offset:3px}
.menu-choice-actions>.subtotal{display:none}

/* A clear, compact progress cue beside the purchase action. */
.menu-choice-progress-footer{align-items:center;gap:12px;margin:0 0 8px;font-size:13px;font-weight:600;line-height:1.5;color:var(--ink,#173d32)}
.menu-choice-progress-footer [data-menu-progress-summary]{flex:1;min-width:0}
.menu-choice-progress-footer [data-menu-next-choice]{min-height:44px;padding:8px 12px;background:var(--soft,#f2f4ec);border-radius:6px;font-weight:600;text-decoration:none}
.menu-choice-progress-footer [data-menu-next-choice]:focus-visible{outline:2px solid var(--ink,#173d32);outline-offset:2px}

.menu-progress-marker{display:inline-flex;flex:none;width:20px;height:20px;align-items:center;justify-content:center;color:var(--ink,#173d32)}
.menu-progress-marker svg{display:block;width:20px;height:20px}
.menu-progress-arc{transform:rotate(-90deg);transform-origin:10px 10px;transition:stroke-dashoffset .2s ease}
.menu-progress-check{display:none}
.menu-choice-progress-footer[data-ready=true] .menu-progress-marker{color:#2f734b}
.menu-choice-progress-footer[data-ready=true] .menu-progress-arc{display:none}
.menu-choice-progress-footer[data-ready=true] .menu-progress-check{display:block}

@media(prefers-reduced-motion:reduce){.menu-progress-arc{transition:none}}

button.product-option-recap{width:100%;min-height:48px;border:0;padding:6px 0;cursor:pointer;font:inherit;font-size:13px;text-align:left;line-height:1.5;border-radius:4px}
.product-option-recap [data-menu-selection-summary]{flex:1;min-width:0}
.product-option-recap [data-menu-toggle-label]{flex:none;font-size:12px;font-weight:600;white-space:nowrap}
.product-option-recap .menu-choice-chevron{flex:none;transition:transform .16s ease}
.product-option-recap[aria-expanded=true] .menu-choice-chevron{transform:rotate(180deg)}
.product-option-recap:hover [data-menu-toggle-label]{text-decoration:underline;text-underline-offset:3px}
.product-option-recap:focus-visible{outline:2px solid var(--ink,#173d32);outline-offset:3px}
@media(prefers-reduced-motion:reduce){.product-option-recap .menu-choice-chevron{transition:none}}
/* A quiet surface identifies the collapsed selection as one clickable control. */
button.product-option-recap{padding:8px 12px;border-radius:6px;background:color-mix(in srgb,var(--paper,#fffef9) 95%,var(--ink,#173d32) 5%)}
button.product-option-recap:hover{background:color-mix(in srgb,var(--paper,#fffef9) 92%,var(--ink,#173d32) 8%)}

.menu-choice-complete-icon{flex:none;color:#2f734b}

/* Featured cards share the same compact structure for products and menus. */
.featured-group .products{grid-auto-rows:1fr}
.featured-group .products .product-body{min-width:0;display:flex;flex-direction:column;gap:4px}
.featured-group .products .product-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:normal;line-height:1.4;min-height:2.8em;max-height:2.8em;margin-bottom:0}
.featured-group .products .product-bottom{flex-wrap:nowrap!important;min-height:44px;margin-top:auto;gap:8px;align-items:center}
.featured-group .products .product-price{flex:1;min-width:0}
.featured-group .products .menu-configure{flex:none;white-space:nowrap;padding:8px 10px}

.featured-group .product-price-from{display:block;font-size:9px;font-weight:400;line-height:1.3;white-space:nowrap}.featured-group .product-price-value{white-space:nowrap}

/* Compact menu actions prevent one menu from inflating the other product cards. */
.product-price-from{display:block;font-size:10px;font-weight:400;line-height:1.3;white-space:nowrap}
.product-price-value{white-space:nowrap}
.category-group:not(.featured-group) .product-bottom:has(.menu-configure){flex-wrap:nowrap;gap:10px}
.category-group:not(.featured-group) .product-price{min-width:0}
.category-group:not(.featured-group) .menu-configure{flex:none;white-space:nowrap;padding:8px 10px}
@media(max-width:700px){
 .category-group:not(.featured-group) .products.list-view .product-body{display:flex;flex-direction:column;gap:3px}
 .category-group:not(.featured-group) .products.list-view .product-title{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;max-height:2.8em;line-height:1.4;margin:0}
 .category-group:not(.featured-group) .products.list-view .product-bottom{margin-top:auto;min-height:44px;gap:8px}
}

.category-group:not(.featured-group) .product-bottom{min-height:44px}
.product-bottom .menu-composition{flex:none;min-height:44px;margin:0!important;padding:4px 6px;font-size:11px}
.category-group:not(.featured-group) .product-price strong{line-height:1.2}
.category-group:not(.featured-group) .product-price small{line-height:1.35;margin-top:2px}
/* Keep descriptions short while preserving the original flowing card layout. */
.category-group:not(.featured-group) .products .product .product-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal;overflow:hidden;max-height:3.2em}

/* Cart controls share the product sheet's quantity pill. */
.rd-inline-actions>.cart-quantity-stepper,.cart-quantity-controls>.quantity{display:inline-flex;align-items:center;flex:none;gap:0;min-height:48px;overflow:hidden;border:1px solid var(--border,#dce3da);border-radius:999px;background:var(--paper,#fffef9)}
.rd .cart-quantity-stepper>button,.cart-quantity-controls>.quantity>button{display:grid;place-items:center;flex:0 0 44px;width:44px;min-width:44px;height:46px;min-height:44px;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:var(--ink,#173d32);font:inherit;font-size:22px;cursor:pointer}
.rd .cart-quantity-stepper>button[data-rd-action="plus"],.cart-quantity-controls>.quantity>button[data-cart-adjust="1"]{align-self:stretch;background:var(--ink,#173d32);color:var(--on-primary,#fff)}
.cart-quantity-stepper>output,.cart-quantity-controls>.quantity>output{display:block;min-width:38px;margin:0;padding:0;text-align:center;color:var(--ink,#173d32);font:inherit;font-size:14px;font-weight:600}
.rd .cart-quantity-stepper>button:disabled,.cart-quantity-controls>.quantity>button:disabled{opacity:.35;cursor:default}
.rd .cart-quantity-stepper>button:focus-visible,.cart-quantity-controls>.quantity>button:focus-visible{outline:2px solid var(--ink,#173d32);outline-offset:-4px;border-radius:50%}
.rd .cart-quantity-stepper>button[data-rd-action="plus"]:focus-visible,.cart-quantity-controls>.quantity>button[data-cart-adjust="1"]:focus-visible{outline-color:var(--on-primary,#fff)}

/* Basket products mirror catalogue rows with no separate removal button. */
.rd .rd-basket-product{display:grid;grid-template-columns:56px minmax(0,1fr) auto auto;align-items:center;gap:14px;padding:16px 0}
.rd-basket-photo{width:56px;height:56px;overflow:hidden;border-radius:8px;background:var(--paper,#fffef9)}
.rd-basket-photo>img{display:block;width:100%;height:100%;object-fit:cover}
.rd-basket-photo>img.product-logo-image{object-fit:contain;padding:5px}
.rd-basket-copy{min-width:0}.rd .rd-basket-copy strong{font-size:13px;line-height:1.4}
.rd .rd-basket-edit button{border:0;background:transparent;color:var(--ink,#173d32);text-decoration:underline;padding:4px 0;min-height:32px;font-size:11px}
.rd-basket-product>.cart-quantity-stepper{display:inline-flex;align-items:center;gap:0;min-height:48px;overflow:hidden;border:1px solid var(--border,#dce3da);border-radius:999px;background:var(--paper,#fffef9)}
.rd-basket-limit{grid-column:2/-1}
@media(max-width:700px){.rd .rd-basket-product{grid-template-columns:44px minmax(0,1fr) auto;gap:10px}.rd-basket-photo{width:44px;height:44px}.rd-basket-product>.cart-quantity-stepper{grid-column:2/-1;grid-row:2;justify-self:end}.rd-basket-product>b{grid-column:3;grid-row:1}.rd-basket-limit{grid-row:3}.rd .rd-basket-product>b{font-size:12px}}

.rd .rd-basket-components{white-space:pre-line;font-weight:400;line-height:1.5}
@media(min-width:761px){
 .rd-page .rd-basket-layout>.rd-basket-summary{position:sticky;top:calc(var(--shop-header-height,86px) + 16px);max-height:calc(100dvh - var(--shop-header-height,86px) - 32px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
 .rd-basket-summary>.rd-card:last-child{margin-bottom:0}
}

.rd-remove-confirmation{grid-column:2/-1;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;font-size:12px;line-height:1.4}
.rd .rd-remove-confirmation>button{min-height:44px;padding:6px 10px;border:0;background:transparent;color:var(--ink,#173d32);font-size:12px;text-decoration:underline}
.rd .rd-remove-confirmation>[data-rd-action="confirm-remove"]{font-weight:600}
@media(max-width:700px){.rd-remove-confirmation{grid-row:3;grid-column:1/-1}}

.rd-required-mark{font-weight:600;color:inherit}.rd .rd-required-note{font-size:11px;line-height:1.4;margin:12px 0 8px;font-weight:400;color:var(--muted,#5e6c61)}

.rd .rd-merchant-note{font-size:12px;font-weight:400;color:var(--muted,#5e6c61);gap:5px;margin-top:18px}.rd .rd-merchant-note textarea{min-height:56px;padding:8px 10px;font-weight:400}.rd-optional{font-size:11px}

.commerce-tax{margin:14px 0;padding:10px 0;border-top:1px solid currentColor;font-size:14px}.commerce-tax>div{display:flex;justify-content:space-between;gap:20px;margin:4px 0}.commerce-tax dt{font-weight:400}.commerce-tax dd{margin:0;text-align:right;white-space:nowrap}.commerce-tax>div:last-child{font-weight:600}.product-tax{font-size:13px;line-height:1.5;margin:10px 0;color:inherit}
.commerce-tax-compact{margin:6px 0 14px;font-size:12px;line-height:1.5;text-align:right;opacity:.72}
/* Plateaux and other assortments: what is inside, always visible above the disclosures. */
.product-information .product-composition{margin:0 0 16px;padding:14px 16px;border-radius:12px;background:var(--soft,rgba(0,0,0,.04))}
.product-information .product-composition-title{margin:0 0 6px;font-size:13px;font-weight:600;letter-spacing:.02em}
.product-information .product-composition ul{margin:0;padding:0 0 0 20px;list-style:disc outside;font-size:14px;line-height:1.5}
.product-information .product-composition li{display:list-item;list-style:inherit}
.product-information .product-composition li+li{margin-top:5px}
/* Checkout contact (first/last name, mobile, consent). */
.rd .rd-name-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}
.rd .rd-field-help{margin:-6px 0 12px;font-size:12px;line-height:1.4;color:var(--muted,#5e6c61)}
.rd .rd-consent{display:grid;grid-template-columns:22px minmax(0,1fr);gap:10px;align-items:start;margin:16px 0 4px;font-size:13px;line-height:1.45;cursor:pointer}
.rd .rd-consent input{width:20px;height:20px;margin:1px 0 0;accent-color:var(--accent,#183e34)}
@media (max-width:420px){.rd .rd-name-row{grid-template-columns:minmax(0,1fr)}}
.rd .rd-consent .rd-privacy-link{white-space:nowrap;font-weight:600;text-decoration:underline;text-underline-offset:3px}
