.card-rules{margin:22px 0;padding:18px;border:1px solid rgba(190,155,93,.3);border-radius:14px;background:rgba(255,255,255,.03)}
.card-rules h3,.deck-add-ons h3{margin:0 0 10px;font-family:inherit;font-size:1.05rem}
.card-rules pre{margin:0;white-space:pre-wrap;font:inherit;line-height:1.65;color:var(--muted,#d8d1c4)}
.card-flavor{white-space:pre-line;font-style:italic;color:var(--muted,#c5bdaf)}
.deck-add-ons{margin:26px 0 8px;padding:22px;border:1px solid rgba(190,155,93,.35);border-radius:16px}
.deck-add-ons>p{margin:0 0 18px;color:var(--muted,#c5bdaf);font-size:.9rem;line-height:1.55}
.deck-add-on-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.deck-add-on{display:grid;grid-template-columns:70px minmax(0,1fr);gap:13px;padding:14px;background:rgba(255,255,255,.035);border-radius:12px;align-items:start}
.deck-add-on img{width:70px;height:98px;object-fit:contain;border-radius:5px}
.deck-add-on h4{font:inherit;font-weight:700;margin:0 0 6px;line-height:1.4}
.deck-add-on p{font-size:.86rem;line-height:1.5;margin:7px 0;color:var(--muted,#c5bdaf)}
.deck-add-on small{display:block;font-size:.76rem;color:var(--muted,#c5bdaf)}
.deck-add-on-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:10px}
.deck-add-on-actions button{font:inherit;font-size:.84rem;padding:8px 11px;border-radius:8px;cursor:pointer;border:1px solid rgba(190,155,93,.45);background:transparent;color:inherit}
.deck-add-on-actions button:first-child{background:var(--gold,#d6b970);color:#17130d;font-weight:700}
.deck-add-on-actions button:disabled{opacity:.55;cursor:default}
.deck-add-on-actions button:focus-visible{outline:3px solid #f3d48b;outline-offset:3px}
@media(max-width:700px){.deck-add-on-list{grid-template-columns:1fr}.deck-add-ons{padding:15px}.deck-add-on{grid-template-columns:58px minmax(0,1fr);padding:12px}.deck-add-on img{width:58px;height:82px}}

/* Optional checkout bundle offers */
#deckBundleDialog{width:min(900px,94vw);max-height:92vh;max-height:92dvh;padding:24px;overflow:hidden;background:var(--panel,#fffdf7);color:var(--text,#30233d)}
#deckBundleDialog[open]{display:flex;flex-direction:column}
.bundle-scroll{overflow:auto;min-height:0;overscroll-behavior:contain;padding-right:5px}
.bundle-intro{font-size:.92rem;line-height:1.55;color:var(--muted)}
.bundle-anchor{margin:18px 0 10px;font-size:1.05rem}
.bundle-progress{font-size:.78rem;color:var(--muted)}
.bundle-offer-list{display:grid;gap:14px}
.bundle-card{display:grid;grid-template-columns:90px minmax(0,1fr);gap:16px;padding:16px;border:1px solid var(--line);border-radius:14px}
.bundle-card>img{width:90px;height:126px;object-fit:contain;border-radius:5px}
.bundle-card-choice{display:flex;align-items:flex-start;gap:9px;cursor:pointer;line-height:1.4}
.bundle-card-choice input{width:19px;height:19px;flex:0 0 19px;margin:1px 0 0;accent-color:var(--purple,#49305d)}
.bundle-card-choice strong{font-size:.98rem}
.bundle-card-meta{display:block;margin:6px 0;color:var(--muted);font-size:.75rem;line-height:1.4}
.bundle-card-reason,.bundle-card-requirement{font-size:.86rem;line-height:1.55;margin:8px 0}
.bundle-card-prices{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap;margin:8px 0}
.bundle-card-prices del{font-size:.84rem;color:var(--muted)}.bundle-card-prices strong{color:var(--purple,#49305d);font-size:1.08rem}.bundle-card-prices span{font-size:.76rem}
.bundle-card-details{margin-top:8px;font-size:.8rem}.bundle-card-details summary{cursor:pointer;text-decoration:underline;text-underline-offset:3px}.bundle-card-details p{line-height:1.55}.bundle-card-details pre{white-space:pre-wrap;font:inherit;line-height:1.55}
.bundle-footer{border-top:1px solid var(--line);padding-top:14px;margin-top:18px;flex-shrink:0}
.bundle-selection-total{display:flex;justify-content:space-between;gap:12px}.bundle-selection-total strong{font-size:1.3rem}
.bundle-selection-help{font-size:.78rem;color:var(--muted);margin:5px 0}.bundle-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:10px}.bundle-actions .full{grid-column:1/-1}
.bundle-feedback{font-size:.84rem;line-height:1.5;margin:6px 0;color:var(--purple,#49305d)}
.cart-bundle-note{font-size:.78rem;line-height:1.45;color:var(--muted)}#bundleOffersBtn{margin-top:8px;font-size:.84rem}#cartBundleSavings{color:var(--purple,#49305d);font-size:.86rem}
@media(max-width:600px){#deckBundleDialog{padding:16px}.bundle-card{grid-template-columns:62px minmax(0,1fr);gap:10px;padding:12px}.bundle-card>img{width:62px;height:87px}.bundle-actions{grid-template-columns:1fr}.bundle-actions .full{grid-column:auto}}
/* Keep the Court's ivory offer readable in either storefront theme. */
#deckBundleDialog{--muted:#6f6379;--line:rgba(161,128,69,.3);--purple:#49305d;--gold:#a98237;background:#fffdf7;color:#30233d}
#deckBundleDialog [hidden],#bundleOffersBtn[hidden],#cartBundleSavings[hidden]{display:none!important}
#deckBundleDialog .close{color:#49305d}#deckBundleDialog .btn.ghost{background:transparent;border-color:#b5a2bd;color:#49305d}
#deckBundleDialog .btn.primary{background:#49305d;color:#fffdf7}
#deckBundleDialog .eyebrow{color:#8e6a28}
