.nc-shop-preview[hidden] { display: none !important; }
.nc-shop-preview { animation: nc-preview-appear 200ms cubic-bezier(.2, .7, .3, 1) both; }
@keyframes nc-preview-appear {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .nc-shop-preview { animation: none; }
}
.nc-shop-preview { position: fixed; z-index: 1100; box-sizing: border-box; width: min(760px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow-y: auto; padding: 28px; border: 1px solid #e0e5ed; background: #fff; color: #071c35; border-radius: 8px; box-shadow: 0 8px 36px #071c3533; font-size: 14px; }
.nc-shop-preview__layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: center; }
.nc-shop-preview--compact { padding: 24px 18px 18px; }
.nc-shop-preview--compact .nc-shop-preview__layout { grid-template-columns: 1fr; gap: 16px; }
.nc-shop-preview--compact .nc-shop-preview__image { height: min(220px, 30vh); }
.nc-shop-preview--compact .nc-shop-preview__title { font-size: 16px; margin-bottom: 10px; }
.nc-shop-preview__photo { display: block; }
.nc-shop-preview__image { display: block; width: 100%; height: min(340px, 48vh); object-fit: contain; }
.nc-shop-preview--unavailable .nc-shop-preview__image { filter: grayscale(1); }
.nc-shop-preview__thumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.nc-shop-preview .nc-shop-preview__thumbs button { background: #fff; border: 1px solid #dfe3eb; border-radius: 4px; padding: 3px; width: 44px; height: 44px; }
.nc-shop-preview .nc-shop-preview__thumbs button[aria-pressed="true"] { border-color: #345bff; box-shadow: 0 0 0 1px #345bff; }
.nc-shop-preview__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.nc-shop-preview__title { display: block; margin-bottom: 16px; font-size: 18px; line-height: 1.4; font-weight: 650; color: #071c35; text-decoration: none; }
.nc-shop-preview__price { margin-bottom: 12px; font-size: 27px; font-weight: 700; color: #345bff; }
.nc-shop-preview__price del { font-size: 15px; color: #718096; }
.nc-shop-preview__price ins { background: transparent; text-decoration: none; }
.nc-shop-preview .stock { font-size: 13px; margin: 0 0 16px; }
.nc-shop-preview .stock.in-stock { color: #217a3c; }
.nc-shop-preview .stock.out-of-stock { color: #b42318; }
.nc-shop-preview__cart .button { display: block; padding: 12px 16px; border-radius: 6px; background: #345bff; color: #fff; text-align: center; text-decoration: none; font-size: 14px; }
.nc-shop-preview__cart .added_to_cart { display: block; margin-top: 8px; }
.nc-shop-preview__more { display: inline-block; margin-top: 16px; color: #526075; font-size: 12px; }
.nc-shop-preview .nc-shop-preview__close { position: absolute; top: 4px; right: 6px; width: 32px; height: 32px; padding: 0; background: transparent; color: #526075; border: 0; font-size: 26px; line-height: 1; }
.nc-shop-preview :focus-visible { outline: 2px solid #345bff; outline-offset: 3px; }
@media (hover: none), (pointer: coarse) { .nc-shop-preview { display: none !important; } }
