/* One product at a time. Choices change the card and save in the same tap. */
.comparison-focus .page-heading,.comparison-focus .source-note,.comparison-focus .page-footer{display:none!important}
.comparison-focus .workspace{display:block}
.comparison-focus .sidebar,.comparison-focus .steps{display:none}
.comparison-focus .shell{max-width:960px;padding-top:14px}
.flow-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:0 0 13px}
.flow-heading h2{font-size:25px;line-height:1.15;letter-spacing:-1px;margin:0;font-weight:800}
.flow-heading p{font-size:11px;color:var(--muted);margin:4px 0 0}
.flow-pending-help{font-size:11px;color:var(--muted);margin:4px 0 8px}
.flow-pending-help summary{cursor:pointer;padding:5px 0}
.flow-pending-help p{margin:4px 0 8px;line-height:1.5;max-width:48em}
.flow-summary-button{border:1px solid var(--line);background:var(--surface);border-radius:100px;min-height:42px;padding:8px 15px;font-size:12px;white-space:nowrap}
.flow-topline{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.flow-counter{display:flex;align-items:center;gap:8px;padding:0 4px;min-height:40px;background:none;border:0;font-size:12px;white-space:nowrap}
.flow-counter strong{font-weight:800}.flow-counter span{color:var(--muted)}
.flow-progress{height:4px;flex:1;border-radius:10px;background:var(--line);overflow:hidden}
.flow-progress span{height:100%;display:block;background:var(--accent);border-radius:10px}
.flow-saved-count{font-size:10px;color:var(--muted);white-space:nowrap}
.ticket-overview .flow-products{display:block}
.flow-card.photo-comparison.coop-product{padding:18px 22px;border-radius:25px;overflow:visible}
.flow-card .coop-product-heading{margin-bottom:9px;min-height:22px}
.flow-card .coop-product-heading>small{font-size:11px;color:var(--muted)}
.flow-card .equivalence-label{font-size:10px}
.flow-card .store-comparison{max-width:580px;margin:0 auto;gap:15px;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr)}
.flow-card .store-side{padding:10px 12px 12px;border-radius:20px;min-height:0}
.flow-card .comparison-photo{height:104px;margin:3px 0 8px}
.flow-card .pair-product-name{font-size:15px;line-height:1.35;margin:0 0 5px;min-height:40px;overflow-wrap:normal}
.flow-card .store-side>strong{font-size:30px;margin-top:5px}
.flow-card .store-quantity{font-size:12px;padding-top:3px}
.flow-card .pair-price-caption{font-size:10px}
.flow-card .tradeoff{margin:12px 0 0;padding:10px 12px;border-radius:15px}
.flow-card>.tradeoff .tradeoff-unit{display:none}
.flow-card .flow-undo{border:0;background:none;color:var(--muted);font:inherit;font-size:11px;text-decoration:underline;min-height:32px;padding:4px 8px;margin-right:auto}
.flow-card .pair-price-caption:empty{display:none}
.flow-card .tradeoff-values strong{font-size:24px}
.flow-card .substitution-note{margin:10px 0 0;padding:11px 13px;border-radius:16px}
.flow-card .substitution-summary{font-size:13px;line-height:1.45}
.flow-card .substitution-detail{margin-top:3px}
.flow-card .substitution-detail>summary{min-height:30px;font-size:11px}
.flow-choice-title{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:13px 0 7px;font-size:11px;color:var(--muted)}
.flow-choice-title strong{font-size:11px;font-weight:700;color:var(--ink)}
.flow-choice-modes{margin-top:12px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.flow-choice-modes button{min-width:0;min-height:59px;padding:9px 5px;border:1px solid var(--line);border-radius:17px;background:var(--surface);color:var(--ink);text-align:center;position:relative;box-shadow:inset 0 1px 0 #fff9,0 3px 6px -5px var(--shadow)}
.flow-choice-modes button strong{display:block;font-size:12px;line-height:1.3;white-space:nowrap}
.flow-choice-modes button small{display:block;font-size:9px;font-weight:500;line-height:1.4;color:var(--muted);margin-top:4px;white-space:nowrap}
.flow-choice-modes button[aria-pressed=true]{background:linear-gradient(145deg,#ffffff20,transparent 65%),var(--hero);border-color:var(--hero);color:var(--accent);box-shadow:inset 0 1px 1px #ffffff30,0 4px 10px -6px rgba(var(--clay-hero-rgb),.4)}
.flow-choice-modes button[aria-pressed=true] small{color:var(--on-hero)}
.flow-choice-modes button:disabled{background:var(--soft);box-shadow:none;opacity:.58}
.flow-choice-modes button:not(:disabled):hover{border-color:var(--focus)}
.flow-support{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:7px 0 0}
.flow-support button{border:0;background:none;min-height:40px;padding:6px 2px;font-size:11px;color:var(--muted)}
.flow-support .flow-keep[aria-pressed=true]{color:var(--ink);font-weight:800}
.flow-support .flow-more{color:var(--ink);font-weight:750}
.flow-card .ticket-card-details{border-top:1px solid var(--line);margin-top:0}
.flow-card .ticket-card-details>summary{min-height:35px;padding:4px 0;justify-content:space-between;color:var(--muted);font-size:10px}
.flow-card .ticket-card-details[open]>div{padding:8px 0 0}
.flow-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0 0}
.flow-navigation .button{min-width:126px;min-height:44px;padding:9px 16px;font-size:12px}
.flow-navigation .flow-nav-caption{font-size:10px;color:var(--muted);text-align:center}
.flow-index{display:grid;gap:4px}
.flow-index button{display:flex;align-items:center;gap:11px;width:100%;min-height:55px;padding:9px 10px;border:1px solid transparent;border-radius:14px;background:none;text-align:left}
.flow-index button[aria-current=true]{background:var(--soft);border-color:var(--line)}
.flow-index-number{font-size:11px;color:var(--muted);width:20px;flex:none;text-align:center}
.flow-index button>span:nth-child(2){flex:1;min-width:0}
.flow-index strong{display:block;font-size:12px;line-height:1.4}.flow-index small{display:block;font-size:10px;color:var(--muted);margin-top:2px}
.flow-index-state{font-size:13px;color:var(--ink);flex:none}
.flow-summary .store-summary{margin-top:14px}
.flow-summary .comparison-summary{margin-bottom:12px}
.flow-summary .comparison-summary strong{font-size:29px}
.flow-summary-back{border:0;background:none;font-size:12px;min-height:42px;padding:6px 0;color:var(--ink)}
.flow-summary-empty{padding:24px 15px;text-align:center;color:var(--muted)}
.flow-quantity-action{border:0;background:var(--soft);border-radius:12px;padding:10px 12px;font-size:11px;min-height:42px;width:100%;text-align:left;margin:8px 0 0;color:var(--ink)}
.flow-unavailable{font-size:12px;line-height:1.5;color:var(--muted);padding:8px 2px}
.flow-choice-review{padding:10px 12px;margin:0 0 10px;background:var(--soft);border:1px solid var(--line);border-radius:12px;font-size:11px;line-height:1.45}
.flow-choice-review p{margin:0 0 4px}
.flow-choice-review button{border:0;background:none;color:var(--ink);font:inherit;font-weight:750;padding:4px 0;min-height:36px;text-align:left}
@media(min-width:700px){
 .flow-card .substitution-detail p{font-size:13px!important}
 .flow-choice-modes{max-width:580px;margin-left:auto;margin-right:auto}
 .flow-choice-title,.flow-support{max-width:580px;margin-left:auto;margin-right:auto}
 .flow-choice-modes button strong{font-size:13px}.flow-choice-modes button small{font-size:10px}
}
@media(max-width:680px){
 .comparison-focus .shell{padding:8px 12px calc(94px + env(safe-area-inset-bottom,0px));max-width:540px}
 .flow-heading{margin-bottom:4px;gap:8px}.flow-heading h2{font-size:20px;letter-spacing:-.7px}.flow-heading p{font-size:10px;margin-top:2px}
 .flow-summary-button{min-height:39px;font-size:11px;padding:8px 12px}
 .flow-topline{gap:8px;margin-bottom:7px}.flow-counter{font-size:11px;min-height:36px}.flow-saved-count{font-size:9px}
 .flow-card.photo-comparison.coop-product{padding:11px 12px 6px;border-radius:22px}
 .flow-card .coop-product-heading{margin-bottom:6px;min-height:19px}.flow-card .coop-product-heading>small{font-size:10px}
 .flow-card .equivalence-label{font-size:9px;padding:4px 7px}
 .flow-card .store-comparison{gap:5px;grid-template-columns:minmax(0,1fr) 16px minmax(0,1fr)}
 .flow-card .store-side{padding:6px 5px 7px;border-radius:15px}
 .flow-card .store-label{font-size:11px;margin-bottom:3px}
 .flow-card .comparison-photo{height:69px;margin:2px 0 6px}
 .flow-card .pair-product-name{font-size:12px;line-height:1.3;min-height:32px;margin:0 0 4px;letter-spacing:-.15px}
 .flow-card .store-quantity{font-size:10px;padding-top:2px;line-height:1.35}
 .flow-card .store-side>strong{font-size:25px;margin-top:4px}.flow-card .store-side>strong small{font-size:10px}
 .flow-card .pair-price-caption{font-size:9px;margin-top:2px}
 .flow-card .tradeoff{padding:8px 10px;margin-top:8px;border-radius:12px}.flow-card .tradeoff-values strong{font-size:21px;letter-spacing:-.7px}
 .flow-card .substitution-note{padding:9px 11px;margin-top:8px;border-radius:14px}.flow-card .substitution-summary{font-size:12px;line-height:1.4}
 .flow-card .substitution-detail>summary{min-height:29px;font-size:10px}
 .flow-choice-title{margin-top:10px;margin-bottom:6px;font-size:9px}.flow-choice-title strong{font-size:10px}
 .flow-choice-modes{gap:6px}.flow-choice-modes button{min-height:54px;padding:8px 3px;border-radius:14px}.flow-choice-modes button strong{font-size:11px}.flow-choice-modes button small{font-size:8px;margin-top:3px}
 .flow-support{margin-top:4px}.flow-support button{font-size:10px;min-height:36px}
 .flow-card .ticket-card-details>summary{font-size:10px;min-height:32px}
 .flow-navigation{padding-top:9px;gap:8px}.flow-navigation .button{font-size:11px;min-width:113px;min-height:42px;padding:8px 13px}.flow-navigation .flow-nav-caption{font-size:9px}
}
@media(max-width:360px){.flow-choice-modes button strong{font-size:10px}.flow-choice-modes button small{font-size:7.5px}.flow-card .pair-product-name{font-size:11px}.flow-saved-count{display:none}.flow-navigation .flow-nav-caption{display:none}}
@media(prefers-reduced-motion:no-preference){.flow-choice-modes button{transition:background-color .15s,border-color .15s,transform .15s}.flow-choice-modes button:active:not(:disabled){transform:translateY(1px) scale(.985)}}

.flow-choice-modes.mode-count-1{grid-template-columns:1fr}.flow-choice-modes.mode-count-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.flow-choice-modes.mode-count-1 button{display:flex;justify-content:center;align-items:center;gap:12px;min-height:45px}.flow-choice-modes.mode-count-1 button small{margin:0}
@media(max-width:680px) and (max-height:780px){.comparison-focus .shell{padding-top:5px}.flow-heading h2{font-size:18px}.flow-topline{margin-bottom:5px}.flow-card .comparison-photo{height:54px}.flow-card .store-side{padding-top:4px;padding-bottom:5px}.flow-card .substitution-note{padding:7px 10px}.flow-choice-modes{margin-top:8px}.flow-navigation{padding-top:7px}}

/* Recognizable retailer marks replace the repeated store names. */
.retailer-mini-logo{display:block;width:auto;max-width:88px;height:24px;object-fit:contain;object-position:center;margin:1px auto 6px;flex:none;filter:none!important;mix-blend-mode:normal!important}
.retailer-name-fallback{display:block;font-size:12px;font-weight:750;line-height:24px;margin:1px auto 6px;text-align:center}
.flow-card .comparison-photo{height:96px}
.offer-retailer .retailer-mini-logo{margin:0;height:23px;max-width:80px}
.list-product .retailer-mini-logo{height:24px;max-width:84px;margin-top:0}
@media(max-width:680px){.flow-card .retailer-mini-logo{height:24px;max-width:82px;margin-bottom:5px}.flow-card .comparison-photo{height:61px}}
@media(max-width:680px) and (max-height:780px){.flow-card .comparison-photo{height:46px}}

/* Previous/next stay above the card, reachable without scrolling. */
.flow-topline.flow-navigation{padding:0;margin:8px 0 10px;justify-content:space-between;gap:8px}
.flow-topline.flow-navigation .button{min-width:116px;min-height:42px;padding:8px 14px}
.flow-topline .flow-counter{justify-content:center;flex:1;font-size:13px;min-height:42px}
@media(max-width:680px){.flow-topline.flow-navigation{margin:5px 0 8px}.flow-topline.flow-navigation .button{min-width:104px;min-height:40px;padding:7px 12px;font-size:11px}.flow-topline .flow-counter{font-size:12px;min-height:40px;gap:5px}}
@media(max-width:360px){.flow-topline.flow-navigation .button{min-width:96px;padding:7px 9px;font-size:10px}}
/* Retailer context stays beside the price, without adding a new screen. */
.price-store-chip{border:0;background:transparent;color:var(--ink);display:flex;align-items:center;justify-content:center;gap:3px;font-size:9px;line-height:1.35;padding:5px 0 0;margin:0 auto;min-height:26px;max-width:100%;text-align:center}
.price-store-chip svg{width:11px;height:11px;flex:none}
.local-store-context{border-top:1px solid var(--line);padding:5px 0 8px;margin-top:8px}
.local-store-context .local-retailer-link{color:var(--ink);width:100%;min-height:36px;font-size:12px}
.local-store-context .local-retailer-link span{margin-left:auto;font-size:10px;text-decoration:underline}
.local-store-context p{font-size:11px;line-height:1.5;margin:0 0 6px;color:var(--ink)}
.local-store-open{font-size:11px;line-height:1.5;display:inline-block;min-height:30px;padding:5px 0}
.area-store.is-selected{border:1px solid var(--line);background:var(--card,#fff);border-radius:16px;padding:14px;margin:0 0 10px}
.area-store-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}
.area-store-heading .retailer-mini-logo{height:23px;max-width:86px;margin:0}
.area-store-heading .retailer-name-fallback{margin:0;text-align:left}
.area-selection-label{font-size:10px;color:var(--ink);background:var(--accent);border-radius:20px;padding:3px 8px}
.area-store-copy h3{font-size:16px}
.area-store-actions{display:flex;flex-wrap:wrap;align-items:center;gap:5px 15px;margin-top:9px}
.area-store-actions button{border:1px solid var(--line);border-radius:20px;padding:8px 11px;min-height:36px;background:transparent;font-size:10px;font-weight:700}
.area-store-actions button[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:var(--accent)}
.area-other-stores>summary{min-height:44px;padding:12px 0;font-size:12px;font-weight:700;cursor:pointer}
.comparison-photo,.list-product-photo{display:flex;align-items:center;justify-content:center;min-height:0}
.comparison-photo img,.list-product-photo img{min-width:0;min-height:0;max-height:100%;flex:0 1 auto}
.comparison-photo img[src$="item-21-coop.jpg"],.comparison-photo img[src$="21-option.jpg"]{object-fit:cover;object-position:center}

/* Coop is a full choice, with the same hit area as each French alternative. */
.flow-choice-modes.has-keep.mode-count-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.flow-choice-modes.has-keep button{min-height:64px;padding:10px 7px}
.flow-choice-modes.has-keep button strong{white-space:normal;font-size:12px}
.flow-choice-modes.has-keep button small{white-space:normal;font-size:10px}
.flow-choice-modes.has-keep .flow-keep{border-width:1.5px}
.flow-scope{display:flex;align-items:center;gap:5px;margin:0 0 8px}
.flow-scope button{min-height:34px;border:1px solid transparent;border-radius:20px;padding:6px 11px;background:none;color:var(--muted);font-size:11px;font-weight:700}
.flow-scope button[aria-pressed=true]{background:var(--soft);border-color:var(--line);color:var(--ink)}
.flow-scope button b{font-size:10px;margin-left:4px}
.flow-scope button:disabled{opacity:.6}
.flow-scope>span{margin-left:auto;text-align:right;font-size:10px;line-height:1.3;color:var(--muted)}
.flow-complete{text-align:center;padding:42px 24px;border:1px solid var(--line);border-radius:24px;background:var(--surface)}
.flow-complete-mark{display:grid;place-items:center;border-radius:50%;width:56px;height:56px;margin:0 auto 18px;background:#e6f5eb;color:#126b3b;font-size:26px}
.flow-complete h2{font-size:25px;letter-spacing:-.7px;margin:0 0 12px}
.flow-complete p{font-size:13px;line-height:1.6;color:var(--muted);max-width:360px;margin:0 auto 22px}
.flow-index-hint{font-size:12px;color:var(--muted);line-height:1.5;margin:0 0 12px}
.flow-choice-modes button:focus-visible,.flow-scope button:focus-visible,.flow-counter:focus-visible{outline:2px solid var(--focus,var(--ink));outline-offset:3px}
@media(max-width:680px){
 .flow-choice-modes.has-keep.mode-count-4{grid-template-columns:repeat(2,minmax(0,1fr))}
 .flow-choice-modes.has-keep button{min-height:58px;padding:8px 7px}
 .flow-choice-modes.has-keep button strong{font-size:12px}
 .flow-choice-modes.has-keep button small{font-size:10px;margin-top:3px}
 .flow-scope{margin-bottom:4px}
 .flow-scope button{min-height:32px;padding:5px 10px;font-size:10px}
 .flow-scope>span{font-size:9px;max-width:105px}
}
.receipt-photo-candidate{margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:100%;height:100%}
.receipt-photo-candidate img{height:64px!important;max-width:100%;object-fit:contain;flex:none!important}
.receipt-photo-candidate figcaption{font-size:10px;line-height:1.3;color:var(--ink);background:var(--accent-soft);padding:3px 7px;border-radius:7px;text-align:center}
.comparison-photo:has(.receipt-photo-candidate){height:112px!important}
.product-visual:has(.receipt-photo-candidate){min-height:120px}
.flow-card .raccoon-reaction{font-size:11px;line-height:1.35;text-align:center;color:var(--muted);margin:5px 0 0}
.comparison-change-row{display:flex;justify-content:flex-end;margin:-4px 0 3px}
.comparison-change-row button{min-height:44px;padding:7px 12px;border:0;background:transparent;color:var(--ink);font-size:12px;font-weight:700;text-decoration:underline;text-underline-offset:3px;border-radius:12px}
.comparison-change-row button:hover{background:var(--soft)}
.comparison-change-row button:focus-visible{outline:2px solid var(--focus,var(--ink));outline-offset:2px}
.flow-choice-modes.has-keep.mode-count-2{grid-template-columns:repeat(2,minmax(0,1fr))}
/* Give the title and filters separate breathing room on small screens. */
.flow-heading{margin-bottom:20px;padding-top:8px;align-items:center}
.flow-scope{margin:0 0 16px;gap:8px}
.flow-topline.flow-navigation{margin:0 0 12px}
.compact-change{margin-left:auto;min-height:40px;padding:5px 8px;border:0;border-radius:10px;background:none;color:var(--ink);font-size:12px;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.flow-corrections{display:flex;gap:6px}.flow-corrections:empty{display:none}
.flow-corrections .flow-quantity-action{flex:1;min-width:0;min-height:40px;margin:6px 0 0;padding:8px;font-size:11px;text-align:center}
@media(max-width:680px){
 .flow-card.photo-comparison.coop-product{padding:10px 10px 4px}
 .flow-card .coop-product-heading{margin-bottom:3px;gap:5px;flex-wrap:wrap}
 .flow-card .store-comparison{gap:7px;grid-template-columns:minmax(0,1fr) 14px minmax(0,1fr)}
 .flow-card .store-side{padding:5px 6px 7px}
 .flow-card .comparison-photo{height:54px;margin:2px 0 4px}
 .flow-card .pair-product-name{font-size:12px;min-height:32px;margin-bottom:4px;line-height:1.3}
 .flow-card .store-side>strong{font-size:24px;margin-top:3px}
 .flow-card .retailer-mini-logo{height:22px;margin-bottom:3px}
 .flow-card .store-quantity{font-size:11px}
 .flow-card .comparison-photo:has(.receipt-photo-candidate){height:78px!important}
 .flow-card .receipt-photo-candidate img{height:44px!important}
 .flow-card .receipt-photo-candidate figcaption{font-size:9px;line-height:1.2;padding:2px 5px}
 .flow-card .tradeoff{padding:7px 9px;margin-top:6px}
 .flow-card .tradeoff-values strong{font-size:20px}
 .flow-card .flow-choice-modes{margin-top:8px;position:sticky;bottom:calc(76px + env(safe-area-inset-bottom,0px));background:var(--surface);border-radius:15px;z-index:2}
 .flow-card .flow-choice-modes.has-keep button{min-height:50px}
 .flow-card .ticket-card-details>summary{min-height:32px}
}
@media(max-width:680px) and (max-height:740px){
 .flow-heading{padding-top:2px;margin-bottom:12px}.flow-heading h2{font-size:18px}
 .flow-scope{margin-bottom:8px}.flow-topline.flow-navigation{margin-bottom:8px}
 .flow-card .comparison-photo{height:42px}
 .flow-card .comparison-photo:has(.receipt-photo-candidate){height:66px!important}
 .flow-card .receipt-photo-candidate img{height:34px!important}
 .flow-card .raccoon-reaction{display:none}
}

/* The saved choice, on either side, owns the accent surface. */
.flow-card[data-choice] .store-side{background:transparent;box-shadow:none}
.flow-card[data-choice="original"] .original-side,
.flow-card[data-choice="accepted"] .france-side{background:var(--accent-soft);box-shadow:inset 0 0 0 1px var(--accent-border)}
@media(max-width:680px){
 .topbar nav{height:58px;padding:5px;border-radius:22px}
 .topbar .nav{min-height:46px;padding:5px 4px;gap:3px;border-radius:16px}
 .topbar .nav .nav-icon{width:19px;height:19px}
 .flow-card .flow-choice-modes{bottom:calc(70px + env(safe-area-inset-bottom,0px))}
}

/* Two short navigation rows leave the product pair near the top. */
.flow-heading{margin-bottom:10px}
.flow-heading h2{font-size:21px}
.flow-scope{position:absolute;right:100px;top:8px;margin:0}
#cartView{position:relative}
.flow-scope button{font-size:10px;padding:6px 8px;min-height:36px}
.flow-scope [hidden]{display:none}
.flow-card .coop-product-heading small:empty{display:none}
@media(max-width:680px){
 .flow-heading h2{font-size:18px}
 .flow-heading{padding-top:6px;margin-bottom:12px}
 .flow-card .coop-product-heading{min-height:32px}
 .flow-card .compact-change{min-height:36px}
}

.area-current-address{font-size:11px;font-weight:700;color:var(--muted);padding:8px 0}
.area-store-actions [data-change-address],.area-store-actions [data-use-store]{min-height:44px;font-size:11px}
.area-store-actions .local-store-open{font-size:10px}
.area-back{min-height:44px}
