.commerce-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.commerce-product{background:#fff;border:1px solid #e7ebf0;border-radius:16px;overflow:hidden;box-shadow:0 5px 20px rgba(20,36,58,.035)}
.commerce-product>img,.commerce-product-art{width:100%;height:175px;object-fit:cover;background:#f2f5f9}
.commerce-product-art{display:grid;place-items:center;color:#ff741f}.commerce-product-art svg{width:42px;height:42px}
.commerce-product-body{padding:18px}.commerce-product-body small{color:#8793a3;font-size:10px}.commerce-product-body h3{font:800 16px Manrope;color:#14243a;margin:8px 0}.commerce-product-body p{font-size:12px;color:#7d899a;min-height:38px}.commerce-product-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:15px}.commerce-product-foot strong{font-size:12px;color:#14243a}
.commerce-product-detail{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr);gap:25px}.commerce-product-detail h1{font:800 30px Manrope;color:#14243a}.commerce-plan-list{background:#f8fafc;border-radius:14px;padding:18px}.commerce-plan{background:#fff;border:1px solid #e5eaf0;border-radius:12px;padding:15px;margin:12px 0}.commerce-plan>strong{font:800 14px Manrope}.commerce-plan small{display:block;color:#8390a1;margin:6px 0}.commerce-price{font:800 24px Manrope;color:#ff741f;margin:12px 0}
.checkout-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,.6fr);gap:18px;align-items:start}.checkout-summary{position:sticky;top:18px}.payment-panel{max-width:560px;margin:35px auto;text-align:center;padding:35px}.payment-panel h1{font:800 25px Manrope;color:#14243a}.order-line{display:flex;justify-content:space-between;gap:14px;padding:13px 0;border-bottom:1px solid #edf0f4}.order-line small{display:block;color:#8793a3;font-size:10px;margin-top:4px}.order-totals{max-width:360px;margin:20px 0 20px auto}.order-totals p,.order-totals h3{display:flex;justify-content:space-between}.refund-form{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:#fff8f3;padding:12px;border-radius:10px;margin:12px 0}.refund-form input{height:34px;border:1px solid #e2e7ee;border-radius:7px;padding:0 9px;min-width:120px}
@media(max-width:900px){.commerce-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.commerce-product-detail,.checkout-layout{grid-template-columns:1fr}.checkout-summary{position:static}}
@media(max-width:600px){.commerce-grid{grid-template-columns:1fr}.commerce-product-foot{align-items:flex-start;flex-direction:column}.payment-panel{padding:22px}}


/* Phase 6 checkout layout correction */
*,*::before,*::after{box-sizing:border-box}
.commerce-page{width:100%;max-width:100%;min-width:0;margin:0 auto}
.commerce-page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:0 0 22px;min-width:0}
.commerce-page-heading h1{font:800 28px Manrope,sans-serif;color:#14243a;margin:6px 0}
.commerce-page-heading p{margin:0;color:#7d899a;font-size:13px}
.checkout-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.75fr);gap:22px;align-items:start;width:100%;min-width:0}
.checkout-layout>*{min-width:0;max-width:100%}
.checkout-form{padding:28px!important;overflow:hidden}
.checkout-section-heading{display:flex;align-items:center;gap:12px;margin:0 0 22px}
.checkout-section-heading h2{font:800 16px Manrope,sans-serif;color:#14243a;margin:0 0 4px}
.checkout-section-heading p{font-size:11px;color:#8994a3;margin:0}
.checkout-step{width:34px;height:34px;flex:none;border-radius:11px;display:grid;place-items:center;background:#fff0e7;color:#ed6b1e;font:800 12px Manrope}
.checkout-fields{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:17px 18px!important;width:100%;min-width:0}
.checkout-fields .field{min-width:0;width:100%}
.checkout-fields .field.full{grid-column:1/-1}
.checkout-fields label{display:block;font-size:11px;font-weight:700;color:#46566b;margin-bottom:7px}
.checkout-fields label span{color:#e35f35}
.checkout-fields label small{font-weight:500;color:#8994a3}
.checkout-fields input,.checkout-fields textarea{display:block;width:100%;max-width:100%;min-width:0;min-height:45px;border:1px solid #dfe6ee;border-radius:10px;background:#fff;padding:11px 13px;color:#24364b;font-size:12px;outline:none;transition:border-color .18s,box-shadow .18s}
.checkout-fields textarea{min-height:88px;resize:vertical}
.checkout-fields input:focus,.checkout-fields textarea:focus{border-color:#ff974f;box-shadow:0 0 0 3px rgba(255,116,31,.10)}
.checkout-terms{margin:22px 0 16px;padding:15px 0;border-top:1px solid #edf0f4}
.checkout-terms label{display:flex;align-items:flex-start;gap:10px;font-size:11px;line-height:1.6;color:#5c6a7d;cursor:pointer}
.checkout-terms input{width:16px;height:16px;flex:none;margin:1px 0 0;accent-color:#ff741f}
.checkout-submit{width:100%;min-height:48px;display:flex;align-items:center;justify-content:center;gap:9px;font-weight:800}
.checkout-submit svg{width:16px;height:16px}
.checkout-secure-note{display:flex;align-items:center;justify-content:center;gap:7px;color:#8793a3;font-size:10px;margin:13px 0 0}
.checkout-secure-note svg{width:14px;height:14px;color:#1b9b69}
.checkout-summary{padding:24px!important;position:sticky;top:22px;min-width:0}
.checkout-summary .checkout-section-heading{margin-bottom:22px}
.checkout-product-row{display:flex;align-items:center;gap:12px;min-width:0}
.checkout-product-icon{width:42px;height:42px;flex:none;border-radius:12px;background:#fff1e8;color:#f17426;display:grid;place-items:center}
.checkout-product-icon svg{width:20px;height:20px}
.checkout-product-row>div:last-child{min-width:0}
.checkout-product-row strong,.checkout-product-row small{display:block;overflow-wrap:anywhere}
.checkout-product-row strong{font:800 13px Manrope;color:#26384e}
.checkout-product-row small{font-size:11px;color:#7d899a;margin-top:5px}
.checkout-summary-divider{height:1px;background:#edf0f4;margin:20px 0}
.checkout-price-row,.checkout-total{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin:12px 0;font-size:11px;color:#7d899a}
.checkout-price-row strong{color:#35465b;text-align:right}
.checkout-total{border-top:1px solid #edf0f4;padding-top:17px;margin-top:18px;color:#26384e;font-weight:800}
.checkout-total strong{font:800 22px Manrope;color:#ff741f;text-align:right;overflow-wrap:anywhere}
.checkout-summary-note{font-size:10px;line-height:1.65;color:#8793a3;margin:14px 0}
.checkout-trust{display:flex;gap:8px;align-items:flex-start;background:#f4fbf7;border:1px solid #dff2e7;border-radius:10px;padding:12px;color:#39805d;font-size:10px;line-height:1.5}
.checkout-trust svg{width:15px;height:15px;flex:none}
.checkout-errors{padding:13px 16px;background:#fff3f1;border:1px solid #ffd8d2;border-radius:11px;color:#a43d30;margin:0 0 18px;font-size:12px}
.checkout-errors ul{margin:7px 0 0;padding-left:18px}
@media(max-width:1050px){.checkout-layout{grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);gap:15px}.checkout-form{padding:21px!important}}
@media(max-width:780px){.checkout-layout{grid-template-columns:minmax(0,1fr)}.checkout-summary{position:static;grid-row:1}.checkout-form{grid-row:2}.commerce-page-heading{align-items:flex-start;flex-direction:column}}
@media(max-width:560px){.checkout-fields{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}.checkout-fields .field.full{grid-column:auto}.checkout-form,.checkout-summary{padding:18px!important}.commerce-page-heading h1{font-size:23px}.checkout-total strong{font-size:19px}}

/* Prevent the main workspace from creating page-level horizontal scrolling */
html,body{max-width:100%;overflow-x:hidden}
.app-shell{width:100%;max-width:100%;min-width:0;overflow-x:clip}
.main-area{min-width:0;width:auto;max-width:100%;overflow-x:clip}
.content-area{width:100%;min-width:0;max-width:1600px;margin-left:auto;margin-right:auto}
@media(min-width:851px){body.sidebar-collapsed .main-area{margin-left:78px;width:calc(100% - 78px)}}
