/* Merchant text remains readable inside compact offer tables. */
details.cc-merchant-details { font-size:16px !important; line-height:1.6 !important; }
details.cc-merchant-details > summary { font-size:16px !important; line-height:1.6 !important; }
details.cc-merchant-details .cc-merchant-info-panel,
details.cc-merchant-details .cc-merchant-info-panel p,
details.cc-merchant-details .cc-merchant-info-panel a,
details.cc-merchant-details .cc-merchant-info-panel strong { font-size:17px !important; line-height:1.65 !important; }
details.cc-merchant-details .cc-merchant-info-panel small { font-size:14px !important; line-height:1.5 !important; }
details.cc-merchant-details[open] .cc-merchant-info-panel { width:420px !important; max-width:calc(100vw - 48px) !important; padding:18px !important; box-sizing:border-box; overflow-wrap:anywhere; }
details.cc-merchant-details .cc-merchant-site-link { font-size:18px !important; font-weight:700; }
@media(max-width:650px) { details.cc-merchant-details[open] .cc-merchant-info-panel { position:static; width:100% !important; max-width:100% !important; } }

/* Shipping costs and free shipping in both comparison layouts. */
.cc-offer-row .cc-offer-cell.cc-offer-shipping,
.cc-offer-row .cc-offer-shipping .cc-free-shipping { font-size:16px !important; line-height:1.5 !important; font-weight:700; }

/* Large merchant profile, shared by catalog and live comparisons. */
.cc-merchant-dialog { width:min(1040px,calc(100vw - 48px)); max-width:1040px; max-height:calc(100dvh - 64px); margin:auto; padding:0; border:0; border-radius:16px; background:#fff; color:#183153; box-shadow:0 24px 90px #10294d55; overflow:auto; }
.cc-merchant-dialog::backdrop { background:rgb(13 28 49 / 58%); }
.cc-merchant-dialog .cc-merchant-info-panel { position:static!important; width:100%!important; max-width:none!important; max-height:none!important; margin:0!important; padding:36px 44px!important; border:0!important; border-radius:0!important; box-shadow:none!important; background:#fff!important; box-sizing:border-box; color:#183153; font-size:17px!important; line-height:1.65!important; overflow:visible!important; overflow-wrap:anywhere; }
.cc-merchant-dialog-close { position:sticky; top:12px; float:right; z-index:2; margin:12px 12px -54px 0; width:42px; height:42px; padding:0; border:1px solid #dce5ef; border-radius:50%; background:#fff; color:#183153; font-size:30px; line-height:1; cursor:pointer; }
.cc-merchant-profile-kicker { color:#e96500; font-size:14px; font-weight:700; }
.cc-merchant-profile-heading h2 { margin:4px 52px 24px 0; font-size:30px!important; line-height:1.25!important; color:#123862; }
.cc-merchant-info-panel h3 { margin:26px 0 12px; color:#123862; font-size:21px!important; line-height:1.4; }
.cc-merchant-info-panel p { font-size:17px!important; line-height:1.7!important; }
.cc-merchant-profile-facts { margin:0; }
.cc-merchant-profile-facts > div { display:grid; grid-template-columns:minmax(180px,30%) 1fr; gap:28px; padding:17px 0; border-bottom:1px solid #e2e8f0; }
.cc-merchant-profile-facts dt { font-weight:600; }
.cc-merchant-profile-facts dd { margin:0; }
.cc-merchant-profile-rating { display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.cc-merchant-profile-note { padding:14px 18px; background:#f4f8fc; border-radius:8px; }
.cc-merchant-profile-sources { margin-top:26px; padding-top:6px; border-top:1px solid #e2e8f0; }
.cc-merchant-profile-sources p { font-size:14px!important; color:#53667d; }
.cc-merchant-dialog .cc-merchant-site-link { display:inline-block; margin-top:12px; font-weight:700; }
@media(max-width:650px) {
 .cc-merchant-dialog { width:calc(100vw - 20px); max-height:calc(100dvh - 24px); border-radius:12px; }
 .cc-merchant-dialog .cc-merchant-info-panel { padding:24px 20px!important; }
 .cc-merchant-profile-heading h2 { font-size:25px!important; }
 .cc-merchant-profile-facts > div { grid-template-columns:1fr; gap:5px; padding:14px 0; }
}

/* Compact two-line shipment cell; readable merchant/payment controls. */
.cc-offer-row .cc-shipping-compact { display:flex; flex-direction:column; gap:3px; min-width:0; max-width:100%; }
.cc-offer-row .cc-shipping-time,
.cc-offer-row .cc-shipping-cost { display:block; font-size:15px!important; line-height:1.4!important; font-weight:700!important; }
.cc-offer-row .cc-shipping-time { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#183153; }
.cc-offer-row .cc-offer-payments .cc-payment-summary,
.cc-offer-row .cc-offer-payments .cc-payment-toggle,
.cc-offer-row .cc-offer-payments .cc-payment-mini { font-size:14px!important; line-height:1.5!important; font-weight:700!important; }
.cc-offer-row .cc-offer-payments .cc-payment-panel { width:360px; max-width:calc(100vw - 48px); gap:8px; padding:16px; }
.cc-offer-row .cc-offer-payments .cc-payment-mini { padding:5px 9px; }
details.cc-merchant-details > summary { font-weight:700!important; }
@media(max-width:650px) { .cc-offer-row .cc-offer-payments .cc-payment-panel { width:100%; max-width:100%; } }
