/* lanosgift.vn popup pointing to quatet.lanosgift.vn. Colours come from the child theme's --lg-* tokens. */
.lqp-backdrop { position: fixed; inset: 0; z-index: 1000001; display: flex; align-items: center; justify-content: center; padding: 16px;
  background: rgba(43, 26, 18, .55); opacity: 0; transition: opacity .2s; }
.lqp-backdrop.lqp-in { opacity: 1; }
/* «Không hiện lại» was ticked on this browser: <head> marks <html> before the popup is drawn. */
.lqp-hide .lqp-backdrop { display: none !important; }
.lqp-box { position: relative; display: flex; width: min(760px, 100%); max-height: calc(100vh - 32px); overflow: auto;
  background: var(--lg-nen, #fffaf2); border: 1px solid var(--lg-dong-nhat, #e3ba78); border-radius: 14px;
  box-shadow: 0 18px 50px rgba(43, 26, 18, .35); font-family: var(--lg-font-than, "Be Vietnam Pro", Arial, sans-serif); color: var(--lg-chu, #2b1a12); }
.lqp-box:focus { outline: none; }
.lqp-img { flex: 0 0 44%; display: block; }
.lqp-img img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 13px 0 0 13px; }
.lqp-body { flex: 1; padding: 34px 30px 26px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.lqp-kicker { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lg-dong-toi, #915a20); }
.lqp-title { margin: 0; font-family: var(--lg-font-tieu-de, "Playfair Display", Georgia, serif); font-size: clamp(24px, 3vw, 30px); line-height: 1.2; color: var(--lg-dong-bong, #653910); }
.lqp-text { margin: 0; font-size: 15px; line-height: 1.55; color: var(--lg-chu, #2b1a12); }
.lqp-cta { align-self: flex-start; margin-top: 6px; padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none !important;
  color: var(--lg-chu, #2b1a12) !important; background: var(--lg-anh-kim-nut, linear-gradient(135deg, #f4dcab, #e3ba78 45%, #c49353));
  border: 1px solid var(--lg-dong-dam, #a97437); box-shadow: 0 4px 12px rgba(145, 90, 32, .3); }
.lqp-cta:hover { filter: brightness(1.06); }
.lqp-off { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; margin-top: 8px; padding: 4px 0; border: 0; background: none;
  font: inherit; font-size: 14px; color: var(--lg-chu, #2b1a12); cursor: pointer; }
.lqp-tick { width: 18px; height: 18px; flex: none; border: 1.5px solid var(--lg-dong-dam, #a97437); border-radius: 4px; background: #fff; position: relative; }
.lqp-off[aria-checked="true"] .lqp-tick { background: var(--lg-dong-dam, #a97437); }
.lqp-off[aria-checked="true"] .lqp-tick::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.lqp-off:focus-visible { outline: 2px solid var(--lg-dong-toi, #915a20); outline-offset: 2px; }
/* The × is a drawn icon centred with flex: the theme's button padding/text-align and iOS font metrics pushed a text × off-centre. */
.lqp-x { position: absolute; top: 8px; right: 10px; z-index: 1; width: 36px; height: 36px; min-width: 0; min-height: 0; margin: 0; border: 0; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; padding: 0 !important; text-align: center; line-height: 0;
  background: rgba(255, 250, 242, .9); color: var(--lg-dong-bong, #653910); -webkit-appearance: none; appearance: none; }
.lqp-x svg { display: block; flex: none; }
.lqp-x:hover { background: var(--lg-nen-kem, #fdf3dc); }
@media (max-width: 640px) {
  .lqp-box { flex-direction: column; width: min(420px, 100%); }
  .lqp-img { flex: none; }
  .lqp-img img { height: 34vh; border-radius: 13px 13px 0 0; object-position: center 40%; }
  .lqp-body { padding: 18px 20px 20px; gap: 9px; }
  .lqp-text { font-size: 14px; }
  .lqp-cta { align-self: stretch; text-align: center; }
}
