.mag-layout{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1.2fr);gap:36px}.mag-intro{max-width:520px}.mag-product{width:100%;height:auto;aspect-ratio:1;object-fit:contain}.mag-intro h2,.mag-options h2{font-size:22px;margin:18px 0 12px}.mag-intro p,.mag-options p{line-height:1.6;color:#52635f}.mag-note{padding:18px;background:#edf8f6;border-radius:16px}.mag-packs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.mag-packs button{display:grid;gap:6px;text-align:left;border:1px solid #dce5e3;border-radius:14px;background:white;padding:16px;min-height:76px;color:#293b36}.mag-packs button[aria-pressed=true]{border:2px solid #45b6aa;background:#f0faf8}.mag-qty{display:flex;align-items:center;gap:15px;margin:20px 0}.mag-qty input,.mag-cart input{width:88px;min-height:44px;border:1px solid #cbd7d4;border-radius:10px;padding:8px}.mag-photo-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.mag-photo-heading span{color:#176b61}.mag-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.mag-slot{min-width:0}.mag-slot>button:first-child{display:grid;gap:8px;background:white;border:1px solid #dce5e3;border-radius:12px;padding:8px;width:100%;min-height:44px;color:#30443d}.mag-square{display:block;position:relative;aspect-ratio:1;background:#f3f6f5;width:100%;overflow:hidden;border-radius:8px}.mag-square img{width:100%;height:100%;object-fit:cover}.mag-plus{font-size:35px;display:grid;place-items:center;height:100%;color:#6e8b82}.mag-trim{position:absolute;inset:8.333333%;border:1px dashed white;box-shadow:0 0 0 1px #273c3970;pointer-events:none}.mag-slot .text-link{min-height:44px}.mag-order{padding:22px 0;display:grid;gap:12px}.mag-order>strong{font-size:28px}.mag-order .saved-state{font-size:12px}.mag-crop{width:min(94vw,520px);border:0;border-radius:22px;padding:22px;max-height:92dvh;overflow:auto;color:#293b36}.mag-crop::backdrop{background:#22352ecc}.mag-crop h2{font-size:22px;margin:0 0 12px}.mag-crop p{font-size:14px;line-height:1.5}.mag-crop-preview{position:relative;max-width:350px;margin:auto}.mag-crop canvas{display:block;width:100%;height:auto;border-radius:6px}.mag-crop label{display:grid;gap:8px;margin:14px 0}.mag-crop input{width:100%;min-height:44px;accent-color:#2d9b8f}.mag-crop-actions{display:flex;gap:12px;justify-content:flex-end}.mag-crop-actions button{min-height:44px;padding:10px 18px;border-radius:10px}.mag-mini{display:grid;grid-template-columns:1fr 1fr;width:84px;height:84px;gap:2px;overflow:hidden}.mag-mini img{width:100%;height:100%;min-height:0;object-fit:cover}.mag-cart .cart-item-end button{min-height:44px}.mag-cart .cart-item-info p{line-height:1.5}.mag-cart label{display:flex;align-items:center;gap:10px}.magnet-editor .change-product{min-height:44px}@media(max-width:760px){.mag-layout{grid-template-columns:1fr;gap:14px}.mag-product{max-height:260px}.mag-intro{max-width:none}.mag-packs{grid-template-columns:repeat(2,minmax(0,1fr))}.mag-packs button{padding:12px}.mag-slots{grid-template-columns:repeat(2,minmax(0,1fr))}.mag-cart{grid-template-columns:70px minmax(0,1fr)}.mag-mini{width:66px;height:66px}.mag-cart .cart-item-end{grid-column:1/-1;flex-wrap:wrap;display:flex;justify-content:space-between}.mag-crop{padding:18px}.mag-crop-preview{max-height:35dvh;aspect-ratio:1;max-width:35dvh}.magnet-editor{padding-bottom:20px}}

.mag-cart-step{display:flex;align-items:center;gap:14px}.mag-cart-step button{min-width:44px;min-height:44px;border:1px solid #cbd7d4;background:white;border-radius:10px}
