/* Shared material and spacing for Miracle's storefront. */
.home-mode #homeView{position:relative;isolation:isolate}.home-mode .miracle-hero{background:transparent!important}.home-product{border:1px solid #eeebf2;background:#fff;border-radius:20px;padding:8px;box-shadow:0 6px 18px #24133804;overflow:hidden}.home-product .home-product-art{border-radius:14px!important}.home-product .home-product-info{padding:14px 12px 10px}.home-product .home-product-meta{font-size:13px;margin:0 0 5px}.home-product .home-product-meta>span{display:flex;align-items:center;gap:6px}.home-product .home-product-info h3{margin:0 0 12px;font-size:21px}.home-product .home-platform-row{margin:0;min-height:32px}.home-product .product-price-line{border:0;margin:12px 0 0;padding-top:0}.home-product .product-price-line>div>span{font-size:12px}.home-product .product-price-line .primary{min-height:44px;font-size:13px}.home-product-info>p{font-size:14px;line-height:1.55}.home-product .home-platforms>span{min-width:36px;width:36px;height:30px;background:#f6f4f9}.home-product:hover{box-shadow:0 10px 24px #3a24500a}.card{border-radius:18px!important;display:flex;flex-direction:column}.card>.cover{flex-shrink:0}.card:has(.cover.site)>p{display:none}.cardmeta>span+span{display:none}.card .cardbottom:has(.textlink){display:none}.card .product-price-line{margin-top:auto}.card h3{line-height:1.35}.card .cardbottom{margin-bottom:14px}.card:has(.cover.site) .cardmeta{margin-top:14px}.card .primary{min-height:44px}
.category-collection{margin-top:72px}.category-mosaic{display:grid;grid-template-columns:1.15fr 1fr 1fr;grid-template-rows:220px 200px;gap:18px}.category-tile{position:relative;border:0;border-radius:18px;background:#2c2533;overflow:hidden;color:white;text-align:left;padding:0;isolation:isolate;min-width:0}.category-tile:first-child{grid-row:span 2}.category-tile:last-child{grid-column:span 2}.category-tile>img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;z-index:-2}.category-tile:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#21142c00 20%,#21142cba 100%)}.category-tile-copy{position:absolute;left:24px;right:24px;bottom:24px;display:flex;align-items:flex-start;gap:12px}.category-tile-icon{display:grid;place-items:center;flex-shrink:0;width:38px;height:38px;border:1px solid #ffffff65;border-radius:11px;background:#ffffff1a;backdrop-filter:blur(10px)}.category-tile-icon svg{width:19px;height:19px}.category-tile-copy strong{display:block;font-size:24px;letter-spacing:-.7px;line-height:1.2}.category-tile-copy>span>span{display:block;font-size:14px;line-height:1.5;margin-top:6px;color:#fffd}
.suggestion-host{position:relative;overflow:visible!important}.search-suggestions{position:absolute;top:calc(100% + 10px);left:0;right:0;z-index:25;background:#fff;border:1px solid #ece6f1;border-radius:16px;box-shadow:0 18px 48px #30223a21;padding:7px;max-height:min(480px,65vh);overflow-y:auto;text-align:left;color:#2b2533;font-size:14px}.search-suggestions[hidden]{display:none!important}.search-suggestions>a{display:flex;align-items:center;gap:12px;padding:12px;border-radius:10px;text-decoration:none;color:inherit;min-height:58px}.search-suggestions>a:hover,.search-suggestions>a:focus-visible{background:#f5f0fa;outline:none}.suggestion-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#f4eef9;color:#875ab1;flex-shrink:0}.suggestion-icon svg{width:17px;height:17px}.suggestion-copy{min-width:0}.suggestion-copy strong{font-size:14px;line-height:1.4;display:block;font-weight:600}.suggestion-copy small{display:block;font-size:12px;color:#7a7185;margin-top:3px}.search-suggestions .suggestion-all{display:block;width:100%;border:0;border-top:1px solid #eee8f2;background:transparent;color:#755196;text-align:left;padding:14px 12px;min-height:44px;font:inherit}.suggestion-empty{padding:8px 12px;color:#797084;font-size:14px;line-height:1.6}.discovery-toolbar:focus-within{position:relative;z-index:30}.catalog-search-heading~form .search-suggestions{min-width:0}#catalogSearchDialog{overflow:visible}#catalogSearchDialog .search-suggestions{max-height:45vh}#catalogSearchDialog .search-suggestions a{height:auto}.searchrow:focus-within{position:relative;z-index:30}
.product-top{align-items:start}.product-buy{position:sticky;top:22px;background:#fff;border:1px solid #eee8f2!important;border-radius:18px!important;padding:28px!important}.product-buy .page-platforms{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.product-buy .page-platform{min-height:56px;display:grid;grid-template-columns:22px minmax(0,1fr) auto;grid-template-rows:auto auto;text-align:left;gap:2px 9px;border:1px solid #eee9f2!important;border-radius:11px!important;padding:11px 12px;font-size:14px}.product-buy .page-platform>svg:first-child{grid-row:span 2;width:20px;height:20px}.product-buy .page-platform>span{grid-column:2}.product-buy .page-platform>small{grid-column:2;font-size:12px;color:#7d7388}.product-buy .page-platform>svg:last-child:not(:first-child){grid-column:3;grid-row:1/3;display:block;width:16px;height:16px}.product-buy .page-platform.chosen{border-color:transparent!important;background:#f0e9fa!important;box-shadow:none!important;color:#68418d}.version-summary{margin-top:22px}.version-format{font-size:14px;color:#6b5b7c;margin:0 0 14px}.version-summary ul{list-style:none;padding:0;margin:0 0 22px;display:grid;gap:10px}.version-summary li{font-size:14px;display:flex;align-items:center;gap:9px;color:#62586c}.version-summary li svg{width:16px;height:16px;color:#9b72bd;flex-shrink:0}.version-price{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;margin-bottom:18px}.version-price strong{font-size:30px;letter-spacing:-1px;color:#302638}.version-price span{font-size:12px;color:#85788f}.version-preview{width:100%;display:flex;justify-content:center;align-items:center;gap:9px;border:1px solid #e8dfef;border-radius:11px;padding:12px;color:#685376;background:#fbf9fd;font:inherit;font-size:14px;min-height:46px;margin:0 0 10px}.version-preview svg{width:17px;height:17px}.product-buy:has(.version-summary) .price-tax-note{display:none}.product-buy .page-add{min-height:48px;width:100%;font-size:14px;margin-top:0!important}.product-buy .product-lead{font-size:15px;line-height:1.65}.product-buy h1{font-size:32px!important;line-height:1.18!important}.product-buy .field-heading{font-size:15px;margin-top:20px}.product-visual{min-width:0}.product-gallery{min-width:0}.gallery-stage{position:relative;border-radius:18px;background:linear-gradient(135deg,#eee7f6,#faf5f9);overflow:hidden;min-height:250px;padding:20px}.gallery-stage:has(.gallery-cover){padding:0}.gallery-cover{height:auto!important;aspect-ratio:4/3;border-radius:18px!important}.gallery-cover .template-placeholder{height:100%!important}.gallery-cover img{object-fit:cover!important;object-position:center top}.gallery-device{max-width:100%;border-radius:9px;overflow:hidden;box-shadow:0 14px 40px #2c183a29;background:#fdfdfd}.gallery-phone{width:260px;max-width:70%;margin:auto;border:7px solid #302d35;border-radius:30px}.gallery-phone .gallery-browser-bar{height:16px;justify-content:center;background:#302d35}.gallery-phone .gallery-browser-bar i{display:none}.gallery-frame-window{position:relative;overflow:hidden;min-width:0}.gallery-frame-window iframe{display:block;border:0;transform-origin:top left;pointer-events:none;max-width:none!important}.gallery-browser-bar{height:22px;display:flex;gap:4px;align-items:center;padding:0 10px;background:#f5f3f7}.gallery-browser-bar i{width:5px;height:5px;border-radius:50%;background:#c9c0d2}.gallery-enlarge{position:absolute;bottom:14px;right:14px;display:flex;align-items:center;gap:7px;min-height:40px;padding:9px 13px;border:1px solid #fff9;border-radius:10px;color:#3b2b47;background:#fffE;backdrop-filter:blur(10px);font-size:13px;box-shadow:0 3px 12px #26103712}.gallery-enlarge svg{width:16px;height:16px}.gallery-thumbnails{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}.gallery-thumbnails>button{padding:5px 5px 8px;min-width:0;border:1px solid transparent;border-radius:12px;background:#f8f6fa;font-size:13px;color:#766781;display:grid;gap:7px}.gallery-thumbnails>button[aria-pressed=true]{background:#eee5f8;color:#654582;box-shadow:none}.gallery-thumb-art{display:block;position:relative;overflow:hidden;height:65px;background:#e6dfec;border-radius:7px;padding:6px}.gallery-thumb-art img{width:100%;height:100%;object-fit:cover;border-radius:3px;object-position:top}.gallery-thumb-mobile img{width:30%;border:2px solid #39333e;border-radius:5px;display:block;margin:auto}.gallery-thumb-desktop img{border:3px solid #39333e}.gallery-thumb-page img{object-position:center bottom;filter:saturate(.6)}.gallery-dialog{width:min(1120px,calc(100vw - 32px));max-width:1120px;border:1px solid #eee7f2;border-radius:20px;padding:0;color:#302638;background:#faf7fd;max-height:94dvh;overflow:auto}.gallery-dialog::backdrop{background:#201629a6;backdrop-filter:blur(8px)}.gallery-dialog-heading{padding:16px 20px;display:flex;gap:20px;justify-content:space-between;align-items:center;background:#fff;position:sticky;top:0;z-index:2}.gallery-dialog-heading h2{font-size:17px;margin:0}.gallery-dialog-body{padding:24px}.gallery-dialog-body .gallery-cover{height:70vh!important;aspect-ratio:auto;background:transparent}.gallery-dialog-body .gallery-cover img{object-fit:contain!important}.gallery-dialog-body .gallery-phone{width:330px;max-width:75%}.gallery-dialog-controls{display:flex;align-items:center;justify-content:space-between;padding:15px 20px;font-size:13px}.gallery-dialog-controls button{display:flex;align-items:center;gap:8px;min-height:44px;border:0;border-radius:10px;background:#fff;padding:10px 14px;color:#69527b}.gallery-dialog-controls button svg{width:15px;height:15px;transform:rotate(90deg)}.gallery-dialog-controls button:last-child svg{transform:rotate(-90deg)}
@media(max-width:1000px){.category-mosaic{grid-template-columns:1fr 1fr;grid-template-rows:250px 210px}.category-tile:first-child{grid-row:span 1}.category-tile:last-child{grid-column:span 1}.product-buy{padding:22px!important}.product-buy h1{font-size:28px!important}}
@media(max-width:760px){.home-product .home-product-info{padding:14px 9px 9px}.home-product .home-platforms>span{width:34px;min-width:34px}.home-product .product-price-line>div>strong{font-size:19px}.category-collection{margin-top:48px}.category-mosaic{gap:12px;grid-template-rows:230px 200px}.category-tile-copy{left:16px;right:16px;bottom:18px;gap:9px;display:block}.category-tile-icon{width:32px;height:32px;margin-bottom:10px}.category-tile-copy strong{font-size:20px}.category-tile-copy>span>span{font-size:13px}.product-buy{position:static;padding:22px!important}.gallery-stage{padding:14px;min-height:200px}.gallery-thumbnails{gap:7px}.gallery-thumb-art{height:48px;padding:4px}.gallery-thumbnails>button{font-size:12px}.gallery-cover{aspect-ratio:4/3}.gallery-dialog-body{padding:14px}.gallery-dialog-heading{padding:12px 14px}.gallery-dialog-heading h2{font-size:14px}.gallery-dialog-body .gallery-cover{height:50vh!important}.gallery-dialog-controls{padding:10px 14px}.product-buy .page-platforms{grid-template-columns:repeat(2,minmax(0,1fr))!important}.product-buy .page-platform{font-size:13px;gap:2px 7px;padding:10px;grid-template-columns:20px minmax(0,1fr) 12px}.search-suggestions{max-height:50vh}.search-suggestions>a{padding:10px 8px;gap:8px}.suggestion-copy strong{font-size:13px}.gallery-phone{max-width:70%}.version-price strong{font-size:28px}}
@media(max-width:390px){.category-mosaic{grid-template-columns:1fr;grid-template-rows:260px repeat(3,180px)}.category-tile-copy{display:flex;align-items:center}.category-tile-icon{margin-bottom:0}.category-tile-copy strong{font-size:22px}.product-buy{padding:18px!important}.gallery-enlarge span{display:none}.gallery-enlarge{padding:10px;min-width:40px}.gallery-thumbnails>button{font-size:11px}}

@media(min-width:1200px){.product-buy .page-platforms{grid-template-columns:repeat(3,minmax(0,1fr))}.product-buy .page-platform{font-size:13px;padding:10px 9px;gap:2px 6px;grid-template-columns:19px minmax(0,1fr) 12px}.product-buy .page-platform>svg:first-child{width:18px;height:18px}}

/* Footer identity: one quiet row of platform logos below the brand. */
.market-footer-top{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding-top:32px;padding-bottom:30px}.market-footer-top p{padding:0!important;border:0!important;margin:0;font-size:14px}.market-footer-top .footer-socials{display:flex;flex-wrap:wrap;gap:8px;flex-basis:auto;max-width:100%;margin-top:2px}.market-footer-top .footer-socials a,.market-footer-top .footer-social-logo{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;padding:8px;border:1px solid #e8e2ef;border-radius:11px;background:#fcfbfe;color:#887994}.market-footer-top .footer-socials svg{width:20px;height:20px;stroke-width:1.6}.market-footer-top .footer-socials a:hover{color:#785298;background:#f4eef9;border-color:#e4d8ee}.market-footer-top .footer-socials a:focus-visible{outline:2px solid #9a7db4;outline-offset:3px}@media(max-width:760px){.market-footer-top{gap:12px;padding:28px 0}.market-footer-top .footer-socials{gap:8px}.market-footer-top .footer-socials a,.market-footer-top .footer-social-logo{width:40px;height:40px;flex-basis:40px}}
/* Social logos remain unframed. */
.market-footer-top .footer-socials a,.market-footer-top .footer-social-logo{background:transparent;border:0;border-radius:0;box-shadow:none;padding:8px}.market-footer-top .footer-socials a:hover{background:transparent;border-color:transparent}.market-footer-top .footer-socials{gap:3px}
