/* Preserve complete product silhouettes and center every photograph. */
#quickDialog{width:min(1120px,96vw)}
#quickDialog .quick-layout{grid-template-columns:minmax(0,1.45fr) minmax(320px,1fr);align-items:center}
.quick-photo{position:relative;overflow:hidden;background:#f2eee8;align-self:stretch;min-width:0;isolation:isolate}
.quick-photo #quickImage{display:block;width:100%;height:min(78dvh,760px);min-height:500px;object-fit:contain;object-position:center;transform:none}
.quick-photo #quickImage{transition:transform .25s ease-out}
@media(prefers-reduced-motion:reduce){.quick-photo #quickImage{transition:none}}
.magnifier-hint{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);pointer-events:none;border-radius:20px;background:#fffcf7e8;padding:8px 13px;font-size:10px;color:#526b49;white-space:nowrap}
@media(hover:hover) and (pointer:fine){.quick-photo{cursor:crosshair}}
@media(hover:none),(pointer:coarse){.magnifier-hint{display:none}}
@media(max-width:700px){#quickDialog .quick-layout{grid-template-columns:1fr}.quick-photo #quickImage{height:min(62dvh,560px);min-height:0}.quick-copy{padding:28px 25px}}
/* Give product names and prices a clearer visual hierarchy. */
.product h3,.product h3 .product-name{font-weight:600;color:#344e3d;line-height:1.4}
.product .price{font-weight:700;color:#3e684b}
.product-detail .detail-copy h1,#quickTitle{font-weight:600;color:#344e3d}
.product-detail .detail-copy .detail-price,#quickPrice{font-weight:700;color:#3e684b}
.product-image{display:flex;align-items:center;justify-content:center}
.product-image>a{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
.product-image{overflow:hidden;background:transparent}
.product-image img{display:block;width:100%;height:100%;object-fit:contain;object-position:50% 50%}
.product .product-image img,.detail-photo img{transform:scale(1);transform-origin:center;transition:transform .55s cubic-bezier(.2,.65,.3,1)}
@media(hover:hover) and (pointer:fine){.product .product-image:hover img,.detail-photo:hover img{transform:scale(1.035)}}
@media(prefers-reduced-motion:reduce){.product .product-image img,.detail-photo img{transition:none}}
.quick-layout>img,.detail-photo img{object-fit:contain;object-position:50% 50%}
.hero-main,.guide-orchid img{object-position:50% 50%}
/* Center the shopping cart instead of presenting it as a right-hand drawer. */
dialog.drawer[open]{position:fixed;inset:0;margin:auto;width:min(510px,94vw);height:fit-content;max-height:calc(100dvh - 40px);border:1px solid var(--line);border-radius:18px;padding:28px;overflow-y:auto}
@media(max-width:700px){dialog.drawer[open]{width:calc(100vw - 28px);max-height:calc(100dvh - 28px);padding:23px;border-radius:16px}}

/* Keep controls outside the photo so they cannot hide flower pots or stems. */
.product-actions .pay-now{flex:0 0 38px;width:38px;height:38px;display:grid;place-items:center;border:1px solid #427056;border-radius:50%;background:#427056;color:#fff;transition:background .18s,transform .18s}
.product-actions .pay-now:hover:not(:disabled){background:#31543f;transform:translateY(-1px)}
.product-actions .pay-now svg{pointer-events:none}
@media(max-width:700px){.product-actions .pay-now{flex-basis:34px;width:34px;height:34px}}
.product-actions .add{display:grid;place-items:center;color:#527348;transition:background .18s,border-color .18s,transform .18s}
.product-actions .add .cart-action-icon{width:19px;height:19px;pointer-events:none}
.product-actions .add:hover:not(:disabled){background:#e1ebd7;border-color:#b8caaa;transform:translateY(-1px)}
.product-actions .add:focus-visible{outline:2px solid #719460;outline-offset:3px}
.product-actions .add:active:not(:disabled){transform:translateY(0)}
.product-actions .add:disabled{opacity:.45;cursor:not-allowed}
.product-actions{display:flex;align-items:center;gap:9px;margin-top:10px}
.product-actions .quick-view{position:static;inset:auto;flex:1;padding:12px 10px;min-height:38px;border:1px solid #e0e6d8;background:#f0f3e9;font-size:8px;opacity:1;transform:none}
.product-actions .add{position:static;inset:auto;flex:0 0 38px;width:38px;height:38px;border:1px solid #e0e6d8;background:#f0f3e9}
.product:hover .product-actions .quick-view{transform:none;opacity:1}
@media(max-width:700px){.product-actions{gap:7px;margin-top:8px}.product-actions .quick-view{font-size:7px;min-height:34px;padding:10px 6px}.product-actions .add{flex-basis:34px;width:34px;height:34px}}
