/* Added-to-basket popup with Essential extras (7 Nov 2026). Reference: centred box, extras grid left, added panel right. Previous drawer CSS: lp-extras.css.bak_20261107_e. Undo: restore it. */
.lp-pop { position: fixed; inset: 0; z-index: 1300; display: flex; align-items: flex-end; justify-content: center; padding: 0; background: rgba(24, 35, 44, .5); font-family: "Laporsa Manrope", "Segoe UI", Arial, sans-serif; color: #18232c; text-align: left; }
html.lp-pop-open { overflow: hidden; }
.lp-pop__box { display: flex; flex-direction: column-reverse; width: 100%; max-height: 92vh; max-height: 92dvh; overflow: auto; overscroll-behavior: contain; background: #fff; border-radius: 16px 16px 0 0; }
.lp-pop__side { padding: 16px 16px 18px; background: #fff; }
.lp-pop__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 10px; }
.lp-pop__head h2 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.lp-pop__close { width: 40px; height: 40px; flex: 0 0 40px; border: 1.5px solid #18232c; border-radius: 50%; background: #fff; color: #18232c; font: 400 24px/1 Arial, sans-serif; cursor: pointer; }
.lp-pop__line { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid #e6e8ea; }
.lp-pop__line:first-child { border-top: 0; padding-top: 0; }
.lp-pop__line img { display: block; width: 64px; height: 64px; object-fit: contain; border-radius: 8px; background: #f4f2ee; flex: 0 0 64px; }
.lp-pop__ltxt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.lp-pop__lname { font-size: 14px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lp-pop__lprice { font-size: 15px; font-weight: 800; }
.lp-pop__count { margin: 8px 0 12px; font-size: 13px; color: #5b6670; }
.lp-pop__count:empty { display: none; }
.lp-pop__acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lp-pop__view, .lp-pop__checkout { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 16px; border-radius: 10px; font-size: 15px; font-weight: 700; text-decoration: none !important; }
.lp-pop__view { background: #d95618; color: #fff !important; }
.lp-pop__view:hover { background: #b84510; }
.lp-pop__checkout { border: 1.5px solid #18232c; color: #18232c !important; background: #fff; }
.lp-pop__checkout:hover { background: #18232c; color: #fff !important; }
.lp-pop__cont { display: block; width: 100%; margin: 10px 0 0; padding: 8px 0; border: 0; background: none; color: #5b6670; font: 600 14px/1.3 inherit; font-family: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.lp-pop__extras { padding: 14px 16px 16px; background: #f4f2ee; border-top: 1px solid #e6e8ea; }
.lp-pop__extras h3 { margin: 0 0 2px; font-size: 16px; font-weight: 800; }
.lp-pop__sub { margin: 0 0 10px; font-size: 13px; color: #5b6670; }
.lp-pop__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lp-pop__card { display: flex; flex-direction: column; gap: 4px; padding: 10px; background: #fff; border-radius: 10px; }
.lp-pop__pic { display: block; aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; background: #fff; }
.lp-pop__pic img { display: block; width: 100%; height: 100%; object-fit: contain; }
.lp-pop__tag { align-self: flex-start; padding: 2px 6px; border-radius: 4px; background: #fdece2; color: #a53f0d; font-size: 11px; font-weight: 700; }
.lp-pop__name { color: #18232c !important; font-size: 13.5px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-decoration: none !important; }
.lp-pop__price { font-size: 14px; font-weight: 800; }
.lp-pop__btn { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 12px; border: 1.5px solid #18232c; border-radius: 10px; background: #fff; color: #18232c !important; font: 700 14px/1 inherit; font-family: inherit; text-decoration: none !important; cursor: pointer; }
.lp-pop__btn:hover { background: #18232c; color: #fff !important; }
.lp-pop__btn.is-done { background: #15703f; border-color: #15703f; color: #fff !important; }
.lp-pop__btn:disabled { opacity: .85; }
@media (min-width: 768px) {
  .lp-pop { align-items: center; padding: 24px; }
  .lp-pop__box { flex-direction: row; align-items: stretch; width: min(1040px, 100%); max-height: 86vh; border-radius: 14px; box-shadow: 0 24px 60px -24px rgba(24, 35, 44, .6); }
  .lp-pop__box--one { width: min(460px, 100%); }
  .lp-pop__extras { flex: 1 1 auto; min-width: 0; padding: 22px 24px 24px; border-top: 0; border-right: 1px solid #e6e8ea; overflow: auto; }
  .lp-pop__grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .lp-pop__side { flex: 0 0 400px; width: 400px; padding: 22px 24px 24px; }
  .lp-pop__box--one .lp-pop__side { flex: 1 1 auto; width: auto; }
  .lp-pop__head h2 { font-size: 20px; }
}
