/* Two offers per phone/tablet row, three per desktop row. */
.product-offer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch}
.product-offer-card{display:grid;grid-template-columns:84px minmax(0,1fr);grid-template-rows:1fr auto;column-gap:14px;align-items:start;padding:18px;min-width:0;margin:0}
.product-offer-cover{grid-column:1;grid-row:1;margin:0;display:grid;place-items:center;width:100%;aspect-ratio:2/3;overflow:hidden;border-radius:10px;background:var(--surface-soft);border:1px solid var(--line);box-shadow:0 5px 16px #20152d12}
.product-offer-cover img{display:block;width:100%;height:100%;object-fit:contain}
.product-offer-cover img[hidden],.product-cover-placeholder[hidden]{display:none}
.product-cover-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;padding:10px;color:var(--muted)}
.product-cover-placeholder svg{width:28px;height:28px}
.product-cover-placeholder small{font-size:11px;line-height:1.5}
.product-offer-copy{grid-column:2;grid-row:1;min-width:0;overflow-wrap:anywhere}
.product-offer-copy .badge{display:inline-flex;max-width:100%;white-space:normal;margin-bottom:8px;font-size:11px;line-height:1.4}
.product-offer-copy h2{font-size:1rem;line-height:1.45;margin:0 0 5px}
.product-offer-author{font-size:12px;line-height:1.5;color:var(--muted);margin:0 0 7px}
.product-offer-copy .price{font-size:1.35rem;line-height:1.35;margin:10px 0 5px;overflow-wrap:anywhere}
.product-offer-copy .help{font-size:12px;line-height:1.5;margin:0}
.product-offer-card.product-offer-bundle{grid-template-rows:auto 1fr auto}
.product-offer-card>.product-offer-includes{grid-column:2;grid-row:2;min-width:0;overflow-wrap:anywhere;font-size:12px;margin:9px 0 0;padding-left:16px;line-height:1.6}
.product-offer-card.product-offer-bundle>.actions{grid-row:3}
.product-offer-card>.actions{grid-column:1/-1;grid-row:2;align-self:end;margin-top:0;padding-top:14px}
.product-offer-card>.actions .button{min-height:44px;font-size:13px;white-space:normal}
@media(min-width:920px){.product-offer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){
 .product-offer-grid{gap:12px}
 .product-offer-card{--offer-cover-width:clamp(56px,16.5vw,88px);grid-template-columns:var(--offer-cover-width) minmax(0,1fr);grid-template-rows:1fr auto;gap:0 9px;padding:10px}
 .product-offer-cover{grid-column:1;grid-row:1;justify-self:start;width:100%;border-radius:5px}
 .product-cover-placeholder{gap:5px;padding:5px}
 .product-cover-placeholder svg{width:21px;height:21px}
 .product-cover-placeholder small{font-size:8px;line-height:1.35}
 .product-offer-copy{grid-column:2;grid-row:1;display:flex;flex-direction:column;align-items:flex-start;min-height:calc(var(--offer-cover-width) * 1.5)}
 .product-offer-copy .badge{font-size:clamp(8px,2.1vw,10px);padding:2px 4px;margin-bottom:4px;line-height:1.35}
 .product-offer-copy h2{font-size:clamp(11px,2.9vw,14px);line-height:1.4;min-height:0;margin-bottom:3px}
 .product-offer-author{font-size:clamp(10px,2.5vw,12px);line-height:1.4;margin:0}
 .product-offer-copy .price{font-size:clamp(15px,4.2vw,21px);margin:6px 0 0;line-height:1.25}
 .product-offer-copy .help{font-size:clamp(9px,2.4vw,11px);line-height:1.5;margin-top:auto;padding-top:10px}
 .product-offer-card>.product-offer-includes{grid-column:1/-1;grid-row:2;font-size:11px;line-height:1.5;padding-left:14px;margin-top:10px}
 .product-offer-card>.actions{grid-column:1/-1;grid-row:2;padding-top:12px}
 .product-offer-card.product-offer-bundle>.actions{grid-row:3}
 .product-offer-card>.actions .button{font-size:12px;padding:9px 5px}
}
@media(max-width:359px){.product-offer-grid{gap:10px}.product-offer-card{--offer-cover-width:44px;column-gap:7px;padding:8px}.product-offer-copy .badge{padding:2px 3px}}
.product-offer-labels{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:0 6px;width:100%;min-width:0}
.product-offer-copy .product-access-badge{margin-left:auto;flex-shrink:0}
.product-offer-copy [data-product-access-badge][hidden]{display:none}
.product-offer-card>.actions .product-owned-button:disabled{background:#303034;border-color:#45454b;color:#d9d9df;opacity:1;cursor:not-allowed;box-shadow:none}
/* Package titles remain inert until the existing dialog is opened. */
.product-package-preview{grid-column:1/-1;grid-row:2;min-width:0;margin-top:12px}
.product-package-toggle{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:44px;padding:9px 11px;border:1px solid var(--line);border-radius:8px;background:transparent;color:var(--accent);font:inherit;text-align:left;cursor:pointer}
.product-package-toggle-copy{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 8px;min-width:0;line-height:1.4}
.product-package-toggle strong{font-size:12px;font-weight:650}.product-package-toggle small{font-size:11px;color:var(--muted);white-space:nowrap}
.product-package-toggle svg{width:16px;height:16px;flex:none}.product-package-toggle:hover{background:var(--surface-accent)}
.product-package-toggle:focus-visible,.product-package-story:focus-visible{outline:2px solid var(--focus,var(--accent));outline-offset:2px}
.product-package-name{font-weight:700;line-height:1.5;overflow-wrap:anywhere;margin:0 0 6px}
.product-package-intro{font-size:.85rem;color:var(--muted);line-height:1.6;margin:0 0 14px}
.product-package-list{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.product-package-list>li{min-width:0;border-bottom:1px solid var(--line)}.product-package-list>li:last-child{border-bottom:0}
.product-package-story{display:flex;align-items:flex-start;gap:12px;min-width:0;min-height:56px;padding:12px 4px;border-radius:7px;color:var(--ink);text-decoration:none}
a.product-package-story:hover{background:var(--surface-accent)}.product-package-number{display:grid;place-items:center;flex:0 0 28px;min-height:28px;border-radius:7px;background:var(--surface-accent);color:var(--accent);font-size:.75rem}
.product-package-story-copy{min-width:0;overflow-wrap:anywhere}.product-package-story-copy strong{display:block;font-size:.9rem;line-height:1.5}.product-package-story-copy>span{display:block;font-size:.76rem;line-height:1.5;color:var(--muted);margin-top:3px}
