/* Krepšelio iššokantis langelis */
.ncm-open { overflow: hidden; }
.ncm-overlay {
    position: fixed; inset: 0; z-index: 100000;
    background: rgba(28, 25, 23, .55);
    display: flex; align-items: center; justify-content: center;
    padding: 16px; animation: ncm-fade .18s ease-out;
}
.ncm-box {
    width: 100%; max-width: 640px; max-height: 100%; overflow-y: auto; background: #fff; border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .3); padding: 8px 40px 28px;
    font-family: var(--font-body, 'Nunito Sans', sans-serif); color: #1c1917;
    animation: ncm-pop .22s ease-out; box-sizing: border-box;
}
.ncm-head {
    display: flex; align-items: center; gap: 16px;
    padding: 24px 0 20px; border-bottom: 1px solid #e7e5e4;
}
.ncm-ico { color: #1c1917; flex: none; display: flex; }
.ncm-title { flex: 1; font-weight: 800; font-size: 1.5rem; line-height: 1.2; }
.ncm-x { background: none; border: 0; cursor: pointer; font-size: 2.4rem; line-height: 1; color: #78716c; padding: 0 2px; }
.ncm-x:hover { color: #1c1917; }
.ncm-item { display: flex; align-items: center; gap: 28px; padding: 28px 0 30px; border-bottom: 1px solid #e7e5e4; }
.ncm-img { width: 150px; height: auto; max-height: 210px; object-fit: contain; border-radius: 6px; flex: none; }
.ncm-info { flex: 1; min-width: 0; }
.ncm-name { font-weight: 700; font-size: 1.4rem; line-height: 1.3; }
.ncm-prices { margin-top: 16px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.ncm-price { color: #ad5a36; font-weight: 800; font-size: 1.5rem; }
.ncm-badge { background: #ad5a36; color: #fff; border-radius: 6px; padding: 3px 9px; font-weight: 700; font-size: .95rem; }
.ncm-old { color: #78716c; text-decoration: line-through; font-size: 1.1rem; }
.ncm-qty { margin-top: 10px; color: #57534e; }
.ncm-actions { display: flex; justify-content: center; gap: 16px; padding: 26px 0 18px; flex-wrap: wrap; }
.ncm-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    box-sizing: border-box; text-align: center; cursor: pointer; text-decoration: none;
    padding: 16px 40px; border-radius: var(--namulis-radius-full, 999px);
    font: 800 17px var(--font-body, 'Nunito Sans', sans-serif); letter-spacing: 0; text-transform: none;
    transition: background .2s, transform .2s, box-shadow .2s;
}
/* tas pats kaip svetainės apsipirkimo mygtukas */
.ncm-btn--primary { background: #fff; color: var(--ncm-red, #c8102e); border: 2px solid var(--ncm-red, #c8102e); }
.ncm-btn--primary:hover { background: #fff; color: var(--ncm-red, #c8102e); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0, 0, 0, .12); }
.ncm-btn--ghost { background: var(--ncm-red, #c8102e); color: #fff; border: none; }
.ncm-btn--ghost:hover { background: var(--ncm-red, #c8102e); color: #fff; transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
/* sakinys apie pristatymą — didesnis, aiškus */
.ncm-ship { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 4px 0 20px; color: #1c1917; font-size: 1.2rem; font-weight: 700; line-height: 1.35; text-align: left; }
.ncm-ship svg { flex: none; width: 34px; height: 34px; color: #57534e; }
.ncm-skip { display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; font-size: .85rem; color: #78716c; }
.ncm-skip input { width: 16px; height: 16px; accent-color: #ad5a36; cursor: pointer; }
@media (max-width: 560px) {
    .ncm-box { padding: 4px 20px 22px; }
    .ncm-title { font-size: 1.15rem; }
    .ncm-item { gap: 16px; }
    .ncm-img { width: 96px; }
    .ncm-name { font-size: 1.1rem; }
    .ncm-actions { flex-direction: column; }
    .ncm-btn { width: 100%; }
}
@keyframes ncm-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ncm-pop { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ncm-overlay, .ncm-box { animation: none; } }

/* ── Kalėdinis variantas ── */
.ncm-box--xmas { position: relative; padding: 0 36px 40px; background: linear-gradient(#fff, #fbf8ff); overflow: hidden; }
.ncm-head--xmas { position: relative; display: block; border: 0; padding: 22px 0 6px; }
.ncm-head--xmas .ncm-x { position: absolute; top: 18px; right: 0; background: #f0e8fa; border-radius: 50%; width: 44px; height: 44px; font-size: 1.8rem; color: #5b3a8c; }
.ncm-box .ncm-logo { position: relative; display: inline-block; margin: 0 0 0 44px; line-height: 0; }
.ncm-box .ncm-logo-img { display: block; height: 38px !important; width: auto !important; max-width: none !important; }
.ncm-box .ncm-ray { position: absolute; top: 50%; height: 46px !important; width: auto !important; max-width: none !important; transform: translateY(-50%); }
.ncm-box .ncm-ray--l { left: -32px; }
.ncm-box .ncm-ray--r { right: -32px; }
.ncm-box .ncm-hello { display: flex; align-items: center; gap: 14px; margin: 8px 0 6px; }
.ncm-box .ncm-chk { display: flex; flex: none; }
.ncm-box .ncm-chk svg { width: 52px; height: 52px; }
.ncm-box .ncm-valio { font-family: var(--font-display, 'Nunito Sans', sans-serif); font-size: 3.2rem; font-weight: 900; line-height: 1; color: #5b2d91; letter-spacing: -.01em; }
.ncm-box .ncm-sub { font-family: var(--font-display, 'Nunito Sans', sans-serif); font-size: 1.4rem; font-weight: 800; color: #5b2d91; margin-top: 4px; }
.ncm-box .ncm-box .ncm-box .ncm-chk svg { width: 52px; height: 52px; }
.ncm-head--xmas .ncm-heart { position: absolute; color: #f5a3b3; font-size: 2.4rem; line-height: 1; }
.ncm-head--xmas .ncm-heart--a { right: 6px; top: 84px; transform: rotate(-12deg); }
.ncm-head--xmas .ncm-heart--b { right: 74px; top: 74px; font-size: 1.6rem; transform: rotate(12deg); }
.ncm-box--xmas .ncm-item {
    position: relative; margin-top: 14px; padding: 22px 24px; gap: 24px; border: 1px solid #efe6f6; border-radius: 18px; background: #fff;
}
.ncm-box--xmas .ncm-img { width: 120px; max-height: 150px; }
.ncm-box--xmas .ncm-name { color: #5b2d91; font-size: 1.5rem; font-weight: 900; }
.ncm-box--xmas .ncm-qty { color: #78716c; margin-top: 6px; }
.ncm-box--xmas .ncm-price { color: #1c1917; font-size: 1.7rem; }
.ncm-box--xmas .ncm-prices { margin-top: 8px; }
.ncm-gifts { position: absolute; right: 8px; bottom: 6px; width: 190px; height: auto; pointer-events: none; }
.ncm-box--xmas .ncm-actions { border: 0; padding: 22px 0 14px; position: relative; z-index: 1; }
.ncm-box--xmas .ncm-ship, .ncm-box--xmas .ncm-skip { position: relative; z-index: 1; }
.ncm-deco { position: absolute; bottom: 0; width: 56px; height: auto; pointer-events: none; }
.ncm-deco--l { left: 0; }
.ncm-deco--r { right: 0; }
.ncm-snow { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 62%; height: auto; opacity: .9; pointer-events: none; }
@media (max-width: 560px) {
    .ncm-box--xmas { padding: 0 18px 40px; }
    .ncm-box .ncm-valio { font-size: 2.6rem; }
    .ncm-box .ncm-sub { font-size: 1.15rem; }
    .ncm-gifts { width: 110px; }
    .ncm-heart--b { display: none; }
}
