.store-address-preview{margin:16px 0 8px;padding:18px 20px;border:1px solid #eadfb7;border-radius:12px;background:#fffbef;color:#263d5b}
.store-address-preview>span{display:block;font-size:.85rem;margin-bottom:6px}
.store-address-preview output{display:block;font-size:clamp(1rem,2.5vw,1.25rem);font-weight:700;overflow-wrap:anywhere}
.store-address-reset{border:0;background:transparent;color:inherit;font:inherit;text-decoration:underline;cursor:pointer;padding:10px 0 0;font-size:.85rem}
.store-address-reset[hidden]{display:none}

/* Store theme selection: scoped to the onboarding gallery. */
.store-theme-picker{color:#253d59;margin:30px 0 48px;font-family:inherit}
.theme-picker-heading{display:flex;align-items:center;justify-content:space-between;gap:32px;margin-bottom:28px}
.theme-picker-heading h2{font-size:clamp(23px,2.5vw,30px);line-height:1.4;margin:5px 0 10px;font-weight:600;letter-spacing:-.7px}
.theme-picker-heading p{color:#66758a;font-size:14px;line-height:1.8;margin:0}
.theme-picker-heading .eyebrow{color:#ab7900;font-size:11px;letter-spacing:1.6px;font-weight:600}
.theme-store-address{flex-shrink:0;display:grid;gap:4px;background:#fff9e9;border:1px solid #efe4c5;border-radius:12px;padding:17px 22px;text-decoration:none;color:#263d5b;max-width:350px;overflow-wrap:anywhere}
.theme-store-address strong{font-size:14px;font-weight:600}.theme-store-address span{font-size:12px}.theme-store-address small{font-size:11px;color:#896513;margin-top:4px}
.theme-picker-options{border:0;padding:0;margin:0;min-width:0}
.theme-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.theme-picker-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.store-theme-card{position:relative;background:#fff;border:1px solid #e2e7ed;border-radius:14px;overflow:hidden;box-shadow:0 5px 18px rgba(28,48,72,.035);transition:border-color .2s,box-shadow .2s,transform .2s;min-width:0}
.store-theme-card:hover{transform:translateY(-3px);box-shadow:0 10px 28px rgba(28,48,72,.09)}
.store-theme-card:has(.theme-choice:checked){border-color:#efb21c;box-shadow:0 0 0 2px #efb21c,0 10px 28px #edb32712}
.store-theme-card:has(.theme-choice:focus-visible){outline:3px solid #205da8;outline-offset:5px}
.theme-choice{position:absolute;width:1px;height:1px;opacity:0;left:20px;top:20px}
.theme-choice-label{display:block;cursor:pointer;margin:0!important}
.theme-preview-frame{display:block;background:#f1f3f6;border-bottom:1px solid #e8ecf1;overflow:hidden}
.theme-browser-bar{height:27px;display:flex;align-items:center;gap:4px;padding:0 12px;background:#f5f6f8;border-bottom:1px solid #e7eaf0}
.theme-browser-bar i{width:5px;height:5px;border-radius:50%;background:#ccd3dc}.theme-browser-bar span{font-size:9px;letter-spacing:.15px;color:#67768a;flex:1;text-align:center;margin-right:18px}
.theme-preview-frame img{display:block;width:100%;height:auto;aspect-ratio:1265/712;object-fit:cover;object-position:top}
.theme-card-content{display:block;padding:21px 22px 16px}
.theme-card-tag{display:block;font-size:10px;font-weight:500;letter-spacing:.8px;color:#7a8492;margin-bottom:6px;text-transform:uppercase}
.theme-card-title{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:20px;line-height:1.5;font-weight:600;color:#243b59}
.theme-radio-mark{width:23px;height:23px;display:grid;place-items:center;flex-shrink:0;border:1.5px solid #ced6df;border-radius:50%;color:transparent;font-size:13px}
.theme-choice:checked~.theme-choice-label .theme-radio-mark{background:#ffbd19;border-color:#ffbd19;color:#263d5b}
.theme-card-description{display:block;margin-top:9px;color:#6c7786;font-size:12px;line-height:1.9;min-height:46px}
.theme-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 22px;padding:15px 0 17px;border-top:1px solid #edf0f3;font-size:11px}
.theme-card-footer a{color:#294f7a;font-weight:500;text-decoration:none;padding:4px 0}.theme-card-footer a:hover{text-decoration:underline}.theme-card-footer a:focus-visible{outline:2px solid #205da8;outline-offset:4px}
.theme-selection-state{color:#7a8492}.theme-state-selected{display:none;color:#896100;font-weight:600}.theme-choice:checked~.theme-card-footer .theme-state-idle{display:none}.theme-choice:checked~.theme-card-footer .theme-state-selected{display:inline}
.theme-setup-final{display:grid;grid-template-columns:.85fr 1.6fr;gap:40px;margin-top:36px;padding:32px;border:1px solid #e5e9ef;border-radius:16px;background:linear-gradient(120deg,#fff9e9 0%,#fffdf8 40%,#f2f7fb 100%)}
.theme-setup-icon{display:grid;place-items:center;background:#ffbe1b;color:#233c58;width:34px;height:34px;border-radius:10px;font-size:16px;margin-bottom:14px}.theme-setup-intro h2{font-size:23px;font-weight:600;margin:0 0 9px;letter-spacing:-.5px}.theme-setup-intro p{font-size:12px;line-height:1.9;color:#69768a;margin:0 0 12px}.theme-setup-intro .theme-selection-summary{color:#253d59;margin:15px 0 0}.theme-selection-summary strong{font-weight:600}
.theme-setup-fields{min-width:0}.theme-setup-fields .shop-form-grid{gap:16px;margin:0}.theme-setup-fields .shop-field{font-size:12px}.theme-setup-fields .shop-help{font-size:11px;line-height:1.9}.theme-setup-fields .button{margin-top:8px;font-size:12px;min-height:48px;display:inline-flex;align-items:center;justify-content:center;gap:24px;font-family:inherit}.theme-setup-note{font-size:10px;color:#738092;line-height:1.8;margin:12px 0 0}
@media(max-width:1000px){.theme-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.theme-picker-heading{align-items:flex-start}.theme-store-address{max-width:270px}.theme-setup-final{gap:28px;grid-template-columns:.8fr 1.4fr}.theme-setup-fields .shop-form-grid{grid-template-columns:1fr}}
@media(max-width:640px){.theme-picker-heading{display:block}.theme-store-address{max-width:none;margin-top:18px}.theme-picker-grid{grid-template-columns:1fr;gap:22px}.theme-setup-final{grid-template-columns:1fr;padding:23px;gap:22px;margin-top:26px}.theme-setup-fields .button{width:100%;gap:12px;font-size:11px}.theme-card-description{min-height:0}.theme-card-content{padding:20px 22px 15px}}
@media(prefers-reduced-motion:reduce){.store-theme-card{transition:none}.store-theme-card:hover{transform:none}}

.theme-selection-state{cursor:pointer;margin:0!important}
