/* Guided editing of existing store profile fields; no new paid entitlement. */
#profileEditModal .store-home-modal{width:min(1080px,calc(100vw - 32px));max-width:1080px;padding:0;background:#fcf9f4;color:#34233d;border-radius:24px;max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain}
#profileEditModal .modal-head{padding:24px 28px 12px;margin:0;align-items:flex-start}#profileEditModal .modal-head h2{font:400 32px/1.1 Georgia,serif;letter-spacing:-.7px;margin:7px 0 0}#profileEditModal .modal-head .eyebrow{color:#795184;font-size:10px;letter-spacing:1.5px}#profileEditModal .home-editor-intro{padding:0 28px;font-size:14px;line-height:1.6;color:#706772;margin:8px 0 24px;max-width:750px}#profileEditModal .home-editor-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;padding:0 28px 24px}#profileEditModal .home-editor-fields{min-width:0}#profileEditModal .home-editor-step{font:22px Georgia,serif;margin:18px 0 12px}#profileEditModal .home-editor-step span{font:11px Arial,sans-serif;color:#795184;display:block;letter-spacing:1.4px;margin-bottom:6px}#profileEditModal .field{margin-bottom:18px}#profileEditModal .field label{color:#34233d;font-size:13px}#profileEditModal .field input:not([type=file]),#profileEditModal .field textarea{background:white;color:#34233d;width:100%;border:1px solid #dacfdc;border-radius:12px;font:14px/1.5 Arial,sans-serif;padding:12px}#profileEditModal .field textarea{min-height:110px;resize:vertical}#profileEditModal .field small{display:block;font-size:11px;line-height:1.5;color:#716675;margin-top:7px}#profileEditModal .home-editor-count{text-align:right;font-variant-numeric:tabular-nums}#profileEditModal .home-photo-field{background:white;border:1px solid #e5dce7;border-radius:14px;padding:14px}#profileEditModal input[type=file]{display:block;width:100%;font:11px Arial,sans-serif;margin-top:10px;color:#65556c}#profileEditModal input[type=file]::file-selector-button{border:1px solid #dacddd;border-radius:20px;background:#f5eef8;color:#573761;padding:9px 12px;font:600 11px Arial,sans-serif;margin-right:8px;cursor:pointer}#profileEditModal .home-photo-field img{margin-top:12px;border-radius:8px}#profileEditModal .home-editor-aside{align-self:start;position:sticky;top:18px;min-width:0}#profileEditModal .home-preview-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:0 0 12px;font-size:12px}#profileEditModal .home-preview-heading span{font-size:10px;background:#e9e0ed;padding:4px 9px;border-radius:14px;color:#654573}#profileEditModal .home-store-preview{border:1px solid #ded4e0;background:white;border-radius:18px;overflow:hidden;box-shadow:0 14px 30px #51365509}#profileEditModal .home-preview-address{padding:12px 16px;font-size:11px;overflow-wrap:anywhere;background:#f4edf6;color:#6b4978}#profileEditModal .home-preview-cover{height:170px;position:relative;background:linear-gradient(135deg,#e9e0ed,#f6ecd6);display:grid;place-items:center;overflow:hidden}#profileEditModal .home-preview-cover>span{color:#7b6281;font:italic 25px Georgia,serif;text-align:center;padding:18px}#profileEditModal .home-preview-cover img{position:absolute;width:100%;height:100%;object-fit:cover;inset:0}#profileEditModal .home-preview-body{padding:0 22px 24px}#profileEditModal .home-preview-logo{position:relative;margin-top:-25px;border:4px solid white;width:65px;height:65px;border-radius:17px;background:#6c4679;display:grid;place-items:center;color:white;font:24px Georgia,serif;overflow:hidden}#profileEditModal .home-preview-logo img{width:100%;height:100%;object-fit:contain;background:white}#profileEditModal .home-preview-body h3{font:29px/1.15 Georgia,serif;margin:16px 0 10px;overflow-wrap:anywhere}#profileEditModal .home-preview-body p{font:13px/1.7 Arial,sans-serif;white-space:pre-wrap;overflow-wrap:anywhere;color:#6b6071;margin-bottom:20px}#profileEditModal .home-preview-offers{border-top:1px solid #ece6ee;padding-top:15px;display:flex;flex-wrap:wrap;gap:7px}#profileEditModal .home-preview-offers span{font-size:10px;border-radius:18px;padding:7px 11px;background:#f4eff7;color:#664772}#profileEditModal .home-preview-note{font-size:11px;line-height:1.7;color:#736779;margin:14px 0 0}#profileEditModal .home-editor-actions{border-top:1px solid #e5dce5;padding:20px 28px 24px;background:#f7f1f8}#profileEditModal .home-editor-actions>div{display:flex;gap:10px;align-items:center;flex-wrap:wrap}#profileEditModal .home-editor-actions .btn{width:auto;min-height:44px}#profileEditModal #profileEditSave{background:#684178;color:white}#profileEditModal #profileEditStatus{font-size:13px;line-height:1.6;margin:12px 0 0;overflow-wrap:anywhere}#profileEditModal .home-save-note{font-size:11px;color:#716675;margin:12px 0 0}#profileEditModal .home-more{border-top:1px solid #e5dce5;padding-top:15px;margin-top:20px;font-size:12px;color:#706772}#profileEditModal .home-more a{color:#684178;font-weight:700;text-underline-offset:3px}#profileEditModal [hidden]{display:none!important}#profileEditModal input:focus-visible,#profileEditModal textarea:focus-visible,#profileEditModal button:focus-visible,#profileEditModal a:focus-visible{outline:3px solid #986c2f;outline-offset:3px}#profileEditModal .home-editor-no-store{font-size:13px;line-height:1.7;background:#f0e8f4;border-radius:15px;padding:20px}#profileEditModal .home-preview-pending{font-size:11px;color:#765281;margin:8px 0 16px;min-height:18px}
@media(max-width:720px){#profileEditModal .store-home-modal{width:calc(100vw - 20px);border-radius:20px}#profileEditModal .modal-head{padding:20px 18px 10px}#profileEditModal .modal-head h2{font-size:29px}#profileEditModal .home-editor-intro{padding:0 18px;font-size:13px;margin-bottom:18px}#profileEditModal .home-editor-layout{grid-template-columns:1fr;padding:0 18px 20px;gap:24px}#profileEditModal .home-editor-aside{position:static}#profileEditModal .home-editor-actions{padding:18px 18px 24px}#profileEditModal .home-preview-cover{height:150px}#profileEditModal .home-preview-body h3{font-size:26px}#profileEditModal .home-editor-actions>div{align-items:stretch}#profileEditModal .home-editor-actions .btn{flex:1}#profileEditModal input[type=file]{font-size:10px}}

/* Keep member artwork whole at every screen size. */
#page-store .profile-cover{height:clamp(240px,36vw,480px);display:grid;place-items:center;overflow:hidden}
#page-store .profile-cover:has(img):after{display:none}
#page-store .profile-cover img{display:block;width:100%;height:100%;object-fit:contain!important;object-position:center}
#page-store .profile-title .avatar{width:clamp(112px,14vw,160px);height:clamp(112px,14vw,160px);margin-top:20px;border-radius:18px;overflow:hidden;background:#fff;color:var(--store-color,var(--violet))}
#page-store .profile-title .avatar img{object-fit:contain!important;border-radius:0!important;padding:6px;box-sizing:border-box;background:#fff}
#profileEditModal .home-preview-cover{height:auto;aspect-ratio:16/10;min-height:210px}
#profileEditModal .home-preview-cover img{object-fit:contain;background:#f4edf6}
#profileEditModal .home-preview-cover:has(img:not([hidden]))>span{visibility:hidden}
#profileEditModal .home-preview-logo{width:104px;height:104px;margin-top:16px;border-radius:16px}
#profileEditModal .home-preview-logo img{padding:5px;box-sizing:border-box}
#profileEditModal #profileBannerPreview{max-height:300px!important}
#profileEditModal #profileLogoPreview{width:120px!important;height:120px!important}
@media(max-width:600px){#page-store .profile-cover{height:280px}#page-store .profile-row{flex-direction:column}#page-store .profile-actions{padding-top:0}#profileEditModal .home-preview-cover{min-height:190px}}

/* Owner and shopper share the same business-first composition. */
#page-store .owner-home-toolbar{padding:18px 22px;margin-bottom:20px;background:#fff;border:1px solid #e7dce8;border-radius:20px}
#page-store .owner-home-toolbar h2{font-size:1.2rem;margin:6px 0}
#page-store .owner-home-toolbar p{font-size:.85rem}
#page-store .owner-home-toolbar nav{display:flex;flex-wrap:wrap;gap:8px}
#page-store .owner-business-home{padding:clamp(20px,4vw,42px);border:1px solid #e7dce8;border-radius:28px;background:linear-gradient(135deg,#fffaf2,#f7f0fb);overflow:hidden}
#page-store .owner-business-home .profile-content{padding:0;flex:1;min-width:0;background:transparent}
#page-store .owner-business-home .profile-row{display:block}
#page-store .owner-business-home .profile-title{min-width:0}
#page-store .owner-business-home .profile-cover{width:43%;height:auto;max-height:360px;min-height:0;border-radius:20px;flex:none;background:transparent}
#page-store .owner-business-home .profile-cover:empty{display:none}
#page-store .owner-business-home .profile-cover img{height:auto!important;max-height:360px}
#page-store .owner-business-home .profile-title .avatar{display:grid;place-items:center;width:150px;height:110px;margin:0 0 18px!important;border:1px solid #eee;padding:4px;box-shadow:none}
#page-store .owner-business-home #store-title{font-size:clamp(1.9rem,4vw,3.4rem);line-height:1.08;letter-spacing:-.035em;margin:14px 0;overflow-wrap:anywhere}
#page-store .owner-business-home #storeBusinessBio{line-height:1.7;white-space:pre-wrap;font-size:1rem;max-width:660px}
#page-store .owner-business-home .profile-actions{padding-top:18px;justify-content:flex-start;flex-wrap:wrap}
#page-store .owner-business-home .badge-row{margin-top:10px}
#page-store .owner-color-drawer{margin:14px 0}
#page-store .owner-color-drawer>summary{cursor:pointer;padding:12px;font-weight:700}
#page-store .owner-save-explanation{font-size:.8rem;line-height:1.6;color:#65546d;margin:12px 4px 22px}
#page-store[data-store-theme] .owner-business-home{background:var(--store-paper);color:var(--store-copy)}
#page-store>.stats{padding:12px 0;gap:22px}
@media(max-width:650px){#page-store .owner-business-home .profile-cover{width:100%;max-height:300px}#page-store .owner-business-home .profile-cover img{max-height:300px}#page-store .owner-business-home .profile-title .avatar{width:120px;height:90px}}

.ahkuna-business-card{width:min(480px,calc(100vw - 32px));box-sizing:border-box;max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #e6d8e8;border-radius:28px;padding:28px;background:linear-gradient(150deg,#fffaf1,#f4eafa);color:#302039;box-shadow:0 24px 80px #2d193c33}
.ahkuna-business-card::backdrop{background:#20152988}.ahkuna-business-card h2{font-size:2rem;line-height:1.12;overflow-wrap:anywhere}.ahkuna-business-card p{line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.ahkuna-business-card .card-close{display:block;margin-left:auto}.ahkuna-business-card canvas{display:block;width:160px;height:160px;max-width:100%;margin:18px auto 8px}.ahkuna-business-card small{display:block;text-align:center;line-height:1.5}.ahkuna-business-card input{box-sizing:border-box;width:100%;padding:12px;margin:18px 0;border:1px solid #d8c9df;border-radius:12px;background:#fff}.card-actions{display:flex;flex-wrap:wrap;gap:8px}.card-actions button{flex:1 1 44%;min-height:44px}.card-cover{width:100%;height:140px;object-fit:contain;margin:16px 0}.card-logo{width:100px;height:75px;object-fit:contain}.card-signature{font-weight:700;color:#715080}.ahkuna-business-card button:focus-visible{outline:3px solid #795184;outline-offset:3px}

.home-design-studio{padding:clamp(18px,3vw,32px);margin:22px 0;border:1px solid #e5d8e9;border-radius:26px;background:#fffaf4;color:#30243b}.home-design-studio>h2{font-size:1.8rem;margin:8px 0}.home-design-studio>p{max-width:760px;line-height:1.6}.home-layout-picks,.home-design-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.home-layout-choice,.home-design-action{font:inherit;text-align:left;padding:16px;border:1px solid #dfd1e5;border-radius:18px;background:white;color:#30243b;cursor:pointer}.home-layout-choice[aria-pressed=true]{outline:3px solid #795184;outline-offset:2px}.home-layout-choice strong,.home-layout-choice small,.home-design-action strong,.home-design-action small{display:block;margin-top:8px}.home-layout-choice small,.home-design-action small{line-height:1.5;color:#6b5a70}.layout-thumb{display:grid;height:90px;gap:5px;grid-template-columns:repeat(3,1fr);padding:12px;background:#f0e6f5;border-radius:10px}.layout-thumb i{background:#ceb4db;border-radius:5px}.layout-thumb i:first-child{grid-column:1/-1;background:#835895}.layout-thumb.services{grid-template-columns:2fr 1fr}.layout-thumb.services i:nth-child(2){grid-row:span 2}.layout-view-toggle{display:flex;gap:8px;margin:20px 0}.layout-view-toggle [aria-pressed=true]{background:#6b417e;color:white}.home-layout-preview{border:1px solid #d7c8df;border-radius:20px;overflow:hidden;background:white;max-width:100%;margin:auto;transition:max-width .2s}.home-layout-preview.phone-preview{max-width:350px}.layout-mast{padding:14px 20px;border-bottom:1px solid #eee;display:grid;gap:6px}.layout-mast small{font-size:10px;letter-spacing:.1em;color:#73557e}.layout-lead{padding:25px;background:linear-gradient(130deg,#f2e7f8,#fff5de)}.layout-lead>span:first-child{display:grid;place-items:center;min-height:90px;border:1px dashed #b6a1bf;border-radius:12px;color:#775c82;font-size:12px}.layout-lead h3{font-size:1.6rem;overflow-wrap:anywhere}.layout-lead p{line-height:1.6;overflow-wrap:anywhere}.layout-example-action{display:inline-block;padding:10px 14px;border-radius:22px;background:#6b417e;color:white;font-size:12px}.layout-example-section{padding:18px 24px;border-top:1px solid #eee}.layout-example-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.layout-example-grid>div{display:grid;gap:10px;padding:18px 8px;background:#f7f1f9;border-radius:12px;text-align:center}.layout-example-grid span{font-size:25px;color:#896396}.phone-preview .layout-example-grid{grid-template-columns:1fr}.home-layout-status{font-size:12px;color:#6b5a70}.home-design-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.home-design-studio button:focus-visible{outline:3px solid #85549c;outline-offset:3px}@media(max-width:650px){.home-layout-picks{grid-template-columns:1fr}.layout-thumb{height:55px}.home-design-actions{grid-template-columns:1fr}.home-design-studio{padding:16px}.layout-example-grid{grid-template-columns:1fr}}

/* Keep the real business page first; design exploration is optional. */
.home-design-summary{cursor:pointer;font-size:1.1rem;font-weight:800;padding:12px 4px;min-height:44px;color:var(--ink,#292337)}
.home-design-summary:focus-visible{outline:3px solid #805a98;outline-offset:5px;border-radius:8px}
.home-design-studio:not([open]){padding:12px 20px}
.home-design-studio[open]>.home-design-summary{margin-bottom:18px}

.owner-page-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-start;margin-top:12px}
.owner-more-tools>summary{cursor:pointer;min-height:44px;padding:12px 16px;border:1px solid #dfd4e3;border-radius:24px;font-weight:700;background:white}
.owner-more-items{display:flex;flex-wrap:wrap;gap:8px;padding:12px 0}
.owner-tool-status:empty{display:none}
.owner-more-tools>summary:focus-visible{outline:3px solid #805a98;outline-offset:3px}
.owner-home-toolbar [hidden]{display:none!important}
@media(max-width:560px){.owner-home-toolbar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.owner-home-toolbar nav button{min-height:44px;white-space:normal}.owner-page-actions{gap:8px}}

/* Saved page compositions share the owner's and customer's image treatment. */
[data-page-layout="products"]>.business-home-intro{flex-direction:row-reverse}
[data-page-layout="both"]>.business-home-intro{flex-direction:column;align-items:stretch}
[data-page-layout="both"]>.business-home-intro>.business-home-cover{width:100%;max-height:360px}
@media(max-width:650px){[data-page-layout="products"]>.business-home-intro{flex-direction:column-reverse}}

#page-store .business-home-identity h1,#page-search.business-home-view #publicBusinessName,.home-layout-preview h3,.home-layout-preview .layout-mast strong{font-family:var(--page-name-font,Inter,system-ui,sans-serif)}
#page-search.business-home-view .public-card-title,.home-layout-preview .layout-example-grid small{font-family:var(--page-listing-font,Inter,system-ui,sans-serif)}
#page-store #storeBusinessBio,#page-search.business-home-view .business-home-bio,.home-layout-preview .layout-lead p{font-family:var(--page-body-font,Inter,system-ui,sans-serif)}
.owner-font-choices{border:1px solid #e4d8e7;border-radius:16px;padding:18px;margin:18px 0;display:flex;flex-wrap:wrap;gap:14px}
.owner-font-choices legend{font-weight:800}.owner-font-choices>p{width:100%;margin:0}.owner-font-choices label{display:grid;gap:8px;flex:1 1 180px;font-weight:700}
.owner-font-choices select{font:inherit;min-height:44px;max-width:100%;padding:10px;border:1px solid #d8cddb;border-radius:10px;background:white;color:#292332}
