/* Shared shop and account presentation. Canvas controls retain their own layout. */
:root{--iw-rose:#ffd5d8;--iw-sky:#cdebf5;--iw-sun:#ffe59a;--iw-mint:#d6eedc;--iw-ink:#272a27}
.shop-header{grid-template-columns:auto 1fr;gap:12px 24px;padding:12px 5vw;min-height:0}
.shop-header .brand{grid-column:1;grid-row:1}.shop-header>.back-link{grid-column:2;grid-row:1;justify-self:end}
.shop-header nav{grid-column:1/-1;display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.shop-header nav>a,.collection-header nav>a,.iw-header nav>a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 14px;border:1.5px solid var(--iw-ink);border-radius:24px;font:800 14px/1.3 'Nunito Sans',sans-serif;text-decoration:none;background:var(--iw-sky);box-shadow:2px 2px 0 var(--iw-ink);text-align:center;color:var(--iw-ink)}
.shop-header nav>a:nth-child(3n+1),.collection-header nav>a:nth-child(3n+1),.iw-header nav>a:nth-child(3n+1){background:var(--iw-rose)}
.shop-header nav>a:nth-child(3n),.collection-header nav>a:nth-child(3n),.iw-header nav>a:nth-child(3n){background:var(--iw-sun)}
.shop-header nav>a:hover,.collection-header nav>a:hover,.iw-header nav>a:hover{transform:translateY(-2px)}
.collection-header{gap:18px;padding:14px 5vw;flex-wrap:wrap}.collection-header nav{gap:8px;flex:1;justify-content:flex-end;flex-wrap:wrap}
.iw-header{gap:14px;flex-wrap:wrap}.iw-header nav{display:flex;gap:8px;flex-wrap:wrap}
.included-design img,.collection-collage img{mix-blend-mode:normal}
.gift-index{background:linear-gradient(120deg,#fff0bf,#ffe2df 60%,#daf0f8);border-bottom:2px solid var(--iw-ink);padding:38px 6vw 28px!important}
.gift-index h1{margin-top:12px}.gift-index+.included{padding-top:12px!important}
.gift-index+.included .included-design{border-radius:18px;border:2px solid var(--iw-ink);box-shadow:4px 4px 0 #e9c878;overflow:hidden}
.gift-index+.included .included-design:nth-child(3n+1) img{background:var(--iw-rose)}
.gift-index+.included .included-design:nth-child(3n+2) img{background:var(--iw-sky)}
.gift-index+.included .included-design:nth-child(3n) img{background:var(--iw-sun)}
.gift-index+.included .included-design h2{font-family:'Fraunces',Georgia,serif;line-height:1.2;overflow-wrap:anywhere}
.gift-photo,.gift-photo-gallery{border-radius:18px;overflow:hidden}
.gift-variants{padding:12px;background:#e2f1f7;border-radius:12px;margin:12px 0}.gift-variants summary{cursor:pointer;font-weight:800}.gift-variants ul{max-height:260px;overflow:auto;padding-left:24px}
.login-card{border-radius:22px!important;border:2px solid var(--iw-ink)!important;box-shadow:7px 7px 0 var(--iw-sun)!important}.login-card h1{font-family:'Fraunces',Georgia,serif}
.login-card input{font:inherit;min-height:44px}.login-card button{min-height:44px;border-radius:12px}
:where(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #146b8b;outline-offset:3px}
.shop-footer a,.collection-header~main+footer a{font-size:14px}
@media(max-width:800px){.shop-header{position:relative;padding:10px 4vw}.shop-header .back-link span:last-child,.shop-header .studio-link span:first-child{display:inline}.shop-header .header-downloads{display:inline-flex}.shop-header .brand img{max-height:70px;width:auto}.collection-header{justify-content:center}.collection-header nav{justify-content:center;flex-basis:100%}.shop-header nav>a,.collection-header nav>a{font-size:13px;padding:9px 11px}.gift-index{padding:28px 5vw 20px!important}.gift-index+.included .included-design h2{font-size:20px}}
@media(max-width:520px){.shop-header nav{gap:8px}.shop-header nav>a{flex:1 1 42%}.shop-header .header-downloads{min-height:42px}.gift-index+.included .designs-grid{grid-template-columns:1fr;gap:22px}.gift-index+.included .included-design h2{font-size:24px}.catalog-card h2{font-size:1rem}.collection-header nav>a{flex:1 1 40%}.iw-header nav{width:100%}.iw-header nav>a{flex:1 1 40%;font-size:13px}}
@media(prefers-reduced-motion:reduce){.shop-header nav>a:hover,.collection-header nav>a:hover,.iw-header nav>a:hover{transform:none}}

.gift-index>div{background:transparent}.shop-header .brand img{max-height:84px;width:auto}.shop-header{padding-block:10px}.shop-header nav{gap:7px}.shop-header nav>a{padding-inline:11px}

.help-answers{max-width:960px;margin:auto}.help-answers>details{background:#fffdf8;border:2px solid #272a27;border-radius:16px;padding:18px 22px;margin:0 0 16px}.help-answers>details:nth-child(3n+1){background:#fff1c6}.help-answers>details:nth-child(3n+2){background:#e1f1f7}.help-answers>details:nth-child(3n){background:#ffe5e6}.help-answers summary{font-weight:800;font-size:19px;cursor:pointer;line-height:1.4}.help-answers li{line-height:1.65;margin:12px 0}.help-contact{padding:24px;border:2px solid #272a27;border-radius:20px;background:#d6eedc}.help-contact h2{font-family:Fraunces,Georgia,serif}.help-contact p{line-height:1.65}.support-contact-link{display:inline-block;padding:14px 18px;border-radius:24px;border:2px solid #272a27;background:#ffe59a;color:#272a27;font-weight:800}.remove-draft{font-size:13px!important;background:#ffe5e6!important;margin-top:-6px}.support-hours{font-weight:800}
@media(max-width:600px){.help-answers>details{padding:16px}.help-answers summary{font-size:17px}.help-contact{padding:20px}.help-answers ol{padding-left:22px}.iw-sewout-dialog{box-sizing:border-box;max-width:calc(100vw - 20px);padding:14px}.iw-sewout-dialog h2{font-size:24px;overflow-wrap:anywhere}.iw-sewout-dialog>button{position:sticky;top:0;z-index:1}.help-contact a{overflow-wrap:anywhere}}

.brand-menu-button{display:none}@media(max-width:700px){.brand-menu-button{display:block;min-height:44px;padding:10px 18px;border:2px solid #272a27;border-radius:22px;background:#ffe59a;font:800 14px 'Nunito Sans',sans-serif}.shop-header>.brand-menu-button{grid-column:2;grid-row:2;justify-self:end}.shop-header>.back-link{grid-column:2;grid-row:1}.shop-header .brand{grid-row:1/3}.shop-header nav.brand-collapsible-nav,.collection-header nav.brand-collapsible-nav,.iw-header nav.brand-collapsible-nav{display:none}.shop-header nav.brand-menu-open,.collection-header nav.brand-menu-open,.iw-header nav.brand-menu-open{display:flex}.shop-header nav{grid-row:3}.collection-header{justify-content:space-between}.shop-header .brand img{max-height:76px}.shop-header .back-link{padding:8px 14px;border-radius:22px;box-shadow:none}.iw-header>.brand-menu-button{margin-left:auto}}
body:has(#publicRoute:not([hidden])) .worktable-note{display:none}
.iw-header .brand-menu-button,.collection-header .brand-menu-button,.shop-header .brand-menu-button{color:#272a27}
.iw-footer{display:flex;flex-wrap:wrap;gap:12px 20px;justify-content:center;padding:24px 20px}.iw-footer a,.iw-footer button{flex:0 1 auto;overflow-wrap:normal;white-space:normal}
.iw-header~footer{flex-wrap:wrap;gap:12px 20px;padding:24px 20px}.iw-header~footer a,.iw-header~footer button{white-space:normal}

/* Shared charcoal footer with the original logo on a cream tile; no image filter. */
body > footer.iw-canonical-footer{box-sizing:border-box;width:100%;max-width:none;margin:0;background:#2c2e2a;color:#fff;padding:65px 7vw;display:grid;grid-template-columns:1.4fr .7fr .7fr 1fr;gap:40px 6vw;text-align:left;border:0;font-family:'Nunito Sans',sans-serif}
body > footer.iw-canonical-footer > div{display:flex;flex-direction:column;align-items:flex-start;gap:11px;min-width:0}
body > footer.iw-canonical-footer img{box-sizing:border-box;width:120px;height:120px;max-width:100%;object-fit:contain;filter:none;background:#fffaf3;border-radius:16px;padding:8px;margin:0}
body > footer.iw-canonical-footer p{font:italic 15px/1.5 Georgia,serif;color:#c9ceca;margin:0;white-space:normal}
body > footer.iw-canonical-footer .footer-brand p{max-width:220px}
body > footer.iw-canonical-footer b{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#f0c870}
body > footer.iw-canonical-footer a,body > footer.iw-canonical-footer button{font:600 13px/1.55 'Nunito Sans',sans-serif;color:#fff;background:none;border:0;box-shadow:none;border-radius:0;padding:3px 0;margin:0;text-decoration:none;white-space:normal;letter-spacing:normal;width:auto;height:auto;min-height:24px;text-align:left;cursor:pointer;transform:none}
body > footer.iw-canonical-footer a:hover,body > footer.iw-canonical-footer button:hover{text-decoration:underline;color:#f0c870}
body > footer.iw-canonical-footer :focus-visible{outline-color:#f0c870}
:where(.shop-header,.collection-header,.iw-header) nav [aria-current="page"]{text-decoration:underline;text-underline-offset:4px}
:where(.shop-hero,.catalog-shell,.included,.shop-tools) {box-sizing:border-box;min-width:0}
:where(.shop-hero,.collection-hero,.gift-index) h1{font-family:Fraunces,Georgia,serif;line-height:1.08;overflow-wrap:break-word}
.featured-card img{object-fit:contain;object-position:center;aspect-ratio:1;width:100%;height:auto}
.featured-card b{overflow-wrap:anywhere}.featured-rail:empty{display:none}
@media(max-width:1050px){body > footer.iw-canonical-footer{grid-template-columns:1.3fr 1fr 1fr}.iw-canonical-footer>.footer-brand+div+div+div{grid-column:1/-1}}
@media(max-width:700px){body > footer.iw-canonical-footer{grid-template-columns:1fr 1fr;padding:44px 6vw;gap:30px 20px}body > footer.iw-canonical-footer .footer-brand{grid-column:1/-1}body > footer.iw-canonical-footer a,body > footer.iw-canonical-footer button{min-height:32px;display:inline-flex;align-items:center}.shop-hero h1{font-size:clamp(36px,10vw,56px)}.shop-tools>*{min-width:0}}

.shop-header .iw-account-actions{grid-column:2;grid-row:1;justify-self:end;display:flex;gap:12px;align-items:center}.shop-header>.back-link{grid-column:1;grid-row:2;justify-self:start}.iw-account-actions>a{font:800 14px/1.3 'Nunito Sans',sans-serif;color:#2c2e2a;min-height:44px;display:flex;align-items:center}.iw-launch-designs img{object-fit:contain;object-position:center}@media(max-width:700px){.shop-header .iw-account-actions{grid-column:2;grid-row:1;flex-wrap:wrap;gap:4px 10px;justify-content:flex-end}.shop-header .brand{grid-row:1}.shop-header>.back-link{grid-row:2;grid-column:1}.shop-header>.brand-menu-button{grid-row:2}.iw-account-actions>a{font-size:13px}.shop-header .iw-account-actions .header-downloads{padding:8px 10px;min-height:40px}.shop-header .brand img{max-height:68px}}


/* Account controls share one treatment across their existing header hosts. */
header .iw-account-control,
.shop-header .iw-account-actions > .iw-account-control,
.iw-header nav > .iw-account-control,
.collection-header nav > .iw-account-control{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;max-width:100%;margin:0;padding:9px 14px;border:1.5px solid var(--iw-ink);border-radius:24px;font:800 14px/1.3 'Nunito Sans',sans-serif;text-decoration:none;background:var(--oat,#fff8ed);box-shadow:2px 2px 0 var(--iw-ink);text-align:center;color:var(--iw-ink);white-space:normal;cursor:pointer}
header .iw-account-control--files,
header .iw-account-control--account,
.shop-header .iw-account-actions > .iw-account-control--files,
.shop-header .iw-account-actions > .iw-account-control--account,
.iw-header nav > .iw-account-control--files,
.collection-header nav > .iw-account-control--files{background:var(--iw-rose)}
header .iw-account-control--studio,
.shop-header .iw-account-actions > .iw-account-control--studio,
.iw-header nav > .iw-account-control--studio,
.collection-header nav > .iw-account-control--studio{background:var(--iw-sky)}
header .iw-account-control--signout,
.shop-header .iw-account-actions > .iw-account-control--signout,
.iw-header nav > .iw-account-control--signout,
.collection-header nav > .iw-account-control--signout{background:var(--oat,#fff8ed)}
header .iw-account-control:focus-visible,
.shop-header .iw-account-actions > .iw-account-control:focus-visible,
.iw-header nav > .iw-account-control:focus-visible,
.collection-header nav > .iw-account-control:focus-visible{outline:3px solid #146b8b;outline-offset:3px}

/* Shared public touch controls; existing preview geometry and player state are retained. */
.shop-header nav > a,
.collection-header nav > a,
.iw-header nav > a{min-height:44px;font-size:14px}
body > footer.iw-canonical-footer button[data-open-privacy-settings]{min-height:44px;font-size:14px}
dialog.iw-sewout-dialog{border:2px solid var(--iw-ink);border-radius:22px;background:var(--oat,#fff8ed);box-shadow:6px 6px 0 var(--iw-sun)}
dialog.iw-sewout-dialog > h2{font-family:Fraunces,Georgia,serif;font-size:28px;line-height:1.2;overflow-wrap:anywhere}
dialog.iw-sewout-dialog > button,
dialog.iw-sewout-dialog > .iw-sewout > .iw-sewout-controls > button,
dialog.iw-sewout-dialog > .iw-sewout > button{box-sizing:border-box;min-height:44px;padding:9px 14px;border:1.5px solid var(--iw-ink);border-radius:24px;font:800 14px/1.3 'Nunito Sans',sans-serif;background:var(--oat,#fff8ed);color:var(--iw-ink);box-shadow:2px 2px 0 var(--iw-ink)}
dialog.iw-sewout-dialog > .iw-sewout > .iw-sewout-controls > button:first-child{background:var(--iw-rose)}
dialog.iw-sewout-dialog > .iw-sewout > .iw-sewout-controls > button:nth-child(2),
dialog.iw-sewout-dialog > .iw-sewout > button{background:var(--iw-sun)}
dialog.iw-sewout-dialog > .iw-sewout > .iw-sewout-controls > label > select{box-sizing:border-box;min-height:44px;padding:9px 14px;border:1.5px solid var(--iw-ink);border-radius:12px;background:var(--oat,#fff8ed);color:var(--iw-ink)}
dialog.iw-sewout-dialog > .iw-sewout > .iw-sewout-controls > input[type="range"]{min-height:44px;accent-color:#146b8b}
dialog.iw-sewout-dialog :is(button,select,input):focus-visible{outline:3px solid #146b8b;outline-offset:3px}
dialog.iw-sewout-dialog .iw-sewout-controls :disabled{opacity:.55}

/* Keep shared account controls inside the public template header. */
.site-header{height:auto;min-height:132px}
.site-header>.iw-account-control{justify-self:start;width:max-content;max-width:100%}
@media(max-width:700px){.site-header{min-height:105px}}
