/* Catalogue uses the shared page shell and controls. */
.flyer-page .price-label{order:1;display:block;font-size:11px;font-weight:600;color:var(--muted);margin-bottom:3px}
.flyer-page .row .ifhave{padding:10px 12px;border-left:3px solid #81a794;background:#f1f6f1;border-radius:0 7px 7px 0;color:#334e40;font-size:13px;line-height:1.6}
.flyer-page .detail-label{display:block;font-size:10px;font-weight:700;color:var(--muted);margin-bottom:3px}
.flyer-page .condition-value{font-weight:600}
.flyer-page .row .store-tag{padding:2px 7px;border-radius:4px;background:#edf2ed;font-size:11px;font-weight:700;color:#405b4c}
.flyer-page .row .period{font-size:11px;align-self:center}
.flyer-page .pack-details{order:3;display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:10px;align-items:baseline}
.flyer-page .pack-amount{font-size:11px;color:var(--muted)}
.flyer-page .unit-price{font-size:13px;font-weight:700;color:#334e40}
.flyer-page .row .conditions.offer-note{padding-top:10px;border-top:1px solid #edf0e9;font-size:11px;color:var(--muted)}
.flyer-page .catalogue-actions{order:7;margin-top:auto;padding-top:16px}.flyer-page .catalogue-actions .secondary{font-size:13px}
.flyer-page .rows{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.flyer-page .row{display:flex;flex-direction:column;background:#fff;padding:18px;min-width:0}.flyer-page .row h3{font-size:16px;line-height:1.5;margin:0 0 12px;order:0}.flyer-page .price{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:baseline;order:1}.flyer-page .now{font-size:25px;margin:0;display:inline}.was{text-decoration:line-through;color:var(--muted);font-size:12px}.off{color:var(--green);font-size:12px}.flyer-page .applied{font-size:12px;width:100%;margin-top:2px}.flyer-page .ifhave{font-size:12px;margin-top:6px;order:2}.flyer-page .row .meta{display:flex;gap:5px 12px;flex-wrap:wrap;margin-top:12px;font-size:12px;order:3}.flyer-page .row .conditions{font-size:12px;line-height:1.6;margin:8px 0 0;order:4}.flyer-page .badges{display:flex;gap:5px;flex-wrap:wrap;order:5}.flyer-page .badge{font-size:11px;margin-top:8px}.flyer-page .row>details{font-size:12px;margin-top:12px;order:6}.row.past{background:#f2f4f0}.row.past .now{color:var(--muted)}.profile-options{display:flex;flex-wrap:wrap;gap:6px 20px;margin:12px 0}.profile-options .rate{width:100%;margin-top:8px}.profile-options .rate input{width:70px}.browse-settings{margin:14px 0}.flyer-page #summary{margin:0}.flyer-page #source-brief{font-size:12px;margin-top:14px}.flyer-page #scope-note{margin-top:10px}.flyer-page .empty{grid-column:1/-1}
@media(max-width:950px){.flyer-page .rows{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:550px){.flyer-page .rows{grid-template-columns:1fr}.flyer-page .row{padding:16px}.flyer-page .row h3{font-size:15px}.flyer-page .now{font-size:24px}}

.flyer-page .promotion-results{margin-top:28px}.flyer-page .promotion-results[hidden]{display:none}.flyer-page .promotion-results h2{font-size:18px;margin:0 0 12px}.flyer-page .row.promotion{border:1px solid #dfcfab;background:#fffaf0}.flyer-page .promotion-label{font-size:15px;color:#795e25;order:1}.flyer-page .promotion-note{order:5;margin:12px 0 0}

.flyer-page .row>.small,.flyer-page .row>a{order:5;margin-top:8px;font-size:11px;line-height:1.5}
.flyer-page .row>.affiliate-link{order:6;margin-top:14px}
.flyer-page .row>.affiliate-notice{order:-1;margin:0 0 12px}
.flyer-page .product-pack{order:0;margin:-4px 0 12px;font-size:12px;color:var(--muted)}
.flyer-page .product-offers{order:1;display:flex;flex-direction:column;gap:16px}
.flyer-page .row.offer-row{padding:0;background:transparent;border:0;border-radius:0}
.flyer-page .offer-row+.offer-row{padding-top:16px;border-top:1px solid var(--line,#dde5df)}
.flyer-page .offer-row h4{order:0;font-size:13px;margin:0 0 6px;color:var(--green)}
.flyer-page .offer-row .meta{margin-top:6px}.flyer-page .offer-row .pack-details{margin-top:4px}
.flyer-page .offer-proof p{margin:8px 0 0}.flyer-page .offer-proof a{display:inline-block;margin-top:8px}

/* Product cards share one compact structure; source evidence stays by the price. */
.flyer-page .rows{align-items:start}
.flyer-page .search-input{display:flex;gap:8px;margin-top:7px;align-items:stretch}
.flyer-page .search-input input{flex:1;min-width:0;margin:0;font-size:16px}
.flyer-page .search-input button{margin:0;min-height:44px;padding:10px 16px;flex-shrink:0}
.flyer-page #sort-hint{margin:6px 0 16px;font-size:12px}
.flyer-page .sort-heading{grid-column:1/-1;font-size:15px;margin:10px 0 0;color:#405b4c}
.flyer-page .product-card h3{margin-bottom:8px}
.flyer-page .product-pack{margin:0 0 14px}
.flyer-page .product-offers{gap:12px}
.flyer-page .offer-row{min-width:0}
.flyer-page .offer-row+.offer-row{padding-top:12px}
.flyer-page .offer-heading{display:flex;gap:10px;justify-content:space-between;align-items:baseline}
.flyer-page .offer-heading h4{font-size:14px;flex-shrink:0;margin:0}
.flyer-page .offer-heading .price{justify-content:flex-end;min-width:0}
.flyer-page .offer-heading .now{font-size:23px;white-space:normal;line-height:1.3;overflow-wrap:anywhere}
.flyer-page .offer-row .price-label{margin:4px 0 0;font-size:11px}
.flyer-page .offer-row .meta{margin:5px 0 0;font-size:11px;gap:3px 8px}
.flyer-page .offer-row .pack-details{margin-top:6px}
.flyer-page .offer-basis{display:block;margin-top:6px;font-size:11px;color:var(--muted);line-height:1.6}
.flyer-page .offer-link{display:inline-block;margin-top:4px;font-size:12px}
.flyer-page .offer-proof{margin-top:4px;font-size:12px;color:var(--muted)}
.flyer-page .offer-proof summary{min-height:36px;padding:5px 0}
.flyer-page .offer-row .ifhave{margin-top:8px;padding:8px 10px}
.flyer-page .product-card .catalogue-actions{margin-top:14px;padding-top:0}
.flyer-page .product-card .catalogue-actions .secondary{width:100%;min-height:44px}
@media(max-width:550px){.flyer-page .search-input button{padding:10px 13px}.flyer-page .product-card h3{font-size:16px}.flyer-page .offer-heading .now{font-size:24px}}

.flyer-page .rows{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(min-width:1050px){
  .flyer-page .product-card:has(.offer-row+.offer-row) .product-offers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .flyer-page .product-card .offer-row+.offer-row{border-top:0;padding-top:0;border-left:1px solid var(--line);padding-left:14px}
}
@media(max-width:550px){.flyer-page .rows{grid-template-columns:1fr}}

.flyer-page .comparison-quantity{order:0;margin:0 0 14px;display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center}
.flyer-page .comparison-quantity label{display:flex;gap:12px;align-items:center;font-size:13px;font-weight:600}
.flyer-page .comparison-quantity input{width:76px;min-height:44px;margin:0;text-align:center;font-size:16px}
.flyer-page .comparison-quantity .small{font-size:11px;color:var(--muted)}
.flyer-page .purchase-estimate{margin:10px 0 0;padding:8px 10px;background:#edf4ed;border-radius:6px;font-size:12px;font-weight:600;line-height:1.6;overflow-wrap:anywhere}
.flyer-page .catalogue-actions{display:flex;flex-direction:column;gap:8px}
.flyer-page .product-card .catalogue-actions .primary{width:100%;min-height:44px;font-size:13px}
.flyer-page .saved-quantity{width:100%;font-size:12px;color:var(--muted);line-height:1.6}
.flyer-page .selected-comparison{border-color:var(--green)}
.flyer-page .selection-status{margin:8px 0 16px;font-size:12px;line-height:1.6;color:#405b4c}

/* Search-first layout: optional controls and evidence stay folded. */
.flyer-page .filter-bar{display:block;padding:14px}.filter-bar #filter-options{margin-top:8px}.filter-bar #filter-options>summary{min-height:44px;align-content:center;font-size:13px}.filter-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.filter-options #sort-hint{grid-column:1/-1;margin:0}.active-filters{display:flex;gap:6px;flex-wrap:wrap}.filter-chip{font-size:12px;min-height:44px;padding:6px 10px}.flyer-page .results-heading{margin:12px 0}.flyer-page .quantity-compact{display:flex;gap:12px;align-items:center;min-height:44px}.flyer-page .comparison-quantity{display:block;margin-bottom:8px}.quantity-draft{display:flex;flex-wrap:wrap;gap:8px;align-items:center;background:#f1f6f1;padding:10px;border-radius:8px}.quantity-draft .small{flex-basis:100%}.quantity-draft[hidden]{display:none}.flyer-page .product-card{padding:16px}.flyer-page .product-pack{margin-bottom:6px}.flyer-page .product-offers{gap:10px}.flyer-page .offer-basis{margin-top:3px}.flyer-page .offer-row .meta{margin-top:3px}.flyer-page .product-card .catalogue-actions{margin-top:10px}.flyer-page .product-detail{order:8;margin-top:8px}.product-detail>summary{min-height:44px;align-content:center}.product-detail .offer-proof>summary{display:none}.product-detail .offer-proof{padding:8px 0}.flyer-page .purchase-estimate{padding:0;background:transparent;margin:4px 0}.flyer-page .base-price{display:block;width:100%;font-size:12px;color:var(--muted)}.flyer-page .card-feedback{order:9;margin:4px 0;font-size:13px}.card-feedback:empty{display:none}.browse-auxiliary{margin-top:24px}.browse-auxiliary #source-alert,.browse-auxiliary #source-brief{font-size:12px}.flyer-page .product-card .offer-row .price{display:block;text-align:right}.flyer-page .product-card .offer-row .price .applied{display:block}.flyer-page header nav a{min-height:44px}
@media(max-width:550px){.flyer-page main{padding:14px 16px}.flyer-page .intro{margin-bottom:12px}.flyer-page h1{font-size:24px}.flyer-page .intro p{font-size:12px}.flyer-page .filter-bar{padding:10px 12px}.flyer-page .product-card h3{font-size:16px}.filter-options{grid-template-columns:1fr}.filter-options #sort-hint{grid-column:1}}
.flyer-page .product-card>.product-detail{order:8}

.flyer-page .product-card .product-offers{display:flex;flex-direction:column;gap:0}
.flyer-page .product-card:has(.offer-row+.offer-row) .product-offers{display:flex}
.flyer-page .product-card .channel-offer{padding:12px 0;border:0;background:transparent}
.flyer-page .product-card .channel-offer+.channel-offer{border-top:1px solid var(--line);border-left:0;padding:12px 0 0}
.flyer-page .product-card .channel-offer h4{color:var(--ink)}
.flyer-page .product-card .channel-offer:not([data-price-status="available"]) .now{font-size:16px}
.flyer-page .product-card .channel-offer>.offer-basis{order:4;margin:0}
.flyer-page .product-card .channel-offer>.offer-link{order:5;margin:0}
.flyer-page .product-card .channel-offer>.meta{order:4}
.comparison-order{font-size:11px;line-height:1.5;color:var(--muted);margin:6px 0 0}
.offer-rank{flex-shrink:0;font-size:11px;font-weight:700;line-height:1.5;padding:3px 6px;border-radius:5px;background:#e7f1eb;color:#176b50;white-space:nowrap}
.offer-rank[hidden]{display:none}
.channel-offer[data-freshness="reference"] .offer-rank{background:#f2f1eb;color:#75633d}
.flyer-page .product-card .offer-heading{flex-wrap:wrap;align-items:baseline;gap:6px}
.flyer-page .product-card .offer-heading h4{flex:1 1 85px;min-width:0}
.flyer-page .product-card .offer-heading{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(95px,45%)}
.flyer-page .product-card .offer-heading .offer-rank{grid-column:1}.flyer-page .product-card .offer-heading h4{grid-column:2}
.flyer-page .product-card .offer-heading .price{grid-column:3;width:100%;overflow-wrap:anywhere}
.browse-pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin:20px 0}.browse-pagination:has(button[hidden]){display:none}
.browse-modes{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}.browse-modes [aria-pressed="true"]{background:#244e35;color:white;border-color:#244e35}.browse-pagination{display:flex;align-items:center;gap:12px;justify-content:center;margin:16px 0}.browse-pagination[hidden]{display:none}.flyer-page #draft-status{margin:8px 0;color:var(--muted)}.flyer-page .search-demand-note{margin:4px 0;font-size:11px;line-height:1.4}.flyer-page #browse-source-status{font-size:12px;margin:4px 0;color:var(--muted)}.flyer-page #browse-date{margin:4px 0}.flyer-page .results-heading{flex-wrap:wrap;margin:8px 0}.flyer-page .empty{grid-column:1/-1}.flyer-page .empty h2{font-size:18px}.flyer-page .empty .secondary{display:inline-flex;margin:6px 8px 6px 0;min-height:44px;align-items:center}.flyer-page #selection-status .secondary{margin:8px 0}.flyer-page #public-status[hidden],.flyer-page #retry-public[hidden]{display:none}
