.app-product-window{width:min(1100px,calc(100% - 40px));max-width:none;max-height:calc(100dvh - 40px);padding:0;margin:auto;border:1px solid #cad5cf;border-radius:16px;background:#f7f5ef;color:#243e4c;box-shadow:0 24px 90px #102d4640;overflow:hidden}
.app-product-window::backdrop{background:#0c2539a6;backdrop-filter:blur(4px)}
.app-product-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 22px;background:#fff;border-bottom:1px solid #dae0d7}.app-product-bar strong{font-size:13px;letter-spacing:.02em}.app-product-close{width:44px;height:44px;border:1px solid #d2dcd4;border-radius:8px;background:#fff;color:#294956;font-size:27px;cursor:pointer}
.app-product-content{max-height:calc(100dvh - 115px);overflow:auto;overscroll-behavior:contain;padding:28px}.app-product-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;align-items:start}.app-product-gallery,.app-product-info{min-width:0}.app-product-photo{display:block;width:100%;max-height:540px;object-fit:contain;background:#fff;border:1px solid #dae0d7;border-radius:12px}.app-product-thumbs{display:flex;gap:10px;margin-top:12px;overflow-x:auto}.app-product-thumbs button{width:64px;height:72px;flex:0 0 64px;padding:4px;border:1px solid #cbd6ce;border-radius:8px;background:#fff;cursor:pointer}.app-product-thumbs img{width:100%;height:100%;object-fit:contain}.app-product-eyebrow{font-size:10px;font-weight:700;letter-spacing:.12em;color:#8c6936;margin:0 0 12px}.app-product-info h2{font:400 clamp(26px,3vw,36px)/1.2 Georgia,serif;margin:0;color:#243e4c;overflow-wrap:anywhere}.app-product-price{font-size:19px;font-weight:650;margin:18px 0;color:#304d5a}.app-product-field{display:grid;gap:8px;margin:18px 0;font-size:13px;font-weight:650}.app-product-field select,.app-product-field input{width:100%;min-width:0;min-height:48px;padding:12px;border:1px solid #bdcdc2;border-radius:8px;background:#fff;color:#243e4c;font-size:15px}.app-product-field input{width:90px}.app-product-status{font-size:13px;line-height:1.7;color:#3b6260;min-height:24px}.app-product-actions{display:grid;gap:10px}.app-product-add,.app-product-cart{min-height:48px;display:flex;align-items:center;justify-content:center;padding:12px 16px;border:1px solid #9e2837;border-radius:8px;background:#9e2837;color:#fff;font-size:13px;font-weight:700;text-align:center;cursor:pointer;text-decoration:none}.app-product-cart{background:#fff;border-color:#c4d0c7;color:#294956}.app-product-add:disabled{opacity:.5;cursor:default}.app-product-note{font-size:11px;line-height:1.7;color:#64767b}.app-product-description{white-space:pre-line;font-size:14px;line-height:1.85;margin:24px 0;color:#4c626d}.app-product-secondary{display:inline-block;min-height:44px;padding:12px 0;color:#8d2f3d;text-decoration:underline;text-underline-offset:3px;font-size:12px}.app-product-loading{padding:14px;font-size:14px;line-height:1.7}
@media(max-width:700px){.app-product-window{width:calc(100% - 16px);max-height:calc(100dvh - 16px);border-radius:13px}.app-product-bar{padding:9px 14px}.app-product-content{padding:18px;max-height:calc(100dvh - 82px)}.app-product-layout{grid-template-columns:1fr;gap:24px}.app-product-photo{max-height:340px}.app-product-info h2{font-size:27px}.app-product-field select,.app-product-field input{font-size:16px}.app-product-description{font-size:14px}}

/* Keep the selected product visible without changing card dimensions. */
.product-card.is-selected,.product-card.is-selected:hover,.product-card:active,.product-card:focus-within{border-color:#b51f3d;box-shadow:0 0 0 1px #b51f3d,0 5px 18px #9e283712}
