/* Photo-led search cards with directly visible channel comparison. Scoped away from the saved cart. */
body.flyer-page{background:#fff;--green:#245b47;--ink:#252b27;--muted:#737c76;--line:#e8ece8}
.flyer-page main{max-width:1180px;padding:30px 28px 110px;margin:auto}
.flyer-page header{background:#fff;border-bottom:1px solid var(--line)}
.flyer-page .intro{margin:8px 0 24px;padding:0;border:0;background:transparent}
.flyer-page .intro h1{font-size:30px;letter-spacing:-1px;margin:0 0 6px}
.flyer-page .intro p{font-size:13px;color:var(--muted);margin:0}
.flyer-page .filter-bar{border:0;border-radius:0;background:transparent;box-shadow:none;padding:0;margin:0 0 12px}
.flyer-page .search-field>label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.flyer-page .search-input{margin:0;border:1px solid var(--line);border-radius:6px;padding:4px;background:#fafbf9}
.flyer-page .search-input input{background:transparent;border:0;min-height:44px;padding:10px 12px}
.flyer-page .search-input button{border-radius:4px;min-width:60px}
.flyer-page .filter-bar #filter-options{margin:8px 0 0}
.flyer-page #filter-options>summary{font-size:12px;color:var(--muted)}
.flyer-page .filter-options{background:#f8faf7;border-radius:6px;padding:12px}
.flyer-page .browse-modes{margin:14px 0 8px;gap:18px;border-bottom:1px solid var(--line)}
.flyer-page .browse-modes button{border:0;border-radius:0;background:transparent;color:var(--muted);padding:10px 0;min-height:44px;font-size:13px}
.flyer-page .browse-modes button[aria-pressed="true"]{background:transparent;color:var(--green);border-bottom:2px solid var(--green);font-weight:700}
.flyer-page .results-heading{margin:14px 0 18px;min-height:24px}
.flyer-page #summary{font-size:13px;color:var(--ink)}
.flyer-page #selection-status:not([hidden]){padding:10px 0;font-size:12px;line-height:1.6}
.flyer-page .rows,.flyer-page .independent-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:34px 24px;align-items:start}
.flyer-page .row.product-card{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;min-width:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.flyer-page .row.product-card>.product-identification{display:flex;flex-direction:column;align-items:stretch;gap:12px;margin:0 0 10px;order:0}
.flyer-page .row.product-card .product-photo{flex:none;width:100%;height:auto;aspect-ratio:1/1.04;border:0;border-radius:7px;background:#f6f7f3}
.flyer-page .row.product-card .product-photo img{width:90%;height:90%;max-width:90%;max-height:90%;object-fit:contain}
.flyer-page .row.product-card .photo-unavailable{color:#89918a;font-size:12px}
.flyer-page .row.product-card .product-title-block{width:100%;min-width:0}
.flyer-page .row.product-card .product-title-block h3{font-size:15px;font-weight:500;line-height:1.6;letter-spacing:-.3px;margin:0;min-height:48px;overflow-wrap:anywhere}
.flyer-page .row.product-card .product-pack{font-size:11px;color:var(--muted);line-height:1.6;margin:5px 0 0;overflow-wrap:anywhere}
.flyer-page .row.product-card>.product-offers{display:flex;flex-direction:column;gap:0;margin:0;order:1}
.flyer-page .row.product-card .channel-offer,.flyer-page .row.product-card .channel-offer+.channel-offer{display:block;padding:8px 0;border:0;border-top:1px solid var(--line);margin:0;background:transparent;border-radius:0;min-width:0}
.flyer-page .row.product-card .offer-heading{display:flex;justify-content:space-between;align-items:baseline;gap:6px;flex-wrap:wrap;margin:0}
.flyer-page .row.product-card .offer-heading .channel-label{flex:1 1 auto;min-width:0;color:var(--ink);font-size:12px;font-weight:400;line-height:1.5;margin:0;grid-column:auto}
.flyer-page .row.product-card .offer-heading .price{flex:0 1 auto;width:auto;min-width:0;text-align:right;line-height:1.4;grid-column:auto}
.flyer-page .row.product-card .offer-heading .now{font-size:17px;font-weight:700;line-height:1.4;white-space:nowrap;letter-spacing:-.4px}
.flyer-page .row.product-card .channel-offer:not([data-price-status="available"]) .now{font-size:11px;font-weight:400;white-space:normal;color:var(--muted)}
.flyer-page .row.product-card .channel-offer[data-rank="1"] .now{color:var(--green)}
.flyer-page .row.product-card .offer-rank{display:none}
.flyer-page .row.product-card .channel-offer[data-freshness="reference"] .offer-rank{display:block;flex:0 0 100%;order:3;background:transparent;color:#88692f;padding:0;font-size:11px}
.flyer-page .row.product-card .offer-summary{font-size:11px;line-height:1.6;margin:2px 0 0;color:var(--muted)}
.flyer-page .row.product-card .channel-offer .ifhave,.flyer-page .row.product-card .channel-offer .offer-note{display:block;overflow:visible;-webkit-line-clamp:unset;margin:4px 0 0;padding:0;background:transparent;border:0;font-size:11px;line-height:1.6;color:#7d6230;overflow-wrap:anywhere}
.flyer-page .row.product-card .ifhave .detail-label,.flyer-page .row.product-card .offer-note .detail-label{display:none}
.flyer-page .row.product-card .applied,.flyer-page .row.product-card .base-price,.flyer-page .row.product-card .purchase-estimate,.flyer-page .row.product-card .channel-offer>.offer-basis{font-size:11px;line-height:1.6;font-weight:400;margin:3px 0 0;white-space:normal;overflow-wrap:anywhere}
.flyer-page .row.product-card .applied{color:var(--green)}
.flyer-page .row.product-card>.affiliate-notice{order:2;margin:7px 0 0;font-size:10px;line-height:1.6;color:var(--muted);padding:0;background:transparent;border:0}
.flyer-page .row.product-card>.comparison-quantity{order:3;margin:10px 0 0}
.flyer-page .row.product-card .quantity-compact{min-height:40px;display:block}
.flyer-page .row.product-card .quantity-stepper{width:100%;display:flex;gap:0;align-items:center;justify-content:space-between;border:1px solid var(--line);border-radius:5px}
.flyer-page .row.product-card .quantity-stepper :is([data-quantity-step],[data-quantity-open]){border:0;border-radius:0;background:transparent;min-width:36px;min-height:40px;margin:0;padding:0;color:var(--ink)}
.flyer-page .row.product-card .quantity-stepper [data-quantity-open]{flex:1;white-space:normal;font-size:11px}
.flyer-page .row.product-card .quantity-stepper [data-quantity-step]{flex:0 0 36px;font-size:18px}
.flyer-page .row.product-card .quantity-stepper button:disabled{opacity:.35}
.flyer-page .row.product-card .quantity-draft{padding:8px;margin-top:8px;gap:6px;display:flex;flex-wrap:wrap;min-width:0}
.flyer-page .row.product-card .quantity-draft[hidden]{display:none}
.flyer-page .row.product-card .quantity-draft label{display:flex;flex:1 1 100%;justify-content:space-between;font-size:12px;min-width:0;gap:6px}
.flyer-page .row.product-card .quantity-draft input{width:60px;max-width:100%;margin:0;min-height:40px}
.flyer-page .row.product-card .quantity-draft button{flex:1;min-width:0;min-height:40px;font-size:12px;padding:8px}
.flyer-page .row.product-card>.catalogue-actions{order:4;display:flex;flex-direction:column;margin:8px 0 0;padding:0;align-self:stretch;gap:6px}
.flyer-page .row.product-card>.catalogue-actions :is(button,a){display:flex;width:100%;min-width:0;min-height:44px;justify-content:center;align-items:center;padding:10px 6px;font-size:12px;white-space:normal;border-radius:5px;line-height:1.5;overflow-wrap:anywhere;text-align:center}
.flyer-page .row.product-card>.catalogue-actions :is(.primary,.secondary){width:100%;min-width:0;padding:10px 6px;white-space:normal}
.flyer-page .row.product-card>.catalogue-actions>:is(a,button){white-space:normal}
.flyer-page .row.product-card>.product-detail{order:5;margin:0;color:var(--muted);font-size:11px}
.flyer-page .row.product-card>.product-detail>summary{min-height:40px;padding:9px 0;font-size:11px;color:var(--green);cursor:pointer}
.flyer-page .row.product-card .product-detail[open]{padding-bottom:10px}
.flyer-page .row.product-card .product-detail .offer-proof{border-bottom:1px solid var(--line);padding:9px 0;font-size:11px}
.flyer-page .row.product-card .product-detail .offer-proof h4{font-size:12px;margin:0 0 5px}
.flyer-page .row.product-card .product-detail .comparison-order{font-size:11px}
.flyer-page .row.product-card .product-detail p{line-height:1.7;overflow-wrap:anywhere}
.flyer-page .row.product-card .product-detail a{display:inline-block;min-height:32px;padding:5px 0}
.flyer-page .row.product-card>.card-feedback{order:6;font-size:11px;line-height:1.6;margin:4px 0 0;overflow-wrap:anywhere}
.flyer-page .row.product-card>.card-feedback:empty{display:none}
.flyer-page .compact-purchase-details{font-size:11px;line-height:1.6;color:var(--muted);margin:4px 0 0}
.flyer-page .compact-purchase-details>summary{min-height:36px;padding:6px 0;color:var(--green);cursor:pointer}
.flyer-page .compact-purchase-details p{font-size:11px;line-height:1.6;overflow-wrap:anywhere}
.flyer-page .compact-purchase-details .offer-link{font-size:12px;min-height:36px;padding:6px 0}
.flyer-page .compact-purchase-details .purchase-details{font-size:11px}
.flyer-page .independent-catalogue{display:block;margin-top:28px;border-top:1px solid var(--line);padding-top:20px}
.flyer-page .independent-catalogue>h2{font-size:14px;font-weight:500;margin:0 0 18px}
.flyer-page #rows:empty+.independent-catalogue{margin-top:0;border-top:0;padding-top:0}
.flyer-page .independent-catalogue>.more-products{display:block;margin:24px auto 0;min-height:44px}
.flyer-page .browse-cart-dock{position:fixed;bottom:0;left:0;right:0;z-index:30;padding:10px 16px max(10px,env(safe-area-inset-bottom));background:#fffffff0;border-top:1px solid var(--line);backdrop-filter:blur(8px)}
.flyer-page .browse-cart-dock[hidden]{display:none}
.flyer-page .browse-cart-dock a{display:flex;justify-content:space-between;align-items:center;gap:12px;max-width:570px;min-height:50px;margin:auto;padding:12px 18px;background:var(--green);color:#fff;border-radius:6px;font-size:13px;text-decoration:none}
.flyer-page #shopping-count{display:inline-flex;justify-content:center;align-items:center;min-width:18px;height:18px;border-radius:50%;background:var(--green);color:#fff;font-size:10px;margin-left:4px}
.flyer-page #shopping-count[hidden]{display:none}
.flyer-page .browse-auxiliary{margin-top:32px;border-top:1px solid var(--line);padding-top:16px}
@media(max-width:1000px){.flyer-page .rows,.flyer-page .independent-products{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 20px}}
@media(max-width:600px){
 .flyer-page header{padding:10px 18px;gap:4px}
 .flyer-page main{padding:18px 18px 100px}
 .flyer-page .intro{margin:0 0 14px}.flyer-page .intro h1{font-size:23px}.flyer-page .intro p{display:none}
 .flyer-page #filter-options>summary{min-height:36px}
 .flyer-page .browse-modes{margin:8px 0 4px}
 .flyer-page .results-heading{margin:10px 0 12px}
 .flyer-page .rows,.flyer-page .independent-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 14px}
 .flyer-page .row.product-card>.product-identification{gap:10px;margin-bottom:8px}
 .flyer-page .row.product-card .product-title-block h3{font-size:13px;min-height:42px;line-height:1.6}
 .flyer-page .row.product-card .product-pack{font-size:10px;line-height:1.6}
 .flyer-page .row.product-card .offer-heading .channel-label{font-size:11px}
 .flyer-page .row.product-card .offer-heading .now{font-size:15px}
 .flyer-page .row.product-card .offer-heading{gap:2px 5px}
 .flyer-page .row.product-card .channel-offer,.flyer-page .row.product-card .channel-offer+.channel-offer{padding:7px 0}
 .flyer-page .row.product-card .offer-summary{font-size:10px}
 .flyer-page .row.product-card>.affiliate-notice{font-size:10px}
 .flyer-page .filter-options{grid-template-columns:1fr}
 .flyer-page .browse-cart-dock a{font-size:12px}
}
@media(prefers-reduced-motion:reduce){.flyer-page *{scroll-behavior:auto}}

/* 2026-10-18 compact store prices (user option a): the first-ranked store on its own line, the other stores as one
   line of numbers with short tags. Opening 가격 상세정보 shows every row in full, as before. */
.flyer-page .product-card:not(:has(>.product-detail[open])) .product-offers{flex-direction:row;flex-wrap:wrap;align-items:baseline;column-gap:8px;row-gap:0;border-top:1px solid var(--line);padding-top:6px}
.flyer-page .product-card:not(:has(>.product-detail[open])) .channel-offer>:not(.offer-heading){display:none}
/* Stores without a price are hidden in the compact view, except Coupang: its line still leads to Coupang (user 2026-10-18). */
.flyer-page .product-card:not(:has(>.product-detail[open])) .channel-offer[data-freshness="missing"]:not(:first-child):not([data-channel="coupang"]){display:none}
.flyer-page .product-card:not(:has(>.product-detail[open])) .channel-offer:first-child{flex:0 0 100%;border:0;padding:0 0 3px}
.flyer-page .product-card:not(:has(>.product-detail[open])) .channel-offer:not(:first-child){flex:0 1 auto;border:0;padding:0}
.flyer-page .product-card:not(:has(>.product-detail[open])) .channel-offer:not(:first-child) .offer-heading{justify-content:flex-start;gap:0 3px;flex-wrap:wrap}
.flyer-page .product-card:not(:has(>.product-detail[open])) .channel-offer:not(:first-child) .channel-label{flex:none;font-size:11px;color:var(--muted)}
.flyer-page .product-card:not(:has(>.product-detail[open])) .channel-offer:not(:first-child) .now{font-size:12px;font-weight:600;color:var(--ink)}
.flyer-page .product-card:not(:has(>.product-detail[open])) .channel-offer:not(:first-child) .offer-rank{display:none}
.flyer-page .product-card:not(:has(>.product-detail[open])) .channel-offer .price>:not(.now){display:none}
.flyer-page .product-card .offer-tags{flex:0 0 100%;order:4;font-size:10.5px;line-height:1.5;color:#88692f}
.flyer-page .product-card:not(:has(>.product-detail[open])) .channel-offer:not(:first-child) .offer-tags{flex:none;order:2}
.flyer-page .product-card:not(:has(>.product-detail[open])) .channel-offer:not(:first-child) .offer-tags::before{content:'('}
.flyer-page .product-card:not(:has(>.product-detail[open])) .channel-offer:not(:first-child) .offer-tags::after{content:')'}
.flyer-page .affiliate-page-note,.shopping-page .affiliate-page-note{display:block;margin-top:2px;font-size:12px;color:#6b5a2e}

/* Compact card: the Coupang price line is one tap target to Coupang (user decision 2026-10-18). */
.flyer-page .product-card .channel-offer.affiliate-link{position:relative}
.flyer-page .product-card .coupang-quick{order:3;flex:none;font-size:12px;line-height:1.4;text-decoration:none;color:var(--green);padding:0 2px}
.flyer-page .product-card:not(:has(>.product-detail[open])) .coupang-quick::after{content:'';position:absolute;inset:-4px 0}
.flyer-page .product-card:has(>.product-detail[open]) .coupang-quick{display:none}


/* Store pills on search cards (2026-10-18) and one date line per view. */
.flyer-page .row.product-card .channel-offer .offer-heading .channel-label{flex:none;display:inline-flex;align-items:center;padding:1px 7px;border-radius:6px;background:var(--store-bg);color:var(--store-fg);font-size:12px;font-weight:700;line-height:1.6}
.flyer-page .product-card:not(:has(>.product-detail[open])) .channel-offer:not(:first-child) .channel-label{font-size:11px;padding:0 6px;color:var(--store-fg)}
.flyer-page .product-card:has(>.product-detail[open]) .offer-tags{display:none}
.flyer-page .product-card:not(:has(>.product-detail[open])) .channel-offer:not(:first-child) .offer-heading .price{text-align:left}
.flyer-page .product-card:not(:has(>.product-detail[open])) .channel-offer:not(:first-child) .offer-heading .price{margin-left:0}

/* 2026-10-18 consistency pass (user): one badge size, one alignment, one card height per grid row.
   Every store is its own line: fixed-width badge on the left, price on the right, short tags under it. */
.flyer-page .row.product-card .channel-offer .offer-heading .channel-label{width:78px;justify-content:center;flex:none;padding:1px 0;text-align:center;white-space:nowrap}
.flyer-page .product-card:not(:has(>.product-detail[open])) .product-offers{flex-direction:column;flex-wrap:nowrap;align-items:stretch;row-gap:5px}
.flyer-page .product-card:not(:has(>.product-detail[open])) .channel-offer:not(:first-child){flex:0 0 auto;width:100%}
.flyer-page .product-card:not(:has(>.product-detail[open])) .channel-offer .offer-heading{justify-content:space-between;align-items:center;flex-wrap:wrap;gap:2px 6px}
.flyer-page .product-card:not(:has(>.product-detail[open])) .channel-offer:not(:first-child) .channel-label{width:78px;font-size:12px;padding:1px 0}
.flyer-page .product-card:not(:has(>.product-detail[open])) .channel-offer .offer-heading .price{margin-left:auto;text-align:right}
.flyer-page .product-card:not(:has(>.product-detail[open])) .channel-offer:not(:first-child) .now{font-size:13px;font-weight:700}
.flyer-page .product-card:not(:has(>.product-detail[open])) .channel-offer .offer-tags{flex:0 0 100%;order:4;text-align:right}
.flyer-page .product-card:not(:has(>.product-detail[open])) .channel-offer:not(:first-child) .offer-tags::before,
.flyer-page .product-card:not(:has(>.product-detail[open])) .channel-offer:not(:first-child) .offer-tags::after{content:none}
.flyer-page .row.product-card .channel-offer[data-freshness="reference"] .offer-rank{order:4;flex:0 0 100%;text-align:right}
/* Cards in a grid row share one height; quantity and 담기 sit on the same baseline at the bottom. */
.flyer-page .rows,.flyer-page .independent-products{align-items:stretch}
.flyer-page .row.product-card{height:100%}
.flyer-page .row.product-card>.comparison-quantity{margin-top:auto}
.flyer-page .product-card:not(:has(>.product-detail[open])) .channel-offer:first-child{flex:0 0 auto;width:100%}
.flyer-page .product-card:not(:has(>.product-detail[open])) .channel-offer:not(:first-child) .offer-heading .price{margin-left:auto;text-align:right}

/* 2026-10-18 product names bolder and larger; deal chips in one accent style and one slot. */
.flyer-page .row.product-card .product-title-block h3{font-size:16px;font-weight:700;letter-spacing:-.4px;line-height:1.5}
@media(max-width:600px){.flyer-page .row.product-card .product-title-block h3{font-size:14px;line-height:1.5;min-height:42px}}
.flyer-page .row.product-card .offer-tags{display:flex;flex-wrap:wrap;align-items:center;gap:3px 5px;color:var(--muted)}
.flyer-page .row.product-card .deal-chip{display:inline-block;padding:1px 6px;border-radius:4px;background:#fff0e8;color:#b5401a;font-size:11.5px;font-weight:700;line-height:1.5}
.flyer-page .row.product-card .meta-tag{font-size:10.5px;color:var(--muted)}
.flyer-page .product-card:not(:has(>.product-detail[open])) .channel-offer .offer-tags{text-align:left}
.flyer-page .product-card:not(:has(>.product-detail[open])) .channel-offer:not(:first-child) .offer-tags{flex:0 0 100%;min-width:0;order:4}
.flyer-page .row.product-card .deal-chip{max-width:100%;overflow-wrap:anywhere}
.flyer-page .row.product-card .channel-offer .offer-heading .channel-label,.flyer-page .product-card:not(:has(>.product-detail[open])) .channel-offer:not(:first-child) .channel-label{width:auto;min-width:78px;padding-left:5px;padding-right:5px}
