:root{font-family:system-ui,Arial,sans-serif;color:#152c55;background:#f4f7fc}*{box-sizing:border-box}body{margin:0}a{text-decoration:none;color:#125dc2}header{background:#fff;border-bottom:1px solid #dce5f2;display:flex;align-items:center;justify-content:space-between;padding:16px max(4%,calc((100vw - 1160px)/2));gap:24px;flex-wrap:wrap}.logo{font-size:30px;font-weight:900;color:#132a55;line-height:1}.logo span{color:#ff6a1c}.logo small{display:block;font-size:11px;font-weight:600;letter-spacing:.2px;margin-top:7px}nav{display:flex;align-items:center;gap:18px;flex-wrap:wrap}nav form{margin:0}main{max-width:1160px;margin:30px auto;padding:0 20px;min-height:70vh}.button{background:#0759d7;color:white;border:0;border-radius:9px;padding:11px 18px;font:inherit;font-weight:700;display:inline-block;cursor:pointer}.orange{background:#ff6418}.light{background:#eaf2ff;color:#1056b5}.textbutton{background:none;border:0;color:#125dc2;font:inherit;cursor:pointer}.hero{background:linear-gradient(115deg,#122b59,#0b65d6);color:#fff;border-radius:22px;padding:48px;display:flex;justify-content:space-between;align-items:center;gap:30px}.hero h1{font-size:clamp(32px,5vw,58px);line-height:1.07;margin:16px 0}.hero em{color:#ff9a4a;font-style:normal}.hero p{color:#e0e9ff;max-width:520px;line-height:1.6}.heroart{font-size:110px}.benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:22px 0}.benefits div,.stats div,.panel,.auth,.listing,.product,.mode{background:white;border:1px solid #e0e8f3;border-radius:15px}.benefits div{padding:20px}.benefits b,.benefits small{display:block;margin-top:8px}.benefits small,.info small,.info p,.listing small,.sectionhead p{color:#61718a}.sectionhead{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin:28px 0 18px}.sectionhead form{display:flex;gap:8px}.sectionhead h1,.sectionhead h2{margin:0}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:16px}.product{overflow:hidden}.photo{height:185px;background:#eaf0f8;display:grid;place-items:center;font-size:56px}.photo img{width:100%;height:100%;object-fit:cover}.info{padding:15px}.info h3{font-size:16px;min-height:40px}.info b{font-size:21px}.notice,.alert,.empty{padding:16px;margin-top:20px;border-radius:10px;background:#e5f0ff}.alert{background:#ffe7e2;color:#a32717}.auth{max-width:450px;margin:45px auto;padding:32px}.auth form,.editor{display:grid;gap:15px}label{display:grid;gap:8px;font-weight:650}input,select,textarea{width:100%;border:1px solid #cbd7e7;border-radius:9px;padding:12px;font:inherit;color:#152c55;background:white}input[type=file]{padding:15px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:24px 0}.stats div{padding:22px}.stats b{display:block;font-size:32px}.stats span{color:#63748b}.listings{display:grid;gap:12px}.listing{display:flex;align-items:center;gap:15px;padding:14px;flex-wrap:wrap}.mini{height:66px;width:66px;border-radius:10px;background:#edf2f9;display:grid;place-items:center;font-size:30px;overflow:hidden}.mini img{height:100%;width:100%;object-fit:cover}.listingmain{flex:1;min-width:160px}.listingmain small{display:block;margin-top:7px}.actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.actions form{display:flex;gap:6px}.actions .button{padding:9px}.amount{width:65px;padding:9px}.editor{max-width:820px}.panel{padding:24px;display:grid;gap:16px}.panel h2{margin:0}.two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.preview{max-width:170px;border-radius:12px}.large{padding:15px 26px}footer{border-top:1px solid #e0e8f3;background:white;padding:25px 5%;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;color:#6b7a91}@media(max-width:680px){.hero{padding:28px}.heroart{display:none}.benefits,.stats,.two{grid-template-columns:1fr}.sectionhead form{width:100%}.sectionhead form input{min-width:0}.actions{width:100%}}

/* Corrected marketplace product card layout */
.grid{align-items:stretch}
.product{display:flex;flex-direction:column;min-width:0;overflow:hidden;border-radius:16px}
.product .photo{height:220px;width:100%;overflow:hidden;background:#f5f7fb;display:flex;align-items:center;justify-content:center}
.product .photo img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center}
.product .info{display:flex;flex:1;flex-direction:column;gap:9px;padding:16px;min-width:0}
.product .info small{display:block;margin:0;font-size:12px;line-height:1.5;color:#64748b;overflow-wrap:anywhere}
.product .info h3{margin:0;min-height:44px;font-size:16px;line-height:1.4;overflow-wrap:anywhere}
.product .info b{display:block;margin-top:auto;font-size:22px;line-height:1.3;color:#102b59}
.product .info p{margin:0;font-size:14px;color:#64748b}
@media(max-width:480px){.grid{grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:12px}.product .photo{height:175px}.product .info{padding:12px}.product .info h3{font-size:15px}}

/* NEXTORZ individual product pages */
.product-photo-link{display:block;color:inherit}.product .info h3 a{color:#102b59}.product .info h3 a:hover{text-decoration:underline}
.breadcrumbs{display:flex;gap:10px;align-items:center;margin-bottom:22px;font-size:14px;color:#63748b}
.item-detail{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:28px;align-items:start}
.item-visual{background:#fff;border:1px solid #e0e8f3;border-radius:18px;min-height:380px;max-height:560px;display:flex;align-items:center;justify-content:center;overflow:hidden;font-size:90px}
.item-visual img{width:100%;max-height:560px;object-fit:contain}
.item-summary{background:#fff;border:1px solid #e0e8f3;border-radius:18px;padding:28px}
.item-eyebrow{font-size:14px;color:#61718a;margin:0 0 12px}.item-summary h1{font-size:clamp(24px,3vw,34px);line-height:1.2;margin:0 0 18px;overflow-wrap:anywhere}
.item-price{font-size:34px;font-weight:850;color:#102b59}.item-stock{color:#16804a;font-weight:650;margin:12px 0 22px}
.item-seller{border-top:1px solid #e0e8f3;border-bottom:1px solid #e0e8f3;padding:16px 0;display:flex;justify-content:space-between;gap:12px;overflow-wrap:anywhere}.item-seller span{color:#61718a}
.item-purchase{display:grid;gap:12px;margin-top:22px}.item-purchase select{max-width:120px}.item-purchase button:disabled{background:#9eacc2;cursor:not-allowed}.item-help{font-size:13px;color:#61718a;margin:0}
.item-description{margin-top:24px}.item-description p{margin:0;line-height:1.7;overflow-wrap:anywhere}
@media(max-width:780px){.item-detail{grid-template-columns:1fr}.item-visual{min-height:280px}.item-summary{padding:20px}}

/* NEXTORZ 0.5 — Gallery and Cart */
.item-gallery{min-width:0}.item-thumbs{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.thumb{border:2px solid #dce5f2;background:white;border-radius:10px;width:75px;height:72px;cursor:pointer;color:#152c55}.thumb.active{border-color:#0759d7}.thumb img{width:100%;height:100%;object-fit:contain}.cart-add-form{display:grid;gap:12px}.cart-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:22px;align-items:start}.cart-items{display:grid;gap:12px}.cart-row,.cart-total{background:white;border:1px solid #e0e8f3;border-radius:16px;padding:20px}.cart-row{display:flex;gap:18px;align-items:flex-start}.cart-row .mini{flex:none;width:88px;height:88px}.cart-desc{flex:1;min-width:0}.cart-desc p{color:#61718a;margin:8px 0}.cart-qty{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.cart-qty label{font-size:13px}.cart-qty input{width:85px}.cart-total h2{margin-top:0}.cart-total p:first-of-type{display:flex;justify-content:space-between;gap:10px}.cart-total button{width:100%;margin-top:16px}.cart-total button:disabled{background:#9eacc2;cursor:not-allowed}.editor-thumbs{display:flex;gap:10px;flex-wrap:wrap}.editor-thumbs img{height:90px;width:90px;object-fit:contain;border:1px solid #e0e8f3;border-radius:8px}@media(max-width:780px){.cart-layout{grid-template-columns:1fr}.cart-row{flex-wrap:wrap}}

/* Batch photo selection */
.photo-hint{margin:0;color:#61718a;font-size:14px}.batch-thumb{width:92px;height:92px;object-fit:contain;background:#f4f7fc;border:1px solid #dce5f2;border-radius:10px}.editor-thumbs{display:flex;gap:10px;flex-wrap:wrap}

/* NEXTORZ v0.6 — public seller storefront */
.store-hero{background:linear-gradient(115deg,#112c5a,#1665cc);color:#fff;border-radius:20px;padding:32px;display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.store-avatar{height:84px;width:84px;flex:none;display:grid;place-items:center;font-size:38px;background:rgba(255,255,255,.16);border-radius:18px}
.store-intro{flex:1;min-width:180px}
.store-intro small{color:#bcd8ff;letter-spacing:.07em;font-weight:750;font-size:11px}
.store-intro h1{margin:8px 0 6px;font-size:clamp(24px,4vw,38px);overflow-wrap:anywhere}
.store-intro p{margin:0;color:#e4edff;line-height:1.5}
.store-count{min-width:140px;background:rgba(255,255,255,.12);border-radius:14px;padding:16px 22px;text-align:center}
.store-count strong{display:block;font-size:28px}
.store-count span{display:block;font-size:12px;color:#e4edff}
.seller-link{font-weight:800;overflow-wrap:anywhere;text-align:right}
.seller-link:hover,.store-dashboard-link:hover{text-decoration:underline}
.store-dashboard-link{display:inline-block;margin-top:8px;font-weight:700}
@media(max-width:600px){.store-hero{padding:22px;gap:14px}.store-count{width:100%;text-align:left}}

/* NEXTORZ v0.7 custom storefront */
.customizable-store{background-size:cover;background-position:center;min-height:215px}
.customizable-store .store-avatar{overflow:hidden;flex-shrink:0}
.customizable-store .store-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.customizable-store .store-intro p{max-width:660px;overflow-wrap:anywhere;line-height:1.6}
.store-owner-edit{display:inline-block;margin-top:10px;color:#fff;text-decoration:underline;font-weight:700}
.store-edit-logo{max-width:130px;max-height:130px;object-fit:contain;border-radius:12px}
.store-edit-banner{width:100%;max-height:210px;object-fit:contain;border-radius:12px;background:#f3f6fa}
.store-dashboard-link{margin-right:14px}

/* v0.8 Store Settings */
.vacation-check{display:flex;align-items:center;gap:12px;font-weight:700}.vacation-check input{width:20px;height:20px;flex:0 0 auto}.muted{color:#61718a;line-height:1.5}.item-policies{padding:12px 0;border-bottom:1px solid #e0e8f3;font-size:14px;line-height:1.6;overflow-wrap:anywhere}.item-policies p{margin:8px 0}.store-dashboard-link{margin-right:16px}

/* Offers development module */
.offer-prompt{margin:16px 0;padding:18px}.offer-prompt form{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.offer-prompt label{min-width:140px;flex:1}.offer-row{margin:16px 0;padding:18px}.offer-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:end}.offer-actions label{min-width:140px}.offer-actions input,.offer-prompt input{width:100%;padding:10px} 

/* v0.11 test orders */
.panel form .button { margin-top: 12px; }

/* NEXTORZ v0.12 shipping-address and test-order dashboard */
.order-card { margin:16px 0; }
.order-address-form { display:flex;flex-wrap:wrap;gap:12px;align-items:end; }
.order-address-form label { flex:1;min-width:220px; }
.order-address-form select { width:100%; }

/* v0.13 package details */
.editor input[type="number"]{max-width:100%;box-sizing:border-box;}
