/* Scoped commercial surfaces only. No global branding/template overrides. */
.eco-commerce-shell{--ec-ink:#16352e;--ec-muted:#66766f;--ec-green:#126a4b;--ec-edge:#dce7df;--ec-surface:#f6faf7;color:var(--ec-ink);font-family:inherit;max-width:1200px;margin:18px auto 32px;line-height:1.5}
.eco-commerce-shell *{box-sizing:border-box}.eco-commerce-shell button,.eco-commerce-shell input,.eco-commerce-shell textarea,.eco-commerce-shell select{font:inherit}.eco-commerce-shell :focus-visible{outline:3px solid #187d5b;outline-offset:3px}
.eco-commercial-hero{background:linear-gradient(115deg,#102c27 0%,#19563f 72%,#297458 100%);color:white;border-radius:22px;min-height:175px;padding:30px 34px;display:flex;align-items:center;justify-content:space-between;gap:24px;box-shadow:0 12px 35px #142e2321;position:relative;overflow:hidden}
.eco-commercial-hero:after{content:"";border:1px solid #ffffff27;position:absolute;width:320px;height:320px;border-radius:50%;right:-95px;top:-205px;pointer-events:none}
.eco-commercial-hero h1,.eco-commercial-hero h2{font-size:clamp(27px,3.5vw,39px);line-height:1.15;letter-spacing:-.035em;color:white;margin:7px 0 12px;font-weight:730}
/* Keep commercial hero headings readable against the shared workspace heading rule. */
body.eco-tenant-portal-body .eco-app.eco-gratitude-shell .eco-commercial-hero :is(h1,h2){color:#fff}
.eco-commercial-hero p{margin:0;color:#d7e7df;max-width:590px;font-size:15px}.eco-commerce-eyebrow{text-transform:uppercase;letter-spacing:.13em;font-size:11px;font-weight:800;color:#9fe0be}
.eco-plan-pill{flex-shrink:0;display:flex;flex-direction:column;min-width:170px;background:#ffffff17;border:1px solid #ffffff46;padding:15px 18px;border-radius:14px;backdrop-filter:blur(6px)}.eco-plan-pill span,.eco-plan-pill small{font-size:12px;color:#d7e7df}.eco-plan-pill strong{font-size:21px;margin:3px 0;letter-spacing:-.02em}
.eco-commerce-alert{margin:18px 0;padding:14px 18px;border:1px solid #e4cc93;border-radius:12px;background:#fffaf0;color:#775727;font-size:14px}.eco-commerce-section-head{margin:30px 0 14px;display:flex;justify-content:space-between;align-items:baseline;gap:16px;flex-wrap:wrap}.eco-commerce-section-head h2,.eco-commerce-section-head h3,.eco-commerce-section-head h4{margin:0;letter-spacing:-.03em;color:var(--ec-ink)}.eco-commerce-section-head h2{font-size:23px}.eco-commerce-section-head h3{font-size:20px}.eco-commerce-section-head p{margin:0;color:var(--ec-muted);font-size:13px}
.eco-meter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.eco-meter-card{padding:19px 17px;background:#fff;border:1px solid var(--ec-edge);border-radius:16px;box-shadow:0 3px 12px #1a403209;min-width:0}.eco-meter-head{display:flex;justify-content:space-between;align-items:center;gap:6px;margin-bottom:15px}.eco-meter-head h4{margin:0;font-size:13px;font-weight:650;color:var(--ec-muted)}.eco-meter-card>strong{display:block;font-size:21px;letter-spacing:-.035em;overflow-wrap:anywhere;margin-bottom:15px;font-variant-numeric:tabular-nums}.eco-meter-card small{color:var(--ec-muted);font-size:12px}.eco-meter-track{height:7px;border-radius:30px;background:#e4f0e9;margin-bottom:10px;overflow:hidden}.eco-meter-track>span{display:block;background:#218b64;height:100%;border-radius:30px;max-width:100%}.eco-meter-card.is-near-limit .eco-meter-track>span{background:#c48630}.eco-meter-warning{font-size:10px;font-weight:750;color:#8b601b;background:#fff1d7;padding:3px 6px;border-radius:5px}
.eco-commercial-service-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.eco-service-card{display:flex;align-items:center;justify-content:space-between;gap:12px;background:white;border:1px solid var(--ec-edge);border-radius:14px;padding:17px 19px}.eco-service-card p{margin:5px 0 0;color:var(--ec-muted);font-size:13px}.eco-service-state{background:#e9f5ec;border:1px solid #c8e7d1;border-radius:9px;color:#246544;font-size:11px;text-transform:capitalize;font-weight:700;padding:6px 9px;white-space:nowrap}.eco-commerce-fineprint{font-size:12px;color:var(--ec-muted);margin:20px 0 0}
.eco-shop-event-selector{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:20px}.eco-shop-event-selector label{font-size:13px;font-weight:650;display:flex;align-items:center;gap:10px}.eco-commerce-shell select,.eco-commerce-shell input,.eco-commerce-shell textarea{background:#fff;border:1px solid #cbdad0;border-radius:9px;padding:10px 12px;min-width:0;color:#18382a}.eco-shop-event-selector button,.eco-shop-variant-form button,.eco-shop-primary{background:var(--ec-green);color:white;border:0;border-radius:9px;padding:11px 17px;font-weight:700;cursor:pointer;transition:background .15s ease,transform .15s ease}.eco-shop-primary:hover,.eco-shop-variant-form button:hover{background:#0a5138;transform:translateY(-1px)}.eco-commerce-shell button:disabled{opacity:.55;cursor:not-allowed;transform:none}.eco-shop-count{display:inline-flex;font-size:12px;background:#e3f2e8;border-radius:20px;padding:3px 10px;vertical-align:middle;color:#206546}
.eco-shop-admin-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,.9fr);gap:18px;align-items:start}.eco-shop-product-list,.eco-shop-create-panel{min-width:0}.eco-shop-create-panel,.eco-shop-product-row,.eco-shop-empty{background:#fff;border:1px solid var(--ec-edge);border-radius:16px;padding:20px}.eco-shop-create-panel{box-shadow:0 8px 24px #15352a0b}.eco-shop-admin-grid .eco-shop-create-panel{position:sticky;top:24px}.eco-shop-create-panel h3{margin:0;font-size:19px}.eco-shop-create-panel>p{font-size:13px;color:var(--ec-muted)}.eco-shop-product-row{margin-bottom:12px;padding:17px}.eco-shop-product-row>summary{display:flex;align-items:center;gap:12px;cursor:pointer;list-style:none}.eco-shop-product-row>summary::-webkit-details-marker{display:none}.eco-shop-product-thumb{width:48px;height:48px;border-radius:11px;background:#f0f4f1;display:flex;align-items:center;justify-content:center;color:#54806a;font-size:27px}.eco-shop-product-row>summary>span:nth-child(2){flex:1}.eco-shop-product-row>summary strong,.eco-shop-product-row>summary small{display:block}.eco-shop-product-row>summary small{font-size:12px;color:var(--ec-muted);margin-top:4px}.eco-shop-chevron{font-size:12px;font-weight:700;color:var(--ec-green)}
.eco-shop-product-form{display:grid;gap:12px;margin-top:17px}.eco-shop-product-form label,.eco-shop-variant-fields label{display:grid;gap:5px;font-size:12px;font-weight:700}.eco-shop-product-form input,.eco-shop-product-form select,.eco-shop-product-form textarea{width:100%}.eco-shop-two{display:grid;grid-template-columns:1fr 1fr;gap:9px}.eco-shop-two small{font-weight:400;color:var(--ec-muted)}.eco-shop-variant-form{border-top:1px solid #e7efe8;margin:12px 0;padding-top:13px}.eco-shop-variant-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;align-items:end}.eco-shop-variant-fields label input{width:100%}.eco-shop-variant-fields button{font-size:12px}.eco-shop-text-button{color:#b44842;background:transparent;border:0;cursor:pointer;text-decoration:underline;margin-top:12px}.eco-shop-empty{text-align:center;padding:43px 25px;color:var(--ec-muted)}.eco-shop-empty h3{color:var(--ec-ink);margin-bottom:5px}.eco-shop-empty>span{font-size:33px;color:#24845a}.eco-shop-orders-scroll{overflow:auto;max-width:100%}.eco-shop-orders{width:100%;border-collapse:collapse;background:white;border-radius:12px;min-width:600px}.eco-shop-orders th,.eco-shop-orders td{padding:15px;text-align:left;border-bottom:1px solid var(--ec-edge);font-size:13px}.eco-shop-orders th{background:#f2f7f3;font-weight:750}
.eco-shop-store-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin:23px 0}.eco-shop-store-card{background:#fff;border:1px solid var(--ec-edge);border-radius:17px;overflow:hidden;box-shadow:0 4px 22px #0a30210b}.eco-shop-store-image{aspect-ratio:4/3;background:linear-gradient(130deg,#e7f1e9,#d1e1d7);display:grid;place-items:center;font-size:80px;color:#83ab95;overflow:hidden}.eco-shop-store-image img{width:100%;height:100%;object-fit:cover}.eco-shop-store-copy{padding:17px}.eco-shop-store-copy h3{font-size:19px;margin:0 0 6px}.eco-shop-store-copy p{font-size:13px;color:var(--ec-muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.eco-shop-store-copy label{display:grid;gap:5px;font-size:12px;font-weight:700;margin-bottom:12px}.eco-shop-store-copy select{width:100%}.eco-shop-store-copy button{width:100%}.eco-shop-cart{border:1px solid var(--ec-edge);background:#fff;padding:22px;border-radius:15px;position:relative}.eco-shop-cart h3{margin-top:0}.eco-shop-cart-total{border-top:1px solid var(--ec-edge);margin:14px 0 8px;padding-top:12px;display:flex;justify-content:space-between}.eco-shop-cart>p{font-size:12px;color:var(--ec-muted)}.eco-shop-cart>button{padding:13px;background:#e4eae5;color:#526257;border:0;border-radius:8px;width:100%}
@media(max-width:1050px){.eco-meter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.eco-shop-store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.eco-commercial-hero{padding:23px 20px;align-items:stretch;flex-direction:column;gap:18px;border-radius:16px}.eco-plan-pill{flex-direction:row;align-items:center;gap:9px;width:fit-content;flex-wrap:wrap}.eco-meter-grid,.eco-commercial-service-row,.eco-shop-admin-grid,.eco-shop-store-grid{grid-template-columns:1fr}.eco-shop-admin-grid .eco-shop-create-panel{position:static}.eco-service-card{flex-wrap:wrap}.eco-shop-variant-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.eco-shop-event-selector{justify-content:flex-start;flex-wrap:wrap}.eco-commerce-section-head{align-items:start}}
@media(max-width:420px){.eco-shop-two,.eco-shop-variant-fields{grid-template-columns:1fr}.eco-commerce-shell{margin:10px 0 20px}}
@media(prefers-reduced-motion:reduce){.eco-shop-primary,.eco-shop-variant-form button{transition:none}}
.eco-pricing-card-grid{margin-top:15px}.eco-pricing-modern-card{background:#fff;border:1px solid var(--ec-edge);border-radius:18px;padding:26px 25px;box-shadow:0 4px 21px #112c1d0a;position:relative;display:flex;flex-direction:column;gap:12px}.eco-pricing-modern-card.is-popular{border:2px solid #218a62}.eco-pricing-modern-card .eco-commerce-eyebrow{color:#27734e}.eco-pricing-modern-card h2{font-size:41px;letter-spacing:-.05em;margin:0;color:var(--ec-ink)}.eco-pricing-modern-card h2 small{font-size:14px;font-weight:500;color:var(--ec-muted);letter-spacing:0}.eco-pricing-modern-card p{margin:0;color:var(--ec-muted);min-height:50px}.eco-pricing-modern-card .eco-shop-primary{text-align:center;text-decoration:none;display:block}.eco-pricing-modern-card ul{list-style:none;padding:14px 0 0;margin:0;border-top:1px solid var(--ec-edge);display:grid;gap:10px;font-size:13px}.eco-pricing-modern-card li{position:relative;padding-left:20px}.eco-pricing-modern-card li:before{content:'✓';font-weight:750;color:#168558;position:absolute;left:0}.eco-shop-popular{position:absolute;right:17px;top:-13px;background:#1b7b55;color:#fff;font-weight:700;padding:4px 13px;border-radius:30px;font-size:11px}.eco-commercial-pricing .eco-service-card>a{text-decoration:none}.eco-shop-cart-line{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:8px 0;border-bottom:1px solid var(--ec-edge)}.eco-shop-cart-line button{border:0;background:transparent;color:#a44835;text-decoration:underline;cursor:pointer;font-size:12px}
/* Familiar product-cart quantity controls without bringing in a second commerce framework. */
.eco-shop-cart .eco-shop-line-title{font-weight:600;flex:1 1 160px;min-width:110px}
.eco-shop-line-quantity{display:inline-flex;align-items:center;border:1px solid #d7e4dd;border-radius:12px;overflow:hidden}
.eco-shop-line-quantity button{min-width:35px;min-height:36px;border:0;background:#f4faf6;color:#174731;font-size:18px;cursor:pointer}
.eco-shop-line-quantity button:disabled{opacity:.45;cursor:not-allowed}
.eco-shop-line-quantity output{min-width:25px;text-align:center;font-weight:700}
.eco-shop-line-quantity button:focus-visible,.eco-shop-line-remove:focus-visible{outline:3px solid #60b586;outline-offset:2px}

/* Order detail UX: compact, keyboard-friendly, no payment-state shortcuts. */
.eco-shop-order-detail{margin-top:1.5rem;padding:1.5rem;border:1px solid var(--eco-border,#dce5e1);border-radius:1.1rem;background:var(--eco-card,#fff)}
.eco-shop-order-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:1rem;margin:1rem 0 1.25rem}
.eco-shop-order-summary div{min-width:0}.eco-shop-order-summary dt{font-size:.8rem;color:#50645d}.eco-shop-order-summary dd{margin:.2rem 0 0;font-weight:650;overflow-wrap:anywhere}
.eco-shop-fulfillment-form{display:flex;gap:.75rem;align-items:end;flex-wrap:wrap;margin-top:1rem}.eco-shop-fulfillment-form label{display:grid;gap:.35rem;font-weight:600}
.eco-shop-fulfillment-form select{min-height:44px;border:1px solid #9eb5aa;border-radius:.65rem;padding:.5rem .7rem;max-width:100%}
.eco-shop-fulfillment-form :focus-visible,.eco-shop-orders a:focus-visible{outline:3px solid #28785e;outline-offset:3px}
@media(max-width:600px){.eco-shop-order-detail{padding:1rem}.eco-shop-order-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* v899: dedicated test-checkout form extends the same elegant Shop cart surface. */
.eco-shop-checkout-form{display:grid;gap:12px;margin-top:16px;padding-top:16px;border-top:1px solid var(--ec-edge)}
.eco-shop-customer-email{display:grid;gap:6px;font-size:13px;font-weight:680;color:var(--ec-ink)}
.eco-shop-customer-email input{width:100%;min-height:45px}
.eco-shop-checkout-form .eco-shop-primary{width:100%;min-height:46px;text-align:center}
.eco-shop-sandbox-notice{font-size:12px;line-height:1.55;color:#745523;background:#fff8e8;border:1px solid #eedbb4;padding:11px 12px;border-radius:10px;margin:0}
.eco-shop-store-card{transition:box-shadow .16s ease,transform .16s ease}
@media(hover:hover){.eco-shop-store-card:hover{box-shadow:0 12px 30px #0a30211c;transform:translateY(-2px)}}
@media(prefers-reduced-motion:reduce){.eco-shop-store-card{transition:none}}
/* Desktop editorial storefront with a clear sticky order summary. */
@media(min-width:901px){
 .eco-shop-storefront{display:grid;grid-template-columns:minmax(0,1fr) 318px;gap:20px;align-items:start}
 .eco-shop-storefront>.eco-commercial-hero,.eco-shop-storefront>.eco-commerce-alert{grid-column:1/-1}
 .eco-shop-storefront .eco-shop-store-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin:0}
 .eco-shop-storefront .eco-shop-cart{position:sticky;top:20px}
}
@media(max-width:900px){
 .eco-shop-storefront .eco-shop-store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .eco-shop-storefront .eco-shop-cart{position:static}
}
@media(max-width:620px){.eco-shop-storefront .eco-shop-store-grid{grid-template-columns:minmax(0,1fr)}}
/* Large Shop registers: accessible SQL-backed navigation and search. */
.eco-shop-list-search{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:10px 0 18px}
.eco-shop-list-search label{display:grid;gap:5px;flex:1 1 220px;max-width:480px;font-size:13px;font-weight:650}
.eco-shop-list-search input{width:100%;min-height:44px}
.eco-shop-list-search button{min-height:44px;border:1px solid #a4c2b1;background:#f0f8f3;color:#12563b;border-radius:9px;padding:9px 17px;font-weight:700;cursor:pointer}
.eco-shop-pagination{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:18px 0 22px;font-size:13px;color:#435b50}
.eco-shop-pagination a{display:inline-flex;justify-content:center;align-items:center;min-width:85px;min-height:42px;padding:8px 13px;background:#fff;border:1px solid #bed7c7;border-radius:9px;color:#126a4b;text-decoration:none;font-weight:700}
.eco-shop-pagination a:hover{background:#eef7f1}
.eco-shop-pagination a:focus-visible,.eco-shop-list-search button:focus-visible{outline:3px solid #187d5b;outline-offset:3px}
.eco-shop-storefront>.eco-shop-store-grid{grid-column:1;grid-row:2}
.eco-shop-storefront>.eco-shop-pagination{grid-column:1;grid-row:3}
.eco-shop-storefront>.eco-shop-cart{grid-column:2;grid-row:2 / span 2;align-self:start}
@media(max-width:860px){.eco-shop-storefront>.eco-shop-store-grid,.eco-shop-storefront>.eco-shop-pagination,.eco-shop-storefront>.eco-shop-cart{grid-column:1;grid-row:auto}}

/* Opt-in Stripe sandbox add-on confirmation; no live product purchase link. */
.eco-addon-purchase-form{gap:12px;align-items:center}.eco-addon-purchase-form .eco-shop-primary{min-height:44px;white-space:nowrap}.eco-addon-purchase-form p{margin:.25rem 0 0;color:var(--ec-muted);font-size:12px}

/* Seller setup reuses the product form grid and the workspace check-row pattern. */
.eco-shop-setup-form{margin-top:16px;gap:14px}
.eco-shop-setup-form>label{font-size:14px;line-height:1.5}
.eco-shop-setup-form p{margin:0;font-size:14px;line-height:1.6;color:var(--ec-muted)}
.eco-shop-setup-form textarea{display:block;min-height:160px;resize:vertical}
.eco-shop-setup-form>button{justify-self:start;min-height:44px;max-width:100%}
.eco-commerce-shell .eco-shop-setup-form .eco-check-row{align-items:flex-start!important;font-weight:400;line-height:1.6}
.eco-commerce-shell .eco-check-row input[type=checkbox]{flex:0 0 18px;width:18px!important;height:18px;min-height:18px;margin:3px 0 0!important;padding:0;accent-color:var(--ec-green)}
