body.admin-shell{background:#f1f1f1;color:#222;font-family:Arial,sans-serif}body.admin-shell>header{height:64px;background:#101210;border-bottom:1px solid #343634;padding:0 24px;gap:20px}body.admin-shell .headnote{color:#aeb5af;border-left-color:#383e39;font-size:13px}body.admin-shell>header .light{font-size:13px;color:#e5e9e6}body.admin-shell>header .avatar{height:33px;width:33px;padding:6px;text-align:center;font-size:12px;background:#c9dacd}body.admin-shell #nav{top:64px;width:220px;background:#101210;border:0;padding:22px 12px;overflow-y:auto;display:flex;flex-direction:column}body.admin-shell #nav nav{display:flex;flex-direction:column;gap:2px}body.admin-shell #nav nav a{margin:0;padding:10px 12px;font-size:13px;color:#c0c7c1;border-radius:8px;gap:11px;min-height:40px}body.admin-shell #nav nav a svg{height:18px;width:18px;flex:none}body.admin-shell #nav nav a:hover{background:#252925;color:white}body.admin-shell #nav nav a.active{background:#303630;color:white;box-shadow:inset 0 1px 0 #484d48;font-weight:600}body.admin-shell #app{margin:64px 0 0 220px;padding:0 0 20px;min-height:calc(100vh - 64px)}.as-nav-title{color:#737e76;font-size:10px;font-weight:600;letter-spacing:1.3px;padding:0 12px 16px}.as-nav-footer{margin-top:auto;padding:30px 12px 4px;color:#c9d1cb;font-size:12px;line-height:1.9}.as-nav-footer small{color:#737e76;font-size:10px;letter-spacing:1px}.as-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#70a886;margin-right:7px}.as-workspace{min-height:calc(100vh - 64px);background:#fafafa;border-radius:17px 0 0 0;padding:0 26px 30px;overflow:hidden}.as-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:84px;padding:17px 0}.as-heading h1{font-size:18px;font-weight:600;line-height:1.4;margin:0}.as-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.as-workspace button,.as-button,.as-dialog button{border:1px solid #d9ddda;border-radius:8px;background:white;color:#292e2a;padding:8px 13px;font-size:12px;font-weight:500;line-height:1.4;box-shadow:0 1px 2px #00000005;display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}.as-workspace button:hover,.as-button:hover,.as-dialog button:hover{background:#f4f6f4;border-color:#b4bcb6}.as-workspace button:disabled,.as-dialog button:disabled{opacity:.45;cursor:not-allowed}.as-workspace .as-primary,.as-dialog .as-primary{background:#153f30;color:#fff;border-color:#153f30;box-shadow:inset 0 1px 0 #ffffff21,0 1px 2px #00000010}.as-workspace .as-primary:hover,.as-dialog .as-primary:hover{background:#20573f}.as-session{font-size:12px;color:#4a5b4e;padding:0 7px}.as-auth-note{display:flex;align-items:center;gap:12px;background:#edf3ef;border:1px solid #dbe7df;border-radius:9px;padding:12px 15px;font-size:12px;color:#536559;margin:0 0 20px}.as-auth-note .as-button{margin-left:auto}.as-theme-area{max-width:1060px;margin:0 auto;padding:3px 0 25px}.as-theme-card{border:1px solid #dfe4e0;border-radius:17px;overflow:hidden;background:white;box-shadow:0 3px 8px #102b1610}.as-theme-preview{position:relative;height:460px;background:#154634;overflow:hidden}.as-theme-preview>img{width:100%;height:100%;object-fit:cover;object-position:top}.as-theme-overlay{position:absolute;inset:0;display:flex;align-items:flex-end;justify-content:space-between;gap:25px;padding:29px;background:linear-gradient(transparent 35%,#00000005 50%,#000c 100%);color:white}.as-theme-overlay h2{font-size:24px;line-height:1.3;margin:6px 0}.as-theme-overlay p{font-size:12px;margin:6px 0 0;color:#e1e5df}.as-theme-status{font-size:11px;padding:5px 9px;background:#ffffff2c;border:1px solid #ffffff20;border-radius:30px;display:inline-block}.as-theme-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;justify-content:flex-end;flex-shrink:0}.as-theme-actions button{border-radius:20px}.as-theme-bottom{display:flex;align-items:center;padding:14px 20px;font-size:12px;color:#5d6b61}.as-theme-bottom a{margin-left:auto;color:#154634;font-weight:600}.as-connect-card{display:flex;gap:18px;align-items:center;background:white;border:1px solid #e0e4e0;border-radius:14px;padding:24px;margin:24px 0 35px}.as-connect-icon{display:grid;place-items:center;flex:none;width:47px;height:47px;border-radius:12px;background:#e8f0eb;color:#35694e}.as-connect-icon svg{width:24px;height:24px}.as-connect-card h3{font-size:14px;font-weight:600;margin:0 0 6px}.as-connect-card p{font-size:12px;line-height:1.6;color:#78817b;margin:0}.as-connect-card .as-button{margin-left:auto}.as-section-title{font-size:16px;font-weight:600;margin:0 0 15px}.as-draft-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.as-draft-grid .as-theme-preview{height:290px}.as-draft-grid .as-theme-overlay{padding:20px;display:block;padding-top:160px}.as-draft-grid .as-theme-overlay h2{font-size:16px}.as-draft-grid .as-theme-overlay p{display:none}.as-draft-grid .as-theme-actions{margin-top:12px;justify-content:flex-start}.as-draft-grid .as-theme-status{display:none}.as-shortcuts{display:flex;gap:25px;font-size:12px;justify-content:center;margin-top:28px;color:#627769}.as-shortcuts a:hover{text-decoration:underline}.as-table-card{border:1px solid #e4e7e4;background:white;border-radius:12px;overflow:hidden;box-shadow:0 1px 4px #00000003}.as-table-tools{display:flex;gap:24px;align-items:center;padding:12px 17px;border-bottom:1px solid #eceeec;min-height:60px;font-size:12px}.as-table-tools>span{white-space:nowrap;color:#4e5a50}.as-table-tools>span b{font-weight:400;color:#8f9991;margin-left:8px}.as-search{display:flex;align-items:center;gap:8px;width:min(470px,100%);margin:0;font-weight:400}.as-search>span{font-size:24px;line-height:1;color:#637468}.as-search input{border:0;background:transparent;box-shadow:none;font-size:13px;padding:7px 0;outline:none}.as-table-scroll{overflow:auto}.as-table{min-width:740px}.as-table th{background:#f7f8f7;color:#626d65;font-size:11px;font-weight:500;padding:11px 16px;border-bottom:1px solid #e9ece9}.as-table td{padding:13px 16px;border-top:0;border-bottom:1px solid #ecefec;font-size:12px;color:#36483d;max-width:420px;line-height:1.6}.as-table tbody tr:last-child td{border-bottom:0}.as-table tbody tr:hover{background:#fafcfb}.as-workspace .as-row-link{border:0;box-shadow:none;background:transparent!important;text-align:left;justify-content:flex-start;padding:0;border-radius:0;font-size:12px;font-weight:400;white-space:normal;min-width:180px;color:#28372d}.as-row-name{display:flex;gap:12px;align-items:center}.as-row-name>img,.as-thumb-empty{height:38px;width:38px;object-fit:contain;border:1px solid #e2e7e2;border-radius:7px;background:#fff;flex:none}.as-thumb-empty{display:grid;place-items:center;color:#7b8d7f}.as-thumb-empty svg{width:17px;height:17px}.as-actions-column{width:40px;padding:7px!important}.as-workspace .as-icon-button{padding:5px 8px;border:0;box-shadow:none;background:transparent;font-size:18px;color:#9aa59e}.as-badge{display:inline-block;background:#f0f2f0;color:#59645d;border-radius:5px;padding:2px 6px;font-size:10px;white-space:nowrap;line-height:1.5}.as-badge.as-green{background:#dcefdc;color:#285a2e}.as-badge.as-blue{background:#e2f0f4;color:#27647a}.as-pagination{display:flex;align-items:center;justify-content:flex-end;gap:7px;border-top:1px solid #ecefec;padding:13px 17px;font-size:11px;color:#7a857d}.as-pagination span{margin-right:10px}.as-pagination button{font-size:18px;padding:3px 12px;line-height:1.4}.as-empty{text-align:center;padding:65px 25px 80px;color:#879389}.as-empty>div{display:grid;place-items:center;width:90px;height:90px;margin:0 auto 23px;border-radius:50%;background:#f0f4ef;color:#4b7d5c}.as-empty svg{width:34px;height:34px}.as-empty h2{font-size:18px;color:#263d2e;font-weight:500;margin:10px 0}.as-empty p{font-size:12px;max-width:410px;margin:10px auto;line-height:1.9}.as-upload-label{margin:0;cursor:pointer}.as-upload-label input{display:none}.as-sr{position:absolute;overflow:hidden;width:1px;height:1px;clip:rect(0,0,0,0)}.as-dialog{width:min(1000px,94vw);max-height:92vh;border:1px solid #d8ded9;border-radius:15px;padding:0;box-shadow:0 25px 100px #102f2c45;color:#2b3f31}.as-dialog::backdrop{background:#07191180;backdrop-filter:blur(3px)}.as-dialog form{margin:0;display:flex;flex-direction:column;max-height:90vh}.as-dialog-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e5e9e5;padding:17px 24px;flex:none}.as-dialog-head h2{font-size:17px;font-weight:600;margin:0}.as-dialog-head button{border:0;font-size:23px;padding:0 7px;box-shadow:none}.as-dialog-body{padding:10px 24px 24px;overflow:auto}.as-dialog-foot{display:flex;align-items:center;gap:8px;padding:15px 24px;border-top:1px solid #e5e9e5;background:#f9fbf9;flex:none}.as-dialog-foot>span{flex:1}.as-dialog-foot .as-danger{color:#b03b3b;background:#fff;border-color:#e3c9c9}.as-field{display:block;margin:16px 0 0;font-size:12px;font-weight:500;color:#425749}.as-field>span{display:block;margin-bottom:6px}.as-field b{color:#b16666}.as-field input,.as-field select,.as-field textarea{font-size:13px;border:1px solid #cfd9d1;border-radius:7px;padding:9px 10px;background:white;color:#243b2c;width:100%;font-weight:400}.as-field textarea{min-height:120px;line-height:1.7}.as-field .as-json-field{font:12px/1.65 monospace;min-height:200px}.as-form-grid{display:grid;grid-template-columns:2fr 1fr;gap:26px}.as-dialog h3{font-size:14px;font-weight:600;margin:24px 0 12px}.as-variants{font-size:11px;min-width:500px;margin:0 0 10px}.as-variants th{padding:8px 5px;font-size:10px}.as-variants td{padding:7px 3px}.as-variants input{font-size:11px;padding:7px 5px;min-width:64px}.as-variants th:first-child,.as-variants th:nth-child(2){width:25%}.as-collection-checks{max-height:320px;overflow:auto;border:1px solid #e3e8e3;border-radius:8px;padding:10px}.as-collection-checks label{display:flex;gap:7px;align-items:center;font-size:12px;font-weight:400;margin:0;padding:6px 0}.as-product-choices{border:1px solid #e3e8e3;border-radius:8px;max-height:340px;overflow:auto;margin-top:10px}.as-product-choices label{display:flex;gap:10px;align-items:center;margin:0;padding:10px;font-size:11px;font-weight:400;border-bottom:1px solid #eef1ee;cursor:pointer}.as-product-choices label[hidden]{display:none}.as-product-choices label small{margin-left:auto;font-size:10px;color:#8c9c90}.as-dialog input[type=checkbox]{width:14px;height:14px;flex:none}.as-muted{color:#819186;font-size:12px;line-height:1.8}.as-form-error{color:#a83030;font-size:12px;padding-top:14px;line-height:1.6}.as-form-error:empty{display:none}.as-published-link{display:block;font-weight:600;color:#154634;margin:20px 0}.as-dialog input:focus,.as-dialog select:focus,.as-dialog textarea:focus,.as-search input:focus{outline:2px solid #88ad98;outline-offset:1px}.as-row-link:focus-visible,.as-button:focus-visible{outline:2px solid #6a9a7a;outline-offset:4px}body.admin-shell #toast{z-index:1000;background:#203c2b;box-shadow:0 5px 20px #0002;font-size:13px}
@media(min-width:1500px){.as-workspace{padding-inline:34px}.as-theme-area{max-width:1100px}.as-theme-preview{height:510px}}
@media(max-width:1100px){.as-theme-preview{height:400px}.as-theme-overlay{display:block;padding-top:260px}.as-theme-overlay h2{font-size:20px}.as-theme-actions{justify-content:flex-start;margin-top:13px}.as-theme-overlay p{display:none}.as-connect-card{flex-wrap:wrap}.as-connect-card .as-button{margin-left:65px}.as-draft-grid{grid-template-columns:1fr}.as-form-grid{grid-template-columns:1fr}.as-heading-actions{gap:6px}.as-heading-actions .as-session{display:none}}
@media(max-width:760px){body.admin-shell>header{height:58px;padding:0 12px;gap:12px}body.admin-shell>header .headnote{display:none}body.admin-shell #nav{position:static;margin:58px 0 0;width:100%;padding:8px;display:block}body.admin-shell #nav nav{display:flex;flex-direction:row;overflow:auto;gap:4px}body.admin-shell #nav nav a{padding:9px 11px;font-size:11px;white-space:nowrap;min-height:36px}body.admin-shell #nav nav a svg{width:15px;height:15px}.as-nav-title,.as-nav-footer{display:none}body.admin-shell #app{margin:0;min-height:calc(100vh - 110px)}.as-workspace{border-radius:0;padding:0 13px 20px}.as-heading{padding:17px 0;min-height:70px;align-items:flex-start;gap:10px}.as-heading h1{font-size:16px}.as-heading-actions{max-width:64%}.as-heading-actions button,.as-heading-actions .as-button{font-size:10px;padding:7px 9px}.as-auth-note{font-size:11px;padding:10px}.as-theme-preview{height:350px}.as-theme-overlay{padding:205px 18px 18px}.as-theme-overlay h2{font-size:18px}.as-theme-actions button{font-size:11px;padding:7px 12px}.as-connect-card{padding:18px;gap:14px}.as-connect-card h3{font-size:13px}.as-connect-card p{font-size:11px}.as-connect-card .as-button{margin-left:0}.as-connect-icon{width:35px;height:35px}.as-connect-card>div:nth-child(2){flex:1}.as-table-tools{gap:17px;padding:9px 12px}.as-table{min-width:650px}.as-table td,.as-table th{padding:11px 12px}.as-shortcuts{font-size:10px;gap:13px;flex-wrap:wrap}.as-dialog{max-height:96vh;width:97vw}.as-dialog form{max-height:94vh}.as-dialog-body{padding:7px 15px 20px}.as-dialog-head,.as-dialog-foot{padding:14px 15px}.as-dialog-head h2{font-size:15px}.as-form-grid{gap:10px}.as-table-tools>span{font-size:11px}}

body.as-public-store>header,body.as-public-store>#nav{display:none!important}body.as-public-store>#app{margin:0!important;padding:0!important;min-height:100vh}body.as-public-store .storepage{max-width:none}
.as-menu-node{border-left:2px solid #e3eae4;padding-left:10px;margin:10px 0}.as-menu-fields{display:grid;grid-template-columns:minmax(90px,1fr) minmax(130px,1.5fr) repeat(4,30px);gap:5px;align-items:center}.as-menu-fields input{font-size:12px;padding:8px}.as-menu-fields button{padding:6px;font-size:13px}.as-menu-children{padding-left:22px}.as-rule-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px;margin:12px 0}.as-rule-row select,.as-rule-row input{font-size:11px;padding:7px 6px}.as-rule-row input{grid-column:1}.as-rule-row button{justify-self:end;padding:4px 12px}.as-picker-summary{position:sticky;top:0;background:#f3f7f3;padding:9px 11px;border-bottom:1px solid #dce6dd;font-size:11px;color:#50755a;z-index:1}.as-order-items{min-width:580px}.as-order-items th{font-size:11px;padding:9px 5px}.as-order-items td{padding:8px 4px}.as-order-items input,.as-order-items select{font-size:12px;padding:8px}.as-order-items th:first-child{width:58%}.as-order-items input{min-width:65px}.as-dialog [hidden]{display:none!important}@media(max-width:760px){.as-menu-fields{grid-template-columns:repeat(4,1fr)}.as-menu-fields input{grid-column:span 2}.as-menu-children{padding-left:12px}.as-menu-fields button{width:100%}}

#nav nav a svg{width:18px;height:18px;flex:none}

.as-nav-reserved{display:flex;align-items:center;gap:11px;padding:10px 12px;min-height:40px;border-radius:8px;font-size:13px;color:#69736c;cursor:default}.as-nav-reserved svg{width:18px;height:18px;flex:none}.as-nav-reserved>span{flex:1}.as-nav-reserved small{font-size:9px;color:#859087;border:1px solid #343d35;border-radius:4px;padding:1px 4px;white-space:nowrap}body.admin-shell #nav nav{flex-shrink:0}.as-nav-footer{flex-shrink:0}@media(max-width:760px){.as-nav-reserved{font-size:11px;padding:9px 11px;white-space:nowrap;min-height:36px}.as-nav-reserved svg{width:15px;height:15px}.as-nav-reserved small{display:none}}

/* The theme card uses an isolated render of its saved homepage. */
.as-theme-snapshot{position:absolute;inset:0;background:#f3f6f3;overflow:hidden}
.as-theme-snapshot>iframe{position:absolute;left:0;top:0;width:1440px;height:900px;border:0;transform-origin:top left;pointer-events:none;opacity:0}
.as-theme-snapshot.is-ready>iframe{opacity:1}
.as-theme-loading{position:absolute;inset:0;display:grid;place-items:center;padding:24px;color:#385747;font-size:14px;text-align:center}
.as-theme-loading[hidden]{display:none}
body.theme-thumbnail{margin:0;background:white;overflow:hidden;min-width:0}
body.theme-thumbnail>header,body.theme-thumbnail>#nav,body.theme-thumbnail #toast{display:none!important}
body.theme-thumbnail>#app{margin:0!important;padding:0;min-height:0}
body.theme-thumbnail .store-live{max-width:none;margin:0;padding:0;overflow:hidden}
body.theme-thumbnail .previewbar,body.theme-thumbnail .preview-feedback,body.theme-thumbnail .preview-rest,body.theme-thumbnail .section-caption,body.theme-thumbnail .insertion-controls{display:none!important}
body.theme-thumbnail .stage-viewport{padding:0;margin:0;overflow:hidden;background:white}
body.theme-thumbnail .stage-document{margin:0;background:white;box-shadow:none;border:0}
body.theme-thumbnail .live-section{margin:0;border:0;outline:0;box-shadow:none}
/* Structured product authoring */
.as-dialog:has([data-product-details]){width:min(1240px,96vw)}
.as-product-authoring{margin-top:20px;min-width:0}
.as-detail-section{border:1px solid #dce4de;border-radius:10px;padding:18px;margin-bottom:18px;background:#fff}
.as-detail-section h3{margin:0 0 14px;font-size:17px;color:#153f30}
.as-detail-section h4{font-size:14px;margin:22px 0 10px}
.as-detail-section .as-field{font-size:14px;margin:14px 0}
.as-detail-section input,.as-detail-section select,.as-detail-section textarea,.as-detail-section button{font-size:14px}
.as-detail-section .as-muted{font-size:13px;line-height:1.6}
.as-detail-section input:not([type=checkbox]),.as-detail-section textarea,.as-detail-section select{box-sizing:border-box;min-width:0;border:1px solid #cfd9d1;border-radius:6px;padding:9px;background:#fff;color:#243b2c;width:100%;font-family:inherit}
.as-detail-section textarea{line-height:1.6;resize:vertical;min-height:110px}
.as-detail-section table{width:100%;border-collapse:collapse;table-layout:fixed;margin-bottom:12px}
.as-detail-section table th{font-size:13px;font-weight:600;text-align:left;padding:8px 4px;color:#425749}
.as-detail-section table td{padding:5px 3px;vertical-align:top}
.as-detail-stones{min-width:520px}
.as-detail-stones th:first-child{width:23%}
.as-detail-stones th:nth-child(2){width:11%}
.as-detail-stones th:last-child{width:36px}
.as-detail-stones td:last-child button{width:32px;padding:8px 4px}
.as-detail-attribute{display:grid;grid-template-columns:1fr 1fr 36px;gap:8px;margin:8px 0}
.as-detail-attribute button{padding:8px}
.as-detail-paragraph{margin:14px 0;border-bottom:1px solid #edf1ee;padding-bottom:12px}
.as-detail-row-actions{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0 14px}
.as-detail-row-actions button{font-size:12px;padding:6px 9px}
.as-detail-extra-table{padding:12px;background:#f6f8f6;border-radius:8px;margin:16px 0}
.as-detail-extra-table table{min-width:400px}
.as-detail-extra-table th:last-child{width:38px}
.as-set-toggle{display:flex;gap:10px;align-items:center;font-size:14px;line-height:1.5}
.as-set-selected{list-style:none;margin:12px 0;padding:0}
.as-set-selected li{display:flex;align-items:center;gap:10px;border:1px solid #dce4de;border-radius:8px;padding:10px;margin:8px 0}
.as-set-selected img{object-fit:contain;flex:none}
.as-set-selected li>span{flex:1;min-width:0}
.as-set-selected strong{font-size:13px;display:block;font-weight:500}
.as-set-selected small,.as-set-results small{display:block;font-size:12px;color:#68786d;margin-top:4px}
.as-set-selected li>div{display:flex;flex-direction:column;gap:4px}
.as-set-selected button{font-size:11px;padding:4px 6px}
.as-set-results{max-height:280px;overflow:auto;border:1px solid #dce4de;border-radius:8px}
.as-set-results>button{display:flex;width:100%;border:0;border-bottom:1px solid #e9eeea;border-radius:0;justify-content:space-between;gap:16px;padding:11px;text-align:left;white-space:normal}
.as-set-results>button>span{flex:1;font-size:13px;line-height:1.5}
.as-set-results b{font-size:12px;color:#154634}
.as-set-count{font-size:12px;color:#536c5e}
@media(max-width:750px){.as-detail-section{padding:12px}.as-set-selected li{flex-wrap:wrap}.as-set-selected li>div{flex-direction:row;width:100%;justify-content:flex-end}.as-detail-attribute{grid-template-columns:1fr 1fr 32px}}
/* Product gallery uploads */
.as-gallery-editor{margin:20px 0 24px;padding:18px;border:1px solid #dce4de;border-radius:10px;background:#fff}
.as-gallery-heading{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.as-gallery-heading h3{margin:0 0 6px;font-size:17px;color:#153f30}
.as-gallery-heading p{margin:0;font-size:13px;color:#647369;line-height:1.5}
.as-gallery-heading>span{font-size:12px;color:#536c5e;white-space:nowrap}
.as-gallery-drop{border:1px dashed #9bb6a6;border-radius:8px;padding:22px 12px;margin:16px 0;display:flex;align-items:center;flex-wrap:wrap;justify-content:center;gap:10px;background:#f8faf8}
.as-gallery-drop.is-dragover{background:#e5f0e9;border-color:#154634;outline:2px solid #154634}
.as-gallery-drop>span{font-size:13px;color:#63766a}
.as-gallery-drop small{width:100%;font-size:12px;text-align:center;color:#63766a;line-height:1.6}
.as-gallery-drop button{font-size:14px;background:#154634;color:white;border-color:#154634}
.as-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start}
.as-gallery-card{border:1px solid #dce4de;border-radius:8px;overflow:hidden;background:#fff;min-width:0}
.as-gallery-card[draggable=true]{cursor:grab}
.as-gallery-card.has-error{border-color:#cf8b83}
.as-gallery-preview{position:relative;aspect-ratio:1;background:#f6f7f6;display:flex;align-items:center;justify-content:center}
.as-gallery-preview img,.as-gallery-preview video{width:100%;height:100%;object-fit:contain;display:block}
.as-gallery-preview video{max-height:210px;background:#eef2ef}
.as-gallery-type,.as-gallery-cover{position:absolute;top:7px;left:7px;padding:4px 7px;border-radius:5px;background:#154634;color:#fff;font-size:11px;line-height:1.25;pointer-events:none}
.as-gallery-type{left:auto;right:7px;background:#22302a}
.as-gallery-card-body{padding:10px}
.as-gallery-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#536c5e;margin-bottom:10px}
.as-gallery-card label{display:block;font-size:12px;color:#536c5e}
.as-gallery-card input{box-sizing:border-box;width:100%;min-width:0;border:1px solid #d3ddd6;border-radius:5px;margin-top:5px;padding:7px;font-size:12px;color:#243b2c;background:white}
.as-gallery-actions{display:flex;flex-wrap:wrap;gap:5px;margin-top:10px}
.as-gallery-actions button{font-size:11px;padding:5px 7px}
.as-gallery-file-status,.as-gallery-warning{font-size:12px;line-height:1.5;color:#536c5e;overflow-wrap:anywhere}
.as-gallery-card.has-error .as-gallery-file-status{color:#963e35}
.as-gallery-warning{color:#795c27}
.as-gallery-save-note{font-size:12px;color:#63766a;line-height:1.5;margin:14px 0 0}
.as-gallery-error{padding:12px;border:1px solid #d3b7ad;border-radius:7px;background:#fff9f6;font-size:13px;line-height:1.5;margin:14px 0}
.as-gallery-error p{font-size:12px;margin:7px 0 0}
@media(max-width:950px){.as-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.as-gallery-editor{padding:12px}.as-gallery-heading{display:block}.as-gallery-heading>span{display:block;margin-top:8px}}
@media(max-width:420px){.as-gallery-grid{gap:8px}.as-gallery-card-body{padding:8px}.as-gallery-actions button{font-size:10px;padding:5px}}
/* Live product editing: fields and independent preview */
.as-dialog:has([data-product-preview]){width:min(1740px,98vw);max-height:96vh}
.as-dialog:has([data-product-preview]) form{max-height:94vh}
.as-product-edit-layout{display:grid;grid-template-columns:minmax(520px,1.1fr) minmax(400px,1fr);gap:24px;align-items:start}
.as-product-edit-fields{min-width:0}
.as-product-edit-fields .as-form-grid{grid-template-columns:1fr;gap:8px}
.as-product-edit-fields .as-form-grid>div:last-child{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
.as-product-edit-fields .as-form-grid>div:last-child>h3,.as-product-edit-fields .as-form-grid>div:last-child>.as-collection-checks{grid-column:1/-1}
.as-product-live-preview{position:sticky;top:0;min-width:0;border:1px solid #dce4de;border-radius:10px;background:#f6f8f6;overflow:hidden;margin-top:16px;min-height:450px}
@media(max-width:1100px){.as-product-edit-layout{grid-template-columns:minmax(430px,1.1fr) minmax(330px,1fr);gap:16px}.as-product-edit-fields .as-form-grid>div:last-child{display:block}.as-product-edit-fields .as-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.as-product-edit-layout{grid-template-columns:1fr}.as-product-live-preview{position:relative;top:auto;min-height:400px}.as-product-edit-fields .as-form-grid>div:last-child{display:grid}}
.as-preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;background:#fff;border-bottom:1px solid #e0e6e1}
.as-preview-toolbar strong{display:block;font-size:15px;color:#153f30}
.as-preview-toolbar small{display:block;font-size:12px;color:#6b7a70;margin-top:4px;line-height:1.5}
.as-preview-modes{display:flex;gap:4px;flex:none}
.as-preview-modes button{font-size:12px;padding:7px 9px}
.as-preview-modes button[aria-pressed=true]{background:#154634;border-color:#154634;color:white}
.as-preview-status{font-size:12px;color:#63766a;line-height:1.5;margin:0;padding:9px 14px;border-bottom:1px solid #e0e6e1;background:#f7f9f7}
.as-preview-viewport{overflow:auto;max-height:calc(100dvh - 250px);min-height:380px;background:white;scrollbar-gutter:stable}
.as-preview-canvas{overflow:hidden}
@media(max-width:1100px){.as-preview-toolbar{flex-wrap:wrap}.as-preview-viewport{max-height:calc(100dvh - 300px)}}
@media(max-width:850px){.as-preview-viewport{max-height:600px;min-height:350px}}
