/* Every tier uses the same card geometry. Artwork comes from the actual theme renderer. */
.themeArtwork{display:block;position:relative;isolation:isolate;overflow:hidden;aspect-ratio:3/4;background:#e9ece5;border-radius:13px 13px 0 0;width:100%;min-width:0}
.themeThumbnail{display:block;width:100%;height:100%;aspect-ratio:3/4;object-fit:cover;object-position:center;border:0;transition:transform .45s ease;pointer-events:none}
.themeBadge{position:absolute!important;z-index:3;top:10px;right:10px;left:auto;margin:0!important;padding:5px 9px;border:1px solid #ffffff80;border-radius:30px;background:#fffef5e8;color:#46675f;font:700 10px/1.25 system-ui,sans-serif;letter-spacing:.07em;box-shadow:0 3px 12px #132e3020;backdrop-filter:blur(9px);white-space:nowrap}
.themeBadge.vip{background:#aa8e62ed;color:#fff;border-color:#d4bf99}
.themeBadge.sultan{background:#efe2c3ed;color:#78613a;border-color:#d5bd81}
.themeAvailability{display:block;min-height:20px;font:11px/1.6 system-ui,sans-serif;color:#6c8177;padding:0 12px 10px}
.homeBody .homeThemeRail{align-items:stretch;grid-auto-columns:240px}
.homeBody .homeThemeCard{display:grid;grid-template-rows:auto 62px 48px;align-items:stretch;position:relative;min-width:0;height:auto;padding:0;overflow:hidden;background:#fffdf7;color:#31564e;border:1px solid #d6dbcd;border-radius:20px;box-sizing:border-box}
.homeBody .homeThemeFrame{height:auto;aspect-ratio:3/4;position:relative;display:block;padding:0;border:0;border-radius:0;background:#e9ece5;overflow:hidden}
.homeBody .homeThemeFrame .themeThumbnail{border-radius:0}
.homeBody .homeThemeFrame .themeBadge{font-size:10px;letter-spacing:.07em}
.homeBody .homeThemeName{font:600 20px/1.2 'Playfair Display',Georgia,serif;display:flex;align-items:center;justify-content:center;text-align:center;padding:12px 15px;margin:0;overflow-wrap:anywhere;min-width:0;color:#31564e}
.homeBody .homeCardPreview{display:flex;align-items:center;justify-content:center;position:static;left:auto;right:auto;bottom:auto;border-radius:0;padding:10px 14px;background:#f0f4ec;color:#315d57;font-size:12px;min-width:0;border-top:1px solid #dce4d6}
.homeBody .homeThemeCard:hover .themeThumbnail{transform:scale(1.025)}
.checkoutBody .previewGrid{align-items:stretch;grid-template-columns:repeat(2,minmax(0,1fr))}
.checkoutBody .previewTile{display:grid;grid-template-rows:minmax(0,1fr) 42px;min-width:0;padding:0;border:1px solid #d4e0d8;border-radius:16px;background:#fffdf7;overflow:hidden;box-sizing:border-box}
.checkoutBody .previewTile.active{outline:2px solid #6d9186;outline-offset:2px}
.checkoutBody .previewTile button{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;width:100%;height:100%;padding:0;min-width:0;border:0;border-radius:0;background:transparent;color:#284847;text-align:left}
.checkoutBody .previewTile button .themeArtwork{border-radius:0;flex-shrink:0}
.checkoutBody .previewTile button .themeBadge{font:700 10px/1.25 system-ui,sans-serif;padding:5px 9px;border-radius:30px}
.checkoutBody .previewTile button strong{display:flex;align-items:center;min-height:64px;margin:0;padding:10px 12px 5px;font:600 20px/1.2 'Playfair Display',Georgia,serif;overflow-wrap:anywhere;min-width:0}
.checkoutBody .previewTile button:disabled{opacity:1;cursor:not-allowed}
.checkoutBody .previewTile button:disabled .themeAvailability{color:#8f744d}
.checkoutBody .previewTile a{display:flex;align-items:center;justify-content:center;margin:0;padding:10px 12px;border-top:1px solid #dce4d6;background:#f0f4ec;color:#406f69;font-size:12px}
.buyerBody .themeGrid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:14px}
.buyerBody .themeChoice{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;min-width:0;min-height:0;padding:0!important;border:2px solid transparent;border-radius:17px;overflow:hidden;background:#fffdf7!important;color:#31554c!important;text-align:left;filter:none;opacity:1;isolation:isolate}
.buyerBody .themeChoice::before,.buyerBody .themeChoice::after{content:none!important;display:none!important}
.buyerBody .themeChoice .themeArtwork{flex-shrink:0;border-radius:0}
.buyerBody .themeChoice .themeBadge{font:700 10px/1.25 system-ui,sans-serif;color:#46675f}
.buyerBody .themeChoice .themeBadge.vip{color:white}
.buyerBody .themeChoice .themeBadge.sultan{color:#78613a}
.buyerBody .themeChoice strong{display:flex;align-items:center;min-height:68px;margin:0;padding:12px 12px 5px;font:600 20px/1.2 'Playfair Display',Georgia,serif;overflow-wrap:anywhere;min-width:0;color:#31554c}
.buyerBody .themeChoice .themeAvailability{margin-top:auto;padding-bottom:12px}
.buyerBody .themeChoice:disabled{filter:none;opacity:1;cursor:not-allowed}
.buyerBody .themeChoice:disabled .themeAvailability{color:#8f744d}
.buyerBody .themeChoice[aria-checked=true]{border-color:#699287;outline:2px solid #b0c1a4;outline-offset:2px}
.themeArtwork .themeThumbnail{width:100%;height:100%;max-width:none}
@media(max-width:760px){.homeBody .homeThemeRail{grid-auto-columns:220px}.buyerBody .themeGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}
@media(max-width:440px){.homeBody .homeThemeRail{grid-auto-columns:195px}.homeBody .homeThemeName{font-size:18px}.checkoutBody .previewGrid{gap:10px}.checkoutBody .previewTile button strong,.buyerBody .themeChoice strong{font-size:18px;min-height:66px;padding-left:10px;padding-right:10px}.themeBadge{top:8px;right:8px;font-size:9px}.themeAvailability{font-size:10px;padding-left:10px;padding-right:10px}}
@media(prefers-reduced-motion:reduce){.themeThumbnail{transition:none}.homeBody .homeThemeCard:hover .themeThumbnail{transform:none}}
