/* Mobile navigation prioritises touch targets over a crowded action row. */
@media(max-width:760px){header{padding:0 16px;gap:8px}.header-right{gap:3px}.header-search{display:none!important}.header-language select{width:78px;min-height:44px}.header-right .cartbtn,.mobile-nav-toggle{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important}.header-right .cartbtn{padding:12px!important}.header-brand-group .miracle-logo{width:117px}.mobile-nav-toggle{padding:10px}.mobile-nav button,.mobile-nav summary{min-height:44px}.home-faq-categories button{min-height:44px}.page-platform,.addon-categories button{min-height:44px}}
@media(max-width:360px){header{padding:0 12px;gap:5px}.header-brand-group .miracle-logo{width:100px}.header-language select{width:68px;font-size:11px}.header-right{gap:2px}.hero-actions{gap:15px}.product-price-line{gap:9px}.product-price-line span{font-size:10px}.product-buy-cta{padding:10px 11px}}
@media(max-width:400px){.page-platforms{grid-template-columns:repeat(2,minmax(0,1fr))}.page-platform{min-width:0;justify-content:flex-start;padding:10px;font-size:12px}.product-buy{padding:19px}.product-buy h1{font-size:27px}.purchase-summary{padding:18px}.purchase-steps{gap:10px}.purchase-steps li{font-size:11px}.price-period button{white-space:normal}}

/* Keep navigation, page content and calls to action on one shared canvas. */
:root{--site-shell-width:1480px;--site-shell-gutter:min(4vw,59.2px)}
body>header{width:100%;max-width:var(--site-shell-width);margin-inline:auto;padding-inline:var(--site-shell-gutter);border-bottom:0}
body:not(.account-mode)>main{width:100%;max-width:var(--site-shell-width);padding-inline:var(--site-shell-gutter)}
.market-footer{padding-inline:0}
.market-footer-inner{box-sizing:border-box;width:100%;max-width:var(--site-shell-width);padding-inline:var(--site-shell-gutter);margin-inline:auto}
.home-final-cta,.home-membership{max-width:100%;box-sizing:border-box}
@media(max-width:760px){:root{--site-shell-gutter:20px}body>header{padding-inline:16px}}
@media(max-width:360px){body>header{padding-inline:12px}}

/* A single primary action, with quiet and consistent utility controls. */
.header-right{gap:10px;flex-shrink:0}
.header-language select{width:58px;min-height:40px;padding:8px 5px;color:#716879;font-size:12px}
.header-right .header-search,.header-right .cartbtn{display:grid;place-items:center;width:40px;min-width:40px;height:40px;min-height:40px;padding:10px;border:0;border-radius:50%;background:#f7f4fa;color:#716879;box-shadow:none}
.header-right .header-search:hover,.header-right .cartbtn:hover{background:#eee8f5;color:#574361}
.header-right .header-search svg,.header-right .cartbtn svg{width:19px;height:19px}
.header-right .header-login{min-height:40px;padding:8px 6px}
.header-right .header-register{min-height:40px;padding:10px 16px}
@media(min-width:761px){header>nav[aria-label="Huvudnavigation"]{margin-left:auto;margin-right:auto}header>nav[aria-label="Huvudnavigation"]>.nav:last-child{display:block}}
@media(min-width:761px) and (max-width:1000px){header>nav[aria-label="Huvudnavigation"]{gap:14px}.header-right{gap:6px}}
@media(max-width:760px){.header-right{gap:4px}.header-language select{width:56px;min-height:44px}.header-right .header-search{display:none!important}}
@media(max-width:360px){.header-right{gap:2px}.header-language select{width:52px}}

/* Replaceable reference images share one frame across product surfaces. */
.miracle-logo,.db-logo img{background:transparent}
.template-placeholder{position:absolute;inset:0;overflow:hidden;background:#f5f2f8}
.template-placeholder img{display:block;width:100%;height:100%;object-fit:cover;object-position:top center}

.home-family-art img{object-fit:cover;object-position:center;mix-blend-mode:normal}
.pinterest-resource{position:relative;overflow:hidden}
.pinterest-resource>img{display:block;width:100%;height:100%;object-fit:cover;object-position:top center}
.content-placeholder img{object-position:center}

/* Readable controls and quieter content across the shared page types. */
.resource-art.pinterest-resource,.resource-article-hero .resource-art.pinterest-resource{padding:0}
.footer-socials button:disabled{display:none}
.page-thumb-label{font-size:12px;min-height:40px;align-items:center}
.checkout-item>div:nth-child(2)>span{font-size:12px;line-height:1.5}
.checkout-item>strong,.checkout-item .item-price{font-size:13px}
@media(min-width:761px) and (max-width:1049px){
.db-template-cards,.db-quick>div{grid-template-columns:repeat(2,minmax(0,1fr))}
.db-template-cards strong,.db-quick strong{font-size:13px}
.db-template-cards>button>span,.db-quick small{font-size:12px;line-height:1.5}
.db-content-result{grid-template-columns:1fr}
.db-assets{grid-template-columns:repeat(3,minmax(0,1fr))}
.db-assets strong{font-size:13px}.db-assets small{font-size:12px}
}
@media(max-width:760px){
.db-mobile-menu,.db-topbar-actions .db-upgrade{width:44px;min-width:44px;height:44px}
.db-tabs button,.db-output-actions button{min-height:44px;font-size:12px}
.db-output-actions{flex-wrap:wrap;gap:8px}
.db-output-actions button:last-child{margin-left:0}
.page-thumb-label{min-height:44px}
}
@media(max-width:480px){.template-page-thumbs{grid-auto-columns:minmax(130px,44%)}}
.industry-switch{min-width:0;max-width:100%}.industry-switch select{min-width:0;max-width:100%;flex:1;width:0}
@media(max-width:400px){.purchase-steps{flex-wrap:wrap;gap:10px 14px}.purchase-steps small{display:none}.purchase-steps li{font-size:12px}}
.db-quick strong,.db-template-cards strong{font-size:13px}
.db-quick small,.db-plan small,.db-asset-card small,.db-template-cards>button>span,.db-campaign-panel .db-pill{font-size:12px;line-height:1.5}
.db-integration-row>span:nth-last-child(2){font-size:12px;white-space:normal}
.db-tabs button{font-size:12px}
